/* =========================================================================
   PRETTY FUNCTIONAL DESIGNS — v2 (Light Editorial / Pearl-Sage-Terracotta)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* Local body font — Bricolage Grotesque (variable, full weight range) */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque-Variable.ttf') format('truetype-variations'),
       url('assets/fonts/BricolageGrotesque-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Local accent font — Caveat (natural handwritten script, for italic-style accents) */
@font-face {
  font-family: 'Caveat';
  src: url('assets/fonts/Caveat-Variable.ttf') format('truetype-variations'),
       url('assets/fonts/Caveat-Variable.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --bg:        #f7f5f0;   /* pearl base */
  --bg-soft:   #efeae0;   /* warm cream */
  --bg-deep:   #e7e0d3;   /* warmer panel */
  --ink:       #1a1612;   /* near-black text */
  --ink-soft:  #4a4239;   /* warm dark */
  --muted:     #8a8275;   /* warm grey */
  --line:      rgba(26, 22, 18, 0.10);

  --sage:       #7a8b6f;
  --sage-deep:  #5d6e54;
  --sage-mist:  #c2cbb8;

  --terra:      #c97b5f;
  --terra-deep: #a35e44;
  --terra-blush:#ebc4b3;

  --champagne:  #d4b483;
  --pearl-shine:#fffaf0;

  /* Violet accent — saturated electric plum, more neon presence */
  --violet:      #9d52d6;
  --violet-deep: #6b2fb3;
  --violet-mist: #d9b8f0;
  --violet-glow: rgba(157, 82, 214, 0.65);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 30px 80px -30px rgba(93, 110, 84, 0.30);
  --shadow-card: 0 14px 40px -18px rgba(26, 22, 18, 0.18);

  /* Reusable violet glow stacks — more neon, more saturated, more presence */
  --glow-violet:        0 0 30px -4px rgba(157, 82, 214, 0.60), 0 0 70px -10px rgba(107, 47, 179, 0.45), 0 14px 40px -18px rgba(26, 22, 18, 0.22);
  --glow-violet-hover:  0 0 46px -4px rgba(157, 82, 214, 0.90), 0 0 100px -10px rgba(107, 47, 179, 0.65), 0 22px 50px -20px rgba(26, 22, 18, 0.28);
  --glow-violet-strong: 0 0 60px -4px rgba(157, 82, 214, 1.00), 0 0 130px -12px rgba(107, 47, 179, 0.75), 0 0 200px -20px rgba(157, 82, 214, 0.55);

  /* Olive-green halo behind large copy — DRASTIC, matches the violet card glow in punch */
  --glow-olive-soft: radial-gradient(ellipse 72% 82% at 50% 50%, rgba(107, 142, 35, 0.55), rgba(85, 107, 47, 0.35) 45%, transparent 75%);
  --glow-olive-deep: radial-gradient(ellipse 78% 88% at 50% 50%, rgba(107, 142, 35, 0.65), rgba(85, 107, 47, 0.42) 50%, transparent 80%);

  /* Champagne "glow-up" accent */
  --gold:        #c89a45;
  --gold-deep:   #8a6420;
  --gold-shine:  #e6c269;
  --gold-amber:  #6e4e15;
}

/* =========================================================================
   OLIVE-GREEN HALO BEHIND LARGE COPY
   Drastic deep-olive atmosphere — punchy on purpose, matches the violet
   card glow in intensity so it reads as a statement, not a subtle wash.
   ========================================================================= */
.olive-halo {
  position: relative;
  isolation: isolate;
}
.olive-halo::before {
  content: "";
  position: absolute;
  inset: -18% -10%;
  z-index: -1;
  background: var(--glow-olive-soft);
  filter: blur(36px);
  pointer-events: none;
  opacity: 1;
}

/* Auto-apply olive-green halo behind big display copy */
.hero-title,
.reveal-words,
.section-head h2,
.work-center h2,
.why-text h2,
.about-inner h2,
.contact .section-head h2 {
  position: relative;
  isolation: isolate;
}
.hero-title::before,
.reveal-words::before,
.section-head h2::before,
.work-center h2::before,
.why-text h2::before,
.about-inner h2::before {
  content: "";
  position: absolute;
  inset: -22% -8%;
  z-index: -1;
  background: var(--glow-olive-soft);
  filter: blur(42px);
  pointer-events: none;
  opacity: 1;
}
.reveal-words::before {
  inset: -14% -6%;
  background: var(--glow-olive-deep);
  filter: blur(50px);
  opacity: 1;
}
.hero-title::before {
  inset: -18% -10% -10% -8%;
  filter: blur(48px);
}

/* =========================================================================
   "GLOW-UP" WORD TREATMENT — deep amber → champagne → shine
   Gradient now STARTS dark so the first letters are fully legible against
   the pearl background. Shine moves to the end so the word still glints.
   ========================================================================= */
.glowup {
  display: inline-block;
  padding: 0 0.22em 0 0.04em;
  margin: 0 0 0 -0.02em;
  background: linear-gradient(135deg,
    var(--gold-amber) 0%,
    var(--gold-deep)  28%,
    var(--gold)       60%,
    var(--gold-shine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(110, 78, 21, 0.35))
    drop-shadow(0 0 10px rgba(200, 154, 69, 0.45))
    drop-shadow(0 0 22px rgba(138, 100, 32, 0.30));
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: glowupPulse 4.5s ease-in-out infinite;
}
@keyframes glowupPulse {
  0%, 100% {
    filter:
      drop-shadow(0 1px 0 rgba(110, 78, 21, 0.35))
      drop-shadow(0 0 8px rgba(200, 154, 69, 0.40))
      drop-shadow(0 0 18px rgba(138, 100, 32, 0.28));
  }
  50% {
    filter:
      drop-shadow(0 1px 0 rgba(110, 78, 21, 0.40))
      drop-shadow(0 0 14px rgba(230, 194, 105, 0.65))
      drop-shadow(0 0 28px rgba(200, 154, 69, 0.50));
  }
}
/* Keep eyebrow & h3 glow-up readable in their small sizes */
.eyebrow .glowup { font-style: normal; font-weight: 700; }
h3 .glowup { font-weight: 700; }
/* On the dark featured package, swap to the bright direction so it pops */
.package.featured .glowup {
  background: linear-gradient(135deg,
    var(--gold-shine) 0%,
    var(--gold)       45%,
    var(--gold-deep)  100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--terra); color: var(--pearl-shine); }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* =========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================= */
.eyebrow {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 18px;
}
.italic-accent {
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-weight: 600;
  color: var(--terra-deep);
}
/* Caveat renders thinner than Sedgwick at the same px — bump weight on
   all the handwritten-accent uses so the visual presence stays consistent. */
.hero-tagline,
.problem-footer,
.work-center .work-tag,
.who-note,
.why-pull,
.process-note,
.about-inner .italic-accent,
.footer-bottom em {
  font-weight: 600;
}
h1, h2, h3 { color: var(--ink); }
h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 71px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h3 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
p { color: var(--ink-soft); }

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--pearl-shine);
}
.btn-primary:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  /* Terra-cotta glow only — kept consistent with the rest of the buttons. */
  box-shadow:
    0 0 28px -4px rgba(201, 123, 95, 0.65),
    0 0 60px -10px rgba(163, 94, 68, 0.45),
    0 14px 36px -12px rgba(163, 94, 68, 0.50);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--pearl-shine);
}
.btn-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s, padding 0.3s;
}
.site-nav.scrolled {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-accent {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--terra-deep);
  text-transform: none;
  font-size: 1.15em;
  letter-spacing: 0;
  margin: 0 0.05em;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out), text-shadow 0.25s var(--ease-out);
}
.nav-links a:hover {
  color: var(--terra-deep);
  text-shadow:
    0 0 12px rgba(201, 123, 95, 0.65),
    0 0 24px rgba(163, 94, 68, 0.40);
}

/* Nav CTA — compact, with bright readable text */
.nav-links .nav-cta {
  padding: 11px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--pearl-shine) !important;
  background: var(--ink);
}
.nav-links .nav-cta:hover {
  color: var(--pearl-shine) !important;
  background: var(--terra-deep);
  text-shadow: none;
  box-shadow:
    0 0 24px -4px rgba(201, 123, 95, 0.55),
    0 0 50px -10px rgba(163, 94, 68, 0.40);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after  { top:  7px; left: 0; right: 0; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 18% 28%, rgba(194, 203, 184, 0.55), transparent 60%),
    radial-gradient(ellipse 55% 70% at 82% 72%, rgba(235, 196, 179, 0.55), transparent 60%),
    radial-gradient(ellipse 50% 65% at 70% 30%, rgba(138, 109, 168, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 60% at 55% 18%, rgba(212, 180, 131, 0.30), transparent 60%),
    radial-gradient(ellipse 60% 70% at 12% 85%, rgba(107, 83, 136, 0.22), transparent 60%),
    radial-gradient(ellipse 80% 80% at 30% 92%, rgba(122, 139, 111, 0.18), transparent 60%),
    var(--bg);
  animation: bgDrift 22s ease-in-out infinite alternate;
  will-change: background-position, filter;
}
@keyframes bgDrift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%; }
  100% { background-position: 8% 14%, 92% 86%, 60% 8%, 12% 88%; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-flash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-flash::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -55%;
  width: 50%;
  height: 120%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 250, 240, 0.0) 35%,
    rgba(201, 123, 95, 0.30) 45%,
    rgba(138, 109, 168, 0.40) 48%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(138, 109, 168, 0.35) 52%,
    rgba(122, 139, 111, 0.28) 55%,
    rgba(255, 250, 240, 0.0) 65%,
    transparent 100%);
  transform: skewX(-20deg);
  animation: flashSweep 16s ease-in-out infinite;
  animation-delay: 2.6s;
  filter: blur(10px);
  mix-blend-mode: screen;
}
@keyframes flashSweep {
  0%   { left: -55%; opacity: 1; }
  10%  { left: 155%; opacity: 1; }
  10.1%{ opacity: 0; }
  100% { left: -55%; opacity: 0; }
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.hero-left .eyebrow {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease-out) 0.4s forwards;
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.title-line { display: block; overflow: hidden; }
.title-line .inner {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.2s var(--ease-out) forwards;
}
.title-line:nth-child(1) .inner { animation-delay: 0.55s; }
.title-line:nth-child(2) .inner { animation-delay: 0.8s; }
.title-line:nth-child(3) .inner { animation-delay: 1.05s; }
.hero-title .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--terra-deep);
  letter-spacing: -0.005em;
  font-size: 0.92em;
  text-transform: none;
  /* Visually re-center against Anton's tall x-height — pull up slightly */
  display: inline-block;
  transform: translateY(-0.06em);
  line-height: 1;
}
.hero-tagline {
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: clamp(23px, 2.5vw, 32px);
  color: var(--sage-deep);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.4s forwards;
  transform: translateY(20px);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 38px;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.6s forwards;
  transform: translateY(20px);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.85s forwards;
  transform: translateY(20px);
}

/* Hero visual — transparent-bg flower, taller frame like the portfolio hero */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 110%;
  max-width: 616px;
  margin-left: auto;
  /* Nudge slightly up + left so the larger bloom fills more whitespace without expanding the column */
  top: -2.5vh;
  left: -2vw;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: heroVisualIn 1.5s var(--ease-out) 1.2s forwards;
  will-change: transform;
}
@keyframes heroVisualIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bloom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Light lavender/lilac halo — soft purple glow that reads as light, not haze */
  filter:
    drop-shadow(0 0 50px  rgba(214, 196, 240, 0.85))
    drop-shadow(0 0 110px rgba(190, 170, 230, 0.65))
    drop-shadow(0 0 190px rgba(170, 145, 220, 0.45))
    drop-shadow(0 25px 50px rgba(150, 120, 200, 0.40));
  animation: bloomBob 7s ease-in-out infinite, bloomPulse 5s ease-in-out infinite;
}
/* Soft lilac aura ring — screen-blended so it adds light, never dirt */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%,
    rgba(232, 220, 250, 0.92) 0%,
    rgba(214, 196, 240, 0.70) 24%,
    rgba(190, 170, 230, 0.45) 46%,
    rgba(170, 145, 220, 0.22) 64%,
    transparent 78%);
  filter: blur(40px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: bloomAura 7s ease-in-out infinite;
}
/* Brighter inner lavender core right behind the bloom */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 10% 10% 10%;
  z-index: -1;
  background: radial-gradient(circle at 50% 48%,
    rgba(244, 234, 255, 0.95) 0%,
    rgba(220, 204, 245, 0.60) 32%,
    transparent 68%);
  filter: blur(30px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: bloomAura 5.5s ease-in-out infinite;
}
@keyframes bloomAura {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
/* Bigger floaty bob — matches the portfolio hero flower's hover feel */
@keyframes bloomBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes bloomPulse {
  0%, 100% { filter: drop-shadow(0 0 45px  rgba(214, 196, 240, 0.80)) drop-shadow(0 0 100px rgba(190, 170, 230, 0.60)) drop-shadow(0 0 180px rgba(170, 145, 220, 0.40)) drop-shadow(0 20px 50px rgba(150, 120, 200, 0.38)); }
  50%      { filter: drop-shadow(0 0 80px  rgba(220, 204, 245, 1.00)) drop-shadow(0 0 150px rgba(200, 180, 235, 0.80)) drop-shadow(0 0 230px rgba(180, 155, 225, 0.55)) drop-shadow(0 20px 50px rgba(160, 130, 210, 0.50)); }
}
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.4px);
  animation: floatDrift 7s ease-in-out infinite;
  z-index: 3;
}
.hero-visual .p1 { width: 6px; height: 6px; background: var(--terra); top: 10%;  left: 10%;  box-shadow: 0 0 14px var(--terra); }
.hero-visual .p2 { width: 5px; height: 5px; background: var(--violet); top: 24%;  right: 6%;  box-shadow: 0 0 16px var(--violet); animation-delay: 1.4s; }
.hero-visual .p3 { width: 4px; height: 4px; background: var(--champagne); top: 60%;  left: 3%;   box-shadow: 0 0 12px var(--champagne); animation-delay: .7s; }
.hero-visual .p4 { width: 5px; height: 5px; background: var(--terra-deep); bottom: 16%; right: 14%; box-shadow: 0 0 14px var(--terra-deep); animation-delay: 2.1s; }
.hero-visual .p5 { width: 4px; height: 4px; background: var(--violet-deep); bottom: 6%;  left: 22%;  box-shadow: 0 0 14px var(--violet-deep); animation-delay: 1.8s; }
.hero-visual .p6 { width: 4px; height: 4px; background: var(--sage); top: 44%;  right: 18%; box-shadow: 0 0 12px var(--sage); animation-delay: 2.6s; }
@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.9; }
  33%      { transform: translate(8px, -14px); opacity: 1; }
  66%      { transform: translate(-6px, 8px); opacity: 0.65; }
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1s var(--ease-out) 2.4s forwards, bob 2.5s ease-in-out 3s infinite;
  z-index: 3;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* =========================================================================
   REVEAL MOMENT
   ========================================================================= */
.reveal-section {
  position: relative;
  padding: 116px 32px 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  text-align: center;
  overflow: hidden;
}
.reveal-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 40px;
}
.reveal-words {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 130px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 1200px;
  margin: 0 auto;
}
.reveal-word {
  display: block;
  overflow: hidden;
  height: 0.98em;
  position: relative;
}
.reveal-word .inner {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
.reveal-word.accent .inner {
  background: linear-gradient(135deg, var(--terra) 0%, var(--violet) 45%, var(--violet-deep) 70%, var(--sage-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 32px rgba(138, 109, 168, 0.45));
}
.reveal-caption {
  max-width: 620px;
  margin: 60px auto 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}
.reveal-caption b { color: var(--ink); font-weight: 500; }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem { padding: 96px 0; background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
}
.problem-item {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1.5px solid rgba(157, 82, 214, 0.45);
  border-radius: 14px;
  box-shadow:
    0 0 32px -4px rgba(157, 82, 214, 0.45),
    0 0 70px -10px rgba(107, 47, 179, 0.35),
    0 18px 44px -16px rgba(26, 22, 18, 0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.problem-item:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: var(--glow-violet-hover);
}
.problem-item .mark {
  color: #8a1f0e;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.3;
  text-shadow:
    0 0 0.5px #8a1f0e,
    1px 0 0 #8a1f0e,
    -1px 0 0 #8a1f0e,
    0 1px 0 #8a1f0e,
    0 -1px 0 #8a1f0e,
    1px 1px 0 #5e1408;
  letter-spacing: -0.02em;
}
.problem-item p { font-size: 15px; line-height: 1.55; }
.problem-footer {
  margin-top: 60px;
  text-align: center;
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: 27px;
  color: var(--ink);
}

/* =========================================================================
   SERVICES — ZIGZAG with sticky center text
   ========================================================================= */
.services {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 30%, var(--bg-soft) 70%, var(--bg) 100%);
}
.work-area { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}
.left-col, .right-col {
  display: flex;
  flex-direction: column;
  gap: 10vh;
  padding-top: 6vh;
}
.left-col { gap: 10vh; }
.right-col { padding-top: 18vh; }
.center-col {
  position: relative;
  align-self: stretch;
  padding-top: 30vh;
}

/* Bottom-center card — sits below the center text, slightly left of center,
   closing the U shape formed by the left + right service-card columns.
   Negative margin-top pulls it UP into visual range of the column bottoms
   so it doesn't strand 400px of empty space below the other cards. */
.bottom-card {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: start;
  width: 100%;
  max-width: 380px;
  margin-top: -80px;
  /* Pull it slightly left of dead-center for a more organic placement */
  transform: translate3d(-90px, 0, 0);
}
.work-center {
  position: sticky;
  top: 22vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4%;
}
.work-center .eyebrow { color: var(--sage-deep); }
.work-center h2 { margin-bottom: 24px; }
.work-center .work-tag {
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: 25px;
  color: var(--terra-deep);
}
.service-card {
  background: var(--bg);
  border: 1.5px solid rgba(157, 82, 214, 0.45);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow:
    0 0 32px -4px rgba(157, 82, 214, 0.50),
    0 0 80px -10px rgba(107, 47, 179, 0.38),
    0 22px 50px -18px rgba(26, 22, 18, 0.30);
  transition: border-color 0.4s, box-shadow 0.4s;
  /* Float-in defaults — JS animates opacity + transform on scroll */
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  will-change: transform, opacity;
}
.service-card:hover {
  border-color: var(--violet);
  box-shadow: var(--glow-violet-hover);
}
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--terra-blush) 0%, var(--violet-mist) 55%, var(--sage-mist) 100%);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 20px -4px rgba(138, 109, 168, 0.30);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* =========================================================================
   PACKAGES
   ========================================================================= */
.packages { padding: 96px 0; background: var(--bg); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.package {
  background: var(--bg-soft);
  border: 1px solid rgba(138, 109, 168, 0.30);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glow-violet);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.package:hover {
  transform: translateY(-5px);
  border-color: var(--violet);
  box-shadow: var(--glow-violet-hover);
}
.package.featured {
  background: linear-gradient(165deg, var(--ink) 0%, #2a2230 100%);
  border-color: var(--violet);
  position: relative;
  box-shadow: var(--glow-violet-strong);
}
.popular-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  background: linear-gradient(135deg, var(--gold-shine) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--ink);
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-deep);
  box-shadow:
    0 0 22px -4px rgba(230, 194, 105, 0.85),
    0 0 50px -10px rgba(200, 154, 69, 0.55),
    0 8px 20px -6px rgba(26, 22, 18, 0.45);
  z-index: 2;
  white-space: nowrap;
  animation: badgePulse 3.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% {
    box-shadow:
      0 0 22px -4px rgba(230, 194, 105, 0.80),
      0 0 50px -10px rgba(200, 154, 69, 0.50),
      0 8px 20px -6px rgba(26, 22, 18, 0.45);
  }
  50% {
    box-shadow:
      0 0 32px -4px rgba(230, 194, 105, 1),
      0 0 70px -10px rgba(200, 154, 69, 0.75),
      0 8px 20px -6px rgba(26, 22, 18, 0.45);
  }
}
.package.featured:hover {
  box-shadow:
    0 0 60px -4px rgba(138, 109, 168, 0.95),
    0 0 140px -10px rgba(107, 83, 136, 0.75),
    0 0 200px -20px rgba(138, 109, 168, 0.55);
}
.package.featured h3,
.package.featured .price,
.package.featured ul li { color: var(--pearl-shine); }
.package.featured .summary { color: rgba(255, 250, 240, 0.78); }
.package.featured .pkg-label { color: var(--champagne); }
.package.featured .pkg-cta {
  background: var(--pearl-shine);
  color: var(--ink);
}
.package.featured .pkg-cta:hover {
  background: var(--terra);
  color: var(--pearl-shine);
}
.pkg-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 14px;
}
.package h3 { font-size: 22px; margin-bottom: 12px; }
.price {
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.05;
}
.price-suffix {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin-left: 2px;
  letter-spacing: 0;
}
.package.featured .price-suffix { color: var(--pearl-shine); }
.price-note {
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  color: var(--terra-deep);
  margin-bottom: 14px;
  line-height: 1.25;
}
.package.featured .price-note { color: var(--champagne); }
.pricing-transparency {
  max-width: 760px;
  margin: -28px auto 56px;
  text-align: center;
  padding: 18px 24px;
  background: var(--bg-soft);
  border: 1px dashed rgba(138, 109, 168, 0.45);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.pricing-transparency strong {
  color: var(--ink);
  font-weight: 600;
}
.summary {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.55;
}
.package ul {
  list-style: none;
  margin-bottom: 22px;
  flex-grow: 1;
}
.package ul li {
  font-size: 14px;
  padding: 7px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.package ul li::before {
  content: "✦";
  color: var(--terra);
  font-size: 12px;
  margin-top: 3px;
}
.package.featured ul li { border-bottom-color: rgba(255, 250, 240, 0.10); }
.package.featured ul li::before { color: var(--champagne); }
.pkg-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  padding: 14px 18px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}

/* =========================================================================
   WHO IT'S FOR
   ========================================================================= */
.who { padding: 96px 0; background: var(--bg-soft); }
.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.who-tag {
  padding: 12px 22px;
  border: 1px solid rgba(138, 109, 168, 0.35);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  color: var(--ink-soft);
  box-shadow: 0 0 18px -4px rgba(138, 109, 168, 0.40);
  transition: all 0.25s var(--ease-out);
}
.who-tag:hover {
  background: var(--ink);
  color: var(--pearl-shine);
  border-color: var(--violet);
  transform: translateY(-3px);
  box-shadow:
    0 0 30px -2px rgba(138, 109, 168, 0.85),
    0 0 60px -10px rgba(107, 83, 136, 0.60);
}
.who-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: 25px;
  color: var(--ink);
}

/* =========================================================================
   WHY
   ========================================================================= */
.why-wrap { padding: 96px 0; background: var(--bg); }
.why {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}
.why-text .lead { font-size: 18px; margin: 18px 0 26px; color: var(--ink-soft); }
.why-list { list-style: none; }
.why-list li {
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
}
.why-list li::before {
  content: "→";
  color: var(--terra-deep);
  font-weight: 600;
}
.why-pull {
  background: linear-gradient(165deg, var(--sage-mist) 0%, var(--violet-mist) 55%, var(--terra-blush) 100%);
  border: 1px solid rgba(138, 109, 168, 0.40);
  border-radius: 22px;
  padding: 40px 36px;
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: 25px;
  color: var(--ink);
  line-height: 1.5;
  box-shadow: var(--glow-violet-strong);
}
.why-pull strong {
  font-style: normal;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  color: var(--terra-deep);
  font-size: 1.1em;
  text-transform: uppercase;
}

/* =========================================================================
   PROCESS
   ========================================================================= */
.process { padding: 96px 0; background: var(--bg-soft); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
/* 7 cards = 4 on top row, 3 centered on bottom row */
.process-step:nth-child(5) { grid-column: 1 / span 2; justify-self: end; max-width: 100%; }
.process-step:nth-child(6) { grid-column: 3 / span 2; justify-self: stretch; }
.process-step:nth-child(7) { grid-column: 5 / span 2; justify-self: start; max-width: 100%; }
/* Bottom row needs 6 cols to hold 3 centered items — use trick:
   move children into an 8-col grid so 5–7 sit across cols 2–7 */
.process-steps {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.process-step:nth-child(1) { grid-column: 1 / span 2; }
.process-step:nth-child(2) { grid-column: 3 / span 2; }
.process-step:nth-child(3) { grid-column: 5 / span 2; }
.process-step:nth-child(4) { grid-column: 7 / span 2; }
.process-step:nth-child(5) { grid-column: 2 / span 2; }
.process-step:nth-child(6) { grid-column: 4 / span 2; }
.process-step:nth-child(7) { grid-column: 6 / span 2; }
@media (max-width: 1000px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(n) { grid-column: auto / span 1; justify-self: stretch; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  background: var(--bg);
  border: 1px solid rgba(138, 109, 168, 0.30);
  border-radius: 16px;
  box-shadow: var(--glow-violet);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: var(--glow-violet-hover);
}
.process-step .num {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  color: var(--terra-deep);
  line-height: 1;
  flex-shrink: 0;
}
.process-step h3 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.process-note {
  margin-top: 50px;
  text-align: center;
  font-family: 'Caveat', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-size: 22px;
  color: var(--ink);
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about {
  padding: 112px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(194, 203, 184, 0.30), transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 30%, rgba(235, 196, 179, 0.35), transparent 60%);
  pointer-events: none;
}
.about-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-mark {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: transparent;
}
.about-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Soft violet halo + grounding shadow — picks up the page's purple accent
     without competing with the bigger card glows elsewhere. */
  filter:
    drop-shadow(0 0 14px rgba(157, 82, 214, 0.45))
    drop-shadow(0 0 32px rgba(107, 47, 179, 0.28))
    drop-shadow(0 4px 12px rgba(26, 22, 18, 0.18));
  animation: monogramFloat 6s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}
@keyframes monogramFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .about-mark img { animation: none; }
}
.about-inner p {
  font-size: 17px;
  margin: 18px auto;
  max-width: 600px;
}
.about-inner .italic-accent {
  font-size: 27px;
  margin-top: 30px;
  display: block;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { padding: 112px 0; background: var(--bg-deep); position: relative; }
.contact-inner { max-width: 780px; margin: 0 auto; }
.contact-form {
  background: var(--bg);
  border: 1px solid rgba(138, 109, 168, 0.22);
  border-radius: 22px;
  padding: 44px;
  /* Toned-down violet glow — softer than the card stack, so the form
     doesn't shout against the contact section's deeper bg. */
  box-shadow:
    0 0 18px -6px rgba(157, 82, 214, 0.22),
    0 0 40px -14px rgba(107, 47, 179, 0.18),
    0 18px 44px -20px rgba(26, 22, 18, 0.20);
  margin-bottom: 28px;
}
.form-row { margin-bottom: 22px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.2s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--bg);
  box-shadow:
    0 0 0 4px rgba(138, 109, 168, 0.20),
    0 0 24px -4px rgba(138, 109, 168, 0.35);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="file"] {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px dashed rgba(138, 109, 168, 0.45);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
}
.field input[type="file"]::-webkit-file-upload-button {
  background: var(--ink);
  color: var(--pearl-shine);
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 14px;
  transition: background 0.25s var(--ease-out);
}
.field input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--terra-deep);
}
.field input[type="file"]::file-selector-button {
  background: var(--ink);
  color: var(--pearl-shine);
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 14px;
  transition: background 0.25s var(--ease-out);
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--terra-deep);
}
.field-help {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}
.contact-form .btn { margin-top: 6px; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-aside {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
}
.contact-aside a { color: var(--terra-deep); border-bottom: 1px solid currentColor; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--pearl-shine);
  padding: 70px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.10);
}
.site-footer .brand { color: var(--pearl-shine); }
.site-footer .brand-accent { color: var(--terra-blush); }
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 250, 240, 0.65);
  max-width: 380px;
}
.footer-col h5 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 250, 240, 0.78);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--terra-blush); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255, 250, 240, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom em { font-family: 'Caveat', 'Cormorant Garamond', cursive; font-style: normal; }

/* =========================================================================
   PRE-FOOTER LOGO (small centered mark above the dark footer)
   ========================================================================= */
.prefooter-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px 56px;
  background: transparent;
}
.prefooter-logo img {
  width: 200px;
  height: auto;
  max-width: 70vw;
  display: block;
  opacity: 0.95;
}
@media (max-width: 640px) {
  .prefooter-logo { padding: 28px 16px 40px; }
  .prefooter-logo img { width: 162px; }
}

/* =========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }

/* Early-trigger variant: fires well before the section reaches center
   of the viewport, so it's already settled when the user scrolls to it. */
.fade-in-early {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-in-early.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    padding: 40px;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,0.2);
  }
  .nav-links.open { transform: translateX(0); }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; margin: 0 auto; order: -1; }
  .hero { padding-top: 120px; }
  .hero-title { font-size: clamp(46px, 12vw, 84px); }

  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .left-col, .right-col, .center-col { padding-top: 0; gap: 22px; }
  .work-center { position: relative; top: auto; margin-bottom: 12px; }
  .bottom-card {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    max-width: none;
    margin-top: 0;
    transform: translate3d(0, 50px, 0);
  }

  .why { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row.two { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .reveal-section { padding: 110px 20px 100px; }
  .about-mark { width: 110px; height: 110px; }
  .package { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
