/* ===========================================================
   ApartWorks — BRAND v2 FLAVOR OVERLAY
   Additive layer on top of styles.css. Pulls in the design
   team's brand-kit flavor: bolder palette (orange / cobalt /
   magenta / pop-green), a soft aurora gradient, the AW/“4”
   monogram badge, and color-blocked duotone posters.
   Nothing here is destructive — toggle/tune it all via Tweaks.
   =========================================================== */

/* ===========================================================
   MOBILE HAMBURGER NAV — the base CSS hides .navlink ≤920px
   with no menu; this adds a working toggle + slide-down panel.
   (Button is injected by main.js.)
   =========================================================== */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 0 auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav { flex-wrap: wrap; gap: 10px; }
  .nav-toggle { display: flex; order: 3; }
  .nav-cta { order: 2; margin-left: auto; }
  .nav-links {
    order: 4; flex-basis: 100%; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .38s var(--ease), margin-top .38s var(--ease);
  }
  /* solid backing when the menu is open so links are legible over any section */
  .nav.nav-open {
    background: color-mix(in srgb, var(--cream) 96%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--line);
  }
  .nav.nav-open .nav-links { max-height: 72vh; margin-top: 8px; }
  .nav-links .navlink {
    display: block !important;
    padding: 15px 2px; font-size: 1.08rem; font-weight: 600;
    border-top: 1px solid var(--line);
  }
  .nav-links a.navlink::after { display: none; }
  .nav-links .navlink.is-current { color: var(--accent); }
}

:root {
  /* ---- brand-kit accents (from the guidelines) ---- */
  --aw-orange:  #ea5a28;
  --aw-cobalt:  #2747e0;
  --aw-magenta: #a8206a;
  --aw-coral:   #ec4f33;
  --aw-green:   #45ce68;   /* the pop green */
  --aw-green-deep: #2f9b50;

  /* the “live” accent — what green/orange highlights resolve to.
     Tweaks rewrites this. Default = pop green. */
  --accent: var(--aw-green);
  --accent-ink: #0d2417;   /* readable text when sitting ON the accent */

  /* aurora glow stops (softer, dreamier than the grain rainbow) */
  --aurora-1: #b07ad6;     /* violet  */
  --aurora-2: #6aa8e6;     /* periwinkle */
  --aurora-3: #5ad6c4;     /* cyan    */
}

/* ===========================================================
   AURORA FIELD — soft halo gradient (alt to .grain-field)
   =========================================================== */
.aurora-field {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(60% 60% at 28% 24%, color-mix(in srgb, var(--aurora-1) 85%, transparent) 0%, transparent 62%),
    radial-gradient(58% 64% at 78% 38%, color-mix(in srgb, var(--aurora-2) 82%, transparent) 0%, transparent 60%),
    radial-gradient(64% 66% at 60% 86%, color-mix(in srgb, var(--aurora-3) 85%, transparent) 0%, transparent 62%),
    linear-gradient(140deg, #efeaff, #e6f6f4);
}
.aurora-field::after {
  content: ""; position: absolute; inset: -20%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMicgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjxmZUNvbG9yTWF0cml4IHR5cGU9J3NhdHVyYXRlJyB2YWx1ZXM9JzAnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbiknLz48L3N2Zz4=");
  opacity: 0.30; mix-blend-mode: soft-light; pointer-events: none;
}
.aurora-field.is-live { animation: auroraDrift 22s ease-in-out infinite alternate; }
@keyframes auroraDrift {
  0%   { transform: scale(1.08) translate(0,0); }
  100% { transform: scale(1.2) translate(2.5%, -2%); }
}
@media (prefers-reduced-motion: reduce) { .aurora-field.is-live { animation: none; } }

/* When the “Aurora” flavor is picked, the hero/cta/story grain
   fields cross-fade to the aurora palette by overlaying it. */
[data-flavor="aurora"] .grain-field {
  background:
    radial-gradient(56% 60% at 24% 26%, color-mix(in srgb, var(--aurora-1) 88%, transparent) 0%, transparent 60%),
    radial-gradient(58% 64% at 80% 36%, color-mix(in srgb, var(--aurora-2) 85%, transparent) 0%, transparent 60%),
    radial-gradient(66% 68% at 58% 88%, color-mix(in srgb, var(--aurora-3) 88%, transparent) 0%, transparent 62%),
    linear-gradient(140deg, #c9b8ef, #bfe9e2);
}

/* ===========================================================
   AW / “4” MONOGRAM BADGE — rotating ring + center mark
   (lives in the About visual; pure CSS motion, text in SVG)
   =========================================================== */
.aw-badge {
  position: absolute; z-index: 3;
  width: clamp(116px, 13vw, 164px); aspect-ratio: 1;
  display: grid; place-items: center;
  right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  pointer-events: none;
}
/* static, refined seal — reads as an embossed brand stamp (no spin) */
.aw-badge .ring {
  position: absolute; inset: 0;
}
/* clean frosted “coin” backing with a crisp ring */
.aw-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(18,17,13,.58);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px -22px rgba(0,0,0,.6), inset 0 0 0 6px rgba(255,255,255,.05);
  backdrop-filter: blur(4px) saturate(1.05);
}
@media (prefers-reduced-motion: reduce) { .aw-badge .ring { animation: none; } }
.aw-badge .ring text {
  font-family: var(--body); font-weight: 700;
  font-size: 8.2px; letter-spacing: 1.2px;
  text-transform: uppercase; fill: #fff;
  paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: .7px;
}
.aw-badge .disc {
  position: absolute; inset: 23%; border-radius: 50%;
  display: grid; place-items: center;
}
.aw-badge .disc svg { width: 46%; height: 46%; }
.aw-badge .disc svg path, .aw-badge .disc svg polygon { fill: #fff; }
.aw-badge .disc img { width: 46%; height: auto; filter: brightness(0) invert(1); }

/* badge can also sit on a light surface */
.aw-badge.on-light .ring text { fill: var(--ink); }
.aw-badge.on-light .disc { background: var(--ink); }

@keyframes badgeSpin { to { transform: rotate(360deg); } }

/* ===========================================================
   COLOR-BLOCKED DUOTONE POSTERS  (Work section)
   Each card is a bold brand block; dropped images render as a
   duotone tint; big overlapping type sits on top — the kit’s
   “poster” calling card.
   =========================================================== */
.flavor-posters .work-card.poster {
  background: var(--po, var(--aw-cobalt));
  border-color: color-mix(in srgb, var(--po, var(--aw-cobalt)) 60%, #000);
  color: #fff;
}
/* layout: image area (row 1, layers overlap) + meta strip (row 2) */
.work-card.poster {
  --po: var(--aw-cobalt);
  display: grid; grid-template-rows: 1fr auto;
  position: relative;
}
.work-card.poster:nth-of-type(1) { --po: var(--aw-cobalt); }
.work-card.poster:nth-of-type(2) { --po: var(--aw-magenta); }
.work-card.poster:nth-of-type(3) { --po: var(--aw-coral); }
.work-card.poster:nth-of-type(4) { --po: var(--aw-green-deep); }

.work-card.poster > image-slot { grid-area: 1 / 1; z-index: 1; }

/* photos render in their natural colours (no duotone tint) */
.flavor-posters .work-card.poster image-slot {
  transition: transform .6s var(--ease);
}
/* neutral bottom scrim keeps the headline legible over any photo */
.flavor-posters .work-card.poster::before {
  content: ""; grid-area: 1 / 1; z-index: 1; pointer-events: none; min-height: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.18) 64%, rgba(0,0,0,.62) 100%);
}

/* (halftone texture removed — photos stay clean and natural) */

/* the big headline — sits at the bottom of the image area */
.poster-type {
  grid-area: 1 / 1; align-self: end; z-index: 2;
  padding: clamp(18px, 2vw, 28px);
  display: flex; flex-direction: column; gap: 8px;
}
/* hide the poster overlay entirely when color-block is toggled off */
body:not(.flavor-posters) .poster-type { display: none; }
.poster-type .po-eyebrow {
  font-family: var(--body); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .68rem; color: rgba(255,255,255,.88);
  display: inline-flex; align-items: center; gap: 8px;
}
.poster-type .po-eyebrow::before { content: none; }
.poster-type h3 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: .86; color: #fff; letter-spacing: -.01em;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  text-shadow: 0 2px 24px rgba(0,0,0,.32);
}
.work-card.poster .meta {
  grid-area: 2 / 1; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.22);
}
.work-card.poster .meta .t { color: #fff; }
.work-card.poster .meta .tag { color: rgba(255,255,255,.74); }

/* posters: image-slot needs a min height so the block reads even empty */
.work-card.poster > image-slot { min-height: 240px; background: transparent; }
.work-card.poster.big > image-slot { min-height: 320px; }

/* ===========================================================
   POP-GREEN / BOLD ACCENT SPRINKLES
   Re-point existing details at the live --accent colour.
   =========================================================== */

/* hero tag: accent ring + dot */
.hero-tag { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong)); }

/* AW logomark as the separator between marquee words (replaces the green ✳) */
.marquee-track span::after {
  content: ""; display: inline-block;
  width: 1.4em; height: .62em; margin: 0;
  background-color: currentColor;
  -webkit-mask: url("apart-works-logomark.svg") no-repeat center / contain;
          mask: url("apart-works-logomark.svg") no-repeat center / contain;
  opacity: .62; vertical-align: middle;
}

/* eyebrows get a tiny accent tick */
.eyebrow:not(.no-tick)::before {
  content: ""; display: inline-block; width: 16px; height: 2px;
  background: var(--accent); margin-right: 10px; vertical-align: middle;
  border-radius: 2px;
}
/* don't double-tick eyebrows that already carry a gradient dot */
.film .eyebrow::before, .optin-copy .eyebrow::before { content: none; }

/* service hover edge + cta arrow use accent on the active card */
.svc:hover .svc-cta { color: var(--accent); }
.svc:hover { background: var(--ink); }

/* approach step number flips to accent on hover */
.step:hover .step-no { color: var(--accent); }

/* stat numbers get an accent underline on view */
.stat .n { position: relative; display: inline-block; }
.stat .n::after {
  content: ""; position: absolute; left: 0; bottom: -10px; height: 4px; width: 0;
  background: var(--accent); border-radius: 3px;
  transition: width .7s var(--ease) .15s;
}
.stat.rise-in .n::after, .stats:hover .n::after { width: clamp(34px, 60%, 88px); }

/* primary button: follows the skin's button tokens */
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover {
  background: color-mix(in srgb, var(--btn-bg) 86%, var(--accent));
}

/* opt-in success mark — neutral ink (no green emoji-style glyph) */
.optin-success .tick { color: var(--ink); }

/* links underline gradient already brand; keep. focus ring accent */
::selection { background: var(--accent); color: var(--accent-ink); }

/* hero-tag living dot pulse picks up accent */
@media (prefers-reduced-motion: no-preference) {
  .hero-tag .dot, .optin-copy .eyebrow .dot, .film .eyebrow .dot {
    animation: dotPulseAccent 3.4s var(--ease) infinite;
  }
}
@keyframes dotPulseAccent {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* ===========================================================
   FLAVOR CHIP in the hero — “designs that taste as good
   as the results” brand-personality line
   =========================================================== */
.flavor-line {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
}
.flavor-line .pill {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: .7rem; letter-spacing: .06em; color: var(--accent-ink);
  background: var(--accent); border-radius: 100px; padding: 5px 11px;
}

/* ===========================================================
   POWER-OF-FOUR — let the gradient numbers ride the accent in
   bold flavor, and float a soft aurora orb behind the grid.
   =========================================================== */
.four-aurora {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(46vw, 560px); aspect-ratio: 1; border-radius: 50%;
  right: -8%; top: 8%; opacity: .5; filter: blur(8px);
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--aurora-1) 70%, transparent), transparent 72%),
    radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--aurora-3) 65%, transparent), transparent 72%);
}
#four .wrap { position: relative; z-index: 1; }

/* ===========================================================
   FLAVOR = BOLD : warm the cream base a touch + orange-forward
   =========================================================== */
[data-flavor="bold"] {
  --accent: var(--aw-orange);
  --accent-ink: #2a0f03;
}
[data-flavor="bold"] .marquee { background: var(--ink); }

/* respect reduce-motion tweak */
.tw-reduce-motion .aurora-field.is-live,
.tw-reduce-motion .aw-badge .ring { animation: none !important; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 760px) {
  .aw-badge { width: 128px; right: 12px; bottom: 12px; }
}

/* ===========================================================
   HERO "APART" — elastic stretch letters (scroll-driven, JS)
   =========================================================== */
.apart-stretch { display: inline-block; white-space: nowrap; }
.apart-stretch .ltr {
  display: inline-block; transform-origin: left center;
  will-change: transform, opacity; backface-visibility: hidden;
}
/* Type-Shuffle mode: the word flips to reveal a new display face.
   Stroke stays for outline look; some faces read better filled, so
   shuffle mode fills the word in the ink colour for legibility. */
:root[data-apart-mode="shuffle"] .hero h1 .apart-stretch {
  -webkit-text-stroke: 0; color: var(--ink);
}
.apart-stretch.is-flip { animation: apartFlip .44s var(--ease); }
@keyframes apartFlip {
  0%   { transform: perspective(620px) rotateX(0deg); }
  44%  { transform: perspective(620px) rotateX(-90deg); opacity: .2; }
  56%  { transform: perspective(620px) rotateX(90deg); opacity: .2; }
  100% { transform: perspective(620px) rotateX(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .apart-stretch.is-flip { animation: none; } }

/* ===========================================================
   NAV — official lockup; the seal/cog spins in place
   (spin baked into the SVG; this just sizes it)
   =========================================================== */
.nav-mark .nav-logo { height: 48px; width: auto; display: block; }
/* tighten the link gap so a 6th nav item (Videos) fits beside the CTA */
.nav-links { gap: 24px; }
.navlink.is-current { color: var(--accent); }
.nav.scrolled .nav-mark .nav-logo { height: 43px; }
@media (max-width: 620px) { .nav-mark .nav-logo { height: 42px; } }

/* ===========================================================
   HERO — rebalanced spacing & rhythm
   (fills the old empty void; tighter vertical pacing)
   =========================================================== */
.hero { padding-top: clamp(102px, 11vw, 122px); padding-bottom: clamp(34px, 5vw, 68px); }
.hero-tag { margin-bottom: clamp(16px, 2.2vw, 26px); }
.hero h1 { max-width: 16ch; }

/* keep the hero text column (and its flavor popover) above the
   rainbow visual banner that follows it in the DOM */
.hero-lead { position: relative; z-index: 20; }
.hero-visual { position: relative; z-index: 1; }

/* ===========================================================
   HERO VIDEO — Elakai reel rolling behind the rainbow overlay
   Recipe: the rainbow grain-field is the FULL-COLOR base; the
   video sits on top in `luminosity` blend, so it contributes
   only motion/brightness while the rainbow supplies all the
   color. You read movement through a wash of brand color
   rather than full-color footage.
   =========================================================== */
.hero-visual .grain-field { z-index: 0; }            /* rainbow base, full color */
.hero-visual .hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity;        /* motion shows; rainbow keeps the color */
  opacity: .62;
  filter: contrast(1.08) brightness(1.05);
}
/* a soft ink veil at the base keeps the white label/CTA legible */
.hero-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 42%, rgba(20,19,15,.34) 100%);
}
.hero-visual .corner, .hero-visual .label { z-index: 3; }

/* "See our video work" CTA */
.hero-video-cta {
  position: absolute; z-index: 4; right: 22px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 13px; border-radius: 100px;
  font-family: var(--body); font-weight: 700; font-size: .82rem;
  letter-spacing: .01em; color: #14130f;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5);
  transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .3s var(--ease);
}
.hero-video-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 38px -14px rgba(0,0,0,.55);
}
.hero-video-cta .hvc-icon {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: .6rem; padding-left: 2px;
}
@media (max-width: 600px) {
  .hero-video-cta { right: 14px; bottom: 14px; font-size: .76rem; padding: 9px 13px 9px 11px; }
  .hero-visual .label { font-size: clamp(1.6rem, 9vw, 2.4rem); }
  /* give the hero video more presence on phones (was a thin 180px sliver) */
  .hero-visual { height: clamp(240px, 64vw, 340px) !important; }
}
/* reduced motion: hold a still frame instead of looping */
.tw-reduce-motion .hero-visual .hero-video { animation: none; }

/* ===========================================================
   AW KEYLINE WATERMARK — outlined monogram bleeding off the
   CTA band, lifted straight from the brand-kit laptop lids.
   Quiet brand texture; never competes with the headline.
   =========================================================== */
.cta-band .aw-keyline {
  position: absolute; z-index: 1; pointer-events: none;
  left: -5%; bottom: -30%;
  width: min(56vw, 720px); aspect-ratio: 73.5 / 35;
  opacity: .16;
  background-image: url("aw-keyline.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
}
@media (max-width: 700px) {
  .cta-band .aw-keyline { width: 96vw; bottom: -18%; opacity: .12; }
}

/* ===========================================================
   FEATURED WORK — compact proof strip (high on the page)
   A space-saving teaser for Selected Work that surfaces the
   strongest proof within the first scroll, then links down to
   the full #work section. Reuses the cs-card visual language.
   =========================================================== */
.featured-strip { padding: clamp(40px, 5vw, 68px) 0 clamp(8px, 1vw, 16px); }
.fs-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.4vw, 32px);
}
.fs-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.01em;
  margin-top: 12px;
}
.fs-all {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .92rem; color: var(--ink);
  padding-bottom: 6px; white-space: nowrap;
}
.fs-all .arr { transition: transform .3s var(--ease); }
.fs-all:hover .arr { transform: translateX(5px); }

.fs-row {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: clamp(14px, 1.5vw, 20px);
  align-items: stretch;
}
@media (max-width: 820px) { .fs-row { grid-template-columns: 1fr 1fr; } .fs-card.fs-feature { grid-column: 1 / -1; } .fs-mini { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .fs-row { grid-template-columns: 1fr; } .fs-mini { aspect-ratio: 16 / 9; } }

.fs-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 16px; text-decoration: none; color: var(--cream);
  background: #1b1a16; min-height: 0;
  box-shadow: 0 16px 40px -22px rgba(0,0,0,.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* the feature sets the row height (16:9); the minis stretch to match
   it so their bottoms align — a deliberate tiered look, not a fixed
   short ratio that leaves them stranded with empty space below. */
.fs-card.fs-feature { aspect-ratio: 16 / 9; }
.fs-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -26px rgba(0,0,0,.6); }

.fs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fs-card:hover .fs-bg { transform: scale(1.05); }
.fs-ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 18% 12%, var(--c1, #2747e0) 0%, transparent 60%),
    radial-gradient(120% 120% at 88% 90%, var(--c2, #1c140c) 0%, transparent 58%),
    linear-gradient(135deg, #15131f, #0f0e0a);
}
.fs-ph::after {
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: screen;
  background-image: radial-gradient(circle at center, #fff 1px, transparent 1.4px);
  background-size: 8px 8px;
}
.fs-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,8,.92) 0%, rgba(10,10,8,.5) 30%, rgba(10,10,8,.05) 56%, transparent 100%);
}
.fs-pill {
  position: absolute; top: 12px; left: 12px; z-index: 2; white-space: nowrap;
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .58rem; color: #14130f;
  background: rgba(255,255,255,.92); border-radius: 100px; padding: 5px 10px;
}
.fs-feature .fs-meta { bottom: 16px; }
.fs-meta { position: absolute; left: 16px; right: 16px; bottom: 15px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.fs-client {
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .62rem; color: var(--olive-2, #cdd89a);
}
.fs-line {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .94; letter-spacing: -.005em; color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem); text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.fs-feature .fs-line { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.fs-stat {
  margin-top: 3px; font-weight: 700; font-size: clamp(.66rem, 1.1vw, .8rem);
  color: var(--olive-2, #cdd89a);
}

/* verbatim designed mini (e.g. ACA): show the full card art, no overlay,
   with a hover "View case study" affordance */
.fs-card.fs-verbatim { background: #0f0e0a; }
.fs-card.fs-verbatim .fs-bg { object-fit: cover; object-position: center; }
.fs-cta-float {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(8px);
  z-index: 3; display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 15px; border-radius: 100px;
  font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  color: #14130f; background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.fs-card.fs-verbatim:hover .fs-cta-float { opacity: 1; transform: translateX(-50%) translateY(0); }
.fs-cta-float .arr { transition: transform .35s var(--ease); }
.fs-card.fs-verbatim:hover .fs-cta-float .arr { transform: translateX(5px); }
@media (max-width: 820px) { .fs-cta-float { opacity: 1; transform: translateX(-50%); } }

/* ===========================================================
   SELECTED WORK — case-study cards (cs-*)
   Verbatim stylization from the uploaded card: full-bleed photo,
   rising scrim, olive eyebrow, olive stat pill, proof row, big
   Archivo-900 headline, tags, CTA. Elakai is the full feature;
   the rest follow the same language.
   =========================================================== */
:root { --olive: #7e8b4e; --olive-2: #cdd89a; }

.cs-grid { align-items: stretch; }
.cs-card {
  position: relative; display: block; text-decoration: none; color: var(--cream);
  border-radius: 20px; overflow: hidden; background: #222;
  border: 0; box-shadow: 0 22px 60px rgba(0,0,0,.5);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s var(--ease);
}
.cs-card.cs-feature { grid-column: span 4; aspect-ratio: 1.4 / 1; }
.cs-card.cs-sm      { grid-column: span 2; aspect-ratio: .8 / 1; }
.cs-card.cs-half    { grid-column: span 3; aspect-ratio: 1.74 / 1; }
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0,0,0,.62); }

.cs-card .cs-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.cs-card image-slot.cs-bg { display: block; }
/* empty cards (no photo dropped yet) get a branded gradient so they read
   as intentional "coming soon" tiles instead of blank boxes — esp. on mobile */
.cs-card image-slot.cs-bg {
  background:
    radial-gradient(125% 125% at 18% 12%, var(--ph1, #2747e0) 0%, transparent 58%),
    radial-gradient(125% 125% at 88% 90%, var(--ph2, #1f8a5b) 0%, transparent 56%),
    linear-gradient(140deg, #1b1a16, #0f0e0a);
}
.cs-card:nth-of-type(3) image-slot.cs-bg { --ph1: #ea5a28; --ph2: #a8206a; }
.cs-card:nth-of-type(4) image-slot.cs-bg { --ph1: #2747e0; --ph2: #1f8a5b; }
.cs-card:hover .cs-bg { transform: scale(1.045); }

.cs-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(10,10,8,.93) 0%, rgba(10,10,8,.62) 26%,
    rgba(10,10,8,.12) 50%, rgba(10,10,8,.3) 100%);
}
.cs-eyebrow {
  position: absolute; top: 5.4%; left: 5.4%; z-index: 2;
  font-size: clamp(.6rem,1.1vw,.72rem); letter-spacing: .26em;
  color: var(--olive-2); font-weight: 700; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.cs-stat {
  position: absolute; top: 4.4%; right: 4.6%; z-index: 2;
  background: rgba(126,139,78,.95); color: var(--cream); font-weight: 800;
  font-size: clamp(.62rem,1.15vw,.78rem); letter-spacing: .04em;
  padding: .6em 1em; border-radius: 999px;
  border: 1px solid rgba(244,241,232,.4); box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.cs-body { position: absolute; left: 5.4%; right: 5.4%; bottom: 5.6%; z-index: 2; }
.cs-proof {
  font-size: clamp(.66rem,1.2vw,.82rem); letter-spacing: .02em;
  color: var(--olive-2); font-weight: 700; margin-bottom: .7em;
  display: flex; gap: 1.4em; flex-wrap: wrap;
}
.cs-h {
  font-family: "Archivo", sans-serif; font-weight: 900;
  text-transform: uppercase; letter-spacing: .005em; line-height: .92;
  font-size: clamp(1.7rem,5.2vw,3rem); color: var(--cream);
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
/* secondary cards: scale the headline down to fit the smaller frame */
.cs-sm .cs-h, .cs-half .cs-h { font-size: clamp(1.3rem,2.2vw,1.9rem); }
.cs-tags {
  margin-top: .7em; font-size: clamp(.6rem,1.05vw,.72rem); letter-spacing: .2em;
  color: rgba(244,241,232,.74); font-weight: 600; text-transform: uppercase;
}
.cs-cta {
  margin-top: .85em; display: inline-flex; align-items: center; gap: .5em;
  font-size: clamp(.72rem,1.25vw,.86rem); font-weight: 700; letter-spacing: .03em;
  color: var(--cream);
}
.cs-cta .ar { transition: transform .4s var(--ease); }
.cs-card:hover .cs-cta .ar { transform: translateX(6px); }

@media (max-width: 760px) {
  .cs-card.cs-feature, .cs-card.cs-sm, .cs-card.cs-half {
    grid-column: 1 / -1; aspect-ratio: 1.2 / 1;
  }
  .cs-card.cs-feature { aspect-ratio: 1 / 1; }       /* feature gets more room for its proof + CTA */
  /* full-width mobile tiles read better with the larger headline */
  .cs-sm .cs-h, .cs-half .cs-h { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .cs-grid { gap: 14px; }
}
.work-card.poster.as-study { text-decoration: none; color: #fff; cursor: pointer; }
.work-card.poster > .poster-img {
  grid-area: 1 / 1; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: cover; min-height: 240px;
  transition: transform .7s var(--ease);
}
.work-card.poster.big > .poster-img { min-height: 340px; }
.work-card.poster.as-study:hover > .poster-img { transform: scale(1.04); }

/* "Case study · 01" badge, top-left */
.study-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 100px;
  font-family: var(--body); font-weight: 700; font-size: .72rem;
  letter-spacing: .02em; color: #14130f;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px) saturate(1.1);
  box-shadow: 0 8px 22px -12px rgba(0,0,0,.6);
}
.study-badge .sb-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .study-badge .sb-dot { animation: dotPulseAccent 3.2s var(--ease) infinite; }
}

/* "View case study →" in the meta strip */
.work-card.poster .meta .study-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 800; color: #fff;
}
.work-card.poster .meta .study-cta .arr { transition: transform .3s var(--ease); }
.work-card.poster.as-study:hover .meta .study-cta .arr { transform: translateX(5px); }
.work-card.poster.as-study:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }

/* ===========================================================
   SERVICE "PROOF" LINKS — connect a service to the Elakai
   case study panel that proves it (additive, below the copy)
   =========================================================== */
.svc-proof {
  display: inline-flex; align-items: center; gap: .55em; width: 100%;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700; font-size: .82rem; color: var(--ink);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.svc-proof .sp-tag {
  font-family: var(--body); font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: .58rem; color: var(--accent-ink);
  background: var(--accent); border-radius: 100px; padding: 3px 8px;
}
.svc-proof .arr { margin-left: auto; transition: transform .3s var(--ease); }
.svc-proof:hover .arr { transform: translateX(4px); }
.svc-proof + .svc-cta { margin-top: 12px; }
/* legible when the card flips to dark on hover */
.svc:hover .svc-proof { color: var(--cream); border-top-color: color-mix(in srgb, var(--cream) 22%, transparent); }

/* ===========================================================
   SERVICES — mobile horizontal swipe carousel
   On phones the 6 silos become a single-row, snap-scrolling
   rail (native iOS momentum) showing ~2 cards with a peek of
   the next, plus progress dots + a one-time swipe hint.
   Desktop (>640px) keeps the original 3×2 grid untouched.
   =========================================================== */
.services-wrap { position: relative; }
.svc-rail { display: none; }

@media (max-width: 640px) {
  .services-grid {
    display: flex;
    grid-template-columns: none;       /* unset the grid */
    gap: 12px;
    background: transparent;           /* drop the hairline-grid bg */
    border: 0; border-radius: 0; overflow: visible;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* iOS momentum */
    scroll-padding: 0 20px;
    padding: 2px 20px 14px;            /* breathing room + edge inset */
    margin: 0 -20px;                   /* bleed to screen edges */
    scrollbar-width: none;             /* hide native bar; dots are the cue */
  }
  .services-grid::-webkit-scrollbar { display: none; }

  .services-grid .svc {
    flex: 0 0 clamp(184px, 47%, 252px); /* ~2 visible + peek of the 3rd */
    scroll-snap-align: start;
    min-height: 0;
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 26px -18px rgba(0,0,0,.4);
  }
  /* keep the gradient top-bar tucked inside the rounded corners */
  .services-grid .svc::before { border-radius: 16px 16px 0 0; }

  /* compact the content so the tiles stay short */
  .services-grid .svc h3 { font-size: 1.16rem; margin-top: 10px; }
  .services-grid .svc p {
    font-size: .86rem; margin-top: 10px;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .services-grid .svc .svc-proof { margin-top: 14px; padding-top: 12px; font-size: .76rem; }
  .services-grid .svc .svc-cta { margin-top: 14px; font-size: .84rem; }

  /* progress dots */
  .svc-rail {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 6px;
  }
  .svc-rail .d {
    width: 7px; height: 7px; border-radius: 50%;
    background: color-mix(in srgb, var(--ink) 24%, transparent);
    transition: width .3s var(--ease), background-color .3s var(--ease);
  }
  .svc-rail .d.on {
    width: 22px; border-radius: 100px; background: var(--accent);
  }

  /* one-time "swipe" hint, fades out after first scroll */
  .services-wrap .svc-hint {
    position: absolute; top: -34px; right: 20px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--body); font-weight: 700; font-size: .72rem;
    letter-spacing: .04em; color: var(--ink-soft);
    pointer-events: none; transition: opacity .4s var(--ease);
  }
  .services-wrap.scrolled .svc-hint { opacity: 0; }
  .svc-hint .swoosh { animation: svcSwipe 1.6s var(--ease) infinite; }
  @keyframes svcSwipe {
    0%, 100% { transform: translateX(0); opacity: .5; }
    50%      { transform: translateX(5px); opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) { .svc-hint .swoosh { animation: none; } }
}

.hero-lead {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin-top: clamp(18px, 2.4vw, 34px);
}
.hero-lead .lede { margin: 0; max-width: 48ch; }
.hero-aside {
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start; padding-bottom: 4px;
}
.hero-aside .hero-actions { margin: 0; }
.hero-aside .flavor-line { margin: 0; }
@media (max-width: 860px) {
  .hero-lead { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .hero h1 { max-width: none; }
}

.hero-visual { margin-top: clamp(30px, 4vw, 54px); }

/* ===========================================================
   TIE-DYE SWEATSHIRT SWATCH (reusable .sweat)
   keeps the rainbow palette; AW mark debossed tone-on-tone,
   placed offset in the lower-left like a garment logo
   =========================================================== */
.sweat {
  border-color: rgba(0,0,0,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 10px 34px rgba(0,0,0,.16);
}
/* static dyed fabric (no drift), softened like garment dye + heather */
.sweat .grain-field { animation: none; filter: saturate(.88) brightness(.96) contrast(.97); }
.sweat .grain-field::after { opacity: .58; }

/* fine knit rib + weft = sweatshirt face texture (static) */
.sweat .fabric {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: soft-light; opacity: .72;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 .6px, rgba(0,0,0,.16) .6px 1.5px, transparent 1.5px 2.4px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 1px, transparent 1px 3px);
  background-size: 2.4px 100%, 100% 3px;
}
/* fabric edge depth / soft fleece vignette */
.sweat::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 2px 12px rgba(255,255,255,.12), inset 0 -14px 36px rgba(0,0,0,.20);
}

/* debossed (pressed-in) tone-on-tone AW logomark — lower-left */
.sweat-emblem {
  position: absolute; z-index: 2;
  left: clamp(20px, 6%, 44px); bottom: clamp(20px, 6%, 44px);
  width: clamp(120px, 30%, 220px); height: auto; pointer-events: none;
  filter:
    drop-shadow(0 -1px .6px rgba(0,0,0,.34))
    drop-shadow(0 1.5px .8px rgba(255,255,255,.5));
}
.sweat-emblem polygon { fill: rgba(20,19,15,.18); }

/* ===========================================================
   GLOBAL SECTION RHYTHM — tighten the tall padding so the
   opening scrolls (and the rest) pace better
   =========================================================== */
.section-pad { padding-block: clamp(52px, 7vw, 104px); }
.sec-head { margin-bottom: clamp(34px, 4vw, 60px); }

/* testimonials: tighter & less overstated vertically */
[data-screen-label="Perspectives"].section-pad { padding-block: clamp(46px, 5.5vw, 86px); }
[data-screen-label="Perspectives"] .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.quotes { gap: clamp(14px, 1.5vw, 20px); }
.quote { padding: clamp(20px, 2vw, 28px); }
.quote .mark { font-size: 2.1rem; }
.quote p { font-size: .96rem; line-height: 1.5; margin: 12px 0 16px; }
.quote .by { font-size: .84rem; }

/* ===========================================================
   CONSOLIDATED "WHY → HOW" SECTION
   compact differentiators + the process, one narrative
   =========================================================== */
.why-points {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(30px, 3.6vw, 54px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.why-point .k {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.02rem; line-height: 1.05; margin-bottom: 9px;
}
.why-point p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 820px) { .why-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-points { grid-template-columns: 1fr; } }

.approach-head {
  margin-top: clamp(52px, 7vw, 104px);
  margin-bottom: clamp(28px, 3.4vw, 48px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 44px; align-items: end;
}
.approach-head .eyebrow { grid-column: 1 / -1; }
.approach-head h3 { margin: 8px 0 0; }
.approach-head .lede { margin: 0; }
@media (max-width: 760px) { .approach-head { grid-template-columns: 1fr; align-items: start; } }

/* ===========================================================
   FLAVOR SKINS — full palette re-skin (colors only)
   Beyond a two-tone swap: each skin recolors the feature
   bands (--surface), the primary button (--btn-*) and the
   accent independently — a complete palette shift.
   Default (no attribute) = Light.
   =========================================================== */
:root {
  --surface: var(--ink);        /* dark feature-band background */
  --surface-ink: var(--cream);  /* text on feature bands */
  --btn-bg: var(--ink);         /* primary button */
  --btn-fg: var(--cream);
}

/* feature bands read from --surface, so a skin can make them
   teal / black / etc. independent of the body text colour */
.dark, .film, .footer { background: var(--surface); color: var(--surface-ink); }
.marquee:not(.cream) {
  background: var(--surface); color: var(--surface-ink); border-color: var(--surface);
}
.dark .eyebrow, .film .eyebrow { color: color-mix(in srgb, var(--surface-ink) 62%, transparent); }
.dark .lede, .film .lede { color: color-mix(in srgb, var(--surface-ink) 80%, transparent); }
.footer-top h4 { color: color-mix(in srgb, var(--surface-ink) 60%, transparent); }
.film-play .circle { background: var(--surface-ink); color: var(--surface); }
.btn-light { background: var(--surface-ink); color: var(--surface); border-color: var(--surface-ink); }
.btn-outline-light { color: var(--surface-ink); border-color: color-mix(in srgb, var(--surface-ink) 50%, transparent); }
.btn-outline-light:hover { background: var(--surface-ink); color: var(--surface); }

/* ---- DARK : clean inverse of Light ---- */
:root[data-skin="dark"] {
  --ink: #f2efe6; --ink-soft: #b7b2a3;
  --cream: #17160f; --cream-2: #201e16; --cream-3: #2a271c;
  --paper: #1c1a13; --line: #312e22; --line-strong: #45412f;
  --quote-bg: #201e16; --quote-ink: #f2efe6;
  --surface: #0e0d08; --surface-ink: #f4f1e8;
  --btn-bg: #f2efe6; --btn-fg: #14130f;
  --accent: #45ce68; --accent-ink: #0d2417;
}
:root[data-skin="dark"] .nav-logo { filter: brightness(0) invert(0.93); }

/* ---- SIGNATURE : Sig4 soft-black + grellow + white ---- */
:root[data-skin="signature"] {
  --ink: #1f1c18; --ink-soft: #565049;
  --cream: #ffffff; --cream-2: #f2f2f3; --cream-3: #e9e9ea;
  --paper: #ffffff; --line: #e2e2e3; --line-strong: #c9c9cb;
  --quote-bg: #ffffff; --quote-ink: #1f1c18;
  --surface: #1f1c18; --surface-ink: #ffffff;
  --btn-bg: #efdf00; --btn-fg: #1f1c18;
  --accent: #efdf00; --accent-ink: #1f1c18;
}

/* ---- TEAL · GOLD : teal bands, gold pop, black on white ---- */
:root[data-skin="jaguar"] {
  --ink: #101820; --ink-soft: #46535d;
  --cream: #ffffff; --cream-2: #eef3f3; --cream-3: #dfe9e9;
  --paper: #ffffff; --line: #d3e0e0; --line-strong: #b6cccc;
  --quote-bg: #ffffff; --quote-ink: #101820;
  --surface: #00677a; --surface-ink: #ffffff;
  --btn-bg: #00677a; --btn-fg: #ffffff;
  --accent: #d7a22a; --accent-ink: #20160a;
}

/* re-skin is instant (like swapping a wardrobe); only soft surfaces
   that don't carry text ease, to avoid mid-paint flashes */
.hero-visual, .work-card, .fp-chip {
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

/* ===========================================================
   "FULL OF FLAVOR" — skin switcher popover
   =========================================================== */
.flavor-line { align-items: center; position: relative; z-index: 40; }
.flavor-switch { position: relative; display: inline-flex; z-index: 40; }
.flavor-trigger {
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: .7rem; letter-spacing: .06em;
  color: var(--accent-ink); background: var(--accent);
  border-radius: 100px; padding: 6px 13px 6px 11px;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 60%, #000);
}
.flavor-trigger:hover { transform: translateY(-1px); filter: brightness(1.04); }
.flavor-trigger:active { transform: translateY(1px); box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 60%, #000); }
.flavor-trigger .fp-spark {
  width: 13px; height: 13px; display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("apart-works-logomark.svg") no-repeat center / contain;
          mask: url("apart-works-logomark.svg") no-repeat center / contain;
}
.flavor-trigger .caret { font-size: .8em; opacity: .8; transition: transform .25s var(--ease); }
.flavor-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.flavor-pop {
  position: absolute; left: 0; top: calc(100% + 12px); z-index: 200;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 14px; width: max-content; max-width: 92vw;
  box-shadow: 0 22px 60px -22px rgba(0,0,0,.45), 0 2px 0 rgba(0,0,0,.04);
  transform-origin: top left;
  animation: flavorPop .26s var(--ease) both;
}
.flavor-pop[hidden] { display: none; }
@keyframes flavorPop {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.flavor-pop .fp-head {
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .62rem; color: var(--ink-soft);
  margin: 2px 2px 12px;
}
.fp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }

.fp-swatch {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 74px;
}
.fp-chip {
  width: 100%; aspect-ratio: 1; border-radius: 13px; position: relative;
  overflow: hidden; border: 1px solid rgba(0,0,0,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
/* preview: the swatch-square palette (2- or 3-colour). The selected
   swatch shows a rainbow dot selector (same on all four flavors). */
.fp-chip::before {
  content: ""; position: absolute; inset: 0;
  background: var(--c-bg);
}
.fp-chip::after {
  content: ""; position: absolute; right: 9px; bottom: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: conic-gradient(from 140deg, #ff5f3a, #ffd23a, #45ce68, #2aa8e0, #8a6cf0, #ff5f3a);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.12);
  opacity: 0; transform: scale(.4);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.fp-swatch[aria-checked="true"] .fp-chip::after { opacity: 1; transform: scale(1); }
.fp-swatch:hover .fp-chip { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }
.fp-swatch .fp-name {
  font-family: var(--body); font-weight: 600; font-size: .76rem; color: var(--ink);
}
.fp-swatch[aria-checked="true"] .fp-chip {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink);
}
.fp-swatch[aria-checked="true"] .fp-name { font-weight: 800; }

/* ===========================================================
   FOOTER MARKS — deliberate embossed tone-on-tone
   (inline SVG, debossed into the ink panel so black-on-black
   reads intentional, in every skin)
   =========================================================== */
.footer-mark { display: block; }
.footer-mark path, .footer-mark polygon {
  /* near-monochrome black-on-black: fill sits very close to the band
     itself; legibility comes from the embossed bevel below, not a
     lighter grey fill */
  fill: color-mix(in srgb, var(--surface) 90%, var(--surface-ink));
}
.footer-mark {
  /* deeper letterpress emboss: dark top edge + light bottom edge so the
     mark reads as pressed-in even when fill ≈ band colour */
  filter:
    drop-shadow(0 -1px .5px rgba(0,0,0,.65))
    drop-shadow(0 1.6px .7px color-mix(in srgb, var(--surface-ink) 34%, transparent));
}
.f-mono { width: 80px; height: auto; margin-bottom: 20px; }
.f-lockup { width: min(640px, 92%); height: auto; margin-inline: auto; }
