@font-face {
  font-family: "Bebas Neue";
  src: url("./assets/fonts/bebas-neue.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  /*
   * The Figma file uses two commercial typefaces that are not redistributable:
   * Moisette (display serif) and Agharti Black Semi Wide (heavy display sans).
   * They are listed first in every stack, so dropping the real files into
   * assets/fonts (plus an @font-face block above) makes the pages exact.
   * Until then Cormorant Garamond and Bebas Neue stand in — same role,
   * different widths, so display headings will not match glyph for glyph.
   */
  --font-display: "Moisette", "Cormorant Garamond", Georgia, serif;
  --font-heavy: "Agharti", "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-ui: "Inter", Arial, sans-serif;

  --cream: #f2eee2;
  --charcoal: #444;
  --purple: #a25ed3;
  --purple-dark: #5f2c84;
  --purple-light: #d796ff;
  --pink: #b51854;
  --plum: #3a022d;
  --rose: #ce6d8c;
  --capitu-gold: #f4ba51;
  --capitu-orange: #d68b0a;
  --capitu-brown: #5e3202;
  --capitu-sand: #ffe7bd;
  --white: #fff;
  --diamond: url("./assets/images/capitu-diamond.png");
  --content: 1040px;
  --side: clamp(22px, 6vw, 92px);

  /* Figma line heights, kept as tokens so every section stays in sync. */
  --lh-moisette: 0.7394;
  --lh-agharti: 1.1091;
  --lh-agharti-wide: 1.41;
  --lh-dm: 1.3276;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site {
  width: min(100%, 1440px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--cream);
}

.container {
  width: min(calc(100% - (var(--side) * 2)), var(--content));
  margin-inline: auto;
}

.serif {
  font-family: var(--font-display);
}

.display {
  font-family: var(--font-heavy);
  font-weight: 400;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.95;
}

.body-copy {
  font-size: clamp(0.98rem, 1.45vw, 1.25rem);
  line-height: 1.42;
}

.cta {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.cta:hover {
  filter: brightness(0.97);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* Only the Sou Capitu buttons carry the arrow badge (Ellipse 10 + Arrow 1). */
.capitu-cta::after {
  content: "→";
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1rem;
}

.band {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px var(--side);
  text-align: center;
  text-transform: uppercase;
}

.band p {
  margin: 0;
  font-size: clamp(0.74rem, 1.2vw, 1rem);
  font-weight: 500;
}

/* Sou Pagu */

.page-pagu {
  --accent: var(--purple);
  --accent-dark: var(--purple-dark);
  --button: var(--purple-light);
  background: var(--cream);
}

.pagu-hero {
  padding: 58px 0 0;
  text-align: center;
}

.pagu-logo {
  width: clamp(172px, 20vw, 286px);
  margin: 0 auto 40px;
}

.pagu-hero h1 {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.3vw, 4.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
}

.pagu-hero p {
  max-width: 520px;
  margin: 32px auto 34px;
  font-size: clamp(0.98rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

.pagu-cta {
  min-width: min(450px, 100%);
  border-color: #000;
  background: var(--button);
}

.pagu-hero-image {
  width: 100%;
  height: clamp(320px, 39vw, 565px);
  margin-top: 74px;
  object-fit: cover;
  object-position: center 53%;
}

.pagu-match {
  padding: 72px 0 82px;
  text-align: center;
}

.pagu-match h2 {
  max-width: 760px;
  margin-inline: auto;
}

.pagu-match > .container > p {
  max-width: 620px;
  margin: 24px auto 34px;
}

.match-grid {
  display: grid;
  max-width: 760px;
  margin-inline: auto;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}

.match-grid strong {
  display: block;
  font-family: var(--font-heavy);
  font-size: clamp(2.8rem, 5vw, 4.65rem);
  font-weight: 400;
  line-height: var(--lh-agharti);
  text-transform: uppercase;
}

.match-grid p {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: var(--lh-dm);
}

.match-result {
  display: grid;
  max-width: 355px;
  margin: 28px auto 0;
  padding: 14px 22px;
  border: 1px solid var(--plum);
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: var(--lh-moisette);
  text-align: center;
}

.pagu-principle {
  min-height: 220px;
  background: var(--purple);
  color: var(--cream);
}

.pagu-principle p {
  max-width: 620px;
  font-family: var(--font-heavy);
  font-size: clamp(2.3rem, 5.3vw, 4.1rem);
  font-weight: 400;
  line-height: var(--lh-agharti);
  text-decoration: underline;
  text-underline-offset: 0.06em;
}

.pagu-quality {
  position: relative;
  padding: 102px 0 110px;
  text-align: center;
}

.pagu-quality::before,
.pagu-quality::after {
  content: "";
  position: absolute;
  top: 130px;
  width: clamp(180px, 32vw, 450px);
  aspect-ratio: 1;
  background: var(--pink);
  opacity: 0.6;
  clip-path: polygon(
    50% 0%, 58.68% 31.98%, 89.09% 18.83%, 69.5% 45.55%, 98.75% 61.13%,
    65.64% 62.47%, 71.69% 95.05%, 50% 70%, 28.31% 95.05%, 34.36% 62.47%,
    1.25% 61.13%, 30.5% 45.55%, 10.91% 18.83%, 41.32% 31.98%
  );
}

.pagu-quality::before {
  left: clamp(-270px, -17vw, -120px);
}

.pagu-quality::after {
  right: clamp(-270px, -17vw, -120px);
  transform: rotate(25deg);
}

.quality-main {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 560px;
  margin-inline: auto;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 28px;
  align-items: center;
  text-align: left;
}

.quality-main h2 {
  margin: 0;
  font-family: var(--font-heavy);
  font-size: clamp(4.8rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 0.82;
  text-transform: uppercase;
}

.quality-main p {
  margin: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.1rem);
  line-height: 1.55;
}

.quality-card {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 710px;
  margin: 46px auto 0;
  padding: 28px 36px;
  border: 3px solid var(--charcoal);
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  text-align: left;
}

.quality-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
  grid-column: 1 / -1;
  line-height: var(--lh-moisette);
  text-align: center;
}

.quality-card strong {
  display: block;
  font-family: var(--font-heavy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
  line-height: var(--lh-agharti-wide);
  text-decoration: underline;
  text-transform: uppercase;
}

.quality-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.pagu-quality .cta {
  position: relative;
  z-index: 1;
  margin-top: 42px;
}

.pagu-community {
  padding: 88px 0 0;
}

.community-lead {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.community-copy h2 {
  margin-bottom: 28px;
}

.community-copy p {
  max-width: 520px;
}

.community-copy em {
  color: var(--purple);
  font-style: normal;
}

.community-copy strong {
  font-weight: 900;
}

.community-copy h2 u {
  text-decoration: underline;
  text-underline-offset: 0.08em;
}

.community-figure {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
}

.community-figure::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose);
}

.community-figure img {
  position: relative;
  z-index: 1;
  width: min(92%, 420px);
}

.belonging {
  margin-top: 50px;
  padding: 72px 0 92px;
  border-top: 3px solid var(--charcoal);
  text-align: center;
}

.belonging h3 {
  margin: 0 0 46px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 700;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  font-size: 0.86rem;
  line-height: var(--lh-dm);
  text-align: left;
}

.benefit-grid article + article {
  border-left: 1px solid #000;
  padding-left: 26px;
}

.benefit-grid article:nth-child(2) {
  border-left: 0;
  padding-left: 0;
}

.benefit-grid b {
  font-weight: 900;
}

.benefit-grid strong {
  display: block;
  font-family: var(--font-heavy);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: var(--lh-agharti-wide);
  text-decoration: underline;
  text-transform: uppercase;
}

.belonging .cta {
  margin-top: 50px;
}

.pagu-community-band,
.pagu-data-band,
.pagu-footer-band {
  background: var(--purple);
  color: var(--cream);
}

.pagu-about {
  padding: 102px 0 112px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-grid > img {
  width: min(100%, 400px);
  justify-self: end;
}

.about-copy h2 {
  margin-bottom: 14px;
}

.about-copy h3 {
  margin: 28px 0 10px;
  font-family: var(--font-heavy);
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  font-weight: 400;
  line-height: var(--lh-agharti-wide);
  text-decoration: underline;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
  line-height: 1.5;
}

.pagu-stats {
  padding: 84px 0 80px;
  background: color-mix(in srgb, var(--purple) 16%, var(--cream));
  text-align: center;
}

.pagu-stats h2 {
  color: var(--charcoal);
  font-family: var(--font-heavy);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: var(--lh-agharti-wide);
  text-align: left;
  text-transform: uppercase;
}

.pagu-stats h2 em {
  color: var(--purple-dark);
  font-style: normal;
}

.stat-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--charcoal);
  border-radius: 32px;
  background: var(--cream);
  text-align: left;
}

.stat-card:nth-child(4) {
  grid-column: 1 / 2;
  transform: translateX(54%);
}

.stat-card:nth-child(5) {
  grid-column: 2 / 3;
  transform: translateX(54%);
}

.stat-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.stat-card strong {
  display: block;
  color: var(--purple-dark);
  font-family: var(--font-heavy);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.07;
  text-transform: uppercase;
}

.stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--purple);
  font-family: var(--font-heavy);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.07;
  text-transform: uppercase;
}

.pagu-stats > .container > p {
  max-width: 620px;
  margin: 42px auto 0;
  color: var(--purple-dark);
  line-height: var(--lh-dm);
}

.pagu-stats > .container > p strong {
  font-weight: 900;
}

.pagu-offer {
  position: relative;
  padding: 88px 0 90px;
  text-align: center;
}

.pagu-offer::before,
.pagu-offer::after {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 360px;
  height: 360px;
  background: url("./assets/images/soupagu-mouth.png") center / contain no-repeat;
}

.pagu-offer::before {
  left: -100px;
  transform: scaleX(-1) rotate(-8deg);
}

.pagu-offer::after {
  right: -110px;
  transform: rotate(10deg);
}

.pagu-offer h2 {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin-inline: auto;
}

.offer-card {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 46px auto 0;
  padding: 34px 42px;
  border: 3px solid var(--charcoal);
}

.offer-card h3 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: var(--lh-dm);
}

.offer-card p {
  margin: 0;
  line-height: var(--lh-dm);
}

.offer-card ul {
  width: fit-content;
  margin: 1.3em auto 0;
  padding: 0;
  line-height: var(--lh-dm);
  list-style: none;
  text-align: center;
}

.offer-card li {
  position: relative;
}

.offer-card li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 0.38em;
  width: 17px;
  height: 17px;
  background: url("./assets/images/pagu-check.png") center / contain no-repeat;
}

.pagu-footer {
  padding: 72px 24px;
  text-align: center;
}

.pagu-footer p {
  margin: 0;
  font-size: 0.82rem;
}

/* Sou Capitu */

.page-capitu {
  background: var(--cream);
  color: var(--capitu-brown);
  font-family: var(--font-ui);
}

.capitu-logo {
  width: clamp(195px, 23.5vw, 339px);
  margin-bottom: 70px;
}

.capitu-hero {
  position: relative;
  min-height: 1025px;
  padding: 68px var(--side) 0;
}

.capitu-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.capitu-hero h1 {
  max-width: 890px;
  margin: 0;
  color: var(--capitu-orange);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6.4vw, 6rem);
  font-style: normal;
  font-weight: 600;
  line-height: 0.82;
}

.capitu-hero h1 em {
  color: var(--capitu-brown);
  font-style: italic;
  font-weight: 400;
}

.capitu-hero p {
  max-width: 650px;
  margin: 58px 0 38px;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  font-weight: 500;
  line-height: 0.96;
}

.capitu-hero p strong {
  font-weight: 700;
}

.capitu-cta {
  justify-content: space-between;
  padding: 6px 6px 6px 22px;
  border-color: transparent;
  background: var(--capitu-gold);
  color: var(--capitu-brown);
  font-family: var(--font-ui);
  font-weight: 700;
  text-align: left;
}

.capitu-hero-art {
  position: absolute;
  z-index: 1;
  right: 1.5%;
  bottom: -2px;
  width: min(57%, 790px);
}

.capitu-commitment {
  position: relative;
  min-height: 1025px;
  padding: 102px var(--side) 170px;
  background: var(--capitu-gold);
}

.capitu-commitment::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -1px;
  width: 68%;
  height: 170px;
  border-radius: 70% 0 0;
  background: var(--cream);
}

.commitment-copy {
  position: relative;
  z-index: 3;
  width: 54%;
  margin-left: auto;
}

.commitment-copy h2 {
  max-width: 730px;
  font-size: clamp(3.2rem, 5.4vw, 5rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.commitment-copy h2 em {
  font-style: italic;
  font-weight: 500;
}

.commitment-copy p {
  max-width: 650px;
  margin-top: 46px;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 500;
  line-height: 0.96;
}

.commitment-copy > p strong {
  font-weight: 700;
}

.commitment-images {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 16px;
  width: 53%;
  height: 72%;
}

.commitment-images img {
  position: absolute;
  width: min(63%, 450px);
}

.commitment-images img:first-child {
  z-index: 2;
  left: 3%;
  bottom: 4%;
  transform: rotate(-12deg);
}

.commitment-images img:last-child {
  right: 2%;
  bottom: -5%;
  transform: rotate(2deg);
}

.plan-card {
  max-width: 540px;
  margin-top: 76px;
  margin-left: auto;
  padding: 0;
}

.plan-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.01;
}

.plan-card p {
  margin: 0;
  padding: 26px 32px;
  background: var(--capitu-brown);
  color: var(--cream);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  line-height: 1.01;
}

.plan-card p strong {
  font-weight: 700;
}

.capitu-band {
  min-height: 98px;
  background: var(--capitu-orange);
  color: var(--capitu-brown);
}

.capitu-band p {
  font-family: var(--font-heavy);
  /* Floor sized so the tracked line still fits a 360px viewport. */
  font-size: clamp(1.45rem, 4.1vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.01;
}

.capitu-pains {
  padding: 82px 0 88px;
  text-align: center;
}

.shadow-title {
  color: var(--capitu-gold);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.84;
  /* Figma: 7px OUTSIDE stroke on 64px type. text-stroke is centered, so
     14px = 7px visible; 0.22em keeps the ratio at responsive sizes. */
  -webkit-text-stroke: 0.22em var(--capitu-brown);
  paint-order: stroke fill;
}

.capitu-pains h2 {
  max-width: 770px;
  margin: 0 auto 52px;
}

.pain-list {
  display: grid;
  max-width: 600px;
  margin-inline: auto;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.pain-list li {
  display: grid;
  padding: 18px 36px;
  border: 2px solid var(--capitu-gold);
  border-radius: 50%;
  place-items: center;
  background: var(--capitu-brown);
  color: var(--capitu-gold);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.01;
  text-align: center;
}

.pain-list li:nth-child(1) {
  transform: rotate(0.66deg);
}

.pain-list li:nth-child(2) {
  transform: rotate(-5.35deg);
}

.pain-list li:nth-child(3) {
  transform: rotate(2.1deg);
}

.pain-list li:nth-child(4) {
  transform: rotate(-2.62deg);
}

.capitu-pains > .container > p {
  max-width: 700px;
  margin: 48px auto 34px;
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.01;
}

.capitu-pains > .container > p em {
  font-style: italic;
}

.capitu-access {
  padding: 64px 0 92px;
  background: var(--capitu-gold);
  text-align: center;
}

.capitu-access .intro {
  max-width: 700px;
  margin: 0 auto 34px;
  font-weight: 500;
  line-height: 1.01;
}

.capitu-access .intro strong {
  font-weight: 700;
}

.capitu-access h3 {
  margin: 0 0 28px;
  font-weight: 700;
  line-height: 1.01;
}

.access-card {
  position: relative;
  display: grid;
  width: min(100%, 480px);
  min-height: 570px;
  margin: 0 auto 46px;
  place-items: center;
  padding: 72px;
  background: url("./assets/images/soucapitu-shape-cream.png") center / 100% 100% no-repeat;
}

.access-card ul {
  margin: 0;
  padding: 0;
  color: var(--capitu-brown);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
  text-align: center;
}

.capitu-access .belong {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.86;
  transform: rotate(-1.87deg);
}

.capitu-access .belong u {
  text-underline-offset: 0.08em;
}

.capitu-community {
  padding: 116px 0 80px;
  text-align: center;
}

.capitu-community h2 {
  max-width: 780px;
  margin: 0 auto;
}

.responsibility {
  position: relative;
  display: grid;
  width: fit-content;
  margin: 62px auto 72px;
  padding: 14px 56px;
  place-items: center;
  background: var(--capitu-brown);
  color: var(--cream);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.01;
  text-align: center;
  transform: rotate(1.92deg);
}

.responsibility span {
  font-weight: 400;
}

.process-grid {
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  background: var(--capitu-sand);
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  min-height: 150px;
  padding: 30px 24px;
  border-right: 1px solid color-mix(in srgb, var(--capitu-brown) 35%, transparent);
  text-align: left;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid h3 {
  margin: 0 0 1em;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.01;
}

.process-grid p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.01;
}

.capitu-community .cta {
  margin-top: 58px;
}

.capitu-about {
  padding: 88px 0 102px;
}

.capitu-about-scene {
  position: relative;
  min-height: 890px;
}

.capitu-about-back {
  position: absolute;
  top: 0;
  left: 10%;
  width: 55%;
  max-width: 690px;
}

.capitu-about-card {
  position: absolute;
  z-index: 2;
  top: 92px;
  left: 2%;
  width: min(60%, 650px);
  padding: 70px 58px 66px;
  border-radius: 47px;
  background: var(--capitu-gold);
  transform: rotate(-3deg);
}

.capitu-about-card h2 {
  margin-bottom: 22px;
}

.capitu-about-card h3 {
  margin: 0 0 1em;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-style: italic;
  font-weight: 800;
}

.capitu-about-card p {
  font-size: clamp(0.95rem, 1.4vw, 1.17rem);
  font-weight: 500;
  line-height: 1.17;
}

.capitu-about-card p strong {
  font-weight: 700;
}

.capitu-about-woman {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 0;
  width: min(46%, 510px);
  filter: drop-shadow(-7px 4px 42.5px var(--capitu-brown));
  transform: rotate(10.25deg);
}

.capitu-about .cta {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
}

.capitu-footer {
  padding: 80px 24px;
  text-align: center;
}

.capitu-footer p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.82rem;
}

/* Project chooser */

.chooser {
  min-height: 100vh;
  padding: 56px 24px;
  background:
    radial-gradient(circle at top left, rgba(162, 94, 211, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(244, 186, 81, 0.22), transparent 35%),
    #171717;
  color: #f7f3ea;
}

.chooser-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
}

.chooser h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-style: italic;
  line-height: 0.9;
}

.chooser > .chooser-wrap > p {
  max-width: 640px;
  margin: 24px 0 48px;
  color: #c9c7c1;
  font-size: 1.08rem;
  line-height: 1.55;
}

.chooser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.chooser-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.chooser-card:hover {
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-5px);
}

.chooser-card.pagu {
  background:
    linear-gradient(180deg, transparent 20%, rgba(95, 44, 132, 0.95) 86%),
    url("./assets/images/soupagu-hero.jpg") center / cover;
}

.chooser-card.capitu {
  background:
    linear-gradient(180deg, transparent 20%, rgba(94, 50, 2, 0.95) 86%),
    var(--capitu-gold) url("./assets/images/soucapitu-hero.png") center 22% / 110% auto no-repeat;
}

.chooser-card span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chooser-card strong {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
}

@media (max-width: 900px) {
  :root {
    --side: clamp(20px, 5vw, 42px);
  }

  .match-grid,
  .quality-main,
  .quality-card,
  .community-lead,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .match-grid strong,
  .quality-main,
  .quality-card {
    text-align: center;
  }

  .quality-card {
    gap: 26px;
  }

  .community-figure {
    min-height: 380px;
  }

  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card:nth-child(4),
  .stat-card:nth-child(5) {
    grid-column: auto;
    transform: none;
  }

  .stat-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .capitu-hero {
    min-height: 930px;
  }

  .capitu-hero-art {
    width: 72%;
  }

  .commitment-copy {
    width: 62%;
  }

  .commitment-images {
    width: 60%;
  }

  .capitu-about-card {
    width: 68%;
  }

  .capitu-about-woman {
    right: -6%;
    width: 52%;
  }
}

@media (max-width: 680px) {
  .site {
    width: 100%;
  }

  .section-title {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .cta {
    width: 100%;
    padding-inline: 20px;
  }

  .pagu-hero {
    padding-top: 38px;
  }

  .pagu-logo {
    margin-bottom: 26px;
  }

  .pagu-hero h1 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .pagu-hero-image {
    height: 310px;
    margin-top: 50px;
  }

  .pagu-match,
  .pagu-quality,
  .pagu-about,
  .pagu-offer {
    padding-block: 68px;
  }

  .pagu-principle {
    min-height: 160px;
  }

  .pagu-quality::before,
  .pagu-quality::after {
    top: 190px;
    width: 190px;
    opacity: 0.78;
  }

  .pagu-quality::before {
    left: -130px;
  }

  .pagu-quality::after {
    right: -130px;
  }

  .quality-card {
    padding: 28px 22px;
  }

  .community-lead {
    gap: 20px;
  }

  .benefit-grid,
  .process-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    padding: 0 0 20px;
    border-left: 0;
    border-bottom: 1px solid #8a8a8a;
  }

  .benefit-grid article:last-child {
    border-bottom: 0;
  }

  .about-grid > img {
    width: min(80%, 340px);
    justify-self: center;
  }

  .stat-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .pagu-offer::before,
  .pagu-offer::after {
    width: 220px;
    height: 220px;
    opacity: 0.44;
  }

  .offer-card {
    padding: 30px 20px;
  }

  .capitu-logo {
    margin-inline: auto;
    margin-bottom: 38px;
  }

  .capitu-hero {
    min-height: auto;
    padding-top: 38px;
    text-align: center;
  }

  .capitu-hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.7rem);
  }

  .capitu-hero p {
    margin: 34px auto 30px;
  }

  .capitu-hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 118%;
    max-width: none;
    margin: 38px -9% 0;
  }

  .capitu-commitment {
    min-height: auto;
    padding: 70px var(--side) 100px;
  }

  .capitu-commitment::after {
    height: 80px;
  }

  .commitment-copy {
    width: 100%;
    text-align: center;
  }

  .commitment-images {
    position: relative;
    width: 100%;
    height: 460px;
    margin: 30px 0 -50px;
  }

  .commitment-images img {
    width: 64%;
  }

  .plan-card {
    margin: 30px auto 0;
    text-align: left;
  }

  .capitu-pains,
  .capitu-access,
  .capitu-community,
  .capitu-about {
    padding-block: 68px;
  }

  .pain-list li {
    padding: 16px 20px;
  }

  .access-card {
    min-height: 470px;
    padding: 64px;
  }

  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--capitu-brown) 35%, transparent);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .capitu-about-scene {
    min-height: auto;
    padding-top: 40px;
  }

  .capitu-about-back {
    top: 0;
    left: 12%;
    width: 76%;
  }

  .capitu-about-card {
    position: relative;
    top: auto;
    left: auto;
    width: 92%;
    margin: 48px auto 0;
    padding: 48px 30px;
  }

  .capitu-about-woman {
    position: relative;
    right: auto;
    bottom: auto;
    width: 78%;
    margin: -40px 0 0 auto;
  }

  .chooser-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
