/* =========================================================================
   FIT FRIEND 與球聯萌 — brand site
   -------------------------------------------------------------------------
   PALETTE PROVENANCE (PRD §5.2 — no colour here is invented):

     --court   #3F826F  the green field of the official brand posts
                        (0806 blind-box announcement, 0806 comment post)
     --gold    #EBD35E  the banner/highlight yellow of those same posts
     --ink     #241E1B  the FIT FRIEND wordmark black
     --smash   #C9381C  the 殺! sticker red
     --c-*              the six blind-box headdress colourways, sampled
                        from the product photography in Individual/

   Contrast pairs are checked to WCAG 2.1 AA (PRD §6.7). Gold and the lighter
   colourways carry ink text only — never white.
   ========================================================================= */

:root {
  /* --- Brand core --- */
  --court:       #3F826F;
  --court-deep:  #2C5D4E;
  --court-mid:   #62A08D;
  --court-soft:  #E6F0EC;
  --court-wash:  #F3F8F6;

  --gold:        #EBD35E;
  --gold-deep:   #B8952A;
  --gold-soft:   #F7EBAE;
  --gold-wash:   #FBF6E3;

  --ink:         #241E1B;   /* 15.6:1 on cream */
  --ink-soft:    #514843;   /*  8.4:1 on cream */
  --ink-faint:   #6F665F;   /*  5.7:1 on cream */

  --smash:       #C9381C;   /*  5.1:1 with white */
  --smash-deep:  #A32B12;

  /* --- The six blind-box colourways --- */
  --c-pink:      #DE3F72;
  --c-blue:      #1F5CA8;
  --c-purple:    #453B8C;
  --c-orange:    #D2653A;
  --c-black:     #37454F;
  --c-red:       #DC3F45;

  /* --- Neutrals --- */
  --cream:       #FDFCF9;
  --paper:       #F5F2EB;
  --paper-deep:  #EAE5DA;
  --line:        #E4DFD4;
  --line-soft:   #F0ECE3;

  /* --- System --- */
  --radius-sm:   14px;
  --radius:      22px;
  --radius-lg:   34px;

  --shadow-xs:   0 1px 2px rgba(36, 30, 27, .05);
  --shadow-sm:   0 2px 4px rgba(36, 30, 27, .05), 0 6px 16px rgba(36, 30, 27, .05);
  --shadow-md:   0 3px 6px rgba(36, 30, 27, .05), 0 14px 34px rgba(36, 30, 27, .09);
  --shadow-lg:   0 6px 12px rgba(36, 30, 27, .06), 0 26px 60px rgba(36, 30, 27, .12);

  --ease:        cubic-bezier(.22, .61, .36, 1);

  --maxw:        1180px;
  --gutter:      clamp(1.25rem, 5vw, 2.75rem);

  --font-head: "Noto Sans TC", "PingFang TC", "Hiragino Sans CNS",
               "Microsoft JhengHei", system-ui, sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Hiragino Sans CNS",
               "Microsoft JhengHei", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.8;
  color: var(--ink-soft);
  background: var(--cream);
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1rem + .6vw, 1.35rem); }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
a  { color: var(--court-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--smash); }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
strong, b { color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--court);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 740px; }
section { padding-block: clamp(3.25rem, 7vw, 6rem); }
section.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-head { max-width: 620px; margin-bottom: clamp(1.85rem, 4vw, 2.85rem); }
.section-head.is-centred { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--court-deep);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: var(--gold-deep); flex: none;
}
.is-centred .eyebrow { justify-content: center; }
.band--ink .eyebrow, .band--court .eyebrow { color: var(--gold); }
.band--ink .eyebrow::before, .band--court .eyebrow::before { background: var(--gold); }

.lede { font-size: clamp(1.04rem, 1rem + .32vw, 1.2rem); color: var(--ink-soft); }

.skip-link {
  position: absolute; left: 50%; translate: -50% -120%;
  z-index: 200; background: var(--ink); color: var(--cream);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: translate .18s var(--ease);
}
.skip-link:focus { translate: -50% 0; color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .97rem;
  line-height: 1.2; text-align: center; text-decoration: none;
  padding: .9rem 1.55rem;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn--primary { --btn-bg: var(--court-deep); --btn-fg: #fff;   --btn-bd: var(--court-deep); }
.btn--primary:hover { --btn-bg: #234C40; --btn-bd: #234C40; }
.btn--smash   { --btn-bg: var(--smash);  --btn-fg: #fff;       --btn-bd: var(--smash); }
.btn--smash:hover { --btn-bg: var(--smash-deep); --btn-bd: var(--smash-deep); }
.btn--gold    { --btn-bg: var(--gold);   --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }
.btn--ghost   { --btn-bg: transparent;   --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--paper); --btn-bd: var(--paper-deep); box-shadow: var(--shadow-xs); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); box-shadow: none; }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.7); box-shadow: none; }
.btn--lg      { font-size: 1.03rem; padding: 1.05rem 1.95rem; }
.btn--block   { display: flex; width: 100%; }
.btn[aria-disabled="true"] { pointer-events: none; opacity: .5; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.is-centred .btn-row, .text-centre .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 249, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
/* The brand slot carries the FIT FRIEND lockup itself — the "FIT FRIEND" half
   of it, so it stays legible at header size. The company mark (Jagged
   Ornaments) is a different asset and belongs in the footer, not here. */
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 34px; }
@media (max-width: 420px) { .brand img { height: 29px; } }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: var(--ink-soft); text-decoration: none;
  padding: .5rem .78rem; border-radius: 10px;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .18rem;
  height: 2px; border-radius: 2px; background: var(--gold-deep);
}
.nav .tag {
  font-size: .62rem; font-weight: 800; margin-left: .3rem; letter-spacing: .04em;
  background: var(--court-deep); color: #fff;
  padding: .12rem .38rem; border-radius: 5px; vertical-align: 2px;
}

.social-links { display: flex; gap: .35rem; margin-left: .6rem; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft);
  background: transparent; text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), transform .16s var(--ease);
}
.icon-btn:hover { background: var(--court-deep); color: #fff; border-color: var(--court-deep); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px;
    background: transparent; border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 21px; height: 21px; }
  .site-header__inner > .nav,
  .site-header__inner > .social-links { display: none; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav {
    border-top: 1px solid var(--line);
    background: var(--cream);
    padding: .85rem var(--gutter) 1.4rem;
  }
  .mobile-nav .nav { flex-direction: column; align-items: stretch; gap: .1rem; }
  .mobile-nav .nav a { padding: .8rem .9rem; font-size: 1.02rem; border-radius: 12px; }
  .mobile-nav .nav a[aria-current="page"] { background: var(--court-soft); }
  .mobile-nav .nav a[aria-current="page"]::after { display: none; }
  .mobile-nav .social-links { margin: .9rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(70% 90% at 88% 10%, var(--court-soft) 0%, transparent 60%),
    radial-gradient(60% 80% at 6% 92%, var(--gold-wash) 0%, transparent 62%),
    var(--cream);
}
.hero__grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { margin-bottom: .3em; }
.hero h1 .accent { color: var(--court); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.24rem); max-width: 36ch; margin-bottom: 1.75rem; }
.hero__art { position: relative; justify-self: center; width: min(100%, 470px); }
.hero__art img { width: 100%; filter: drop-shadow(0 22px 38px rgba(36, 30, 27, .17)); }
.hero__art::after {
  content: ""; position: absolute; z-index: -1; inset: 14% -4% -2% -4%;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 78%);
  border-radius: 50%;
}
.hero__meta {
  margin-top: 1.6rem; font-size: .87rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem;
}
.hero__meta strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- Bands ---------- */
.band { background: var(--paper); }
.band--gold  { background: var(--gold-wash); }
.band--paper { background: var(--paper); }
.band--court { background: var(--court-deep); color: rgba(255,255,255,.92); }
.band--court h2, .band--court h3, .band--court strong { color: #fff; }
.band--court a { color: #fff; }
.band--ink   { background: var(--ink); color: #C6BEB7; }
.band--ink h2, .band--ink h3, .band--ink strong { color: var(--cream); }
.band--ink a { color: var(--gold); }
.band--court .lede, .band--ink .lede { color: inherit; }

.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } .split--art-first > :first-child { order: -1; } }
.split__art { justify-self: center; width: min(100%, 380px); }
.split__art img { width: 100%; filter: drop-shadow(0 16px 28px rgba(36, 30, 27, .14)); }
.split__art--photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); filter: none; }

/* ---------- Cards & grids ---------- */
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.card--flat { box-shadow: none; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }

/* ---------- Status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: .42rem;
  font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .34rem .78rem; border-radius: 999px;
  background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.status--live     { background: var(--court-soft); color: var(--court-deep); border-color: #C5DED5; }
.status--preorder { background: var(--gold-wash);  color: #7C6210;          border-color: #EADFA8; }
.status--soon     { background: var(--paper);      color: var(--ink-faint); border-color: var(--line); }

/* ---------- Product blocks ---------- */
.product {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.product + .product { border-top: 1px solid var(--line); }
@media (min-width: 880px) {
  .product { grid-template-columns: 1.05fr .95fr; }
  .product--flip .product__media { order: 2; }
}
.product__media { position: relative; }
.product__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.product__media--art {
  display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(160deg, var(--gold-wash), var(--court-soft));
  border-radius: var(--radius);
}
.product__media--art img { box-shadow: none; border-radius: 0; width: min(100%, 300px); filter: drop-shadow(0 16px 26px rgba(36,30,27,.16)); }
.product__body > .status { margin-bottom: 1rem; }
.product__body h2 { margin-bottom: .45em; }
.product__body .lede { margin-bottom: 1.35rem; }
.product__specs {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  display: grid; gap: .05rem;
}
.product__specs li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  padding: .7rem 0; margin: 0; border-top: 1px solid var(--line-soft);
  font-size: .93rem;
}
.product__specs li:last-child { border-bottom: 1px solid var(--line-soft); }
.product__specs dt, .product__specs .k {
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.product__specs .v { color: var(--ink-soft); }
@media (max-width: 480px) {
  .product__specs li { grid-template-columns: 1fr; gap: .15rem; }
}

/* Colourway swatches */
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.swatch {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  padding: .42rem .85rem .42rem .5rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--cream); font-size: .87rem; color: var(--ink-soft);
}
.swatch::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--sw, var(--ink));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.swatch--pink   { --sw: var(--c-pink); }
.swatch--blue   { --sw: var(--c-blue); }
.swatch--purple { --sw: var(--c-purple); }
.swatch--orange { --sw: var(--c-orange); }
.swatch--black  { --sw: var(--c-black); }
.swatch--red    { --sw: var(--c-red); }

/* Colourway cards (character page) */
.figures { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.figure-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.figure-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.figure-card__img { aspect-ratio: 1; overflow: hidden; background: var(--court-soft); }
.figure-card__img img { width: 100%; height: 100%; object-fit: cover; }
.figure-card__body { padding: 1rem 1.15rem 1.25rem; border-top: 3px solid var(--fc, var(--court)); }
.figure-card__body h3 { margin-bottom: .2rem; font-size: 1.08rem; }
.figure-card__body p { margin: 0; font-size: .86rem; color: var(--ink-faint); }
.figure-card--pink   { --fc: var(--c-pink); }
.figure-card--blue   { --fc: var(--c-blue); }
.figure-card--purple { --fc: var(--c-purple); }
.figure-card--orange { --fc: var(--c-orange); }
.figure-card--black  { --fc: var(--c-black); }
.figure-card--red    { --fc: var(--c-red); }

/* Strap length variants */
.variants { display: grid; gap: clamp(1rem, 2.4vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.variant {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.4rem 1.5rem;
}
.variant h3 { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .5rem; font-size: 1.1rem; }
.variant h3 span { font-size: .78rem; font-weight: 600; color: var(--ink-faint); letter-spacing: .04em; }
.variant p:last-child { margin-bottom: 0; }
.variant__rule { display: block; height: 4px; border-radius: 2px; background: var(--court); margin-bottom: 1rem; }
.variant--long  .variant__rule { width: 100%; }
.variant--short .variant__rule { width: 46%; background: var(--gold-deep); }

/* ---------- Sticker tiles ---------- */
.sticker-grid { display: grid; gap: clamp(.7rem, 1.8vw, 1.15rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .sticker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .sticker-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px){ .sticker-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1040px){ .sticker-grid--teaser { grid-template-columns: repeat(6, 1fr); } }
.sticker {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .55rem .55rem .8rem;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.sticker:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--paper-deep); }
.sticker__img {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--court-wash); border-radius: 10px;
  margin-bottom: .5rem; padding: .3rem; overflow: hidden;
}
.sticker__img img { width: 100%; height: 100%; object-fit: contain; }
.sticker__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .92rem; display: block; line-height: 1.4; }
.sticker__note { font-size: .77rem; color: var(--ink-faint); line-height: 1.55; margin: .15rem 0 0; }
.sticker--plain { padding: 0; border: 0; box-shadow: none; background: none; }
.sticker--plain .sticker__img { background: var(--court-wash); border: 1px solid var(--line); }

/* ---------- Trait flip cards ---------- */
.traits { display: grid; gap: clamp(1rem, 2.4vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trait {
  position: relative; display: block; width: 100%; min-height: 250px;
  padding: 0; border: 0; background: none; font: inherit; color: inherit;
  cursor: pointer; perspective: 1200px; text-align: left;
}
.trait__inner {
  position: relative; display: block; width: 100%; height: 100%; min-height: 250px;
  transition: transform .6s var(--ease);
  transform-style: preserve-3d;
}
.trait:hover .trait__inner,
.trait[aria-expanded="true"] .trait__inner { transform: rotateY(180deg); }
.trait__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.5rem 1.35rem; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  backface-visibility: hidden;
}
.trait__face--front { background: var(--cream); }
.trait__face--back  { background: var(--court-deep); border-color: var(--court-deep); transform: rotateY(180deg); }
.trait__face--back .trait__name { color: #fff; }
.trait__icon { font-size: 2.3rem; line-height: 1; }
.trait__name { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.trait__hint { font-size: .76rem; color: var(--ink-faint); }
.trait__face--back p { color: rgba(255,255,255,.94); font-weight: 400; margin: 0; font-size: .93rem; line-height: 1.75; }

/* ---------- Accordion (fun facts / FAQ) ---------- */
.facts { display: grid; gap: .6rem; }
.fact {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.fact[open] { border-color: var(--paper-deep); box-shadow: var(--shadow-xs); }
.fact > summary {
  display: flex; align-items: center; gap: .75rem;
  padding: .95rem 1.15rem; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  list-style: none;
}
.fact > summary::-webkit-details-marker { display: none; }
.fact > summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px; border-right: 2px solid var(--court);
  border-bottom: 2px solid var(--court); rotate: 45deg; translate: 0 -3px;
  transition: rotate .22s var(--ease), translate .22s var(--ease);
}
.fact[open] > summary::after { rotate: -135deg; translate: 0 2px; }
.fact > summary:hover { background: var(--court-wash); }
.fact__body { padding: 0 1.15rem 1.15rem; margin: 0; }
.fact__q { flex: 1; }

/* ---------- News ---------- */
.news { display: grid; gap: 0; }
.news__item {
  display: grid; gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.news__item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .news__item { grid-template-columns: 15rem 1fr; } }
.news__media img { border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); width: 100%; }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.news__date {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  color: var(--ink-faint); font-variant-numeric: tabular-nums; letter-spacing: .03em;
}
.news__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 6px;
  background: var(--court-soft); color: var(--court-deep);
}
.news__tag--product { background: var(--gold-wash); color: #7C6210; }
.news__tag--sticker { background: #E7EEF8; color: #2A5083; }
.news__body h2, .news__body h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); margin-bottom: .5rem; }
.news__body p:last-child { margin-bottom: 0; }

/* ---------- Media / press ---------- */
.press { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.press__item {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.65rem;
}
.press__item h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; margin-bottom: .5rem; }
.press__item h3 svg { width: 1.15em; height: 1.15em; color: var(--court); flex: none; }
.press__item p { font-size: .92rem; }
.press__item p:last-child { margin-bottom: 0; }
.contact-line {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline;
  padding: .85rem 0; border-top: 1px solid var(--line-soft); font-size: .93rem;
}
.contact-line:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-line dt, .contact-line .k { font-family: var(--font-head); font-weight: 600; color: var(--ink); min-width: 7rem; }

/* ---------- Update / IG tiles ---------- */
.updates { display: grid; gap: clamp(.85rem, 2vw, 1.25rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.update {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.update:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.update__img { aspect-ratio: 1; background: var(--court-wash); display: grid; place-items: center; padding: .9rem; }
.update__img img { width: 86%; height: 86%; object-fit: contain; }
.update__img--photo { padding: 0; }
.update__img--photo img { width: 100%; height: 100%; object-fit: cover; }
.update__body { padding: .85rem 1rem 1.05rem; border-top: 1px solid var(--line); }
.update__body strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; font-weight: 700; }
.update__body span { font-size: .8rem; color: var(--ink-faint); }

/* ---------- Category tiles ---------- */
.cats { display: grid; gap: clamp(1rem, 2.4vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.cat {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); padding: 1.6rem 1.35rem; text-align: center;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cat:hover { border-color: var(--paper-deep); box-shadow: var(--shadow-sm); }
.cat__icon { font-size: 2rem; line-height: 1; margin-bottom: .55rem; }
.cat h3 { margin-bottom: .3rem; font-size: 1.08rem; }
.cat p { margin: 0; font-size: .87rem; }

/* ---------- Forms ---------- */
.waitlist { max-width: 540px; }
.waitlist--inline { max-width: none; }
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  color: var(--ink); font-size: .9rem; margin-bottom: .4rem;
}
.field .req { color: var(--smash); }
.field input[type="email"], .field input[type="text"],
.field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem 1rem;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--paper-deep); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--court); box-shadow: 0 0 0 3px rgba(63, 130, 111, .15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field__hint { font-size: .8rem; color: var(--ink-faint); margin: .35rem 0 0; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23514843' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 1rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.7; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.25rem; }
.consent input { margin-top: .4rem; width: 19px; height: 19px; flex: none; accent-color: var(--court); }
.consent label { font-size: .87rem; line-height: 1.7; }
.form-error {
  display: none; align-items: center; gap: .5rem;
  color: var(--smash-deep); font-weight: 600; font-size: .87rem;
  background: #FCEEEA; border: 1px solid #F0C4B8;
  border-radius: var(--radius-sm); padding: .75rem .95rem; margin-bottom: 1rem;
}
.form-error.is-visible { display: flex; }
.form-error a { color: inherit; text-decoration: underline; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--smash); background-color: #FDF6F4;
}
.form-success { display: none; text-align: center; }
.form-success.is-visible { display: block; }
.form-success__mark { width: 118px; margin: 0 auto .75rem; }
.form-note { font-size: .8rem; color: var(--ink-faint); }
.form-note--demo {
  display: inline-block; margin-top: .75rem;
  background: var(--gold-wash); border: 1px solid #EADFA8;
  border-radius: 8px; padding: .4rem .7rem; color: var(--ink-soft);
}
.field__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.field__count { font-size: .8rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.qa-form { max-width: none; }
.qa-form.is-sending { opacity: .65; }
.qa-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Ask panel: FAQ + question form in one box ---------- */
.ask-panel {
  max-width: 660px; margin-inline: auto;
  background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ask-panel__faq { background: var(--court-wash); border-bottom: 1px solid var(--line); }
.ask-panel__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem .4rem;
}
.ask-panel__head h2 { font-size: 1.02rem; margin: 0; }
.ask-panel__head p { margin: 0; font-size: .79rem; color: var(--ink-faint); }
/* Rows flatten inside the panel — the panel supplies the frame. */
.ask-panel .facts { display: block; padding: 0 .6rem .6rem; }
.ask-panel .fact {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.ask-panel .facts .fact:last-child { border-bottom: 0; }
.ask-panel .fact > summary { padding: .8rem .9rem; font-size: .91rem; border-radius: 10px; }
.ask-panel .fact > summary:hover { background: rgba(63, 130, 111, .08); }
.ask-panel .fact__body { padding: 0 .9rem .9rem; font-size: .87rem; color: var(--ink-soft); }
.ask-panel__form { padding: 1.5rem; }
.ask-panel__form > .section-head { margin-bottom: 1.15rem; }
.ask-panel__form > .section-head h2 { font-size: 1.12rem; margin-bottom: .3rem; }
.ask-panel__form > .section-head p { margin: 0; font-size: .87rem; color: var(--ink-soft); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(253, 252, 249, .94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 780px) { .sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 5rem; }
@media (min-width: 780px) { body.has-sticky-cta { padding-bottom: 0; } }

/* ---------- Interior page header ---------- */
.page-head {
  background: linear-gradient(180deg, var(--court-wash), var(--cream));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; top: -40%; right: -6%; width: min(400px, 55vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 72%);
  opacity: .7;
}
.page-head .wrap { position: relative; }
.page-head h1 { margin-bottom: .35em; }
.page-head p { margin-bottom: 0; max-width: 58ch; }
.breadcrumb { font-size: .8rem; color: var(--ink-faint); margin-bottom: .8rem; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--court-deep); text-decoration: underline; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.15em; }
.callout {
  background: var(--court-wash); border: 1px solid #CFE2DA;
  border-left: 4px solid var(--court);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; margin: 1.75rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.entity { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; margin: 1.25rem 0 1.5rem; }
.entity img { width: 78px; height: auto; flex: none; }
.entity p { flex: 1 1 16rem; font-size: .95rem; }

.callout--gold { background: var(--gold-wash); border-color: #EADFA8; border-left-color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B8B0A9; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer h2, .site-footer h3 { color: var(--cream); font-size: .93rem; margin-bottom: 1.1rem; letter-spacing: .04em; }
.site-footer a { color: #B8B0A9; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__brand img { width: 148px; height: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: .86rem; max-width: 32ch; line-height: 1.75; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .6rem; font-size: .9rem; }
.footer__cta { display: grid; gap: .6rem; }
.site-footer .icon-btn { border-color: #4A423C; color: #D8D2CC; }
.site-footer .icon-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer__bottom {
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem;
  border-top: 1px solid #3A322D;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  font-size: .8rem; color: #A19992;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
/* Operating entity, with the Jagged Ornaments company mark beside it. */
.footer__entity { display: inline-flex; align-items: center; gap: .55rem; }
.footer__entity img { height: 24px; width: auto; opacity: .7; flex: none; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-centre { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* Shuttlecock cursor trail (PRD §5.5 — decorative) */
.trail-dot {
  position: fixed; z-index: 5; pointer-events: none;
  width: 14px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M2.6 1.4h8.8l-2 8.6h-4.8z' fill='%23FDFCF9' stroke='%23241E1B' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M7 1.4v8.6' stroke='%23241E1B' stroke-width='.9' opacity='.45'/%3E%3Ccircle cx='7' cy='13.4' r='3.2' fill='%23FDFCF9' stroke='%23241E1B' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: trail-fade .7s ease-out forwards;
}
@keyframes trail-fade {
  from { opacity: .65; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  to   { opacity: 0;   transform: translate(-50%, 26px) scale(.55) rotate(28deg); }
}

/* Entrance, gated behind .js so content stays visible if scripting fails. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .sticky-cta, .btn { display: none; }
  body { color: #000; background: #fff; }
}


/* === Brand architecture: Jagged Ornaments (site) / FIT FRIEND (product line) === */
.brand { gap: .55rem; }
.brand img { width: auto; height: 30px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.02; font-weight: 800; font-size: 1.06rem; letter-spacing: .005em; color: var(--ink); }
.brand__sub { font-size: .58rem; font-weight: 700; letter-spacing: .155em; text-transform: uppercase; color: var(--ink-faint); margin-top: .2em; }
@media (max-width: 480px) {
  .brand img { height: 26px; }
  .brand__name { font-size: .95rem; }
  .brand__sub { font-size: .5rem; letter-spacing: .11em; }
}

.line-mark { display: block; margin-bottom: .9rem; }
.line-mark img { width: auto; height: 44px; }
.line-mark--centred { text-align: center; }
.line-mark--centred img { margin-inline: auto; }
@media (max-width: 640px) { .line-mark img { height: 34px; } }
.page-head .line-mark { margin-top: .35rem; margin-bottom: 1.1rem; }
.page-head .line-mark img { height: 52px; }
@media (max-width: 640px) { .page-head .line-mark img { height: 38px; } }
