/* ============================================================
   AVOCADO STUDIO — Design System
   ============================================================ */
:root {
  --c-base: #0a0b0a;
  --c-surface: #0f100e;
  --c-card: #121310;
  --c-card-2: #16170f;
  --lime: #c6f24e;
  --lime-bright: #d4f96a;
  --lime-deep: #a8d63a;
  --green-glow: rgba(167, 214, 58, 0.35);

  --text-primary: rgba(246, 246, 240, 0.92);
  --text-secondary: rgba(246, 246, 240, 0.62);
  --text-tertiary: rgba(246, 246, 240, 0.38);
  --text-inverse: #0c1206;
  --border: rgba(246, 246, 240, 0.10);
  --border-strong: rgba(246, 246, 240, 0.20);

  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(20px, 5vw, 90px);
  --section-y: clamp(80px, 12vh, 160px);
  --maxw: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s; --dur: 0.45s; --dur-slow: 0.7s;
}

/* ============================================================ Light mode
   Toggled by adding the `.light` class to <html> (see the theme toggle button).
   We just re-map the same design tokens to light values, so the whole site flips. */
html.light {
  --c-base: #f4f6f0;
  --c-surface: #e9ece2;
  --c-card: #ffffff;
  --c-card-2: #f1f4ea;
  --lime: #6f9e12;          /* darker lime so it reads on white */
  --lime-deep: #5c8410;
  --green-glow: rgba(120, 170, 30, 0.30);

  --text-primary: #14180e;   /* near-solid dark for strong contrast */
  --text-secondary: #3f463a;
  --text-tertiary: #6b7363;
  --text-inverse: #0c1206;
  --border: rgba(18, 22, 12, 0.14);
  --border-strong: rgba(18, 22, 12, 0.28);

  color-scheme: light;
}
/* lime buttons keep the bright lime fill (override the darker text-lime above) */
html.light .btn--lime, html.light .toggle__pill, html.light .plan__features li::before,
html.light .pfcard__cat, html.light .blog-cat, html.light .post-card__cat,
html.light .freebie-pill__check { background: #c6f24e; }
/* make big headings render solid & a touch heavier for readability on light */
html.light .title, html.light .pagehead__title, html.light .about-hero__title,
html.light .hero__title, html.light .single__title, html.light .contact__title { color: #11150c; font-weight: 600; }
html.light body { background: var(--c-base); }
/* keep the lime buttons readable on light backgrounds */
html.light .btn--lime { color: #14210a; }
/* soften heavy dark-on-dark gradients that don't translate to light */
html.light .contact__banner {
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(150,200,40,0.18), transparent 60%),
    linear-gradient(180deg, #eef3e3 0%, var(--c-card) 70%);
}
html.light .plan,
html.light .service { background-color: var(--c-card); }
/* tags sit over the dark video, so keep them dark + white text in light mode too */
html.light .wcard__tags span { background: rgba(0,0,0,0.42); color: #fff; border-color: rgba(255,255,255,0.25); }
/* nav pill in light mode — frosted glass (translucent + blur), not solid white */
html.light .nav__pill {
  background: rgba(244, 246, 240, 0.45);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border-color: rgba(18, 22, 12, 0.10);
}
html.light .nav.is-scrolled .nav__pill { background: rgba(244, 246, 240, 0.55); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
/* light mode: darken the lime logo so it reads against the light background */
html.light .nav__logo-img { filter: brightness(0.55) saturate(1.2); }
/* top page line + footer/menu surfaces in light mode */
html.light body::before { background: var(--border); }
html.light .menu { background: var(--c-surface); }
/* smooth transition when switching modes */
html, body, .nav__pill, .service, .plan, .acc, .tcard, .wcard, .footer, .modal__panel, .field input, .field select, .field textarea {
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans); background: var(--c-base); color: var(--text-primary);
  font-size: 16px; line-height: 1.6;
  /* NO overflow clip here — it would create a containment context that breaks position:sticky.
     Horizontal overflow is contained on individual elements (hero marquee, carousels) instead. */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }
::selection { background: var(--lime); color: var(--text-inverse); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
/* horizontal divider line, aligned to the frame box width */
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--frame-w), 100%); height: 1px; background: var(--border);
}
/* square dots painted ON the line element so they can't be clipped by overflow-x */
.section::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: min(var(--frame-w), 100%); height: var(--dot, 6px);
  /* one square at the far-left, one at the far-right of this width */
  background:
    linear-gradient(var(--text-secondary), var(--text-secondary)) left center / var(--dot, 6px) var(--dot, 6px) no-repeat,
    linear-gradient(var(--text-secondary), var(--text-secondary)) right center / var(--dot, 6px) var(--dot, 6px) no-repeat;
}

/* ============================================================ Title */
.title { font-size: clamp(28px, 4vw, 54px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
.title--center { text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.title .word { display: inline-block; overflow: hidden; }
.title .word > span { display: inline-block; }

/* ============================================================ Cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); pointer-events: none; transform: translate(-50%, -50%);
  display: grid; place-items: center; mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease);
}
.cursor.is-hover { width: 50px; height: 50px; }
.cursor.is-label { width: 86px; height: 86px; mix-blend-mode: normal; background: var(--lime); }
/* light mode: drop the difference blend (it turns lime into purple on white), keep lime */
html.light .cursor { background: #c6f24e; mix-blend-mode: normal; }
html.light .cursor.is-label { background: #c6f24e; }
html.light .cursor.is-label .cursor__label { color: #14180e; }
.cursor__label { font-size: 12px; font-weight: 700; color: var(--text-inverse); opacity: 0; text-transform: uppercase; letter-spacing: .04em; transition: opacity .3s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================ Loader */
.loader { position: fixed; inset: 0; z-index: 10000; background: var(--c-base); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.loader__inner { display: flex; align-items: center; gap: 14px; }
.loader__logo { font-size: clamp(28px, 5vw, 44px); display: inline-block; animation: loader-bob 1.6s var(--ease) infinite; }
@keyframes loader-bob { 0%,100% { transform: translateY(-3px) rotate(-4deg); } 50% { transform: translateY(3px) rotate(4deg); } }
.loader__text { font-size: clamp(26px, 5vw, 52px); font-weight: 600; letter-spacing: -.02em; }
.loader__text sup { font-size: .45em; top: -.9em; }
/* progress bar */
.loader__bar { width: clamp(180px, 26vw, 300px); height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader__bar-fill { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); box-shadow: 0 0 12px var(--green-glow); }
.loader__count { font-size: 13px; color: var(--text-secondary); font-variant-numeric: tabular-nums; letter-spacing: .1em; }

/* ============================================================ Buttons */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x); border-radius: 12px; font-size: 15px; font-weight: 600;
  position: relative; overflow: hidden; white-space: nowrap; will-change: transform;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn--lime { background: var(--lime); color: var(--text-inverse); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--green-glow); }
.btn--ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--lime); }
.btn--block { width: 100%; }
.btn--lg { --pad-y: 16px; --pad-x: 30px; border-radius: 14px; }

/* ============================================================ Nav (pill, centered) */
.nav { position: fixed; top: 18px; left: 0; width: 100%; z-index: 200; display: flex; justify-content: center; padding-inline: 16px; transition: top var(--dur) var(--ease); }
.nav__pill {
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px;
  background: rgba(20, 22, 18, 0.72); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 100px;
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-scrolled .nav__pill { background: rgba(15, 16, 14, 0.92); box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.nav__logo { display: grid; place-items: center; height: 48px; }
/* lime wordmark logo — same color in both dark and light mode */
.nav__logo-img { height: 32px; width: auto; display: block; }
.nav__avo { font-size: 22px; line-height: 1; }
.nav__links { display: flex; gap: 26px; padding-inline: 14px; }
.nav__link { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-secondary); position: relative; transition: color var(--dur-fast) var(--ease); }
.nav__link:hover { color: var(--text-primary); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 15px; transition: border-color var(--dur) var(--ease); }
.nav__theme:hover { border-color: var(--lime); }
.nav__cta { font-size: 13px; letter-spacing: .04em; padding: 11px 20px; border-radius: 100px; }
.nav__burger { display: none; width: 44px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 1.6px; background: var(--text-primary); transition: transform var(--dur) var(--ease); }
.nav__burger span:nth-child(1) { top: 16px; } .nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================ Mobile menu */
.menu { position: fixed; inset: 0; z-index: 199; background: var(--c-surface); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); clip-path: inset(0 0 100% 0); transition: clip-path var(--dur-slow) var(--ease); pointer-events: none; }
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__link { font-size: clamp(40px, 11vw, 76px); font-weight: 500; line-height: 1.08; overflow: hidden; }
.menu__link span { display: inline-block; transform: translateY(110%); transition: transform var(--dur-slow) var(--ease); }
.menu.is-open .menu__link span { transform: translateY(0); }
.menu.is-open .menu__link:nth-child(1) span { transition-delay: .08s; }
.menu.is-open .menu__link:nth-child(2) span { transition-delay: .14s; }
.menu.is-open .menu__link:nth-child(3) span { transition-delay: .2s; }
.menu.is-open .menu__link:nth-child(4) span { transition-delay: .26s; }
.menu.is-open .menu__link:nth-child(5) span { transition-delay: .32s; }
.menu__footer { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--text-secondary); }
.menu__socials { display: flex; gap: 16px; }
.menu__socials a { color: var(--text-secondary); transition: color var(--dur-fast) var(--ease); }
.menu__socials a:hover { color: var(--lime); }
.menu__theme { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--border-strong); border-radius: 100px; color: var(--text-primary); font-size: 14px; font-weight: 600; transition: border-color var(--dur) var(--ease); }
.menu__theme:hover { border-color: var(--lime); }
.menu__theme-icon { font-size: 16px; line-height: 1; }

/* ============================================================ Top page line */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 1px;
  background: var(--border); z-index: 300; pointer-events: none;
}

/* ============================================================ Page frame (centered bordered box) */
:root { --frame-w: 1050px; }
.frame {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--frame-w), 100%); height: 100%;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  pointer-events: none; z-index: 150;
}
/* corner tick marks (top + bottom of each vertical line) */
.frame::before, .frame::after {
  content: ""; position: absolute; left: -3px; right: -3px; height: 6px;
  background:
    linear-gradient(var(--text-tertiary), var(--text-tertiary)) left center / 6px 100% no-repeat,
    linear-gradient(var(--text-tertiary), var(--text-tertiary)) right center / 6px 100% no-repeat;
}
.frame::before { top: 0; }
.frame::after { bottom: 0; }
@media (max-width: 1340px) { .frame { display: none; } }

/* ============================================================ Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding-top: 90px; overflow: hidden; }
.hero__bgword {
  position: absolute; top: calc(20% + 30px); left: 50%;
  width: min(var(--frame-w), 100%); transform: translate(-50%, -50%);
  pointer-events: none; overflow: hidden;
}
/* on laptop widths, raise the background text a bit so it sits above the video */
@media (max-width: 1366px) { .hero__bgword { top: calc(16% + 10px); } }
@media (max-width: 1100px) { .hero__bgword { top: 14%; } }
/* on mobile, pin the text a fixed distance from the top so it reliably shows above the video.
   !important defeats any leftover inline transform from GSAP on small screens. */
@media (max-width: 720px) {
  .hero__bgword { top: 130px !important; bottom: auto !important; transform: translateX(-50%) !important; opacity: 1 !important; z-index: 1; }
  .hero__bgword-track span { font-size: 22vw; } /* bigger text on mobile */
  .hero__bgword-track { animation-duration: 16s; } /* faster slide on mobile */
  /* don't force full-screen height on phone; leave a gap below the floating nav */
  .hero { min-height: auto; justify-content: flex-start; padding-top: 60px; padding-bottom: 40px; }
  /* mobile is top-aligned, so cancel the desktop negative pull that hid the text behind the nav */
  .hero__sub--top { margin-top: 0; margin-bottom: clamp(20px, 4vh, 32px); position: relative; z-index: 4; }
  .hero__sub { padding-top: 0; }
}
.hero__bgword {
  /* stronger black shadow fade on the left & right edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 66%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 66%, transparent 100%);
}
.hero__bgword-track {
  display: flex; width: max-content; white-space: nowrap;
  animation: hero-marquee 22s linear infinite; will-change: transform;
}
.hero__bgword-track span {
  font-size: clamp(48px, 11vw, 150px); font-weight: 500; letter-spacing: -.02em;
  color: rgba(246, 246, 240, 0.16); line-height: 1;
}
html.light .hero__bgword-track span { color: rgba(18, 22, 12, 0.16); }
.hero__bgword-track sup { font-size: .42em; top: -1em; font-weight: 400; }
@keyframes hero-marquee { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .hero__bgword-track { animation: none; } }
.hero__media {
  position: relative; z-index: 2; width: min(680px, 82%); aspect-ratio: 16 / 11;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  will-change: transform; --gx: 50%; --gy: 50%; --glow: 0;
}
/* soft glow that follows the cursor over the card (premium light sheen) */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(220px circle at var(--gx) var(--gy),
              rgba(198, 242, 78, 0.18), transparent 60%);
  opacity: var(--glow); mix-blend-mode: screen;
}
.hero__img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

/* video card: crop a 16:9 iframe to fill the landscape card (no black bars) */
.hero__video { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  /* iframe is a true 16:9 player. Match its HEIGHT to the card (16:11) height, so its
     width becomes ~122% and overflows the sides → video covers fully, crops left/right. */
  height: 100%; width: calc(100% * 11 / 9); /* ≈ 122% of card width */
  border: 0; pointer-events: none;
}
/* local HTML5 video — fills & crops the card cleanly, no black bars */
.hero__video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}

/* click-to-unmute: a full-card transparent button that also shows a sound pill */
.hero__sound {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 14px;
  background: transparent; border: 0; cursor: pointer;
  color: #fff;
}
.hero__sound-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s ease, transform .2s ease;
}
.hero__sound:hover .hero__sound-icon { background: rgba(0, 0, 0, .65); transform: scale(1.06); }
/* show the correct icon for the current state */
.hero__sound .hero__sound-icon--on    { display: none; }
.hero__sound.is-muted .hero__sound-icon--muted { display: grid; }
.hero__sound.is-muted .hero__sound-icon--on    { display: none; }
.hero__sound:not(.is-muted) .hero__sound-icon--muted { display: none; }
.hero__sound:not(.is-muted) .hero__sound-icon--on    { display: grid; }
.hero__sub { margin-top: clamp(40px, 7vh, 80px); text-align: center; font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; letter-spacing: .12em; color: var(--text-secondary); line-height: 1.7; }
/* DESKTOP ONLY (≥721px): when the sub-text sits ABOVE the video, pull it up
   close to the nav and keep only a small gap before the video.
   Mobile (≤720px) has its own rule in the media query above — they never overlap. */
@media (min-width: 721px) {
  .hero__sub--top { margin-top: clamp(-360px, -30vh, -240px); margin-bottom: clamp(16px, 2.5vh, 30px); }
}

/* ============================================================ Logo marquee */
.logos { padding-block: clamp(40px, 6vw, 70px); }
.logos__viewport {
  /* clip to the box container, centered like the hero text */
  width: min(var(--frame-w), 100%); margin-inline: auto; overflow: hidden;
  /* left & right black shadow fade */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.logos__track { display: flex; align-items: center; gap: clamp(40px, 7vw, 100px); white-space: nowrap; width: max-content; animation: marquee 18s linear infinite; }
/* opposite direction to the hero text (slides right) */
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } }
.logos__item { display: inline-flex; align-items: center; }
.logos__item img {
  height: clamp(26px, 3vw, 38px); width: auto; display: block;
  opacity: .85; transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.logos__item img:hover { opacity: 1; }

/* ============================================================ Services (sticky stacking cards) */
.services__list { display: flex; flex-direction: column; }
.service {
  position: sticky;
  /* all cards stick at the same point so each covers the previous exactly (no top peek) */
  top: 120px;
  /* vertical gap between cards as they enter */
  margin-bottom: clamp(40px, 7vw, 90px);
  /* centered cards */
  width: min(760px, 100%);
  margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 3.5vw, 48px); border: 1px solid var(--border); border-radius: 22px;
  background: radial-gradient(120% 140% at 80% 0%, rgba(140,180,40,0.12), transparent 55%), var(--c-card);
  box-shadow: 0 -10px 40px rgba(0,0,0,.4);
  overflow: hidden; transition: border-color var(--dur) var(--ease);
  min-height: clamp(300px, 38vw, 380px);
  /* shrink from the top so a covered card recedes upward as the next stacks over it */
  transform-origin: top center; will-change: transform;
}
.service:hover { border-color: rgba(167,214,58,0.4); }
.service__head { display: flex; align-items: center; gap: 16px; }
.service__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--text-inverse); font-size: 20px; line-height: 1; }
.service__num { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 48px); font-size: clamp(70px, 9vw, 130px); font-weight: 500; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(246,246,240,0.22); font-variant-numeric: tabular-nums; }
html.light .service__num { -webkit-text-stroke-color: rgba(18,22,12,0.18); }
.service__name { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; margin: 0; }
.service__desc { color: var(--text-secondary); max-width: 70ch; font-size: clamp(14px, 1.05vw, 16px); margin: 0; margin-top: auto; }

/* ============================================================ Work carousel */
.carousel {
  position: relative;
  /* match the box container width so cards stay within the frame; arrows live here (unmasked) */
  width: min(var(--frame-w), 100%); margin-inline: auto;
}
.carousel__viewport {
  overflow: hidden;
  /* left & right black shadow fade on the card strip */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.carousel__track { display: flex; gap: clamp(20px, 3vw, 40px); transition: transform var(--dur-slow) var(--ease); will-change: transform; }
.wcard { position: relative; flex: 0 0 min(760px, 86vw); aspect-ratio: 16/10.5; border-radius: 20px; overflow: hidden; opacity: .35; transition: opacity var(--dur-slow) var(--ease); }
.wcard.is-active { opacity: 1; }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.wcard:hover img { transform: scale(1.05); }
/* inline Vimeo background video — fill & crop the card so there are no black bars */
.wcard__video { position: absolute; inset: 0; overflow: hidden; background: #000; }
.wcard__video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  /* Overscan: make the iframe larger than the card in BOTH axes so the 16:9
     video always covers the 16:10.5 card with no letterbox. The larger of the
     two dimensions wins, the overflow is cropped by the card's overflow:hidden. */
  width: 130%; height: 130%;
  min-width: calc(100% * 16 / 10.5 * 1.15); /* guarantee full width coverage */
  min-height: calc(100% * 10.5 / 9 * 1.15); /* guarantee full height coverage */
  border: 0; pointer-events: none;
}
/* darker bottom gradient so the title + description stay readable over the video */
.wcard__video::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 22%,
    rgba(0,0,0,0.12) 42%,
    rgba(0,0,0,0) 60%
  );
}
/* clickable overlay so the video card opens the Behance project */
.wcard__link { position: absolute; inset: 0; z-index: 2; }
.wcard__tags { position: absolute; top: 22px; right: 22px; z-index: 3; display: flex; gap: 8px; }
.wcard__tags span { font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.32); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; padding: 7px 14px; }
.wcard__meta { position: absolute; left: 26px; bottom: 24px; right: 26px; z-index: 3; }
.wcard__meta h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: #fff; margin-bottom: 6px; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.wcard__meta p { color: rgba(255,255,255,0.92); max-width: 50ch; font-size: 15px; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
/* lime nav arrows over the side cards */
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lime); color: var(--text-inverse);
  font-size: 17px; display: grid; place-items: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.carousel__btn:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 8px 28px var(--green-glow); }
.carousel__btn--prev { left: calc((100% - min(760px, 86vw)) / 2 - 23px); }
.carousel__btn--next { right: calc((100% - min(760px, 86vw)) / 2 - 23px); }
@media (max-width: 920px) {
  .carousel__btn--prev { left: 12px; }
  .carousel__btn--next { right: 12px; }
}
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.carousel__dots button.is-active { width: 24px; border-radius: 100px; background: var(--lime); }

/* ============================================================ Pricing */
.toggle { position: relative; display: flex; width: max-content; margin: 0 auto clamp(40px, 5vw, 60px); padding: 5px; border: 1px solid var(--border); border-radius: 12px; background: var(--c-card); }
.toggle__btn { position: relative; z-index: 1; padding: 10px 26px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: color var(--dur) var(--ease); }
.toggle__btn.is-active { color: var(--text-inverse); }
.toggle__pill { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px); background: var(--lime); border-radius: 9px; transition: transform var(--dur) var(--ease); z-index: 0; }
.toggle__pill.is-right { transform: translateX(100%); }

.pricing__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
/* Pricing PAGE: 3 plans in one row + breathing room above the toggle */
.page--pricing .pricing { padding-top: clamp(40px, 6vw, 70px) !important; }
.page--pricing .pricing__grid { grid-template-columns: repeat(3, 1fr); max-width: min(calc(var(--frame-w) - 40px), 100%); gap: 20px; }
.page--pricing .plan { padding: clamp(24px, 2.4vw, 34px); }
@media (max-width: 920px) { .page--pricing .pricing__grid { grid-template-columns: 1fr; max-width: 480px; } }

/* centered section sub-head */
.section__head--c { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head--c .title--center { margin-bottom: 0; } /* remove the big default gap before the sub-line */
.pricing__sub { color: var(--text-secondary); max-width: 56ch; margin: 14px auto 0; font-size: clamp(14px, 1.1vw, 16px); }

/* --- pricing PAGE plan cards (premium) — scoped so they win over homepage rules --- */
.page--pricing .plan { display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); border-radius: 22px; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.page--pricing .plan:hover { transform: translateY(-6px); border-color: rgba(167,214,58,0.4); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.page--pricing .plan__top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 18px; }
.page--pricing .plan__off { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--lime); background: rgba(167,214,58,0.12); border: 1px solid rgba(167,214,58,0.4); border-radius: 100px; padding: 6px 12px; white-space: nowrap; }
.page--pricing .plan__icon { flex-shrink: 0; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(167,214,58,0.12); color: var(--lime); font-size: 18px; }
.page--pricing .plan__name { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.page--pricing .plan__tagline { color: var(--text-secondary); margin-top: 12px; font-size: 14px; line-height: 1.5; min-height: 42px; }
.plan--featured { border-color: rgba(167,214,58,0.4); background: radial-gradient(130% 120% at 50% 0%, rgba(150,200,40,0.16), transparent 55%), var(--c-card); }

/* price block */
.page--pricing .plan__price { display: flex; flex-direction: column; gap: 5px; margin: clamp(20px, 2.5vw, 28px) 0 14px; }
.page--pricing .plan__amount { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.page--pricing .plan__was { color: var(--text-tertiary); text-decoration: line-through; font-size: 14px; }
.page--pricing .plan__turn { color: var(--text-secondary); font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: clamp(20px, 2.5vw, 28px); }

.page--pricing .plan__cta { margin-bottom: 4px; }
.page--pricing .plan__note { margin-top: auto; padding-top: 18px; color: var(--text-tertiary); font-size: 12px; }

/* feature list */
.page--pricing .plan__features { gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.page--pricing .plan__features li { position: relative; padding-left: 28px; font-size: 13.5px; color: var(--text-secondary); min-height: 20px; display: flex; align-items: center; }
.page--pricing .plan__features li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; border-radius: 6px; font-size: 11px; font-weight: 800; background: rgba(167,214,58,0.12); color: var(--lime); border: 1px solid rgba(167,214,58,0.35); display: grid; place-items: center; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.page--pricing .plan:hover .plan__features li::before { background: var(--lime); color: var(--text-inverse); }

/* add-ons grid */
.addons-section .container, .freebies-grid, .addons-grid, .retainer { max-width: min(calc(var(--frame-w) - 40px), 100%); margin-inline: auto; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: 16px; background: var(--c-card); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.addon:hover { border-color: rgba(167,214,58,0.3); transform: translateY(-3px); }
.addon__label { font-size: 14px; color: var(--text-secondary); }
.addon__price { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }
.addon__price s { color: var(--text-tertiary); font-weight: 400; font-size: .7em; margin-left: 6px; }
@media (max-width: 760px) { .addons-grid { grid-template-columns: 1fr; } }

/* retainer banner */
.retainer { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 4vw, 52px); border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(100% 130% at 90% 10%, rgba(150,200,40,0.12), transparent 55%), var(--c-muted); }
.retainer__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.retainer__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(167,214,58,0.14); color: var(--lime); }
.retainer__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.01em; }
.retainer__lead { color: var(--text-secondary); margin-bottom: 22px; max-width: 48ch; }
.retainer__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.retainer__price strong { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.retainer__price span { color: var(--text-tertiary); font-size: 13px; }
.retainer__features { display: flex; flex-direction: column; gap: 16px; }
.retainer__features li { position: relative; padding-left: 28px; color: var(--text-secondary); }
.retainer__features li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
@media (max-width: 760px) { .retainer { grid-template-columns: 1fr; gap: 28px; } }

/* free value offers — compact pill row */
.freebies-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.freebie-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 14px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--c-card);
  color: var(--text-secondary); font-size: 14px; white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.freebie-pill:hover { border-color: rgba(167,214,58,0.5); color: var(--text-primary); transform: translateY(-2px); }
.freebie-pill__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--text-inverse); font-size: 11px; font-weight: 800; flex-shrink: 0; }

.pricing__finenote { position: relative; margin-top: 26px; color: var(--text-tertiary); font-size: 13px; }
.plan { position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--border); border-radius: 22px; background: radial-gradient(130% 120% at 50% 120%, rgba(150,200,40,0.10), transparent 60%), var(--c-card); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.plan:hover { transform: translateY(-6px); border-color: rgba(167,214,58,0.35); }
.plan__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 24px; font-weight: 600; }
.plan__badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(167,214,58,0.5); border-radius: 100px; padding: 5px 12px; }
.plan__tagline { color: var(--text-secondary); margin-top: 6px; }
.plan__price { margin-block: 28px 8px; }
.plan__amount { font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.plan__for { color: var(--text-secondary); margin-bottom: 28px; }
.plan__cta { margin-bottom: 28px; }
.plan__youll { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-tertiary); padding-top: 24px; border-top: 1px solid var(--border); margin-bottom: 18px; }
.plan__features { display: flex; flex-direction: column; gap: 14px; }
.plan__features li { position: relative; padding-left: 34px; color: var(--text-secondary); font-size: 15px; min-height: 24px; display: flex; align-items: center; }
.plan__features li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 7px; background: var(--lime); color: var(--text-inverse); font-size: 13px; font-weight: 800; display: grid; place-items: center; }

/* ============================================================ Process / Workflow (premium timeline) */
.process .container { max-width: min(var(--frame-w), 100%); }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); position: relative; }

/* the connecting rail sits on the dot centres (dot is 16px → centre at 8px) */
.process__line { position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.process__line-fill {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  box-shadow: 0 0 14px var(--green-glow);
}
.process.is-in .process__line-fill { transform: scaleX(1); transition: transform 1.6s var(--ease) .2s; }

/* each step is a clean vertical column: dot → number → tag → title → desc */
.pstep {
  position: relative; padding-right: clamp(8px, 2vw, 24px);
  /* content reveals (slide-up + fade) in sequence as the line draws across */
  opacity: 0; transform: translateY(22px);
}
.process.is-in .pstep { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.process.is-in .pstep:nth-child(2) { transition-delay: .15s; }
.process.is-in .pstep:nth-child(3) { transition-delay: .35s; }
.process.is-in .pstep:nth-child(4) { transition-delay: .55s; }
.process.is-in .pstep:nth-child(5) { transition-delay: .75s; }

/* dot pinned to the rail at the top of the column */
.pstep__dot {
  position: relative; display: block; width: 16px; height: 16px; border-radius: 50%;
  margin-bottom: 26px; background: var(--c-base); border: 2px solid var(--lime); z-index: 2;
  box-shadow: 0 0 0 4px var(--c-base);
}
.pstep__dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--lime);
  transform: scale(0); transition: transform var(--dur) var(--ease) .3s;
}
.process.is-in .pstep__dot::after { transform: scale(1); }
.process.is-in .pstep__dot { animation: pstep-pulse 2.8s var(--ease) infinite; }
.process.is-in .pstep:nth-child(3) .pstep__dot { animation-delay: .35s; }
.process.is-in .pstep:nth-child(4) .pstep__dot { animation-delay: .7s; }
.process.is-in .pstep:nth-child(5) .pstep__dot { animation-delay: 1.05s; }
@keyframes pstep-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--c-base), 0 0 0 0 rgba(167,214,58,0); }
  50% { box-shadow: 0 0 0 4px var(--c-base), 0 0 0 7px rgba(167,214,58,0.16); }
}

/* the number now reads as a clean label, not a big overlapping ghost */
.pstep__num {
  display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(167,214,58,0.45);
  font-variant-numeric: tabular-nums; margin-bottom: 16px;
  transition: -webkit-text-stroke-color var(--dur) var(--ease);
}
.pstep:hover .pstep__num { -webkit-text-stroke-color: var(--lime); }

.pstep__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.pstep__name { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 14px; }
.pstep__desc { color: var(--text-secondary); font-size: clamp(14px, 1vw, 15px); line-height: 1.65; max-width: 32ch; }

@media (prefers-reduced-motion: reduce) {
  .process.is-in .pstep__dot { animation: none; }
  .process.is-in .process__line-fill { transition: none; transform: scaleX(1); }
}

/* ============================================================ Testimonials carousel */
.tcarousel { position: relative; width: min(var(--frame-w), 100%); margin-inline: auto; }
.tcarousel__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.tcarousel__track { display: flex; gap: clamp(16px, 2vw, 28px); transition: transform var(--dur-slow) var(--ease); will-change: transform; }
.tcard { position: relative; flex: 0 0 min(560px, 84vw); min-height: 360px; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--border); border-radius: 22px; background: var(--c-card); opacity: .4; transition: opacity var(--dur-slow) var(--ease); display: flex; flex-direction: column; }
.tcard.is-active { opacity: 1; }

/* fixed glow frame in the centre — stays put while cards slide through it */
.tcarousel__viewport { position: relative; }
.tcarousel__glow {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(560px, 84vw); border-radius: 22px; pointer-events: none; z-index: 4;
  border: 1px solid rgba(167,214,58,0.85);
  box-shadow: 0 0 50px var(--green-glow), inset 0 0 60px rgba(150,200,40,0.06);
}
.tcard blockquote { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; font-weight: 500; }
.tcard__quote { position: absolute; right: clamp(28px, 3vw, 40px); bottom: clamp(28px, 3vw, 40px); font-family: var(--font-serif); font-size: 90px; line-height: .4; color: var(--lime); }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 30px; }
.tcard figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard figcaption span { display: flex; flex-direction: column; font-size: 12px; letter-spacing: .04em; color: var(--text-tertiary); }
.tcard figcaption strong { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--text-primary); }
.tcarousel__controls { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.tbtn { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); border: 1px solid var(--lime); color: var(--text-inverse); font-size: 17px; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--green-glow); }

/* ============================================================ FAQ */
.accordion { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc { border: 1px solid var(--border); border-radius: 16px; background: var(--c-card); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.acc.is-open { border-color: rgba(167,214,58,0.3); }
.acc__head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; }
.acc__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: var(--lime); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--text-inverse); transition: transform var(--dur) var(--ease); }
.acc__icon::before { top: 50%; left: 9px; right: 9px; height: 2px; transform: translateY(-50%); }
.acc__icon::after { left: 50%; top: 9px; bottom: 9px; width: 2px; transform: translateX(-50%); }
.acc.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__body { overflow: hidden; height: 0; }
.acc__body p { padding: 0 24px 22px 72px; color: var(--text-secondary); max-width: 70ch; }

/* ============================================================ Contact */
/* divider line + corner dots at the BOTTOM of the contact section too */
.contact.section { position: relative; }
.contact.section .contact__bottomline {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(var(--frame-w), 100%); height: 1px; background: var(--border);
}
.contact.section .contact__bottomline::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(var(--frame-w), 100%); height: var(--dot, 6px);
  background:
    linear-gradient(var(--text-secondary), var(--text-secondary)) left center / var(--dot, 6px) var(--dot, 6px) no-repeat,
    linear-gradient(var(--text-secondary), var(--text-secondary)) right center / var(--dot, 6px) var(--dot, 6px) no-repeat;
}
.contact__banner {
  position: relative; overflow: hidden; border-radius: 28px;
  /* breathing room on the left & right */
  width: min(900px, 100%); margin-inline: auto;
  padding: clamp(36px, 5vw, 60px) clamp(28px, 6vw, 64px); text-align: center;
  /* smooth, even, subtle gradient — mostly dark with one soft glow from the top */
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(150,200,40,0.10), transparent 60%),
    linear-gradient(180deg, #0e120b 0%, var(--c-card) 70%);
  border: 1px solid rgba(167,214,58,0.14);
}
.contact__banner::before { content: none; }
.contact__title { position: relative; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.contact__sub { position: relative; margin: 16px auto 28px; max-width: 46ch; color: var(--text-secondary); font-size: clamp(15px, 1.4vw, 17px); }
.contact__actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* glowing primary button like the reference */
.contact__actions .btn--lime { box-shadow: 0 8px 36px var(--green-glow); }
.contact__actions .btn--lime:hover { box-shadow: 0 12px 48px var(--green-glow); }

/* ============================================================ Footer */
.footer { position: relative; padding-top: clamp(60px, 8vw, 100px); overflow: hidden; }
/* keep footer content aligned within the frame box (with side gaps) */
.footer .container { max-width: min(var(--frame-w), 100%); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); padding-left: clamp(8px, 2vw, 24px); }
.footer__brand { max-width: 380px; }
.footer__avo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-card); margin-bottom: 22px; }
.footer__avo span { font-size: 30px; line-height: 1; }
/* footer wordmark logo — lime in dark mode, darkened in light mode (matches nav) */
.footer__logo { height: 40px; width: auto; display: block; margin-bottom: 22px; }
html.light .footer__logo { filter: brightness(0.55) saturate(1.2); }
.footer__brand p { color: var(--text-secondary); margin-bottom: 26px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-secondary); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.footer__socials a:hover { border-color: var(--lime); color: var(--lime); }
.footer__cols { display: flex; gap: clamp(40px, 8vw, 120px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-tertiary); margin-bottom: 8px; }
.footer__col a { color: var(--text-secondary); transition: color var(--dur-fast) var(--ease); width: max-content; }
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--text-tertiary); font-size: 14px; position: relative; z-index: 2; }
.footer__glow { position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 300px; background: radial-gradient(50% 50% at 50% 50%, var(--green-glow), transparent 70%); pointer-events: none; }

/* ============================================================ Contact page */
.contact-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px);
  max-width: min(calc(var(--frame-w) - 80px), 100%); margin-inline: auto; align-items: start;
  padding-inline: clamp(8px, 2vw, 20px);
}
.contact-info__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.contact-info__lead { color: var(--text-secondary); margin-bottom: 36px; max-width: 38ch; }
.contact-info__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-info__list li { display: flex; flex-direction: column; gap: 6px; }
.contact-info__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.contact-info__list a, .contact-info__list span:not(.contact-info__label) { color: var(--text-primary); font-size: clamp(15px, 1.4vw, 17px); }
.contact-info__list a:hover { color: var(--lime); }
.contact-info__socials { display: flex; gap: 18px; }
.contact-info__socials a { color: var(--text-secondary); font-size: 14px; transition: color var(--dur-fast) var(--ease); }
.contact-info__socials a:hover { color: var(--lime); }

.contact-form-card {
  position: relative; background: var(--c-card); border: 1px solid var(--border);
  border-radius: 22px; padding: clamp(24px, 3vw, 40px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-form-card:hover { transform: translateY(-3px); border-color: rgba(167,214,58,0.3); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
/* soft, smoky lime glow drifting behind the card */
.contact-form-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 24px; z-index: -1;
  pointer-events: none; opacity: .55; filter: blur(12px);
  background:
    radial-gradient(26% 32% at 20% 22%, rgba(167,214,58,0.30), transparent 70%),
    radial-gradient(28% 30% at 82% 24%, rgba(150,200,40,0.22), transparent 70%),
    radial-gradient(30% 34% at 70% 84%, rgba(198,242,78,0.20), transparent 72%),
    radial-gradient(26% 28% at 26% 82%, rgba(167,214,58,0.16), transparent 70%);
  background-size: 160% 160%;
  transition: opacity var(--dur-slow) var(--ease);
  animation: card-smoke 14s ease-in-out infinite alternate;
}
.contact-form-card:hover::before { opacity: .85; }
/* glow runs always; the opacity above is the resting state */
@keyframes card-smoke {
  0%   { background-position: 0% 0%, 100% 0%, 60% 100%, 20% 80%; transform: scale(1); }
  50%  { background-position: 30% 40%, 70% 30%, 40% 70%, 60% 50%; transform: scale(1.08); }
  100% { background-position: 60% 20%, 40% 60%, 80% 40%, 30% 30%; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .contact-form-card::before { animation: none; } }

/* lime accent line that grows under the section title */
.contact-info__title { position: relative; padding-bottom: 14px; }
.contact-info__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--lime), transparent);
  transition: width 1s var(--ease) .3s;
}
.contact-layout.is-in .contact-info__title::after { width: 64px; }

/* animated focus accent on form fields (lime underline glow already added via :focus) */
.contact-form-card .fluentform .ff-el-form-control,
.contact-form-card .fluentform input,
.contact-form-card .fluentform textarea,
.contact-form-card .fluentform select { will-change: border-color, box-shadow; }

/* contact form section: top gap below the header line + bottom divider line */
.contact-section { position: relative; padding-top: clamp(48px, 7vw, 90px); }
.contact-section .contact__bottomline {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(var(--frame-w), 100%); height: 1px; background: var(--border);
}
.contact-section .contact__bottomline::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(var(--frame-w), 100%); height: var(--dot, 6px);
  background:
    linear-gradient(var(--text-secondary), var(--text-secondary)) left center / var(--dot, 6px) var(--dot, 6px) no-repeat,
    linear-gradient(var(--text-secondary), var(--text-secondary)) right center / var(--dot, 6px) var(--dot, 6px) no-repeat;
}

@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* generic bottom divider line + corner dots for any section that includes .contact__bottomline */
.section { position: relative; }
.section > .contact__bottomline {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(var(--frame-w), 100%); height: 1px; background: var(--border);
}
.section > .contact__bottomline::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(var(--frame-w), 100%); height: var(--dot, 6px);
  background:
    linear-gradient(var(--text-secondary), var(--text-secondary)) left center / var(--dot, 6px) var(--dot, 6px) no-repeat,
    linear-gradient(var(--text-secondary), var(--text-secondary)) right center / var(--dot, 6px) var(--dot, 6px) no-repeat;
}

/* ---- Fluent Forms restyled to match the theme ---- */
.contact-form-card .fluentform .ff-el-group { margin-bottom: 18px; }
.contact-form-card .fluentform label,
.contact-form-card .fluentform .ff-el-input--label label { color: var(--text-secondary); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.contact-form-card .fluentform .ff-el-form-control,
.contact-form-card .fluentform input[type="text"],
.contact-form-card .fluentform input[type="email"],
.contact-form-card .fluentform input[type="tel"],
.contact-form-card .fluentform input[type="number"],
.contact-form-card .fluentform input[type="url"],
.contact-form-card .fluentform select,
.contact-form-card .fluentform textarea {
  background: var(--c-base) !important; color: var(--text-primary) !important;
  border: 1px solid var(--border) !important; border-radius: 12px !important;
  padding: 13px 15px !important; font-family: inherit !important; font-size: 15px !important;
  box-shadow: none !important; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease) !important;
  width: 100% !important;
}
.contact-form-card .fluentform .ff-el-form-control::placeholder,
.contact-form-card .fluentform textarea::placeholder { color: var(--text-tertiary) !important; }
.contact-form-card .fluentform .ff-el-form-control:focus,
.contact-form-card .fluentform input:focus,
.contact-form-card .fluentform select:focus,
.contact-form-card .fluentform textarea:focus {
  outline: none !important; border-color: var(--lime) !important;
  box-shadow: 0 0 0 3px var(--green-glow) !important;
}
.contact-form-card .fluentform .ff-btn-submit,
.contact-form-card .fluentform button[type="submit"] {
  background: var(--lime) !important; color: var(--text-inverse) !important;
  border: none !important; border-radius: 12px !important;
  padding: 14px 28px !important; font-weight: 600 !important; font-size: 15px !important;
  cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease) !important;
}
.contact-form-card .fluentform .ff-btn-submit:hover,
.contact-form-card .fluentform button[type="submit"]:hover {
  transform: translateY(-2px); box-shadow: 0 10px 30px var(--green-glow) !important;
}
.contact-form-card .fluentform .ff-el-is-error .text-danger,
.contact-form-card .fluentform .error { color: #ff6b6b !important; font-size: 13px; }
.contact-form-card .ff-message-success { color: var(--lime) !important; }

/* ============================================================ Portfolio page */
/* the portfolio page content centres on the frame box, with a side gap inside the frame */
.page--portfolio .container { max-width: min(calc(var(--frame-w) - 40px), 100%); padding-inline: clamp(16px, 3vw, 24px); }

/* featured project block */
.featured {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  width: 100%; margin-inline: auto;
  padding: clamp(20px, 2.5vw, 32px); border: 1px solid var(--border); border-radius: 24px;
  background: radial-gradient(120% 140% at 90% 0%, rgba(150,200,40,0.10), transparent 55%), var(--c-card);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.featured:hover { border-color: rgba(167,214,58,0.35); transform: translateY(-4px); }
.featured__media { overflow: hidden; border-radius: 16px; aspect-ratio: 16/11; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.featured:hover .featured__media img { transform: scale(1.05); }
.featured__label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.featured__name { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.featured__desc { color: var(--text-secondary); margin-bottom: 22px; max-width: 46ch; }
.featured__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.featured__tags span { font-size: 12px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; }
.featured__cta { font-size: 15px; font-weight: 600; color: var(--lime); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* portfolio bar */
.portfolio-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; margin: 0 auto clamp(28px, 4vw, 44px); }
.portfolio-bar__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.portfolio-bar__count { font-size: 13px; color: var(--text-tertiary); letter-spacing: .06em; }

/* portfolio grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); width: 100%; margin-inline: auto; }
.pfcard__media { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16/10; background: var(--c-card); }
.pfcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.pfcard__media:hover img { transform: scale(1.06); }
/* portfolio video cards: fill the media box, cropping the 16:9 video to cover */
.featured__media.wcard__video,
.pfcard__media.wcard__video { position: relative; }
.featured__media.wcard__video iframe,
.pfcard__media.wcard__video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  /* overscan in both axes so the 16:9 video always covers the box — no black bars */
  width: 130%; height: 130%;
  min-width: calc(100% * 16 / 10 * 1.12);
  min-height: calc(100% * 10 / 9 * 1.12);
  border: 0; pointer-events: none;
}
.pfcard__name a { transition: color var(--dur-fast) var(--ease); }
.pfcard__name a:hover { color: var(--lime); }
.pfcard__cat { position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-inverse); background: var(--lime); border-radius: 100px; padding: 6px 13px; }
.pfcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; }
.pfcard__name { font-size: clamp(18px, 2vw, 23px); font-weight: 600; letter-spacing: -.01em; }
.pfcard__tags { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.pfcard__tags span { font-size: 12px; color: var(--text-tertiary); }
.pfcard__tags span:not(:last-child)::after { content: " ·"; }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ============================================================ Blog page */
.page--blog .container { max-width: min(calc(var(--frame-w) - 40px), 100%); padding-inline: clamp(16px, 3vw, 24px); }

/* shared meta row */
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12px; }
.blog-cat { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-inverse); background: var(--lime); border-radius: 100px; padding: 5px 12px; }
.blog-date { color: var(--text-tertiary); letter-spacing: .04em; }

/* featured post */
.blog-featured {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  width: 100%; margin: 0 auto clamp(40px, 6vw, 70px);
  padding: clamp(20px, 2.5vw, 32px); border: 1px solid var(--border); border-radius: 24px;
  background: radial-gradient(120% 140% at 90% 0%, rgba(150,200,40,0.10), transparent 55%), var(--c-card);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.blog-featured:hover { border-color: rgba(167,214,58,0.35); transform: translateY(-4px); }
.blog-featured__media { overflow: hidden; border-radius: 16px; aspect-ratio: 16/11; }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.blog-featured:hover .blog-featured__media img { transform: scale(1.05); }
.blog-featured__title { font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; }
.blog-featured__excerpt { color: var(--text-secondary); margin-bottom: 22px; max-width: 46ch; line-height: 1.6; }
.blog-featured__cta { font-size: 15px; font-weight: 600; color: var(--lime); }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } }

/* post grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); width: 100%; }
.post-card { display: flex; flex-direction: column; }
.post-card__media { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 16/10; background: var(--c-card); margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.post-card__media:hover img { transform: scale(1.06); }
.post-card__cat { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-inverse); background: var(--lime); border-radius: 100px; padding: 5px 12px; }
.post-card__title { font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 10px; }
.post-card__title a { transition: color var(--dur-fast) var(--ease); }
.post-card__title a:hover { color: var(--lime); }
.post-card__excerpt { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* blog pagination */
.blog-pagination { margin-top: clamp(40px, 6vw, 64px); }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 100px; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.blog-pagination a:hover { border-color: var(--lime); color: var(--text-primary); }
.blog-pagination .current { background: var(--lime); color: var(--text-inverse); border-color: var(--lime); }

/* ============================================================ Single post */
.single__head { padding-top: clamp(110px, 14vh, 160px); padding-bottom: 0; }
.single__head .container,
.single__hero .container,
.single__body .container { max-width: min(820px, 100%); }
.single__back { display: inline-block; font-size: 14px; color: var(--text-secondary); margin-bottom: 26px; transition: color var(--dur-fast) var(--ease); }
.single__back:hover { color: var(--lime); }
.single__meta { margin-bottom: 20px; }
.single__title { font-size: clamp(30px, 4.5vw, 56px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.single__hero { padding: clamp(32px, 5vw, 56px) 0 0; }
.single__hero-media { overflow: hidden; border-radius: 22px; }
.single__hero-media img { width: 100%; height: auto; display: block; }

.single__body { padding-top: clamp(48px, 7vw, 80px); }
.single__content { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.8; color: var(--text-secondary); }
.single__content > * { margin-bottom: 1.3em; }
.single__content h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; color: var(--text-primary); letter-spacing: -.01em; margin-top: 1.6em; line-height: 1.25; }
.single__content h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--text-primary); margin-top: 1.4em; }
.single__content a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.single__content strong { color: var(--text-primary); }
.single__content blockquote { border-left: 3px solid var(--lime); padding: 4px 0 4px 22px; margin: 1.6em 0; color: var(--text-primary); font-size: 1.1em; }
.single__content img { border-radius: 16px; max-width: 100%; height: auto; }
.single__content ul, .single__content ol { padding-left: 1.4em; }
.single__content li { margin-bottom: .5em; }
.single__content code { background: var(--c-card); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.single__content pre { background: var(--c-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; overflow-x: auto; }

.single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.single__tags a { font-size: 13px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 100px; padding: 7px 14px; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.single__tags a:hover { border-color: var(--lime); color: var(--lime); }

.single__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.single__nav-link { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid var(--border-strong); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--text-primary); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.single__nav-link:hover { border-color: var(--lime); background: rgba(167,214,58,0.1); transform: translateY(-2px); }
.single__nav-link--next { margin-left: auto; }

/* ---- comments (themed WordPress default markup) ---- */
.single__comments { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(48px, 7vw, 80px); }
.single__comments .container { max-width: min(820px, 100%); }
.single__comments .comments-title,
.single__comments .comment-reply-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.single__comments .comment-notes,
.single__comments .logged-in-as { color: var(--text-secondary); font-size: 14px; margin-bottom: 26px; }
.single__comments .comment-notes a,
.single__comments .logged-in-as a { color: var(--lime); }

/* comment list */
.single__comments .comment-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.single__comments .comment-list ol { list-style: none; padding-left: clamp(16px, 3vw, 40px); margin-top: 18px; }
.single__comments .comment-body { padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--c-card); }
.single__comments .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.single__comments .comment-author .avatar { border-radius: 50%; }
.single__comments .comment-author .fn { font-weight: 600; color: var(--text-primary); font-style: normal; }
.single__comments .comment-author .says { display: none; }
.single__comments .comment-metadata { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }
.single__comments .comment-metadata a { color: var(--text-tertiary); }
.single__comments .comment-content { color: var(--text-secondary); line-height: 1.7; }
.single__comments .comment-content a { color: var(--lime); }
.single__comments .reply a { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--lime); }

/* comment form */
.single__comments .comment-form { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.single__comments .comment-form p { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.single__comments .comment-form label { font-size: 13px; color: var(--text-secondary); }
.single__comments .comment-form input[type="text"],
.single__comments .comment-form input[type="email"],
.single__comments .comment-form input[type="url"],
.single__comments .comment-form textarea {
  width: 100%; background: var(--c-base); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 15px; color: var(--text-primary); font-family: inherit; font-size: 15px; resize: vertical;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.single__comments .comment-form textarea { min-height: 130px; }
.single__comments .comment-form input:focus,
.single__comments .comment-form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--green-glow); }
.single__comments .comment-form ::placeholder { color: var(--text-tertiary); }
.single__comments .comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 10px; }
.single__comments .comment-form .comment-form-cookies-consent input { width: auto; }
.single__comments .form-submit { margin-top: 4px; }
.single__comments .comment-form .submit,
.single__comments #submit {
  background: var(--lime); color: var(--text-inverse); border: none; border-radius: 12px;
  padding: 13px 28px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.single__comments .comment-form .submit:hover,
.single__comments #submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--green-glow); }

/* ============================================================ About page */
.page--about .container { max-width: min(var(--frame-w), 100%); }

/* hero — premium, centered, showreel-led */
.about-hero { padding-top: clamp(130px, 18vh, 200px); text-align: center; }
.about-hero__intro { max-width: 900px; margin: 0 auto; }
.about-hero__tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.about-hero__title { font-size: clamp(30px, 4.6vw, 58px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.about-hero__title .aw { display: inline-block; overflow: hidden; vertical-align: top; }
.about-hero__title .aw > span { display: inline-block; }
.about-hero__lead { max-width: 56ch; margin: clamp(22px, 3vw, 32px) auto 0; color: var(--text-secondary); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; }

/* cinematic showreel */
.about-hero__showreel {
  position: relative; margin: clamp(44px, 6vw, 72px) auto 0; width: 100%;
  aspect-ratio: 16/8; overflow: hidden; border-radius: 24px; background: var(--c-card);
  border: 1px solid var(--border);
}
.about-hero__showreel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-hero__showreel:hover img { transform: scale(1.04); }
.about-hero__showreel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 120%, rgba(0,0,0,.5), transparent 60%); pointer-events: none; }
.about-hero__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 7px 14px;
}
.about-hero__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: clamp(60px, 7vw, 84px); height: clamp(60px, 7vw, 84px); border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(18px, 2vw, 24px); color: var(--text-inverse);
  background: var(--lime); box-shadow: 0 10px 40px var(--green-glow);
  transition: transform var(--dur) var(--ease); cursor: pointer;
}
.about-hero__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(167,214,58,0.5); animation: play-ring 2.4s var(--ease) infinite; }
.about-hero__showreel:hover .about-hero__play { transform: translate(-50%,-50%) scale(1.08); }
@keyframes play-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .about-hero__play::before { animation: none; } }

/* stats row */
.about-hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); text-align: left;
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--border);
}
.about-stat { display: flex; flex-direction: column; gap: 6px; }
.about-stat strong { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.about-stat span { color: var(--text-tertiary); font-size: clamp(12px, 1vw, 13px); letter-spacing: .02em; }
@media (max-width: 640px) { .about-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* split sections (origin story / promise) */
.about-split__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-split--reverse .about-split__media { order: -1; }
.about-split__title { font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 18px; text-transform: uppercase; }
.about-split__title::after { content: ""; display: block; width: 48px; height: 2px; background: var(--lime); margin-top: 14px; }
.about-split__text p { color: var(--text-secondary); font-size: clamp(15px, 1.2vw, 16px); line-height: 1.8; max-width: 52ch; }
.about-split__media { overflow: hidden; border-radius: 20px; aspect-ratio: 16/11; }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.about-split__media:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .about-split__inner { grid-template-columns: 1fr; gap: 28px; }
  .about-split--reverse .about-split__media { order: 0; }
}

/* (Core values now reuses the homepage .services / .service sticky-stack style) */

/* (Free offer now reuses the shared .contact CTA-banner style) */

/* ============================================================ Inner pages (Projects / Pricing) */
.page { padding-top: 90px; }
.pagehead { text-align: center; }
.pagehead .container { max-width: min(var(--frame-w), 100%); }
.pagehead__tag { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin-bottom: 18px; }
.pagehead__title { font-size: clamp(32px, 5vw, 60px); }
.pagehead__sub { margin: 24px auto 0; max-width: 56ch; color: var(--text-secondary); font-size: clamp(15px, 1.5vw, 18px); }

/* projects grid */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); max-width: min(var(--frame-w), 100%); margin-inline: auto; }
.pcard__media { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 4/3; background: var(--c-card); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.pcard__media:hover img { transform: scale(1.06); }
.pcard__tags { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pcard__tags span { font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.34); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; padding: 6px 12px; }
.pcard__meta { padding-top: 18px; }
.pcard__name { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.pcard__desc { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

@media (max-width: 920px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ============================================================ Modal */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--dur) var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--c-card); border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 4vw, 44px); transform: translateY(24px) scale(.97); opacity: 0; transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
.modal.is-open .modal__panel { transform: translateY(0) scale(1); opacity: 1; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 24px; transition: background var(--dur) var(--ease); }
.modal__close span { margin-top: -2px; }
.modal__close:hover { background: var(--border); }
.modal__title { font-size: clamp(22px, 3vw, 30px); font-weight: 500; margin-bottom: 26px; }

/* ============================================================ Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; color: var(--text-secondary); }
.field input, .field select, .field textarea { background: var(--c-base); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; color: var(--text-primary); font-family: inherit; font-size: 15px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-tertiary); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(167,214,58,0.2); }
.form__note { font-size: 12px; color: var(--text-tertiary); text-align: center; }
.form__success { color: var(--lime); text-align: center; font-size: 15px; }

/* ============================================================ Reveal fallbacks */
[data-fade], [data-reveal-words] .word > span { opacity: 0; }
.no-js [data-fade], .no-js [data-reveal-words] .word > span { opacity: 1; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 920px) {
  .nav__links, .nav__cta, .nav__theme { display: none; }
  .nav__burger { display: grid; place-items: center; width: 46px; height: 46px; }
  /* roomier mobile pill: logo left, burger right, fills the bar */
  .nav__pill { width: min(94%, 460px); justify-content: space-between; padding: 8px 10px 8px 14px; gap: 0; }
  .nav__logo { height: 48px; }
  .nav__logo-img { height: 28px; }
  .nav__avo { font-size: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; }
  /* keep the sticky stacking on mobile too — full width, bigger cards, more gap */
  .service { width: 100%; margin-bottom: clamp(56px, 12vw, 80px); min-height: clamp(360px, 64vw, 440px); padding: clamp(24px, 6vw, 36px); top: 90px; }
  /* process timeline → 2 columns, drop the connecting line */
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process__list::before { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .service__num { font-size: 56px; }
  .footer__cols { flex-direction: column; gap: 32px; }
  .contact__actions .btn { width: 100%; }
  .process__list { grid-template-columns: 1fr; }
}

/* ============================================================ Mobile responsive — inner pages (≤600px) */
@media (max-width: 600px) {
  /* page header: tighter top space + smaller title on phones */
  .page { padding-top: 0; }
  .pagehead { padding-top: clamp(96px, 24vw, 130px); }
  .pagehead__title { font-size: clamp(26px, 8vw, 40px); }
  .pagehead__sub { font-size: 15px; }
  /* sections: reduce big vertical padding on phones — INNER pages only, never the homepage */
  .page .section { padding-block: clamp(48px, 14vw, 80px); }

  /* ---- About ---- */
  .about-hero { padding-top: clamp(100px, 26vw, 140px); }
  .about-hero__title { font-size: clamp(26px, 8.5vw, 40px); }
  .about-hero__showreel { aspect-ratio: 16 / 11; }
  .about-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .about-split__inner { grid-template-columns: 1fr; gap: 24px; }
  .about-split__title { font-size: clamp(22px, 7vw, 30px); }
  .about-offer__inner { flex-direction: column; align-items: flex-start; text-align: left; }

  /* ---- Pricing ---- */
  .page--pricing .pricing__grid { grid-template-columns: 1fr; max-width: 100%; }
  .addons-grid { grid-template-columns: 1fr; }
  .retainer { grid-template-columns: 1fr; gap: 24px; padding: clamp(24px, 7vw, 36px); }
  .freebies-row { gap: 10px; }
  .freebie-pill { font-size: 13px; padding: 9px 14px 9px 12px; }
  .plan__amount, .page--pricing .plan__amount { white-space: normal; }

  /* ---- Portfolio ---- */
  .featured { grid-template-columns: 1fr; padding: 14px; }
  .featured__name { font-size: clamp(24px, 7vw, 32px); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-bar { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ---- Blog ---- */
  .blog-featured { grid-template-columns: 1fr; padding: 14px; }
  .blog-featured__title { font-size: clamp(22px, 6.5vw, 30px); }
  .blog-grid { grid-template-columns: 1fr; }

  /* ---- Contact ---- */
  .contact-layout { grid-template-columns: 1fr; gap: 28px; padding-inline: 0; }
  .contact-info__title { font-size: clamp(22px, 7vw, 28px); }

  /* ---- Single post ---- */
  .single__head { padding-top: clamp(96px, 26vw, 130px); }
  .single__title { font-size: clamp(26px, 8vw, 40px); }
  .single__hero-media, .single__content img { border-radius: 14px; }
}
