/* =====================================================================
   v10.css · Nov 24 2026 pass. Loads last on every current page.
   - Inner-page nav bar and every dropdown are Daytime purple (lilac), ink text
   - Nav squiggle underline is green, dropdown chevron is a real, legible icon
   - Mobile drawer is purple with ink links
   - The Studio is one link (no dropdown); small studio landing-page extras
   Scoped to .reference-surface like reference.css, so equal-specificity rules
   here win on order.
   ===================================================================== */

/* Inner pages: the nav bar takes the color of the first section under it (Nov 25).
   --olive (Studio: olive pinstripe hero) = cream type, acid squiggle.
   --lilac (Brand Foundation: purple hero) = ink type, green squiggle.
   These sit outside @scope on purpose: scoped selectors can't see .inner-nav (it wraps the
   scope root), so the extra classes carry the specificity instead. */
.inner-nav--olive {
  background-color: var(--c-olive);
  background-image: repeating-linear-gradient(to right, transparent 0 45px, rgba(10,83,66,0.45) 45px 46px);
}
.inner-nav--lilac { background: var(--c-lilac); }
.inner-nav--olive .reference-surface .nav .logo__word,
.inner-nav--olive .reference-surface .nav .nav__burger { color: var(--c-cream); }
.inner-nav--lilac .reference-surface .nav .logo__word,
.inner-nav--lilac .reference-surface .nav .nav__burger { color: var(--c-ink); }
@media (min-width: 821px) {
  .inner-nav--olive .reference-surface .nav__links > a,
  .inner-nav--olive .reference-surface .nav__grouplabel { color: var(--c-cream); opacity: 1; }
  .inner-nav--lilac .reference-surface .nav__links > a,
  .inner-nav--lilac .reference-surface .nav__grouplabel { color: var(--c-ink); opacity: 1; }
  .inner-nav--olive .reference-surface .nav__links > a::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 Q 3.25 0.4 6.5 3 T 13 3' fill='none' stroke='%23faff5b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  }
}

@scope (.reference-surface) {

  /* Squiggle underline: green instead of acid */
  .nav__links a::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 Q 3.25 0.4 6.5 3 T 13 3' fill='none' stroke='%230a5342' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  /* Dropdown chevron: a drawn chevron at full strength, rotates when open */
  .nav__grouplabel { gap: 8px; opacity: 1; }
  .nav__grouplabel::after {
    content: ""; width: 11px; height: 7px; font-size: 0; opacity: 1;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'%3E%3Cpath d='M1.2 1.2 5.5 5.5 9.8 1.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'%3E%3Cpath d='M1.2 1.2 5.5 5.5 9.8 1.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .18s ease;
  }
  .nav__group:hover .nav__grouplabel::after, .nav__group:focus-within .nav__grouplabel::after { transform: rotate(180deg); }

  /* Dropdown panel: purple, ink type */
  .nav__menu { background: var(--c-lilac); box-shadow: 0 18px 40px rgba(22,35,27,0.16); border: 1.5px solid rgba(22,35,27,0.08); }
  .nav .nav__links .nav__menu a { color: var(--c-ink); }
  .nav .nav__links .nav__menu a:hover { background: rgba(255,255,255,0.6); }
  .nav__menu small { color: rgba(39,39,39,0.72); }

  @media (max-width: 820px) {
    /* Mobile drawer: purple, ink links, green group labels */
    .nav__links { background: var(--c-lilac); box-shadow: 0 26px 60px rgba(22,35,27,0.22); }
    .nav .nav__links a[href] { color: var(--c-ink); border-bottom-color: rgba(22,35,27,0.12); }
    .nav .nav__links .nav__menu a { color: var(--c-ink); }
    .nav__grouplabel { color: var(--c-green); opacity: 1; }
    .nav__grouplabel::after { display: none; }
    .nav__menu { background: none; border: 0; box-shadow: none; }
    .nav__burger { color: var(--c-ink); }
    .nav .nav__links a[href].nav__drawer-cta { background: var(--c-green); color: var(--c-acid); }
    .nav__links a[href*="work"]::before, .nav__links a[href*="about"]::before { filter: brightness(0.32) saturate(2.2); }
    .nav__links a[href*="studio"]::before {
      transform: rotate(-3deg);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230a5342'%3E%3Ccircle cx='12' cy='5.5' r='4.5'/%3E%3Ccircle cx='12' cy='18.5' r='4.5'/%3E%3Ccircle cx='5.5' cy='12' r='4.5'/%3E%3Ccircle cx='18.5' cy='12' r='4.5'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='3.4' fill='%23faff5b'/%3E%3C/svg%3E");
    }
  }

  /* The Studio landing page */
  .servhero__actions { margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
  .cta__title .it { white-space: nowrap; }
  .cta__alt { margin-top: 18px; font-size: 16px; color: var(--c-ink); }
  .cta__alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
}

/* Brand Foundation waitlist page */
.bf { padding: clamp(56px, 7vw, 110px) var(--gutter, 24px); max-width: 1180px; margin: 0 auto; }
.bf .eyebrow { margin-bottom: 22px; }
.bf h1 { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -0.045em; max-width: 17ch; margin: 0 0 22px; }
.bf h1 i { font-family: var(--font-serif); font-weight: 300; color: var(--c-red, #dd0011); }
.bf__sub { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 60ch; margin: 0 0 30px; }
.bf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 100px); align-items: start; }
.bf__grid h2 { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.06; letter-spacing: -0.035em; margin: 14px 0 14px; }
.bf__grid h2 i { font-family: var(--font-serif); font-weight: 300; }
.bf__grid p { font-size: 18px; line-height: 1.6; }
.bf__card { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 18px 40px rgba(22,35,27,.08); }
.bf__card ol { list-style: none; margin: 0; padding: 0; counter-reset: bf; }
.bf__card li { counter-increment: bf; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid rgba(0,0,0,.08); font-size: 17px; line-height: 1.45; }
.bf__card li:first-child { border-top: 0; }
.bf__card li::before { content: "(" counter(bf, decimal-leading-zero) ")"; position: absolute; left: 0; top: 17px; font: 500 11px/1 var(--font-mono); color: var(--c-red, #dd0011); }
.bf__end { margin-top: clamp(56px, 7vw, 100px); padding-top: 40px; border-top: 1.5px solid var(--c-ink, #272727); }
.wl { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
.wl input { flex: 1 1 180px; min-width: 0; font: 500 16px/1 var(--font-sans); color: var(--c-ink, #272727); background: #fff; border: 1.5px solid var(--c-ink, #272727); border-radius: 999px; padding: 16px 20px; }
.wl input:focus { outline: 3px solid var(--c-acid, #faff5b); outline-offset: 1px; }
.wl .btn { border: 0; cursor: pointer; }
.wl__msg { flex-basis: 100%; min-height: 1.4em; font-size: 14px; color: #7e1617; margin: 2px 0 0 6px; }
.wl__under { font-size: 15px; opacity: .8; margin-top: 10px; }
.bf__alt { margin-top: 22px; font-size: 16px; }
.bf__alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .bf__grid { grid-template-columns: 1fr; } }

/* Home closer: the studio link under the Camp button */
.close .close__alt { display: block; width: 100%; text-align: center; margin: 18px auto 0; color: var(--c-ink); font-size: 16px; }
.close .close__alt u { font-weight: 700; text-underline-offset: 4px; }

/* =====================================================================
   Nov 25 · Black Friday, offer subheads, featured-work band on Home
   ===================================================================== */

/* Offer cards: one clear subhead under each name */
.offer .offer-body p.offer-sub { margin: 8px 0 0; font: 600 13px/1.3 var(--font-mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--c-ink); }

/* Black Friday band: acid field, copy left, the Camp kit right. Hidden once the sale closes (bf-swap.js). */
.bfband { background: var(--c-acid); padding: clamp(60px, 7vw, 110px) var(--pad, 24px); }
.bfband__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.bfband .eyebrow { background: var(--c-ink); color: var(--c-acid); }
.bfband h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -0.04em; margin: 20px 0 18px; color: var(--c-ink); text-wrap: balance; }
.bfband h2 i { font-family: var(--font-serif); font-weight: 300; }
.bfband p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 56ch; margin: 0 0 22px; color: var(--c-ink); }
.bfband__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 28px; }
.bfband__facts li { border: 1.5px solid var(--c-ink); border-radius: 999px; padding: 9px 14px; font: 500 12px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-ink); }
.bfband__facts b { font-weight: 700; }
.bfband__quote { display: block; margin-top: 18px; font: italic 400 clamp(16px, 1.2vw, 19px)/1.4 var(--font-serif); color: var(--c-ink); max-width: 46ch; }
.bfband__quote b { display: block; margin-top: 6px; font: 500 11px/1.3 var(--font-mono); font-style: normal; letter-spacing: 1.4px; text-transform: uppercase; }
.bfband__img { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(22,35,27,.18); transform: rotate(1.5deg); }
.bfband__img img { display: block; width: 100%; height: auto; }
.bfband__tag { position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; border-radius: 50%; background: var(--c-red, #dd0011); color: var(--c-acid); display: grid; place-items: center; font: 800 28px/1 var(--font-sans); letter-spacing: -1px; transform: rotate(-10deg); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
@media (max-width: 820px) { .bfband__inner { grid-template-columns: 1fr; } .bfband__img { order: -1; transform: none; } }
.bf-closed .bf-only { display: none !important; }

/* Featured Work band on Home (moved from the Studio page), same lilac as the work section under it */
@scope (.reference-surface) {
  .workhead { background: var(--c-lilac); padding-top: clamp(40px, 5vw, 70px); }
  .workhead__row { display: flex; justify-content: space-between; padding: 18px var(--gutter, 24px); }
  .workhead__row .t-mono-label { color: var(--c-red-deep); opacity: 0.6; }
  .workhead__marquee { border-top: 1px solid rgba(126,22,23,0.25); padding: 8px 0 0; overflow: hidden; }
  .workhead__marquee .marquee__track { font-family: var(--font-serif); font-weight: 400; font-style: normal; font-size: clamp(84px, 13vw, 200px); line-height: 1.05; color: var(--c-red-deep); letter-spacing: -1px; animation-duration: 44s; }
  .workhead__marquee .marquee__track span { padding-right: 40px; }
  @media (max-width: 820px) { .workhead__row .t-mono-label:nth-child(3) { display: none; } }
  .workhead + .awork, .awork { padding-top: clamp(40px, 5vw, 70px); }
}

/* =====================================================================
   Nov 25 · Studio hero with the work reel, calmer section flow, Foundation refresh
   ===================================================================== */
@scope (.reference-surface) {
  .servhero { padding-top: clamp(70px, 7vw, 110px); }
  .servhero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
  .servhero__sub { margin-bottom: 0; }
  .servhero__meta { margin-top: 30px; }
  .servhero__reel { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(1.5deg); background: var(--c-cream); }
  .servhero__reel img { display: block; width: 100%; height: auto; }
  .servhero__badge { right: clamp(16px, 4vw, 60px); top: auto; bottom: -56px; transform: none; }
  @media (max-width: 900px) {
    .servhero__grid { grid-template-columns: 1fr; }
    .servhero__reel { transform: none; }
  }
  /* The model: icons always show (studio.js draws them in on scroll) */
  .model__col .modicon { display: block; margin-bottom: 18px; }
  /* Receipts on cream, no band, so the page runs white, blue, cream, white, pink */
  .receipts-band { background: var(--c-cream); }
  .receipts-band .teaser { background: transparent; padding-block: clamp(80px, 8vw, 120px); }
  .receipts-band .teaser__title, .receipts-band .teaser__desc { color: var(--c-ink); }
  .receipts-band .teaser__tags span { border-color: rgba(39,39,39,.35); color: var(--c-ink); }
  .receipts-band .teaser__btn { background: var(--c-green); color: var(--c-acid); }
}

/* Brand Foundation: centered purple hero and a centered waitlist close */
.bf-hero { background: var(--c-lilac); padding: clamp(60px, 7vw, 110px) var(--gutter, 24px) clamp(70px, 8vw, 120px); text-align: center; }
.bf-hero__inner { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.bf-hero .eyebrow { margin-bottom: 22px; background: #fff; }
.bf-hero h1 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -0.045em; max-width: 19ch; margin: 0 0 22px; color: var(--c-ink); }
.bf-hero h1 i { font-family: var(--font-serif); font-weight: 300; color: var(--c-red, #dd0011); }
.bf-hero .bf__sub { margin: 0 auto 30px; }
.bf-hero .wl, .bf__end .wl { justify-content: center; margin: 0 auto; }
.bf-hero .wl__msg, .bf__end .wl__msg { text-align: center; margin-left: 0; }
.bf-hero .bf__alt { margin-top: 18px; }
.bf__end { text-align: center; }
.bf__end h2 { font-size: clamp(30px, 3.2vw, 50px); letter-spacing: -0.035em; margin: 0 0 10px; }
.bf__end h2 i { font-family: var(--font-serif); font-weight: 300; }
.bf__endsub { font-size: 18px; margin: 0 0 22px; }
.bf__end .bf__alt { margin-top: 22px; }

/* =====================================================================
   One left edge everywhere (Nov 25): the V9-native blocks (hero, offers, closer,
   Black Friday band, Foundation body) now sit on the same 1600px grid with the
   same gutter as the logo and every imported section.
   ===================================================================== */
.studio-scene .hero-stage { max-width: var(--maxw); padding-inline: var(--gutter); }
#offers, .bfband, .bf {
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}
.bf { max-width: none; margin: 0; }
.bfband__inner { max-width: none; margin: 0; }
@media (max-width: 1200px) { :root { --gutter: 56px; } }
@media (max-width: 820px) { :root { --gutter: 24px; } }
@media (max-width: 720px) {
  .studio-scene .hero-stage { padding-inline: 0; }
  .studio-scene .herocopy { padding-inline: var(--gutter); }
}

/* ===== Nov 25b ===== */
/* Announcement bar: purple everywhere */
.campaign { background: var(--c-lilac); color: var(--c-ink); border-bottom: 1px solid rgba(39,39,39,.12); }
.campaign a { color: var(--c-ink); }

@scope (.reference-surface) {
  /* Studio hero: reel sits flat, badge stays inside the hero */
  .servhero { position: relative; overflow: hidden; padding-bottom: clamp(70px, 7vw, 110px); }
  .servhero__reel { transform: none; }
  .servhero__badge { top: auto; bottom: clamp(18px, 2.4vw, 34px); right: clamp(18px, 3vw, 48px); transform: none; }
  @media (max-width: 820px) {
    .servhero { padding-bottom: 150px; }
    .servhero__badge { width: 112px; height: 112px; bottom: 22px; right: 22px; }
  }
  /* The model on purple, the case-study teaser on blue */
  .model { background: var(--c-lilac) url(assets/bg-purple.png) center/cover; }
  .receipts-band { background: var(--c-blue) url(assets/bg-blue.png) center/cover; }
  .receipts-band .teaser__shot { background: transparent; box-shadow: none; aspect-ratio: auto; overflow: visible; display: block; border-radius: 0; }
  .receipts-band .teaser__shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(22,35,27,.22)); transition: transform .4s ease; }
  .receipts-band .teaser__shot:hover img { transform: translateY(-6px); }
  .teaser__shotlabel { position: absolute; left: 0; top: -14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; background: var(--c-ink); color: var(--c-cream); padding: 7px 12px; border-radius: 999px; }
}
@scope (.reference-surface) {
  .receipts-band .teaser__title { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -1px; max-width: 13em; }
}
