:root {
  --ink: #2c332a;
  --cream: #f4f1ea;
  --green: #3a4a3a;
  --accent: #c9784a;
  --accent-dark: #a8542c;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
  overflow-x: hidden;
}

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

/* ---------- Cursor distortion trail (affects everything on screen) ---------- */

/* A single fixed, full-viewport layer (see main.js: distortTrails) sitting
   above all page content. Each window uses backdrop-filter (not filter) with
   the SVG feDisplacementMap filter (#dilute-filter), so it dissolves
   whatever is actually rendered underneath it — text, photos, the logo,
   background color, all of it — rather than a clone of one specific image.
   Windows are pinned to successively older points along the recent cursor
   path with falling opacity, which is what reads as a fading trail rather
   than a static lens. pointer-events:none throughout so it never blocks
   clicks/links on the real page beneath it. Opacity is driven per-frame
   from JS on an eased decay curve (see main.js: DECAY_MS) once the mouse
   stops, so no CSS transition here. Mouse/trackpad only: no hover concept
   on touch. */
.distort-trail {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.distort-trail__window {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  backdrop-filter: url(#dilute-filter);
  -webkit-backdrop-filter: url(#dilute-filter);
  opacity: 0;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
  will-change: transform, opacity;
}

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 28px) clamp(16px, 3vw, 40px);
  pointer-events: none;
  /* The header sits over every section — hero photo, black Agradecimentos,
     cream Serviços/FAQ, black CTA/footer — and the logo/nav are always the
     same light color, so without this they'd disappear against the light
     sections. A soft dark scrim (not a hard bar) keeps them legible
     everywhere without needing to track what's currently underneath. */
  background: linear-gradient(180deg, rgba(10, 10, 9, 0.55) 0%, rgba(10, 10, 9, 0.28) 65%, rgba(10, 10, 9, 0) 100%);
}

.topbar__brand {
  position: relative;
  pointer-events: auto;
  display: inline-block;
  width: clamp(48px, 6vw, 76px);
}

/* Real alpha transparency now (PNG) instead of mix-blend-mode, so this
   reads cleanly no matter what's behind it — a fixed-position element
   always opens its own stacking context, which used to block blending. */
.topbar__brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  pointer-events: auto;
}

.topbar__nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease-out;
}

.topbar__nav-link:hover,
.topbar__nav-link:focus-visible {
  opacity: 1;
}

/* ---------- Hero track / pin ---------- */

.hero-track {
  position: relative;
  /* Real height is set from JS (see main.js: sizeHeroTrack) once the
     background photo's natural aspect ratio is known — this is just a
     safe fallback before that runs. */
  height: 600vh;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}

/* ---------- Background photo (panned by scroll, no crop/distortion) ---------- */

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* Centered by default, for the brief pre-JS instant before main.js has
     measured the photo and applied its object-fit:cover-style explicit
     width/height (see heroScroll: measure/build) — after that the photo
     always covers the full viewport, so this only matters for that first
     frame. When main.js detects there's real panning to do, it adds
     .is-panning, which switches this to flex-start so the pan tween's
     y:0 -> y:-panDistance math (measured from the top edge) is correct. */
  align-items: center;
  background: var(--ink);
}

.hero__bg.is-panning {
  align-items: flex-start;
}

.hero__bg-photo {
  /* Fallback sizing only — main.js overrides both with exact px values
     once the photo's natural size is known (see heroScroll: build). */
  width: 100%;
  height: auto;
  max-width: none;
  will-change: transform;
}

/* Fades in over the bg photo starting at 35% of the hero's own scroll
   progress (see main.js build()), revealing solid black — a dedicated
   near-black rather than var(--ink) (which is a dark green-grey) since
   the brief was specifically for a black background here. */
.hero__blackout {
  position: absolute;
  inset: 0;
  background: #0a0a09;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Hero mark (logo replacing the headline) ---------- */

.hero__mark-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hero__mark {
  position: relative;
  width: clamp(200px, 22vw, 360px);
}

/* The mark is thin dark-green linework with no fill, so a plain drop-shadow
   doesn't help where it lands over an already-dark part of the photo (the
   sculpture's shadowed crevices, in particular) — the shadow and the
   background are both dark, so the letters just disappear. This puts a
   soft light glow behind the whole mark instead, so there's always enough
   contrast for the linework regardless of what's underneath it in the
   photo. It's a child of .hero__mark, so it fades with it in the GSAP
   opacity tween rather than needing its own animation. */
.hero__mark::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle, rgba(244, 241, 234, 0.65) 0%, rgba(244, 241, 234, 0.32) 50%, rgba(244, 241, 234, 0) 75%);
}

.hero__mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

/* ---------- "Quem sou eu" beat ---------- */

.hero__about {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 100px);
  padding: 0 8vw;
  pointer-events: none;
}

.hero__about-text {
  max-width: 480px;
  text-align: left;
  /* Sits over the bright background photo, not the black section — cream
     text was unreadable there, so this beat gets dark ink instead. */
  color: var(--ink);
}

.hero__about-kicker {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.1;
}

.hero__about-phrase {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.55;
  font-style: italic;
  opacity: 0.92;
}

.hero__about-photo {
  position: relative;
  margin: 0;
  flex-shrink: 0;
  width: clamp(200px, 24vw, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.hero__about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- "A história da Georgia" (horizontal carousel over the blackout) ---------- */

.hero__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

.hero__carousel-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 9vw, 160px);
  padding: 0 calc((100% - min(60vw, 420px)) / 2);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 auto;
  width: min(60vw, 420px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero__slide-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.hero__slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide-text {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.65;
  font-style: italic;
  opacity: 0.92;
}

/* ---------- Footer bar ---------- */

.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 24px;
  margin: 6px auto 0;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Agradecimentos (pinned stage, groups of 3 cycling in/out) ---------- */

.thanks-track {
  position: relative;
  /* Real height is set from JS (see main.js: thanksStage) once the
     viewport height is known — this is just a safe fallback before
     that runs. */
  height: 500vh;
}

.thanks {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: #0a0a09;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 80px);
}

.thanks__intro {
  max-width: 620px;
  margin: 0 auto clamp(28px, 5vw, 56px);
  text-align: center;
  flex-shrink: 0;
}

.thanks__kicker {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.thanks__phrase {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.3;
  font-style: italic;
}

/* The stage: all 9 photos are stacked in the same 3 slots (left/center/
   right), only one group of 3 visible/animating at a time — see
   main.js: thanksStage. Positioning is plain CSS (left% + top:50%);
   GSAP owns the rest of the transform (xPercent/yPercent centering +
   the rise-in/scatter x/y) so the two never fight over the same
   property. */
.thanks__stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  flex: 1 1 auto;
  min-height: 0;
}

.thanks__photo {
  position: absolute;
  top: 50%;
  margin: 0;
  width: clamp(120px, 21vw, 260px);
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
}

.thanks__photo[data-col="left"] { left: 16.6%; }
.thanks__photo[data-col="center"] { left: 50%; }
.thanks__photo[data-col="right"] { left: 83.4%; }

/* Testimonial screenshots come in whatever aspect ratio the original
   chat/message had, and some are much taller than others (a phone
   screenshot vs. a cropped text bubble) — the card is inline-block so
   it shrink-wraps to the image's own rendered size instead of
   stretching to the (fixed, for column layout) figure width, and the
   image is capped by max-height/max-width rather than object-fit:cover
   (which would crop off the text) so nothing overflows the pinned
   stage regardless of the source aspect ratio. */
.thanks__photo-card {
  display: inline-block;
  max-width: 100%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}

.thanks__photo-frame {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.thanks__photo-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(200px, 34vh, 320px);
  display: block;
  margin: 0 auto;
}

.thanks__photo-text {
  margin: 12px 0 0;
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(11px, 1.3vw, 14px);
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  opacity: 0.85;
}

/* ---------- Serviços (plain grid, one reveal on scroll-in, not pinned) ---------- */

.services {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(72px, 11vw, 140px) clamp(20px, 6vw, 80px);
  scroll-margin-top: clamp(90px, 14vw, 160px);
}

.services__intro {
  max-width: 620px;
  margin: 0 auto clamp(56px, 8vw, 96px);
  text-align: center;
}

.services__kicker {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.services__phrase {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.3;
  font-style: italic;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  max-width: 1080px;
  margin: 0 auto;
}

.services__card {
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(44, 51, 42, 0.18);
  cursor: pointer;
}

.services__card:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 10px;
}

.services__card:hover .services__title {
  opacity: 0.7;
}

.services__index {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.45;
}

.services__title {
  margin: 0 0 8px;
  font-weight: normal;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.2;
}

.services__subtitle {
  margin: 0 0 12px;
  font-size: 13px;
  font-style: italic;
  opacity: 0.6;
}

.services__text {
  margin: 0;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.6;
  font-style: italic;
  opacity: 0.82;
}

.services__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- Service detail modal ---------- */

.service-modal {
  border: none;
  padding: 0;
  width: min(560px, calc(100vw - 40px));
  max-height: min(640px, calc(100vh - 80px));
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.service-modal::backdrop {
  background: rgba(10, 10, 9, 0.72);
}

.service-modal__inner {
  position: relative;
  padding: clamp(32px, 6vw, 56px);
}

.service-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.55;
}

.service-modal__close:hover,
.service-modal__close:focus-visible {
  opacity: 1;
}

.service-modal__kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-style: italic;
  opacity: 0.6;
}

.service-modal__title {
  margin: 0 0 20px;
  font-weight: normal;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
  padding-right: 32px;
}

.service-modal__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  opacity: 0.88;
}

.service-modal__body p:last-child {
  margin-bottom: 0;
}

/* ---------- Call to action ---------- */

.cta {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 80px);
}

.cta__phrase {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 720px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.3;
  font-style: italic;
}

.cta__button-wrap {
  position: relative;
  display: inline-block;
}

/* Branch that arches over the button and draws itself in on hover/focus —
   the CTA reads as a piece of fruit hanging off the brand's tree. */
.cta__branch {
  position: absolute;
  left: 50%;
  top: clamp(-46px, -6vw, -34px);
  width: clamp(220px, 30vw, 300px);
  height: auto;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
}

.cta__branch-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.35;
  stroke-dasharray: 100;
  stroke-dashoffset: 34;
  transition: stroke-dashoffset 0.9s ease-out, opacity 0.5s ease-out;
}

.cta__branch-leaf path {
  fill: var(--green);
  opacity: 0.45;
  transform-origin: 50% 100%;
  transition: opacity 0.5s ease-out;
  animation: leaf-sway-left 4.2s ease-in-out infinite;
}

.cta__branch-leaf--2 path {
  fill: var(--accent-dark);
  animation-name: leaf-sway-right;
  animation-delay: 0.3s;
}

.cta__branch-leaf--3 path {
  animation-delay: 0.6s;
}

.cta__button-wrap:hover .cta__branch-path,
.cta__button-wrap:focus-within .cta__branch-path {
  stroke-dashoffset: 0;
  opacity: 0.75;
}

.cta__button-wrap:hover .cta__branch-leaf path,
.cta__button-wrap:focus-within .cta__branch-leaf path {
  opacity: 0.9;
}

/* Two little leaves sprouting straight from the button, like a stem. */
.cta__sprout {
  position: absolute;
  top: -12px;
  width: 15px;
  height: 22px;
  background: var(--green);
  transform-origin: bottom center;
  pointer-events: none;
}

.cta__sprout--1 {
  left: 44%;
  border-radius: 0 100% 0 100%;
  transform: rotate(-25deg);
  animation: leaf-sway-left 3.4s ease-in-out infinite;
}

.cta__sprout--2 {
  left: 54%;
  width: 11px;
  height: 17px;
  opacity: 0.9;
  border-radius: 100% 0 100% 0;
  transform: rotate(20deg);
  animation: leaf-sway-right 3.4s ease-in-out infinite 0.4s;
}

.cta__button-wrap:hover .cta__sprout--1,
.cta__button-wrap:focus-within .cta__sprout--1 {
  transform: rotate(-12deg) scale(1.1);
  animation-play-state: paused;
}

.cta__button-wrap:hover .cta__sprout--2,
.cta__button-wrap:focus-within .cta__sprout--2 {
  transform: rotate(10deg) scale(1.1);
  animation-play-state: paused;
}

/* Ambient leaves drifting past the button like they've been picked up by
   a breeze — always gently moving, and picked up into a gust on hover. */
.cta__leaf {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 0 100% 0 100%;
  pointer-events: none;
  opacity: 0;
}

.cta__leaf--1 {
  top: 6%;
  left: -10px;
  background: var(--green);
  animation: leaf-drift-1 7s ease-in-out infinite;
}

.cta__leaf--2 {
  top: 62%;
  right: -14px;
  background: var(--accent-dark);
  animation: leaf-drift-2 8.5s ease-in-out infinite 1.6s;
}

.cta__leaf--3 {
  bottom: -10px;
  left: 32%;
  background: var(--green);
  animation: leaf-drift-3 9.5s ease-in-out infinite 3.2s;
}

.cta__button-wrap:hover .cta__leaf,
.cta__button-wrap:focus-within .cta__leaf {
  animation-duration: 2.6s;
}

.cta__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 42px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--cream);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(168, 84, 44, 0.35);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

/* Soft rings pulsing outward from the button, like gusts of wind. */
.cta__button::before,
.cta__button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  animation: wind-ripple 3.2s ease-out infinite;
}

.cta__button::after {
  animation-delay: 1.6s;
}

.cta__button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta__button:hover,
.cta__button:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(168, 84, 44, 0.5);
}

@keyframes wind-ripple {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.35, 1.6);
    opacity: 0;
  }
}

@keyframes leaf-sway-left {
  0%, 100% { transform: rotate(-25deg); }
  50% { transform: rotate(-12deg); }
}

@keyframes leaf-sway-right {
  0%, 100% { transform: rotate(20deg); }
  50% { transform: rotate(8deg); }
}

@keyframes leaf-drift-1 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.75; }
  50% { transform: translate(70px, -38px) rotate(150deg); opacity: 0.6; }
  90% { opacity: 0; }
  100% { transform: translate(120px, -14px) rotate(230deg); opacity: 0; }
}

@keyframes leaf-drift-2 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  14% { opacity: 0.7; }
  55% { transform: translate(-76px, -30px) rotate(-160deg); opacity: 0.55; }
  90% { opacity: 0; }
  100% { transform: translate(-130px, -8px) rotate(-240deg); opacity: 0; }
}

@keyframes leaf-drift-3 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  16% { opacity: 0.6; }
  55% { transform: translate(34px, -64px) rotate(130deg); opacity: 0.5; }
  90% { opacity: 0; }
  100% { transform: translate(58px, -96px) rotate(210deg); opacity: 0; }
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 80px);
  scroll-margin-top: clamp(90px, 14vw, 160px);
}

.faq__intro {
  max-width: 620px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.faq__kicker {
  margin: 0;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-top: 1px solid rgba(44, 51, 42, 0.18);
  padding: clamp(16px, 2.6vw, 22px) 0;
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(44, 51, 42, 0.18);
}

.faq__question {
  cursor: pointer;
  font-size: clamp(16px, 2vw, 19px);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  opacity: 0.55;
  transition: transform 0.2s ease-out;
}

.faq__item[open] .faq__question::after {
  content: "\2212";
}

.faq__answer {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  font-style: italic;
  opacity: 0.85;
}

.faq__answer a {
  color: inherit;
}

/* ---------- Site footer ---------- */

.site-footer {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 6vw, 80px) clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
  text-align: center;
  border-top: 1px solid rgba(44, 51, 42, 0.14);
}

.site-footer__brand img {
  width: clamp(48px, 6vw, 64px);
  margin: 0 auto 12px;
  opacity: 0.9;
}

.site-footer__tagline {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.site-footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  opacity: 1;
}

.site-footer__copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .topbar__nav {
    gap: 12px;
  }

  .topbar__nav-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero__about {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 0 8vw;
  }

  .hero__about-text {
    text-align: center;
  }

  .hero__about-photo {
    width: clamp(160px, 46vw, 220px);
  }

  .hero__carousel-track {
    gap: 12vw;
    padding: 0 calc((100% - min(74vw, 300px)) / 2);
  }

  .hero__slide {
    width: min(74vw, 300px);
  }

  /* Same 3-column stage as desktop, just pulled in much closer together
     (was 12%/88%, spread almost edge to edge), so the 3 photo cards
     overlap slightly like a small stack of photos. Left/right sit
     noticeably lower than center (52% gap) so their CAPTIONS clear the
     one above instead of colliding with it — the photo cards themselves
     are fine to overlap, only the text needs the room. The caption's own
     max-width barely matters here since the figure itself (.thanks__photo)
     is already narrower than that; what actually keeps each caption's
     height predictable is the smaller font-size below plus the tight
     image cap, since the longest real captions still wrap to 4-5 lines
     at this column width regardless. */
  .thanks__photo {
    width: clamp(100px, 27vw, 140px);
  }

  .thanks__photo-frame img {
    max-height: clamp(100px, 15vh, 140px);
  }

  .thanks__photo[data-col="left"] { left: 23%; top: 78%; }
  .thanks__photo[data-col="right"] { left: 77%; top: 78%; }
  .thanks__photo[data-col="center"] { top: 26%; }

  .thanks__photo-text {
    max-width: 26ch;
    font-size: 12px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .distort-trail { display: none; }
}
