/* =====================================================================
   ClickNetix Listing Studio — style.css
   Premium real-estate carousel studio. Mobile-first, CSS Grid + Flexbox.
   ---------------------------------------------------------------------
   Sections
     1. Design tokens
     2. Reset & base
     3. Layout helpers
     4. Typography helpers (eyebrow, section heads)
     5. Buttons
     6. Navigation
     7. Hero + fan signature
     8. Why cards
     9. Portfolio grid
    10. Process timeline
    11. Pricing
    12. Testimonials
    13. CTA band
    14. Footer
    15. Reveal animations + reduced motion
    16. Responsive (mobile-first, then up)
   ===================================================================== */

/* ============ 1. DESIGN TOKENS ============ */
:root {
  /* Brand palette */
  --ivory:      #FAF9F7;   /* page background */
  --paper:      #FEFDFB;   /* cards / surfaces */
  --ink:        #1B1F23;   /* primary text */
  --ink-soft:   rgba(27, 31, 35, 0.66);
  --ink-faint:  rgba(27, 31, 35, 0.42);
  --gold:       #C8A96A;   /* champagne accent */
  --gold-deep:  #B2914E;
  --ocean:      #1E4D72;   /* secondary accent */
  --navy:       #122A42;   /* buttons */
  --navy-deep:  #0E2235;

  /* Lines & tints */
  --line:       rgba(27, 31, 35, 0.10);
  --line-soft:  rgba(27, 31, 35, 0.06);
  --gold-tint:  rgba(200, 169, 106, 0.14);
  --ocean-tint: rgba(30, 77, 114, 0.08);

  /* Soft shadows */
  --shadow-sm: 0 1px 2px rgba(27,31,35,.04), 0 2px 10px rgba(27,31,35,.05);
  --shadow-md: 0 6px 16px rgba(27,31,35,.06), 0 16px 40px rgba(27,31,35,.07);
  --shadow-lg: 0 14px 30px rgba(27,31,35,.09), 0 34px 80px rgba(18,42,66,.12);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 100px;

  /* Type */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(5rem, 11vw, 8.5rem);
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* keeps anchored sections clear of the sticky nav */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-tint); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ============ 3. LAYOUT HELPERS ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* Hairline divider between major bands */
.section + .section { border-top: 1px solid var(--line-soft); }

/* ============ 4. TYPOGRAPHY HELPERS ============ */
.eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-deep);
  letter-spacing: .01em;
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--light { color: #E7D4AC; }
.eyebrow--light::before { background: var(--gold); }

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
}
.section__lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ============ 5. BUTTONS ============ */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              box-shadow .35s ease,
              background .35s ease,
              color .35s ease,
              border-color .35s ease;
  will-change: transform;
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Solid navy */
.btn--solid:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18,42,66,.22);
}

/* Ghost (light bg) */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Gold */
.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200,169,106,.32);
}

/* Ghost on dark band */
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn--ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============ 6. NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(27,31,35,.02), 0 8px 24px rgba(27,31,35,.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, var(--gold) 0%, var(--gold-deep) 55%, var(--ocean) 130%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
}
.brand__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--gold-deep);
}

.nav__links { display: none; gap: 2rem; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink-soft);
  position: relative;
  padding: .25rem 0;
  transition: color .3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: none; }

/* Mobile toggle */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  width: 18px; height: 1.6px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .35rem;
  padding: .5rem var(--gutter) 1.5rem;
  background: rgba(250, 249, 247, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu:not([hidden]) { display: flex; } /* shown only when JS clears [hidden] */
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  padding: .8rem .25rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: .75rem; }

/* ============ 7. HERO + FAN ============ */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 30em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}
.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.hero__trust strong { color: var(--ink); font-weight: 700; }
.hero__trust .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}

/* Fan signature */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.fan {
  position: relative;
  width: min(420px, 86vw);
  height: 420px;
  perspective: 1400px;
}
.fan__card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 220px;
  height: 290px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-origin: bottom center;
  /* start stacked; JS sets --tx/--rot and toggles .is-fanned */
  transform: translateX(0) rotate(0deg) translateY(8px);
  opacity: 0;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .7s ease;
  border: 1px solid rgba(255,255,255,.4);
}
.fan.is-fanned .fan__card {
  transform: translateX(var(--tx)) rotate(var(--rot)) translateY(var(--ty, 0));
  opacity: 1;
}
.fan:hover .fan__card { transform: translateX(calc(var(--tx) * 1.18)) rotate(var(--rot)) translateY(var(--ty, 0)); }
.fan__card:hover {
  transform: translateX(var(--tx)) rotate(0deg) translateY(-22px) scale(1.04) !important;
  z-index: 20 !important;
  box-shadow: 0 30px 60px rgba(18,42,66,.28);
}

/* Faux luxury carousel cover (so the page looks premium before real images exist) */
.cover {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  background: var(--cover-bg, linear-gradient(160deg, #2b3a4a, #16222f));
}
.cover::after { /* gold inset frame */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 10px;
  pointer-events: none;
}
.cover__top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase;
  position: relative; z-index: 1;
}
.cover__dots { display: flex; gap: 4px; }
.cover__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.cover__dots i:first-child { background: var(--gold); }
.cover__body { position: relative; z-index: 1; }
.cover__kicker {
  font-family: var(--font-accent); font-style: italic;
  font-size: .72rem; color: var(--gold); margin-bottom: .25rem;
}
.cover__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; line-height: 1.15; letter-spacing: -0.01em;
}
.cover__meta {
  margin-top: .35rem; font-size: .68rem;
  color: rgba(255,255,255,.78); letter-spacing: .04em;
}

/* ============ 8. WHY CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
  overflow: hidden;
}
.card::before { /* gold rule that grows on hover */
  content: "";
  position: absolute;
  left: 2rem; top: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.card:hover::before { width: 48px; }
.card__num {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.05rem;
  letter-spacing: .05em;
}
.card__title {
  font-size: 1.4rem;
  margin: .6rem 0 .65rem;
}
.card p { color: var(--ink-soft); }

/* ============ 9. PORTFOLIO ============ */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.work {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.work__cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
/* Styled fallback sits beneath the real <img>; if img fails, this shows */
.work__cover .cover { position: absolute; inset: 0; }
.work__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.work:hover .work__img { transform: scale(1.05); }

.work__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.work__title { font-size: 1.18rem; }
.work__city {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: .95rem;
  color: var(--ocean);
}
.work__desc { color: var(--ink-soft); font-size: .96rem; margin-top: .2rem; }
.work__btn {
  margin-top: 1.1rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 0;
  border-bottom: 1.5px solid var(--line);
  transition: color .3s ease, border-color .3s ease, gap .3s ease;
}
.work__btn .arrow { transition: transform .3s ease; }
.work__btn:hover { color: var(--gold-deep); border-color: var(--gold); gap: .85rem; }
.work__btn:hover .arrow { transform: translateX(3px); }

/* ============ 10. PROCESS TIMELINE ============ */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}
.timeline__step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
}
.timeline__num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 16px rgba(18,42,66,.18);
}
.timeline__title { font-size: 1.25rem; margin-bottom: .5rem; }
.timeline__step p { color: var(--ink-soft); }
.timeline__list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.timeline__list li {
  font-size: .82rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ocean);
  background: var(--ocean-tint);
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
}

/* ============ 11. PRICING ============ */
.pricing__wrap { display: grid; place-items: center; }
.price-card {
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.price-card::before { /* gold cap */
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.price-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--ocean);
  margin-bottom: .75rem;
}
.price-card__amount {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(3rem, 8vw, 3.8rem);
  line-height: 1;
  color: var(--ink);
}
.price-card__currency { font-size: .5em; vertical-align: super; color: var(--ink-soft); }
.price-card__period { font-size: .32em; font-weight: 600; color: var(--ink-faint); margin-left: .25rem; }
.price-card__note { color: var(--ink-faint); font-size: .92rem; margin-top: .6rem; }

.price-card__features {
  display: grid;
  gap: .9rem;
  margin: 1.75rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-card__features li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B2914E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.price-card__fine {
  text-align: center;
  margin-top: 1rem;
  color: var(--ink-faint);
  font-size: .86rem;
}

/* ============ 12. TESTIMONIALS ============ */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: .55;
  position: absolute;
  top: 1rem; left: 1.4rem;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote blockquote {
  margin: 1.5rem 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  position: relative; z-index: 1;
}
.quote figcaption { display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.quote__name { font-family: var(--font-display); font-weight: 700; }
.quote__role { font-size: .88rem; color: var(--ink-faint); }

/* ============ 13. CTA BAND ============ */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: clamp(0px, 4vw, 0px);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-band::before { /* subtle gold glow */
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(200,169,106,.30), transparent 65%);
  pointer-events: none;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band__title {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 2.9rem);
  max-width: 14ch;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============ 14. FOOTER ============ */
.footer {
  background: var(--ivory);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.brand__name--footer { font-size: 1.35rem; }
.footer__tag { color: var(--ink-soft); margin-top: .65rem; max-width: 32ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.75rem; align-content: start; }
.footer__links a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .3s ease;
}
.footer__links a:hover { color: var(--gold-deep); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding-top: 2rem;
  color: var(--ink-faint);
  font-size: .88rem;
}

/* ============ 15. REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fan__card { opacity: 1; }
}

/* ============ 16. RESPONSIVE (mobile-first → up) ============ */

/* Small tablets */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* Tablets / small laptops */
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { /* connecting line */
    content: "";
    position: absolute;
    top: 47px; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
    z-index: 0;
  }
  .cta-band__inner { grid-template-columns: 1.3fr 1fr; }
  .cta-band__actions { justify-content: flex-end; }
}

/* Desktops */
@media (min-width: 1080px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
}
