/* ---- Tokens. Dark-first: the brand's ground is Ink. ---- */
:root{
  --ground:#111110; --surface:#181816; --raise:#1E1E1B;
  --text:#E9E5DC; --muted:#A8A49A; --faint:#6E6B64;
  --rule:#2E2E2B; --rule-soft:#232321;
  --accent:#6B8F55; --field:#3A3934; --sel:#1E3B40;
  color-scheme:dark;

  /* Type. Inter and JetBrains Mono, both SIL Open Font License — servable as
     webfonts, identical for every visitor, and legal on a hangtag or a woven
     label. San Francisco is deliberately NOT served: Apple licenses it for
     Apple platforms only, so it cannot be self-hosted and cannot go on
     physical brand collateral. It sits in the fallback chain instead, so an
     Apple device that fails to load Inter lands on SF rather than Helvetica —
     which is also the closest match to Inter's own design lineage. */
  --brand:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,
          "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --label:"JetBrains Mono",ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --ground:#F2F0EA; --surface:#E9E5DC; --raise:#FFFFFF;
    --text:#111110; --muted:#55524B; --faint:#8E8B83;
    --rule:#D8D4CA; --rule-soft:#E2DED4;
    --accent:#4A6B3A; --field:#C9C5BA; --sel:#DCE4D4;
    color-scheme:light;
  }
}
:root[data-theme="light"]{
  --ground:#F2F0EA; --surface:#E9E5DC; --raise:#FFFFFF;
  --text:#111110; --muted:#55524B; --faint:#8E8B83;
  --rule:#D8D4CA; --rule-soft:#E2DED4;
  --accent:#4A6B3A; --field:#C9C5BA; --sel:#DCE4D4;
  color-scheme:light;
}

*{box-sizing:border-box}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--text);color:var(--ground);
  font-family:var(--label);font-size:11px;letter-spacing:.16em;
  text-transform:uppercase;padding:11px 16px;text-decoration:none}
.skip:focus{left:0}
.preview{background:var(--surface);border-bottom:1px solid var(--rule)}
.preview p{font-family:var(--label);font-size:10px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--faint);padding:10px 0;line-height:1.5}
.noresult{color:var(--faint);font-size:13.5px;grid-column:1/-1;padding:8px 0}
::selection{background:var(--sel);color:var(--text)}
body{
  margin:0;background:var(--ground);color:var(--text);
  font-family:var(--brand);
  font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;
  font-optical-sizing:auto;   /* Inter is served with its opsz axis (14–32) */
}
img{max-width:100%}

/* ---- Type roles ---- */
.mono{font-family:var(--label);font-variant-numeric:tabular-nums}
.eyebrow{font-family:var(--label);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--faint)}
/* ---- hero call to action (predrop) ---- */
.cover-cta{margin-top:26px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.cover-cta[hidden]{display:none}
.cover-cta .wl-count{margin:0}
.cover-cta .btn{text-decoration:none;padding:12px 20px}
.cover-cta-note{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
@media (max-width:620px){
  /* Still a 44px tap target at this padding, without spanning the screen. */
  .cover-cta .btn{padding:14px 22px}
}

/* ---- teaser stage: phone first, widened at 700px ---- */
.teaser{padding:40px 0 72px;max-width:640px}
.t-head{margin:0 0 18px;font-size:clamp(24px,5vw,38px);line-height:1.06;font-weight:600;
  letter-spacing:-.01em}
.t-yet{display:block;color:var(--faint);font-size:.42em;letter-spacing:-.01em;margin-top:14px}
.t-lede{font-size:clamp(14px,3.4vw,16px);line-height:1.5;max-width:40ch;color:var(--muted);margin:0 0 4px}
.t-slot .ublock{border:0;padding:0;background:none}
.t-slot #waitlist h3{margin-top:28px}
.t-split{display:grid;gap:26px;margin-top:40px;padding-top:26px;border-top:1px solid var(--rule)}
.t-col p{margin:8px 0 0;font-size:14px;line-height:1.55;color:var(--muted)}
.t-ways{margin-top:34px;padding-top:26px;border-top:1px solid var(--rule)}
.t-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.t-chip{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted)}
.t-chip i{width:26px;height:26px;border:1px solid var(--rule);display:block}
@media (min-width:700px){
  .teaser{padding:64px 0 96px}
  .t-split{grid-template-columns:1fr 1fr;gap:40px}
}
/* Phones: give the inputs a real tap target and stop iOS zooming on focus
   (any font-size under 16px makes Safari zoom the whole page on tap). */
@media (max-width:620px){
  .teaser .inrow{flex-wrap:wrap}
  .teaser .tin{font-size:16px;padding:14px 12px;flex:1 1 100%}
  .teaser .btn{font-size:13px;padding:14px 20px;flex:1 1 100%}
  .wl-no{font-size:28px}
}

/* ---- waitlist ---- */
.wl-count{margin:14px 0 12px;font-size:14px;color:var(--muted);letter-spacing:.01em}
.wl-count b{color:var(--text);font-weight:650}
.wl-count[data-over]{color:var(--text)}
.wl-gift{margin:14px 0 0;font-size:12px;line-height:1.55;color:var(--muted);
  border-left:2px solid var(--rule);padding-left:12px}
.wl-gift b{color:var(--text)}
/* The consent line under the form: small, but readable on Harbour. */
.wl-legal{margin:0;font-size:11.5px;line-height:1.5;color:var(--muted)}
.wl-legal a{color:var(--text);text-decoration:none;border-bottom:1px solid var(--rule)}
.wl-legal a:hover{border-bottom-color:var(--text)}
.wl-you{margin-top:16px;padding-top:14px;border-top:1px solid var(--rule);
  display:flex;flex-direction:column;gap:2px}
/* display:flex above beats the browser default for [hidden], so restate it. */
.wl-you[hidden]{display:none}
.wl-no{font-family:var(--label);font-size:32px;line-height:1;
  color:var(--text);letter-spacing:.04em}
.wl-you .runnote{margin:8px 0 0}
/* Pre-drop: prices stay (they build the want) but nothing is purchasable. */
body[data-predrop] #checkout,body[data-predrop] #checkoutNote{display:none}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.logomark{height:19px;width:auto;flex:none;display:block;color:var(--text)}
.wordmark{font-weight:600;letter-spacing:.3em;text-transform:uppercase;font-size:11.5px;color:var(--text);white-space:nowrap}
h2{margin:0;font-size:18px;font-weight:650;letter-spacing:-.005em;text-wrap:balance}
h3{margin:0;font-size:13.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}
p{margin:0;text-wrap:pretty}
.lede{color:var(--muted)}
.measure{max-width:62ch}
.wrap{max-width:1100px;margin:0 auto;padding:0 28px}

/* ---- Header ---- */
header{position:sticky;top:0;z-index:40;background:var(--ground);border-bottom:1px solid var(--rule)}
/* Three tracks so the wordmark stays optically centred even when the bag is
   hidden pre-drop and the right-hand track is empty. */
.bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;
  padding-top:14px;padding-bottom:14px}   /* not `padding:14px 0` — .bar shares the
     element with .wrap, and the shorthand wiped out the wrap's 28px side gutter */
.brand{display:flex;align-items:center;gap:24px}

.bar-side{display:flex;align-items:center;gap:4px;min-width:0}
.bar-end{justify-content:flex-end}
.logo{justify-content:center}
.iconbtn{
  display:flex;align-items:center;gap:6px;background:none;border:0;padding:8px;
  color:var(--text);cursor:pointer;line-height:0;border-radius:2px;
}
.iconbtn svg{width:20px;height:20px;display:block}
.iconbtn:hover{color:var(--accent)}
.iconbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.iconbtn[hidden]{display:none!important}
.iconbtn .count{
  font-family:var(--label);font-size:10px;letter-spacing:.06em;line-height:1;color:var(--muted);
  min-width:12px;text-align:left;
}

/* ---- Menu drawer ---- */
.navtabs{display:flex;border-bottom:1px solid var(--rule);flex-shrink:0;overflow-x:auto}
.navtab{
  flex:1 0 auto;background:none;border:0;border-bottom:2px solid transparent;
  padding:14px 14px;cursor:pointer;color:var(--faint);
  font-family:var(--label);font-size:10px;
  letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
}
.navtab[aria-selected="true"]{color:var(--text);border-bottom-color:var(--text)}
.navtab:hover{color:var(--text)}
.navbody{gap:0;padding:8px 0}
.navlink{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 24px;text-decoration:none;color:var(--text);
  font-size:15px;letter-spacing:-.01em;
  border-bottom:1px solid var(--rule-soft);
}
.navlink:hover{background:var(--surface)}
.navlink .meta{
  font-family:var(--label);font-size:9.5px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--faint);
}
.navgroup{
  padding:20px 24px 8px;font-family:var(--label);
  font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);
}

/* ---- Search. Drops out of the header across the full width. ---- */
.searchwrap{
  position:fixed;left:0;right:0;top:0;z-index:60;background:var(--ground);
  border-bottom:1px solid var(--rule);
  transform:translateY(-100%);transition:transform .22s ease;
  max-height:100svh;overflow-y:auto;padding-bottom:18px;
}
.searchwrap.on{transform:translateY(0)}
.searchbar{display:flex;align-items:center;gap:12px;padding-top:16px;padding-bottom:12px}
.search-ico{width:18px;height:18px;flex:none;color:var(--faint)}
.searchin{flex:1;border:0;border-bottom:1px solid var(--rule);padding:10px 0;background:none}
.searchin:focus{outline:none;border-bottom-color:var(--text)}
.searchres{display:flex;flex-direction:column}
.sres{
  display:flex;align-items:center;gap:14px;padding:11px 0;text-align:left;
  background:none;border:0;border-top:1px solid var(--rule-soft);cursor:pointer;color:inherit;
}
.sres:hover{opacity:.72}
.sres .chip-flat{width:40px;height:48px;flex:none;border:1px solid var(--rule);display:flex;align-items:center;justify-content:center}
.sres .chip-flat svg{width:76%;height:76%}
.sres .nm{font-size:14px;font-weight:600;letter-spacing:-.01em}
.sres .mt{
  font-family:var(--label);font-size:9.5px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--faint);
}
.sres .pr{margin-left:auto;font-family:var(--label);font-size:11.5px;color:var(--muted)}
.searchnone{padding:18px 0;color:var(--faint);font-size:13.5px}

/* ---- Footer, grouped into columns ---- */
.fsort{margin-left:auto}
.sortsel{
  font-family:var(--label);font-size:10px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--text);
  background:none;border:1px solid var(--rule);padding:7px 9px;cursor:pointer;
}
.sortsel:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.footgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:44px 0 36px}
.footcol{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footcol a{font-size:13px;color:var(--muted);text-decoration:none}
.footcol a:hover{color:var(--text)}
.footbase{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  padding:18px 0 40px;border-top:1px solid var(--rule);
}
.footbase .wordmark{margin-right:auto}
@media (max-width:620px){
  .footgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:34px 0 28px}
}

/* Phones keep the name: a first-time visitor cannot read the brand from the
   mark alone. A smaller, tighter wordmark fits beside the two icon buttons. */
@media (max-width:430px){
  .brand{gap:14px;min-width:0}
  .bar{gap:8px}
  .logo{gap:7px}
  .logomark{height:16px}
  .logo .wordmark{font-size:10px;letter-spacing:.2em}
  .nav{gap:16px;flex:0 0 auto}
}

.btn{
  font-family:var(--label);font-size:10.5px;letter-spacing:.18em;
  text-transform:uppercase;cursor:pointer;background:transparent;color:var(--text);
  border:1px solid var(--text);padding:9px 16px;border-radius:0;
  transition:background .2s,color .2s,border-color .2s;
}
.btn:hover:not(:disabled){background:var(--text);color:var(--ground)}
.btn:disabled{border-color:var(--field);color:var(--faint);cursor:not-allowed}
.btn.solid{background:var(--text);color:var(--ground)}
.btn.solid:hover{background:transparent;color:var(--text)}
.btn.ghost{border-color:var(--rule);color:var(--muted)}
.btn.ghost:hover{background:var(--rule);color:var(--text)}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.cartbtn{position:relative}
.cartbtn .count{
  font-variant-numeric:tabular-nums;margin-left:8px;color:var(--accent);
}

/* ---- Cover ---- */
/* ---- Shop page header. The plain, in-column cover: type only. ---- */
.cover{padding:76px 0 64px;border-bottom:1px solid var(--rule)}
.cover h1{font-size:clamp(34px,5vw,62px);line-height:1;letter-spacing:-.02em;font-weight:700}
.cover .lede{font-size:clamp(14px,1.4vw,16px);line-height:1.5;max-width:40ch}
.cover-grid{display:flex;gap:56px;align-items:flex-end;flex-wrap:wrap;justify-content:space-between}
.cover-side{display:flex;flex-direction:column;gap:12px;align-items:flex-start;max-width:250px}
.cover-side .rule{width:100%;height:1px;background:var(--rule)}
.cover-side p{font-size:12.5px;line-height:1.5;color:var(--muted)}

/* The first 500 and the access word, under the range on the shop page. */
.firstrun{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:start}
.firstrun-col{display:flex;flex-direction:column;gap:12px;align-items:flex-start;max-width:340px}
.firstrun-col p{font-size:12.5px;line-height:1.5;color:var(--muted);margin:0}
.firstrun .access{margin-top:0;padding-top:0;border-top:0;max-width:340px}
@media (max-width:820px){.firstrun{grid-template-columns:1fr;gap:36px}}
/* Phones: pull the range up so the first garments show on the first screen. */
@media (max-width:620px){
  #shop{padding-top:24px}
  #shop > .head{margin-bottom:16px}
  #shop .filters{gap:12px 18px;margin-bottom:20px}
  #shop .fsort{margin-left:0}
  /* Five colours on the swatch card: keep the labels apart at phone width. */
  .swatchcard .sc-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
}

/* ---- Landing hero. The photograph is the screen: full bleed, edge to edge,
   with the copy over it and nothing else competing. ---- */
.hero{
  position:relative;overflow:hidden;
  min-height:clamp(540px,86svh,920px);
  display:flex;align-items:flex-end;
  padding-bottom:clamp(34px,7vh,72px);
  background:#111110;color:#E9E5DC;
  border-bottom:1px solid var(--rule);
}
.hero-img{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:cover;object-position:58% 40%;
}
/* The copy sits over water and skyline, both light. Weighted to the bottom
   and a little to the left — only as much as the type needs. */
.hero::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(to top,rgba(12,14,16,.80) 0%,rgba(12,14,16,.36) 36%,rgba(12,14,16,0) 66%),
    linear-gradient(to right,rgba(12,14,16,.40) 0%,rgba(12,14,16,0) 48%);
}
.hero-copy{position:relative;z-index:1;width:100%}
.hero h1{
  font-size:clamp(44px,7.2vw,92px);line-height:.95;letter-spacing:-.025em;
  font-weight:700;margin:0;
}
.hero .lede{
  font-size:clamp(14px,1.4vw,16px);line-height:1.5;max-width:34ch;
  margin-top:18px;color:inherit;opacity:.86;
}
.hero .btn.solid{background:#E9E5DC;color:#111110;border-color:#E9E5DC}
.hero .wl-count{color:inherit;opacity:.72}

/* The founding-run line, demoted out of the hero to a single quiet row. */
.cover-note{
  display:flex;align-items:baseline;gap:clamp(16px,3vw,32px);flex-wrap:wrap;
  padding:20px 0;border-bottom:1px solid var(--rule);
}
.cover-note p{flex:1 1 280px;font-size:12.5px;line-height:1.5;color:var(--muted);margin:0}
.cover-note .btn{text-decoration:none;flex:0 0 auto}

@media (max-width:820px){
  .hero{min-height:clamp(480px,78svh,780px)}
  .hero-img{object-position:68% 34%}
  /* On a phone the copy stacks higher, over the bright railing and water,
     so the shade has to reach further up the photo. */
  .hero::after{
    background:linear-gradient(to top,rgba(12,14,16,.88) 0%,rgba(12,14,16,.66) 42%,rgba(12,14,16,.18) 68%,rgba(12,14,16,0) 82%);
  }
  .hero h1{text-shadow:0 1px 18px rgba(12,14,16,.35)}
}

/* ---- Sections ---- */
section{padding:60px 0;border-bottom:1px solid var(--rule)}
.head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding-bottom:16px;margin-bottom:26px;border-bottom:1px solid var(--rule)}

/* ---- Filters ---- */
.filters{display:flex;gap:26px;flex-wrap:wrap;margin-bottom:26px}
.fgroup{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fgroup > .eyebrow{color:var(--faint)}
.chip{
  font-family:var(--label);font-size:10px;letter-spacing:.16em;
  text-transform:uppercase;cursor:pointer;background:transparent;color:var(--muted);
  border:1px solid var(--rule);padding:6px 11px;transition:all .18s;
}
.chip:hover{color:var(--text);border-color:var(--field)}
.chip[aria-pressed="true"]{background:var(--text);color:var(--ground);border-color:var(--text)}

/* ---- Product grid ---- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(212px,1fr));gap:26px 22px}
.prod{display:flex;flex-direction:column;gap:11px;text-align:left;background:none;border:0;padding:0;cursor:pointer;color:inherit;font:inherit}
.prod:disabled{cursor:default}
.flat{
  aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--rule);position:relative;overflow:hidden;transition:border-color .2s;
}
.prod:hover:not(:disabled) .flat{border-color:var(--field)}
.flat svg{width:72%;height:72%}
.flat .tag{
  position:absolute;top:10px;left:10px;
  font-family:var(--label);font-size:9px;letter-spacing:.16em;
  text-transform:uppercase;padding:3px 7px;background:var(--ground);color:var(--muted);border:1px solid var(--rule);
}
.prod-meta{display:flex;flex-direction:column;gap:3px}
.prod-name{font-size:13.5px;font-weight:600;letter-spacing:.01em}
.prod-fit{font-family:var(--label);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.prod-way{font-size:12px;color:var(--muted)}
.prod-price{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:11.5px;color:var(--muted);white-space:nowrap;margin-top:2px}
.prod-sub{font-family:var(--label);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.dots{display:flex;gap:5px;margin-top:1px}
.dot{width:9px;height:9px;border:1px solid var(--rule)}

/* The home range is five pieces: one row of five on wide screens, so the
   Tote is not left alone on a second row. */
@media (min-width:1000px){ #coverGrid{grid-template-columns:repeat(5,minmax(0,1fr))} }

/* ---- On the body: three frames, a swipe strip on phones ---- */
.look{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.look figure{margin:0;display:flex;flex-direction:column;gap:10px}
.look img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block;background:var(--rule)}
.look figcaption{
  display:flex;flex-wrap:wrap;gap:4px 12px;
  font-family:var(--label);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
}
.look figcaption span + span{color:var(--faint)}
@media (max-width:620px){
  .look{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:28px;gap:14px;
        margin-inline:-28px;padding-inline:28px;scrollbar-width:none}
  .look::-webkit-scrollbar{display:none}
  .look figure{flex:0 0 78%;scroll-snap-align:start}
}

/* ---- Founding ---- */
.founding{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start}
.claim{font-size:clamp(16px,2vw,20px);line-height:1.4;font-weight:650;letter-spacing:-.005em;text-wrap:balance;margin-bottom:18px}
.fbody{display:flex;flex-direction:column;gap:14px}
.fbody p{font-size:14px;line-height:1.6;color:var(--muted)}
.hemtag{
  background:#111110;color:#E9E5DC;padding:22px 24px;
  display:flex;flex-direction:column;gap:14px;
}
.hemtag .row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.hemtag .wm{font-weight:600;letter-spacing:.26em;text-transform:uppercase;font-size:10px}
.hemtag .no{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:32px;font-weight:500;letter-spacing:.08em;line-height:1}
.hemtag .sm{font-family:var(--label);font-size:9.5px;letter-spacing:.2em;color:#8E8B83}
.hemtag .hr{height:1px;background:#3A3934}
.caption{margin-top:10px;font-family:var(--label);font-size:10px;letter-spacing:.14em;color:var(--faint)}

/* ---- Earned: a band of the brand's own ground, edge to edge ----
   The Ink is painted past the wrap with a shadow and clipped back to the band's
   height, so it reaches the screen edges without widening the page. */
.earned{
  --text:#E9E5DC; --muted:#A8A49A; --faint:#6E6B64; --rule:#2E2E2B;
  background:#111110;color:var(--text);
  box-shadow:0 0 0 100vmax #111110;clip-path:inset(0 -100vmax);
  padding:clamp(76px,11vw,136px) 0;border-bottom:0;
}
.earned-top{display:grid;grid-template-columns:1fr minmax(0,32ch);gap:24px 48px;align-items:end;margin-top:22px}
.earned h2{font-size:clamp(52px,9vw,116px);line-height:.92;letter-spacing:-.03em;font-weight:700}
.earned-top p{font-size:clamp(14px,1.4vw,16px);line-height:1.55;color:var(--muted);margin:0}
.earned-tiers{list-style:none;margin:clamp(48px,7vw,84px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.earned-tiers li{border-top:1px solid var(--rule);padding-top:18px;display:flex;flex-direction:column;gap:12px}
.earned-no{font-family:var(--label);font-variant-numeric:tabular-nums;font-weight:400;
  font-size:clamp(44px,7vw,92px);line-height:1;letter-spacing:.02em}
/* Brighter as it climbs: the count is the status. */
.earned-tiers li:nth-child(1) .earned-no{color:var(--faint)}
.earned-tiers li:nth-child(2) .earned-no{color:var(--muted)}
.earned-tiers li:nth-child(3) .earned-no{color:var(--text)}
.earned-meta{font-family:var(--label);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.earned-foot{margin:clamp(36px,5vw,56px) 0 0;font-size:12.5px;line-height:1.55;color:var(--faint);max-width:56ch}
@media (max-width:700px){
  .earned-top{grid-template-columns:1fr}
  .earned-tiers{grid-template-columns:1fr;gap:0}
  .earned-tiers li{flex-direction:row;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0}
  .earned-tiers li:last-child{border-bottom:1px solid var(--rule)}
  .earned-no{font-size:clamp(48px,15vw,68px)}
  .earned-meta{text-align:right}
}

/* ---- Run counter ---- */
.runbox{margin-top:26px;border-top:1px solid var(--rule);padding-top:16px;display:flex;flex-direction:column;gap:11px}
.runrow{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.runno{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:21px;font-weight:500;letter-spacing:.04em;line-height:1}
.runno small{font-size:13px;color:var(--faint);letter-spacing:.06em}
.meter{height:2px;background:var(--rule);position:relative;overflow:hidden}
.meter i{position:absolute;inset:0 auto 0 0;background:var(--accent)}
.runnote{font-family:var(--label);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}

/* ---- Info blocks ---- */
.todo{color:var(--accent);border-bottom:1px dotted var(--accent)}
.infogrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.ibody{display:flex;flex-direction:column;gap:9px;margin-top:9px}
.ibody p{font-size:13px;line-height:1.55;color:var(--muted)}

/* ---- Unlisted ---- */
.ugrid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.ublock{display:flex;flex-direction:column;gap:14px}
.inrow{display:flex;gap:10px;flex-wrap:wrap}
.tin{
  font-family:var(--label);font-size:12px;letter-spacing:.12em;
  background:transparent;color:var(--text);border:1px solid var(--field);
  padding:9px 12px;border-radius:0;min-width:0;flex:1 1 180px;
}
.tin::placeholder{color:var(--faint)}
.msg{font-family:var(--label);font-size:10.5px;letter-spacing:.14em;color:var(--accent);min-height:15px}
.msg[data-err]{color:#B4553F}
#unlistedShelf{display:none;margin-top:34px}
#unlistedShelf.on{display:block}
.locked-note{font-size:13px;color:var(--faint);line-height:1.55}

/* ---- Brand strip ---- */
.ways{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:8px}
.way{display:flex;flex-direction:column;gap:8px}
.swatch{height:74px;border:1px solid var(--rule)}
.way .nm{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.way .hx{font-family:var(--label);font-size:10px;letter-spacing:.1em;color:var(--faint)}
.notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:38px}

/* A head that is also a disclosure. Reference copy — care, shipping, returns —
   stays on the page but stops reading as a wall of text under the product. */
.fold>summary{
  display:flex;justify-content:space-between;align-items:baseline;gap:20px;
  padding-bottom:16px;border-bottom:1px solid var(--rule);
  cursor:pointer;list-style:none;
}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary::after{
  content:'+';font-family:var(--label);
  font-size:15px;line-height:1;color:var(--faint);margin-left:auto;flex:0 0 auto;
}
.fold[open]>summary::after{content:'\2013'}
.fold>summary:hover::after{color:var(--text)}
.fold>summary .eyebrow{margin-left:auto}
.fold>.notes,.fold>.infogrid,.fold>.ugrid{margin-top:26px}

/* Range strip on the landing page */
.headlink{text-decoration:none;color:var(--muted);border-bottom:1px solid var(--rule);padding-bottom:2px}
.headlink:hover{color:var(--text);border-bottom-color:var(--text)}
.range-note{margin-top:26px;font-size:12.5px;line-height:1.5;color:var(--faint);max-width:52ch}
.note h3{margin-bottom:7px}
.note p{font-size:13px;line-height:1.55;color:var(--muted)}

/* ---- Panels ---- */
.scrim{position:fixed;inset:0;background:rgba(10,10,9,.62);opacity:0;pointer-events:none;transition:opacity .25s;z-index:50}
.scrim.on{opacity:1;pointer-events:auto}
.panel{
  position:fixed;top:0;right:0;height:100%;width:min(460px,100%);
  background:var(--ground);border-left:1px solid var(--rule);
  transform:translateX(100%);transition:transform .28s ease;z-index:60;
  display:flex;flex-direction:column;
}
.panel.on{transform:translateX(0)}

/* The menu slides from the left, the way Gymshark's does. These must come
   AFTER .panel: same specificity, so source order decides, and declared
   earlier they lost the transform and the drawer parked mid-viewport. */
.panel-left{left:0;right:auto;border-left:0;border-right:1px solid var(--rule);
  transform:translateX(-100%)}
.panel-left.on{transform:translateX(0)}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid var(--rule);flex-shrink:0}
.panel-body{padding:24px;overflow-y:auto;flex-grow:1;display:flex;flex-direction:column;gap:20px}
.panel-foot{padding:18px 24px;border-top:1px solid var(--rule);flex-shrink:0;display:flex;flex-direction:column;gap:12px}
.x{background:none;border:0;color:var(--muted);cursor:pointer;font-size:20px;line-height:1;padding:4px 6px}
.x:hover{color:var(--text)}

.pv-flat{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;border:1px solid var(--rule)}
.pv-flat svg{width:68%;height:68%}
.opt{display:flex;flex-direction:column;gap:9px}
.opts{display:flex;gap:8px;flex-wrap:wrap}
.sw{width:30px;height:30px;border:1px solid var(--rule);cursor:pointer;padding:0;position:relative}
.sw[aria-pressed="true"]{outline:1.5px solid var(--text);outline-offset:2px}
.sz{
  font-family:var(--label);font-size:11px;letter-spacing:.1em;
  min-width:42px;padding:8px 6px;background:transparent;color:var(--muted);
  border:1px solid var(--rule);cursor:pointer;transition:all .18s;
}
.sz:hover{color:var(--text);border-color:var(--field)}
.sz[aria-pressed="true"]{background:var(--text);color:var(--ground);border-color:var(--text)}
.opt-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.link{background:none;border:0;padding:0;cursor:pointer;font-family:var(--label);
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--field)}
.link:hover{color:var(--text);border-bottom-color:var(--accent)}
.sg{margin-top:12px;border-top:1px solid var(--rule-soft);padding-top:12px}
.sg-scroll{overflow-x:auto}
.sgt{width:100%;border-collapse:collapse;min-width:320px}
.sgt th{text-align:left;font-family:var(--label);font-size:9px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--faint);font-weight:400;padding:5px 8px 5px 0;border-bottom:1px solid var(--rule)}
.sgt td{font-size:11.5px;padding:5px 8px 5px 0;border-bottom:1px solid var(--rule-soft);color:var(--muted);white-space:nowrap}
.sgt td.mono{font-variant-numeric:tabular-nums;color:var(--text)}
.sg-note{margin-top:9px;font-size:11.5px;line-height:1.45;color:var(--faint)}
/* Fixed columns, so the men's and women's tables line up with each other. */
.sg .sgt{table-layout:fixed}
.sg .sgt th:first-child,.sg .sgt td:first-child{width:38%;white-space:normal;padding-right:10px}
.sg .sgt td.mono{padding-right:4px}
.sg-h{display:block;margin:14px 0 4px}
.sg-h:first-child{margin-top:2px}
.pv-spec{font-size:13px;line-height:1.6;color:var(--muted)}
.speclist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.speclist li{font-size:12.5px;line-height:1.45;color:var(--muted);padding-left:15px;position:relative}
.speclist li::before{content:"";position:absolute;left:0;top:8px;width:7px;height:1px;background:var(--faint)}
.pv-price{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:16px}
.numbered{border-left:2px solid var(--accent);padding-left:13px;display:flex;flex-direction:column;gap:5px}
.numbered p{font-size:12.5px;line-height:1.5;color:var(--muted)}

.line{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--rule-soft)}
.line-flat{width:58px;height:72px;border:1px solid var(--rule);flex-shrink:0;display:flex;align-items:center;justify-content:center}
.line-flat svg{width:74%;height:74%}
.line-mid{flex-grow:1;display:flex;flex-direction:column;gap:3px}
.line-name{font-size:13px;font-weight:600}
.line-sub{font-family:var(--label);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.line-end{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:8px}
.line-price{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:12px}
.qty{display:flex;align-items:center;gap:8px}
.qty button{background:none;border:1px solid var(--rule);color:var(--muted);width:22px;height:22px;cursor:pointer;line-height:1;padding:0}
.qty button:hover{color:var(--text);border-color:var(--field)}
.qty span{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:11px;min-width:14px;text-align:center}
.sub{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--label);font-size:13px}
.empty{color:var(--faint);font-size:13.5px;line-height:1.6}

footer{padding:38px 0 52px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:baseline}

@media (max-width:900px){
  .founding,.ugrid{grid-template-columns:1fr;gap:30px}
  .infogrid{grid-template-columns:1fr 1fr}
  .notes{grid-template-columns:1fr 1fr}
  .ways{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .notes,.infogrid{grid-template-columns:1fr}
  .bar{flex-wrap:wrap;gap:12px}
  .brand{gap:16px;width:100%;justify-content:space-between}
  .cover{padding:36px 0 28px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}


/* ---- The join panel ---------------------------------------------------
   The one thing to do on the page before launch, so it gets real weight:
   display type and the swatch card on the left, the form on the right. */
.join{padding:44px 0 50px;border-bottom:1px solid var(--rule)}
.join-panel{
  display:grid;grid-template-columns:1fr 1.15fr;gap:46px;align-items:start;
  background:var(--surface);border:1px solid var(--rule);padding:34px 32px;
}
.join-panel{grid-template-areas:"lead form" "card form"}
.join-lead{grid-area:lead;display:flex;flex-direction:column;align-items:flex-start}
.join-panel > .ublock{grid-area:form}

/* ---- Swatch card: the first-100 gift, drawn as the object it is ---- */
.swatchcard{
  grid-area:card;margin:0;align-self:end;justify-self:start;
  width:min(100%,340px);background:#F7F5EF;color:#111110;
  border:1px solid var(--rule);padding:18px 18px 16px;
  box-shadow:0 1px 0 rgba(17,17,16,.06),0 16px 32px -20px rgba(17,17,16,.4);
  transform:rotate(-1.2deg);
  display:flex;flex-direction:column;gap:14px;
}
.sc-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.sc-wm{font-weight:600;letter-spacing:.26em;text-transform:uppercase;font-size:9.5px}
.sc-sm{font-family:var(--label);font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#6E6B64}
.sc-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sc-chip{display:flex;flex-direction:column;gap:7px;font-family:var(--label);font-size:9px;
  letter-spacing:.12em;text-transform:uppercase;color:#55524B}
.sc-chip i{
  display:block;aspect-ratio:1;border:1px solid rgba(17,17,16,.12);
  /* a pique's fine pin texture, drawn rather than photographed */
  background-image:radial-gradient(rgba(255,255,255,.10) .8px,transparent 1.2px),
                   radial-gradient(rgba(0,0,0,.16) .8px,transparent 1.2px);
  background-size:5px 5px,5px 5px;background-position:0 0,2.5px 2.5px;
}
/* Was clamp(32-56px) ultra-bold caps — louder than the page title, and it was
   announcing a hand of cards that now lives behind a click. Sits under the h1. */
.join-lead h2{
  margin:10px 0 16px;font-size:clamp(20px,2.4vw,26px);line-height:1.12;
  font-weight:600;letter-spacing:-.01em;text-wrap:balance;
}
.join-lede{font-size:14.5px;line-height:1.5;color:var(--text);max-width:34ch;margin:0}
.join-note{font-size:12.5px;line-height:1.55;color:var(--faint);max-width:36ch;margin:14px 0 0}
.join-panel .wl-count{margin:0 0 14px}
.wl-count:empty{display:none}

/* The access-word block is on its own now that the list has moved up. */
.ugrid.one{grid-template-columns:1fr;max-width:520px}

@media (max-width:900px){
  .join-panel{grid-template-columns:1fr;gap:30px;padding:28px 22px;grid-template-areas:"lead" "form" "card"}
  .swatchcard{justify-self:center}
  .join-lead h2{margin-bottom:14px}
}
@media (max-width:620px){
  .join{padding:30px 0 36px}
}

/* In teaser the block loses its panel, so it needs its own breathing room. */
.t-slot .ublock{margin-top:20px}

/* ---- Motion, only where it is welcome ----
   The hero photo settles and its words rise once on load. Everything else
   eases in as it reaches the screen; app.js adds .reveal only when reduced
   motion is not asked for, and shows anything at or above the screen's
   bottom edge, so no element can be left hidden. `translate` is used, not
   `transform`, so it never fights the swatch card's tilt. */
@media (prefers-reduced-motion:no-preference){
  .hero-img{animation:hero-settle 1.8s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy > *{animation:rise .9s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy > :nth-child(2){animation-delay:.12s}
  .hero-copy > :nth-child(3){animation-delay:.24s}
}
@keyframes hero-settle{from{transform:scale(1.045)}to{transform:none}}
@keyframes rise{from{opacity:0;translate:0 12px}to{opacity:1;translate:none}}
.reveal{opacity:0;translate:0 14px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;translate:none}

/* ---- Getting around ----
   Anchors stop below the sticky header instead of under it, and glide there
   unless reduced motion is asked for. */
main [id]{scroll-margin-top:84px}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

/* A plain "Shop" in the header: the one place most visitors want to go next. */
.toplink{
  font-family:var(--label);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--text);text-decoration:none;padding:8px 6px;border-bottom:1px solid transparent;
}
.toplink:hover{border-bottom-color:var(--text)}
.toplink[aria-current="page"]{color:var(--faint)}
@media (max-width:430px){ .toplink{display:none} }

/* ---- Help page ---- */
.jumps{display:flex;flex-wrap:wrap;gap:8px}
.jumps a{
  font-family:var(--label);font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);text-decoration:none;border:1px solid var(--rule);padding:7px 11px;
  transition:color .18s,border-color .18s;
}
.jumps a:hover{color:var(--text);border-color:var(--field)}
.helpsec .notes{margin-top:0}
.helpsec .note p{font-size:14px;line-height:1.6}
.inlink{color:var(--text);text-decoration:none;border-bottom:1px solid var(--rule)}
.inlink:hover{border-bottom-color:var(--text)}

/* ---- Shop: the access word sits with the first-500 box; the numbered shelf
   opens at the top of the shop when the word is right. ---- */
.access{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--rule);align-self:stretch}
.access .tin{flex-basis:120px}
#shop > #unlistedShelf{margin:0 0 60px}

/* ======================================================================
   Richer, still quiet (2026-10-21). Scale, real colour and texture instead
   of more words: filled garments on a studio sweep, bigger section heads,
   the sign-up on Harbour, and a dark close that runs on out of Earned.
   ====================================================================== */

/* Studio sweep: warm grey, lighter at the top, so every colour of garment —
   Bone included — sits on it like a product shot. */
.flat,.pv-flat,.line-flat,.sres .chip-flat{
  background:linear-gradient(180deg,#ECE8E0 0%,#E2DDD3 58%,#D5CFC3 100%);
}
.flat svg,.pv-flat svg{filter:drop-shadow(0 10px 12px rgba(17,17,16,.16)) drop-shadow(0 2px 2px rgba(17,17,16,.10))}
.flat svg{transition:translate .35s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.prod:hover:not(:disabled) .flat svg{
  translate:0 -5px;
  filter:drop-shadow(0 18px 16px rgba(17,17,16,.2)) drop-shadow(0 2px 2px rgba(17,17,16,.1));
}
.prod-name{font-size:15px}
.prod-price{font-size:12.5px;color:var(--text)}

/* Section heads with presence. */
.head{padding-bottom:18px;margin-bottom:30px}
.head h2{font-size:clamp(24px,3.2vw,38px);line-height:1.05;letter-spacing:-.025em;font-weight:650}

/* The numbered strip under the hero leads with the number itself. */
.cover-note{padding:26px 0;align-items:center}
.cn-no{font-family:var(--label);font-variant-numeric:tabular-nums;font-size:clamp(20px,2.4vw,28px);
  letter-spacing:.04em;color:var(--text);white-space:nowrap}
.cover-note p{font-size:13.5px}

/* The sign-up sits on Harbour, the signature colour, so the one thing to do
   on the page is the one thing in colour. Tokens are re-pointed inside it,
   so the inputs, notes and focus rings follow without their own rules. */
.join-panel{
  --text:#E9E5DC; --muted:#B7C4C2; --faint:#8FA5A5; --rule:#3E5C61; --field:#5E7E82; --accent:#A9C79A;
  background:#1E3B40;border-color:#1E3B40;color:var(--text);
}
.join-panel .btn.solid{background:#E9E5DC;color:#1E3B40;border-color:#E9E5DC}
.join-panel .btn.solid:hover{background:transparent;color:#E9E5DC}
.join-panel .msg[data-err]{color:#F2A58F}
.join-panel .swatchcard{border-color:transparent;box-shadow:0 18px 36px -18px rgba(0,0,0,.55)}

/* Colour you can almost feel: the swatches carry the same pin texture as
   the swatch card. */
.swatch{height:112px;
  background-image:radial-gradient(rgba(255,255,255,.10) .8px,transparent 1.2px),
                   radial-gradient(rgba(0,0,0,.16) .8px,transparent 1.2px);
  background-size:5px 5px,5px 5px;background-position:0 0,2.5px 2.5px;
}

/* The page closes on the brand's own ground; on the home page it runs on
   straight out of the Earned band. Painted past the wrap like .earned. */
footer .footgrid,footer .footbase{flex:1 1 100%}   /* links above, brand line below */
footer{
  --text:#E9E5DC; --muted:#A8A49A; --faint:#6E6B64; --rule:#2E2E2B;
  background:#111110;color:var(--text);
  box-shadow:0 0 0 100vmax #111110;clip-path:inset(0 -100vmax);
}

/* A whisper of grain, so the light ground reads as paper, not a screen. */
body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E")}

/* fit finder */
.opt-links{display:flex;gap:16px}
.fit{margin-top:12px;border-top:1px solid var(--rule-soft);padding-top:14px;display:flex;flex-direction:column;gap:14px}
.fit-intro{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.fit-q{display:flex;flex-direction:column;gap:7px}
.fit-l{font-family:var(--label);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.fit-row{display:flex;gap:12px;flex-wrap:wrap}
.fit-row .fit-q{flex:1 1 120px}
.fit-in{display:flex;align-items:center;gap:8px;font-family:var(--label);font-size:11px;color:var(--muted)}
.fit-in .tin{flex:1 1 auto;width:100%;font-size:16px;letter-spacing:.04em}
.fit-out{display:flex;flex-direction:column;gap:10px}
.fit-wait{margin:0;font-size:12px;color:var(--faint)}
.fit-rec{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.fit-size{font-family:var(--label);font-size:28px;letter-spacing:.06em;color:var(--text)}
.fit-scale{padding:4px 0 2px}
.fit-track{position:relative;height:6px;background:var(--field);margin:0 10px}
.fit-dot{position:absolute;top:50%;width:16px;height:16px;border-radius:50%;background:var(--text);
  border:3px solid var(--ground);transform:translate(-50%,-50%);transition:left .25s}
.fit-ticks{display:flex;justify-content:space-between;margin-top:8px}
.fit-ticks span{font-family:var(--label);font-size:10px;letter-spacing:.08em;color:var(--faint);width:20px;text-align:center}
.fit-ticks span.on{color:var(--text)}
.fit-note{margin:0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.fit-small{margin:0;font-size:11px;line-height:1.45;color:var(--faint)}
.fit .chip{font-size:10px}
.fit-viz{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.fit-fig{width:110px;height:220px;flex:0 0 110px;background:var(--surface);border:1px solid var(--rule-soft)}
.fit-side{flex:1 1 150px;display:flex;flex-direction:column;gap:8px}
.fit-feel{margin:0;font-size:14px;line-height:1.45;color:var(--text)}

/* GYO logo: the PNG is used as a mask, so it takes the text colour and
   flips with the light/dark theme instead of being a fixed black or white. */
.logomark{display:inline-block;height:18px;aspect-ratio:1952/551;background-color:var(--text);
  -webkit-mask:url(img/gyo-logo.png) center/contain no-repeat;mask:url(img/gyo-logo.png) center/contain no-repeat;vertical-align:middle}
.footbase .logomark{margin-right:auto;height:16px}
@media (max-width:430px){ .logo .logomark{height:15px} }

/* ---- Language switch and the Traditional Chinese pages (zh-hk/) ---- */
/* 繁 / EN sits beside Shop and stays on phones, where Shop is hidden. */
@media (max-width:430px){ .toplink.lang{display:inline} }
/* Chinese pages: Inter and JetBrains Mono still set the Latin letters and
   figures; the characters come from the system's Hong Kong Chinese font. */
:root:lang(zh){
  --brand:Inter,"PingFang HK","Noto Sans HK","Microsoft JhengHei",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --label:"JetBrains Mono","PingFang HK","Noto Sans HK","Microsoft JhengHei",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* Instagram link in the footer's brand line. */
.footbase .footig{text-decoration:none;color:inherit;text-transform:none;letter-spacing:.04em}
.footbase .footig:hover{text-decoration:underline;text-underline-offset:3px}

/* ---- Header: on computers, Men / Women links sit beside search and the menu
   button goes; on phones (and narrow tablets) the menu button stays and holds
   both, so the small header never crowds the logo. ---- */
.toplink.topcut{display:none;margin-left:4px}
@media (min-width:821px){
  .toplink.topcut{display:inline-block}
  #menuBtn{display:none}
}

/* ---- Home: shop by cut. Two tiles straight under the hero. ---- */
.cuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:40px 0;border-bottom:1px solid var(--rule)}
.cut-tile{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:inherit}
.cut-flats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:2%;
  aspect-ratio:16/9;padding:6% 7%;border:1px solid var(--rule);transition:border-color .2s;
  background:linear-gradient(180deg,#ECE8E0 0%,#E2DDD3 58%,#D5CFC3 100%);
}
.cut-flat{display:flex;align-items:center;justify-content:center;height:100%}
.cut-flat svg{width:100%;height:auto;max-height:100%;
  filter:drop-shadow(0 10px 12px rgba(17,17,16,.16)) drop-shadow(0 2px 2px rgba(17,17,16,.10));
  transition:translate .35s cubic-bezier(.2,.7,.2,1)}
.cut-tile:hover .cut-flats{border-color:var(--field)}
.cut-tile:hover .cut-flat svg{translate:0 -4px}
.cut-text{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.cut-name{font-size:clamp(20px,2.2vw,26px);font-weight:700;letter-spacing:-.015em}
.cut-meta{font-family:var(--label);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.cut-cta{align-self:flex-start}
@media (max-width:620px){
  .cuts{grid-template-columns:1fr;gap:28px;padding:28px 0}
}

/* ---- Home: about GYO, with plain explore links. ---- */
.about-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:56px;align-items:start}
.about-text p{font-size:14px;line-height:1.65;color:var(--muted);max-width:62ch;margin:0 0 12px}
.about-links{display:flex;flex-direction:column;gap:0}
.about-links .eyebrow{margin-bottom:8px}
.about-links a{color:var(--text);text-decoration:none;font-size:13.5px;padding:10px 0;border-bottom:1px solid var(--rule-soft)}
.about-links a:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:820px){ .about-grid{grid-template-columns:1fr;gap:28px} }

/* ---- Home hero without a photo: the three pieces drawn on Ink, lit from
   behind like a product shot. Replaces the AI stand-in photo (2026-11-19). ---- */
.hero-garments{
  background:
    radial-gradient(ellipse 58% 62% at 70% 44%,#2B2A27 0%,#1A1A18 52%,#111110 100%);
}
.hero-garments::after{display:none}
.hero-flats{
  position:absolute;top:9%;right:4%;width:min(58%,820px);height:74%;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:3%;
  z-index:1;
}
.hero-flat{
  display:flex;flex-direction:column;align-items:center;gap:14px;height:100%;justify-content:flex-end;
  background:none;border:0;padding:0;cursor:pointer;color:inherit;font:inherit;
}
.hero-flat-art{display:flex;align-items:flex-end;justify-content:center;width:100%;flex:1;min-height:0}
.hero-flat-art svg{
  width:100%;height:auto;max-height:100%;
  filter:drop-shadow(0 22px 26px rgba(0,0,0,.55)) drop-shadow(0 3px 4px rgba(0,0,0,.35));
  transition:translate .35s cubic-bezier(.2,.7,.2,1);
}
.hero-flat:hover .hero-flat-art svg,.hero-flat:focus-visible .hero-flat-art svg{translate:0 -6px}
.hero-flat-name{
  font-family:var(--label);font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:#8E8B83;white-space:nowrap;
}
.hero-flat:focus-visible{outline:1px solid #8E8B83;outline-offset:6px}
@media (prefers-reduced-motion:no-preference){
  .hero-flat{animation:rise .9s cubic-bezier(.2,.7,.2,1) both}
}
@media (max-width:820px){
  .hero-garments{background:radial-gradient(ellipse 90% 48% at 50% 28%,#2B2A27 0%,#1A1A18 55%,#111110 100%)}
  .hero-flats{top:7%;left:6%;right:6%;width:auto;height:44%;gap:4%}
  .hero-flat{gap:10px}
  .hero-flat-name{font-size:8.5px;letter-spacing:.1em;white-space:normal;text-align:center;line-height:1.5;min-height:3em;display:flex;align-items:flex-start;justify-content:center}
}

/* ---- Phones: comfortable tap areas (checked 2026-11-19). ---- */
@media (max-width:820px){
  .bar .logo{padding:14px 8px;margin:-14px 0}   /* bigger tap area, same header height */
  .headlink{display:inline-block;padding:10px 0 4px}
  .filters .chip{min-height:36px}
  .hero-flat-name{font-size:9.5px;letter-spacing:.06em}
}


/* ---- Early access, v2 (2026-11-19) ----------------------------------
   Rounded dark panel; headline and one pill-shaped email + button up top,
   the three things you get as small cards beside it. */
.jx{
  --text:#F2F0EA; --muted:#B9C3C1; --faint:#80918F; --rule:rgba(255,255,255,.12);
  --field:rgba(255,255,255,.18); --accent:#A9C79A;
  position:relative;overflow:hidden;color:var(--text);
  display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;
  padding:64px;border-radius:28px;
  background:
    radial-gradient(90% 120% at 100% 0%,rgba(78,128,120,.55) 0%,rgba(30,59,64,0) 60%),
    radial-gradient(70% 90% at 0% 100%,rgba(30,59,64,.9) 0%,rgba(30,59,64,0) 70%),
    #111110;
}
.jx-main{min-width:0}
.jx-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 10px;border-radius:999px;
  background:rgba(169,199,154,.14);color:var(--accent);font-size:12.5px;font-weight:600;letter-spacing:.01em}
.jx-tag i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(169,199,154,.18)}
.jx h2{font-size:clamp(38px,5.2vw,68px);line-height:.98;font-weight:700;letter-spacing:-.045em;
  margin:20px 0 16px;max-width:11ch;text-wrap:balance;color:var(--text)}
.jx-sub{font-size:16.5px;line-height:1.5;color:var(--muted);max-width:40ch;margin:0 0 28px}

.jx-form{gap:12px;max-width:480px}
.jx-pill{display:flex;align-items:center;gap:6px;padding:6px;border-radius:999px;
  background:rgba(255,255,255,.07);border:1px solid var(--field);transition:border-color .2s,box-shadow .2s}
.jx-pill:focus-within{border-color:rgba(255,255,255,.55);box-shadow:0 0 0 4px rgba(169,199,154,.16)}
.jx-pill input{flex:1 1 auto;min-width:0;height:48px;padding:0 6px 0 18px;border:0;outline:0;background:transparent;
  font:inherit;font-size:16px;color:var(--text)}
.jx-pill input::placeholder,.jx-gym input::placeholder{color:var(--faint)}
.jx-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px 0 24px;
  border:0;border-radius:999px;background:#F2F0EA;color:#111110;cursor:pointer;
  font:inherit;font-size:15px;font-weight:600;transition:background .2s,transform .2s}
.jx-btn svg{width:18px;height:18px;transition:transform .2s}
.jx-btn:hover:not(:disabled){background:var(--accent)}
.jx-btn:hover:not(:disabled) svg{transform:translateX(3px)}
.jx-btn:disabled{opacity:.55;cursor:wait}
.jx .msg{font-family:inherit;font-size:13.5px;letter-spacing:0;color:var(--accent);min-height:0;margin:0 0 0 20px}
.jx .msg:empty{display:none}
.jx .msg[data-err]{color:#F2A58F}
.jx-gym{margin:0 0 0 20px}
.jx-gym summary{display:inline-block;cursor:pointer;list-style:none;font-size:13.5px;color:var(--muted);
  border-bottom:1px solid var(--rule);padding-bottom:1px}
.jx-gym summary::-webkit-details-marker{display:none}
.jx-gym summary::before{content:"+ "}
.jx-gym[open] summary::before{content:"\2212  "}
.jx-gym summary:hover{color:var(--text)}
.jx-gym input{display:block;width:100%;margin:12px 0 0 -20px;width:calc(100% + 20px);height:50px;padding:0 20px;
  border-radius:999px;border:1px solid var(--field);background:rgba(255,255,255,.07);outline:0;
  font:inherit;font-size:16px;color:var(--text)}
.jx-gym input:focus{border-color:rgba(255,255,255,.55)}
.jx .wl-count{margin:4px 0 0 20px;font-size:13.5px;color:var(--muted)}
.jx .wl-count:empty{display:none}
.jx .wl-count b{color:var(--text)}
.jx .wl-legal{margin:4px 0 0 20px;font-size:12px;line-height:1.5;color:var(--faint)}
.jx .wl-legal a{color:var(--muted);border-bottom-color:var(--rule)}
.jx .wl-you{margin:8px 0 0 20px}

.jx-perks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.jx-perks li{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:18px 20px;border-radius:18px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);backdrop-filter:blur(6px)}
.jx-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:rgba(255,255,255,.08);color:var(--text)}
.jx-ic svg{width:22px;height:22px}
.jx-dots{display:grid;grid-template-columns:repeat(3,9px);gap:3px;justify-content:center}
.jx-dots i{width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.jx-perks strong{display:block;font-size:15.5px;font-weight:600;color:var(--text);margin:2px 0 4px}
.jx-perks span:not(.jx-ic):not(.jx-dots){font-size:14px;line-height:1.5;color:var(--muted)}
.jx-perks b{color:var(--text);font-weight:600}

@media (max-width:900px){
  .jx{grid-template-columns:1fr;gap:36px;padding:44px 28px;border-radius:24px}
  .jx-form{max-width:none}
}
@media (max-width:620px){
  .jx{padding:36px 18px 20px;border-radius:22px;gap:28px}
  .jx h2{margin-top:16px}
  .jx-sub{font-size:15.5px;margin-bottom:22px}
  .jx-pill input{padding-left:14px}
  .jx-btn{padding:0 16px 0 18px}
  .jx .msg,.jx-gym,.jx .wl-count,.jx .wl-legal,.jx .wl-you{margin-left:14px}
  .jx-gym input{margin-left:-14px;width:calc(100% + 14px)}
  .jx-perks li{padding:16px;gap:14px;grid-template-columns:40px 1fr}
  .jx-ic{width:40px;height:40px}
}

/* ---- Early access: pieces left + hints of what's coming (2026-11-19) ---- */
.jx > .jx-main,.jx > .jx-perks{position:relative;z-index:1}
.jx-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.jx-bg-mark{position:absolute;left:-6%;bottom:-9%;width:min(980px,96%);aspect-ratio:1952/551;
  background-color:#F2F0EA;opacity:.055;
  -webkit-mask:url(img/gyo-logo.png) center/contain no-repeat;mask:url(img/gyo-logo.png) center/contain no-repeat}
.jx-bg-flats{position:absolute;top:-6%;right:-5%;width:58%;display:flex;gap:2%;align-items:flex-start;
  transform:rotate(-7deg);opacity:.32;filter:blur(1.5px) saturate(.8);
  -webkit-mask-image:linear-gradient(200deg,#000 25%,transparent 80%);mask-image:linear-gradient(200deg,#000 25%,transparent 80%)}
.jx-flat{flex:1 1 0;min-width:0}
.jx-flat:nth-child(2){margin-top:12%}
.jx-flat:nth-child(3){margin-top:4%}
.jx-flat svg{display:block;width:100%;height:auto}
.jx-bg-sweep{position:absolute;inset:-20%;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.07) 50%,transparent 60%);
  transform:translateX(-60%);animation:jxSweep 9s ease-in-out infinite 1.5s}
@keyframes jxSweep{0%{transform:translateX(-60%)}55%,100%{transform:translateX(60%)}}
.jx-perks li{background:rgba(17,17,16,.38);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}

.jx-left{max-width:480px;margin:0 0 22px;padding:14px 18px 16px;border-radius:16px;
  background:rgba(17,17,16,.35);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.jx-left-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.jx-left-n{font-size:15px;color:var(--muted)}
.jx-left-n b{font-size:24px;font-weight:700;letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums;margin-right:2px}
.jx-left-note{font-family:var(--label);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint)}
.jx-bar{height:6px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}
.jx-bar i{display:block;height:100%;width:100%;border-radius:inherit;
  background:linear-gradient(90deg,#6B8F55,#A9C79A)}

@media (max-width:900px){
  .jx-bg-flats{top:auto;bottom:6%;right:-12%;width:92%;opacity:.26}
  .jx-bg-mark{left:-10%;bottom:auto;top:30%;width:130%}
  .jx-left{max-width:none}
}
@media (max-width:620px){
  .jx-left{padding:12px 14px 14px;margin-bottom:18px}
  .jx-left-n b{font-size:22px}
}

/* An element with the hidden attribute stays hidden, whatever display a class gives it.
   (The fit finder's .fit{display:flex} was overriding it, so it showed on every product.) */
[hidden]{display:none!important}
@media (max-width:620px){
  .jx-bg-flats{top:1%;bottom:auto;right:-38%;width:82%;opacity:.2}
  .jx-bg-mark{top:46%;width:150%;left:-25%}
}
