/* ==========================================================================
   Fits Like A Mitten — base styles
   Colour tokens (--c-*) and font faces are printed in snippets/theme-styles.liquid
   from Theme settings, so they can be changed in the editor.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-height: 100vh; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class], nav ul, footer ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

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

/* ---------- Tokens that don't come from settings ---------- */
:root {
  --f-display: "Fraunces", "Cooper Black", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.6rem, 6.4vw, 5.75rem);
  --fs-h1: clamp(2.2rem, 4.4vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 3.3vw, 2.85rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-small: .875rem;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --space-section: clamp(56px, 8vw, 112px);
  --radius: 16px;
  --radius-sm: 10px;
  --line-w: 2.5px;
  --c-error: #9B2F28;               /* error text: 7.4:1 white, 5.5:1 paper */

  /* Journal reading tokens (story pages, cards) */
  --jn-sheet: #FFFFFF;              /* reading surface */
  --jn-body: #33433E;               /* body text: 10.4:1 on white */
  --jn-muted: #56635E;              /* excerpts, contents links, bio: 6.3:1 */
  --jn-label: #5A5446;              /* small caps keys, captions, dates: 7.5:1 white, 5.6:1 sand */
  --jn-rust: #9E4A1A;               /* sunset darkened for small text: 6.1:1 white; never on sand or pine */
  --jn-hair: #E6DFCF;               /* 1px rules on white */
  --jn-hair-ink: rgb(28 58 52 / .2);/* rules on paper */
  --jn-measure: 37.125rem;          /* 594px column = about 70 characters a line */
  --jn-rail: 18.5rem;               /* 296px side rail */
  --jn-gap: 5.625rem;               /* 90px column gap */
  --jn-wide: 61.25rem;              /* 980px = column + gap + rail */

  /* paper grain: tiny ink-coloured speckle, multiplied over the background */
  --grain: 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 .11 0 0 0 0 .23 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Season accents ----------
   --a1 / --a2 are the two stripe colours behind the tee lettering, button shadows and patch stripes.
   The <html> class comes from Theme settings → Season. */
:root, .season-summer, .season-off { --a1: var(--c-sunset); --a2: var(--c-dune); }
.season-shoulder { --a1: var(--c-cherry); --a2: var(--c-sunset); }
.season-winter   { --a1: var(--c-lake); --a2: color-mix(in srgb, var(--c-lake) 38%, #FFFFFF); }

/* ---------- Colour schemes (one class per section) ---------- */
.scheme-paper, :root {
  --bg: var(--c-paper); --fg: var(--c-ink); --line: var(--c-ink);
  --btn-bg: var(--c-ink); --btn-fg: var(--c-paper); --sh1: var(--a2); --sh2: var(--a1);
  --retro-fill: var(--c-paper); --retro-line: var(--c-ink); --retro-1: var(--a1); --retro-2: var(--a2);
}
.scheme-sand   { --bg: var(--c-paper-2); --fg: var(--c-ink); --line: var(--c-ink); }
.scheme-pine   { --bg: var(--c-ink); --fg: var(--c-paper); --line: var(--c-paper);
                 --btn-bg: var(--c-paper); --btn-fg: var(--c-ink); --sh1: var(--a2); --sh2: var(--a1);
                 --retro-fill: var(--c-paper); --retro-line: #0f241f; }
.scheme-lake   { --bg: var(--c-lake); --fg: #fffaf0; --line: var(--c-ink);
                 --btn-bg: var(--c-paper); --btn-fg: var(--c-ink); --sh1: var(--c-dune); --sh2: var(--c-ink); }
.scheme-dune   { --bg: var(--c-dune); --fg: var(--c-ink); --line: var(--c-ink);
                 --btn-bg: var(--c-ink); --btn-fg: var(--c-paper); --sh1: var(--c-paper); --sh2: var(--c-sunset);
                 --retro-1: var(--c-paper); --retro-2: var(--c-sunset); }
.scheme-sunset { --bg: var(--c-sunset); --fg: #fffaf0; --line: var(--c-ink);
                 --btn-bg: var(--c-paper); --btn-fg: var(--c-ink); --sh1: var(--c-dune); --sh2: var(--c-ink);
                 --retro-1: var(--c-dune); --retro-2: var(--c-ink); }
[class*="scheme-"] { background-color: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
body {
  background: var(--c-paper) var(--grain);
  color: var(--c-ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* sections inherit the grain so colour bands still feel printed */
.section, .site-footer, .ticker, .announcement { background-image: var(--grain); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(24px, 4vw, 48px) var(--space-section); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1rem; background: var(--c-ink); color: var(--c-paper); border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--c-lake); outline-offset: 3px; border-radius: 4px; }
.scheme-lake :focus-visible, .scheme-pine :focus-visible { outline-color: var(--c-dune); }
.scheme-dune :focus-visible { outline-color: var(--c-ink); }

/* ---------- Type ---------- */
.h-display, h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
p { text-wrap: pretty; }
.lede { font-size: 1.2rem; line-height: 1.55; }
.muted { color: color-mix(in srgb, var(--fg) 72%, transparent); }
.small { font-size: var(--fs-small); }
.label { font: 700 .75rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }

/* The tee lettering: cream fill, pine outline, then sunset + dune stripes stepping down-right.
   All offsets are in em so the effect scales with the font size. */
.retro {
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--retro-fill);
  letter-spacing: -.005em;
  text-shadow:
    .045em 0 0 var(--retro-line), -.045em 0 0 var(--retro-line), 0 .045em 0 var(--retro-line), 0 -.045em 0 var(--retro-line),
    .032em .032em 0 var(--retro-line), -.032em .032em 0 var(--retro-line), .032em -.032em 0 var(--retro-line), -.032em -.032em 0 var(--retro-line),
    .042em .018em 0 var(--retro-line), -.042em .018em 0 var(--retro-line), .042em -.018em 0 var(--retro-line), -.042em -.018em 0 var(--retro-line),
    .018em .042em 0 var(--retro-line), -.018em .042em 0 var(--retro-line), .018em -.042em 0 var(--retro-line), -.018em -.042em 0 var(--retro-line),
    .06em .06em 0 var(--retro-line), .075em .075em 0 var(--retro-line),
    .095em .095em 0 var(--retro-1), .115em .115em 0 var(--retro-1),
    .135em .135em 0 var(--retro-2), .155em .155em 0 var(--retro-2);
}

/* ---------- Rich text ---------- */
.rte > * + * { margin-top: 1em; }
.rte a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--c-sunset); }
.rte a:hover { text-decoration-color: currentColor; }
.rte ul, .rte ol { padding-left: 1.25em; }
.rte li + li { margin-top: .35em; }
.rte img { border-radius: var(--radius-sm); }
.rte table { width: 100%; font-size: .95rem; }
.rte th, .rte td { padding: .55em .75em; border-bottom: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent); text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  --sh-x: 3px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .85em 1.55em;
  font: 700 1rem/1.1 var(--f-body); letter-spacing: .01em; text-decoration: none; text-align: center;
  background: var(--btn-bg); color: var(--btn-fg);
  border: var(--line-w) solid var(--c-ink); border-radius: 12px;
  box-shadow: var(--sh-x) var(--sh-x) 0 var(--sh1), calc(var(--sh-x) * 2) calc(var(--sh-x) * 2) 0 var(--sh2);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); --sh-x: 4px; }
.btn:active { transform: translate(4px, 4px); --sh-x: 0px; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; --sh-x: 0px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--fg); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); transform: none; }
.btn--small { min-height: 42px; padding: .6em 1.1em; font-size: .9rem; }
.btn svg { width: 1.1em; height: 1.1em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-sunset); padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; text-decoration: none; position: relative; }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Brand motifs ---------- */
/* Patch stripes: pine rule, sunset band, pine rule, dune band, pine rule */
.stripes {
  height: 26px;
  background: linear-gradient(var(--c-ink) 0 3px, var(--a1) 3px 11px, var(--c-ink) 11px 14px, var(--a2) 14px 23px, var(--c-ink) 23px 26px);
}
.stripes--thin { height: 14px; background: linear-gradient(var(--a1) 0 6px, var(--c-ink) 6px 8px, var(--a2) 8px 14px); }

/* Hang tag label (like the card-stock tags on the tees) */
.tag {
  position: relative; display: inline-flex; align-items: center;
  padding: .42em .75em .42em 1.55em;
  font: 700 .7rem/1 var(--f-body); letter-spacing: .09em; text-transform: uppercase;
  color: var(--c-ink); background: var(--c-card);
  border: 1.5px solid var(--c-ink); border-radius: 4px 8px 8px 4px;
}
.tag::before { content: ""; position: absolute; left: .55em; top: 50%; width: .45em; height: .45em; border-radius: 50%; border: 1.5px solid var(--c-ink); transform: translateY(-50%); background: var(--c-paper); }
.tag--sunset { background: var(--c-sunset); color: #fffaf0; }
.tag--dune { background: var(--c-dune); }
.tag--ink { background: var(--c-ink); color: var(--c-paper); }
.tag--ink::before { border-color: var(--c-paper); background: var(--c-ink); }

.card { background: var(--c-card); border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); color: var(--c-ink); }

/* Editor-only flag for sample content */
.editor-flag { display: inline-flex; gap: .5em; align-items: center; margin-bottom: 1.25rem; padding: .55em .9em; font: 700 .8rem/1.3 var(--f-body); color: #5a1d14; background: #fde3d4; border: 1.5px dashed var(--c-cherry); border-radius: 8px; }

/* Placeholder SVGs from Shopify */
.placeholder { width: 100%; height: 100%; background: var(--c-paper-2); fill: color-mix(in srgb, var(--c-ink) 35%, transparent); }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head__copy { max-width: 46rem; }
.section-head__copy > * + * { margin-top: .75rem; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__copy { margin-inline: auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.announcement { font-size: .875rem; font-weight: 500; text-align: center; padding: .6rem var(--gutter); }
.announcement a { font-weight: 700; text-underline-offset: 3px; }
.announcement p { display: inline; }

.site-header { position: relative; z-index: 40; background: var(--c-paper) var(--grain); border-bottom: var(--line-w) solid var(--c-ink); }
/* Shopify wraps each section in a div, so the wrapper is what sticks */
.section-header:has(.is-sticky) { position: sticky; top: 0; z-index: 40; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 78px; }
.site-header__logo { justify-self: start; display: inline-flex; text-decoration: none; padding-block: 10px; }
.site-header__logo img { width: var(--logo-w, 140px); height: auto; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: .15rem; }
.site-header__menu-btn { display: none; }

.site-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-nav a, .site-nav summary { display: inline-flex; align-items: center; gap: .3em; padding-block: .5rem; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; list-style: none; background: linear-gradient(var(--c-sunset), var(--c-sunset)) left bottom / 0 3px no-repeat; transition: background-size .2s; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav summary:hover { background-size: 100% 3px; }
.site-nav details { position: relative; }
.site-nav summary svg { width: 14px; height: 14px; transition: transform .2s; }
.site-nav details[open] summary svg { transform: rotate(180deg); }
.site-nav__sub { position: absolute; left: -1rem; top: calc(100% + .5rem); min-width: 220px; padding: .6rem !important; display: grid !important; gap: 0 !important; background: var(--c-card); border: var(--line-w) solid var(--c-ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--c-dune); }
.site-nav__sub a { display: block; padding: .55rem .7rem; border-radius: 8px; background: none; font-weight: 500; }
.site-nav__sub a:hover { background: var(--c-paper-2); }

.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font: 700 .7rem/1 var(--f-body); background: var(--c-dune); color: var(--c-ink); border: 1.5px solid var(--c-ink); border-radius: 999px; }

/* Wordmark (used when no logo image is uploaded) */
.wordmark { display: inline-grid; justify-items: start; line-height: .86; transform: rotate(-4deg); font-size: 16px; --retro-fill: var(--c-paper); --retro-line: var(--c-ink); }
.wordmark__top { font-size: 1.15em; padding-left: .1em; }
.wordmark__main { font-size: 2.35em; }
.wordmark--xl { font-size: clamp(22px, 3.2vw, 34px); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(88vw, 400px); height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-right: var(--line-w) solid var(--c-ink); background: var(--c-paper) var(--grain); color: var(--c-ink); }
.drawer::backdrop { background: rgb(15 30 26 / .55); }
.drawer[open] { animation: drawer-in .25s ease-out; }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); border-bottom: var(--line-w) solid var(--c-ink); }
.drawer__nav { padding: 1.5rem var(--gutter); overflow-y: auto; flex: 1; }
.drawer__nav > ul > li + li { border-top: 1.5px solid color-mix(in srgb, var(--c-ink) 18%, transparent); }
.drawer__nav a { display: block; padding: .8rem 0; font: 800 1.6rem/1.15 var(--f-display); text-decoration: none; }
.drawer__nav ul ul a { font: 500 1.05rem/1.3 var(--f-body); padding: .45rem 0 .45rem 1rem; }
.drawer .stripes { flex-shrink: 0; }

@media (max-width: 899px) {
  .site-header__inner { grid-template-columns: 44px 1fr auto; min-height: 66px; gap: .5rem; }
  .site-header__menu-btn { display: inline-grid; }
  .site-header__logo { justify-self: center; }
  .site-nav { display: none; }
  .wordmark { font-size: 12.5px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-bottom: 2rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 2.5rem 3rem; padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.site-footer__brand > * + * { margin-top: 1.25rem; }
.site-footer__brand .wordmark { font-size: clamp(20px, 2.6vw, 28px); --retro-line: #0f241f; }
.site-footer__brand p { max-width: 34ch; color: color-mix(in srgb, var(--fg) 80%, transparent); }
.site-footer h2 { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-dune); margin-bottom: 1rem; }
.site-footer ul a { display: inline-block; padding-block: .3rem; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-dune); }
.social { display: flex; gap: .25rem; margin-left: -10px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social a:hover { background: rgb(255 255 255 / .08); }
.social svg { width: 22px; height: 22px; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1.5px solid rgb(243 234 213 / .2); font-size: .85rem; color: color-mix(in srgb, var(--fg) 75%, transparent); }
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.payment-icons { display: flex; flex-wrap: wrap; gap: .4rem; }
.payment-icons svg { width: 38px; height: 24px; }
@media (max-width: 699px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero__title { display: grid; gap: .1em; font-size: var(--fs-hero); line-height: .98; }
.hero__retro { display: block; padding-bottom: .18em; transform: rotate(-2deg); transform-origin: left; }
.hero__plain { display: block; font-weight: 800; }
.hero__text { margin-top: 1.5rem; max-width: 34rem; font-size: 1.15rem; color: color-mix(in srgb, var(--fg) 85%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2.25rem; }
.hero__media { position: relative; }
.hero__frame { aspect-ratio: 5 / 4; border: 3px solid var(--c-ink); border-radius: 22px; overflow: hidden; background: var(--c-paper-2); box-shadow: 10px 10px 0 var(--a2), 20px 20px 0 var(--a1); margin: 0 20px 20px 0; }
.hero__frame img, .hero__frame svg { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker { position: absolute; left: -36px; bottom: -14px; width: clamp(120px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: rotate(-10deg); filter: drop-shadow(4px 6px 0 rgb(28 58 52 / .35)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.hero__sticker:hover { transform: rotate(4deg) scale(1.04); }
.hero__sticker img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { margin-right: 0; }
  .hero__sticker { left: auto; right: 8px; bottom: -22px; width: 112px; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { overflow: hidden; border-block: var(--line-w) solid var(--c-ink); padding-block: .95rem; }
.ticker__track { display: flex; width: max-content; animation: ticker var(--ticker-speed, 40s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex-shrink: 0; }
.ticker__list li { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font: 700 clamp(1.05rem, 1.6vw, 1.35rem)/1 var(--f-display); white-space: nowrap; }
.ticker__list li::after { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--c-dune); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c-dune); }
@keyframes ticker { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ==========================================================================
   Product cards + grids
   ========================================================================== */
.pgrid { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.pgrid--feature { --cols: 2; gap: clamp(20px, 3.5vw, 48px); }
@media (max-width: 1099px) { .pgrid { --cols: 3; } .pgrid--feature { --cols: 2; } }
@media (max-width: 749px)  { .pgrid { --cols: 2; } .pgrid--feature { --cols: 1; } }

.pcard { position: relative; display: flex; flex-direction: column; color: inherit; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); background: var(--c-paper-2); }
.pcard__media img, .pcard__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s ease; }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.025); }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.pcard__info { display: grid; gap: .3rem; padding: .9rem .15rem 0; }
.pcard__title { font: 700 1.15rem/1.2 var(--f-display); }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; }
.pcard__sizes { font-size: .82rem; font-weight: 500; opacity: .75; }
.dots { display: flex; gap: 5px; }
.dots span { width: 15px; height: 15px; border-radius: 50%; background: var(--swatch); border: 1.5px solid var(--c-ink); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { font-weight: 500; opacity: .6; }
.price__sale { color: var(--c-cherry); }

/* Feature card (founding drop) */
.pcard--feature { color: var(--c-ink); background: var(--c-card); border: 3px solid var(--c-ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--accent, var(--c-dune)); transition: transform .2s, box-shadow .2s; }
.pcard--feature:nth-child(2n) { --accent: var(--c-sunset); }
.pcard--feature:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--accent, var(--c-dune)); }
.pcard--feature .pcard__media { border: 0; border-bottom: 3px solid var(--c-ink); border-radius: 0; aspect-ratio: 1 / 1; }
.pcard--feature .pcard__info { padding: 1.4rem 1.5rem 1.6rem; gap: .65rem; }
.pcard--feature .pcard__title { font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 800; }
.pcard--feature .pcard__excerpt { color: color-mix(in srgb, var(--c-ink) 80%, transparent); max-width: 44ch; }
.pcard--feature .price { font-size: 1.15rem; }
.pcard__cta { margin-top: 1rem; }
.pcard__cta .btn { position: relative; z-index: 3; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .25rem; }
.size-chips span { min-width: 38px; padding: .3em .5em; font: 700 .75rem/1 var(--f-body); text-align: center; border: 1.5px solid var(--c-ink); border-radius: 6px; }
.size-chips span.is-out { opacity: .4; text-decoration: line-through; }

/* ==========================================================================
   Proof points (hang tags)
   ========================================================================== */
.proof__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.proof__copy > * + * { margin-top: 1.1rem; }
.proof__copy .btn { margin-top: 1.75rem; }
.proof__tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(16px, 2.5vw, 32px); padding-top: 36px; }
.hangtag { position: relative; padding: 2.6rem 1.5rem 1.6rem; background: var(--c-card); color: var(--c-ink); border: var(--line-w) solid var(--c-ink); border-radius: 14px 14px 18px 18px; transform-origin: 50% -30px; transform: rotate(var(--tilt, -1.5deg)); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.hangtag:nth-child(2) { --tilt: 1.8deg; }
.hangtag:nth-child(3) { --tilt: 1.2deg; }
.hangtag:nth-child(4) { --tilt: -2.2deg; }
.hangtag:hover { transform: rotate(0deg); }
/* punched hole + string */
.hangtag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); border: var(--line-w) solid var(--c-ink); }
.hangtag::after { content: ""; position: absolute; bottom: calc(100% - 21px); left: 50%; width: 2px; height: 44px; background: repeating-linear-gradient(var(--c-ink) 0 3px, transparent 3px 5px); }
.hangtag__icon { display: block; width: 36px; height: 36px; margin-bottom: .9rem; color: var(--c-sunset); }
.hangtag__icon svg { width: 100%; height: 100%; }
.hangtag h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.hangtag p { font-size: .98rem; color: color-mix(in srgb, var(--c-ink) 80%, transparent); }
@media (max-width: 899px) { .proof__layout { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .proof__tags { grid-template-columns: 1fr; } }

/* ==========================================================================
   Image with text
   ========================================================================== */
.iwt__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.iwt--right .iwt__media { order: 2; }
.iwt__media img, .iwt__media svg { width: 100%; height: auto; }
.iwt__media--rounded { border: 3px solid var(--c-ink); border-radius: 22px; overflow: hidden; }
.iwt__media--circle { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; filter: drop-shadow(10px 12px 0 rgb(15 36 31 / .28)); }
.iwt__media--circle img { width: 100%; height: 100%; object-fit: cover; }
.iwt__copy > * + * { margin-top: 1.1rem; }
.iwt__copy .rte { font-size: 1.1rem; max-width: 36rem; }
.iwt__copy .btn { margin-top: 1.75rem; }
@media (max-width: 799px) { .iwt__inner { grid-template-columns: 1fr; } .iwt--right .iwt__media { order: 0; } .iwt__media--circle { max-width: 340px; } }

/* ==========================================================================
   Journal story cards (homepage feed, "Keep reading")
   White card, pine outline. Stories without a photo get a stripe edge and
   their excerpt — never a colour tile.
   ========================================================================== */
.jn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jn-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jn-story { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #FFFFFF; color: var(--c-ink); border: 2px solid var(--c-ink); border-radius: var(--radius); transition: transform .15s ease, box-shadow .15s ease; }
.jn-story:hover, .jn-story:focus-within { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--a2), 8px 8px 0 var(--a1); }
@media (hover: none) { .jn-story:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .jn-story:hover, .jn-story:focus-within { transform: none; } }
.jn-story__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-paper-2); border-bottom: 2px solid var(--c-ink); }
.jn-story__media img { width: 100%; height: 100%; object-fit: cover; }
.jn-story__edge { flex: 0 0 10px; background: linear-gradient(var(--a1) 0 4px, var(--c-ink) 4px 6px, var(--a2) 6px 10px); }
.jn-story__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; }
.jn-story .tag::before { background: #FFFFFF; }
.jn-story__title { font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -.005em; color: var(--c-ink); text-wrap: balance; }
.jn-story__title a { color: inherit; text-decoration: none; }
.jn-story__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.jn-story:hover .jn-story__title a { text-decoration-line: underline; text-decoration-thickness: 3px; text-decoration-color: var(--c-sunset); text-underline-offset: 4px; }
.jn-story__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font: 400 .9375rem/1.55 var(--f-body); color: var(--jn-muted); }
.jn-story__meta { margin-top: auto; padding-top: 6px; font: 500 .8125rem/1.4 var(--f-body); color: var(--jn-label); white-space: nowrap; }
.jn-story--text .jn-story__body { padding: 22px; }
.jn-story--text .jn-story__title { font-size: 1.5rem; line-height: 1.15; }
.jn-story--text .jn-story__excerpt { -webkit-line-clamp: 4; }
@media (min-width: 900px) {
  .jn-grid > .jn-story:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .jn-grid > .jn-story:not(.jn-story--text):last-child:nth-child(3n+1) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .jn-grid > .jn-story:not(.jn-story--text):last-child:nth-child(3n+1) .jn-story__media { border-bottom: 0; border-right: 2px solid var(--c-ink); }
}
@media (max-width: 899px) {
  .jn-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .jn-grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .jn-story:not(.jn-story--text) { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .jn-story:not(.jn-story--text) .jn-story__media { aspect-ratio: auto; min-height: 96px; border-bottom: 0; border-right: 2px solid var(--c-ink); }
  .jn-story__body, .jn-story--text .jn-story__body { gap: 8px; padding: 14px 16px 16px; }
  .jn-story__title { font-size: 1.125rem; }
  .jn-story--text .jn-story__title { font-size: 1.25rem; }
  .jn-story:not(.jn-story--text) .jn-story__excerpt { display: none; }
}

/* Drawn covers for stories without a photo (snippets/topic-art.liquid) */
.ta { display: block; width: 100%; height: 100%; }
.ta .ta-k, .ta.ta .ta-k { stroke: var(--c-ink); stroke-width: 3; stroke-linejoin: round; }
.ta-sky { fill: color-mix(in srgb, var(--c-paper-2) 70%, var(--c-dune)); }
.ta-sky-warm { fill: color-mix(in srgb, var(--c-dune) 45%, var(--c-paper)); }
.ta-sky-ice { fill: color-mix(in srgb, var(--c-lake) 18%, #FFFFFF); }
.ta-branch { fill: none; stroke: color-mix(in srgb, var(--c-sunset) 45%, var(--c-ink)); stroke-width: 6; stroke-linecap: round; }
.ta-beam { fill: none; stroke: var(--c-dune); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.ta-night { fill: var(--c-ink); }
.ta-sand { fill: var(--c-paper-2); }
.ta-p { fill: var(--c-card); }
.ta-l { fill: var(--c-lake); }
.ta-l2 { fill: color-mix(in srgb, var(--c-lake) 82%, var(--c-ink)); }
.ta-d { fill: var(--c-dune); }
.ta-s2 { fill: color-mix(in srgb, var(--c-sunset) 55%, var(--c-ink)); }
.ta-m { fill: var(--c-moss); }
.ta-c { fill: var(--c-cherry); }
.ta-a1 { fill: var(--a1); }
.ta-a2 { fill: var(--a2); }
.ta-ink { fill: var(--c-ink); }
.ta-log { fill: color-mix(in srgb, var(--c-sunset) 40%, var(--c-ink)); }
.ta-pine { fill: var(--c-ink); }
.ta-pine-dark { fill: #0f241f; }
.ta-star { fill: var(--c-paper); }
.ta-post, .ta-ripple, .ta-steam, .ta-dash, .ta-dash-p, .ta-dots { fill: none; stroke-linecap: round; }
.ta-ripple { stroke: var(--c-card); stroke-width: 3; }
.ta-steam { stroke: var(--c-ink); stroke-width: 2; opacity: .6; }
.ta-dash { stroke: var(--c-dune); stroke-width: 4; }
.ta-dash-p { stroke: var(--c-card); stroke-width: 3; stroke-dasharray: 2 10; opacity: .7; }
.ta-dots { stroke: var(--c-ink); stroke-width: 4; opacity: .35; }
.ta-post { stroke-width: 3; }
.jn-story__media--art { background: var(--c-paper-2); }
.jn-story:hover .jn-story__media--art .ta { transform: scale(1.03); }
.jn-story__media--art .ta { transition: transform .6s ease; }
.jn-story--art .jn-story__body { padding-bottom: 20px; }

/* "Swipe for more" under the swipe rows: hidden until the phone rule below shows it */
.jn-swipe-hint { display: none; align-items: center; gap: .5rem; margin-top: 4px; font: 600 .8125rem/1 var(--f-body); color: var(--jn-label); }
.jn-swipe-hint svg { width: 16px; height: 16px; }

/* Phones: the homepage feed and "Keep reading" become a swipe row instead of a tall stack */
@media (max-width: 749px) {
  .jn-grid { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .jn-grid::-webkit-scrollbar { display: none; }
  .jn-grid > .jn-story { scroll-snap-align: start; display: flex !important; }
  .jn-grid > .jn-story .jn-story__media { aspect-ratio: 3 / 2 !important; min-height: 0 !important; border-right: 0 !important; border-bottom: 2px solid var(--c-ink) !important; }
  .jn-grid > .jn-story--text .jn-story__excerpt { -webkit-line-clamp: 6; }
  .jn-swipe-hint { display: flex; }
}

/* "Wear the story": 3 across; a swipe row on phones instead of a 2 + 1 orphan */
.pgrid--story { --cols: 3; }
@media (max-width: 749px) {
  .pgrid.pgrid--story { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .pgrid--story > * { scroll-snap-align: start; }
}

/* ==========================================================================
   Launch hero (pre-launch homepage): headline, short note, notify-me form
   ========================================================================== */
.launch .hero__inner { padding-block: clamp(36px, 5vw, 80px) clamp(44px, 6vw, 88px); }
.launch__kicker { margin-bottom: 1.25rem; }
.launch .hero__retro { padding-bottom: .02em; }
.launch__form { max-width: 34rem; margin-top: 2rem; }
.launch__fine { margin-top: .8rem; font-size: .875rem; color: var(--jn-label); }
.launch__read { margin-top: 1.75rem; }
@media (min-width: 900px) and (max-width: 1099px) { .launch .hero__sticker { left: -8px; } }

/* ==========================================================================
   Product page
   ========================================================================== */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; font-size: .88rem; color: color-mix(in srgb, var(--fg) 70%, transparent); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.product__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product__info-inner { position: sticky; top: 104px; display: grid; gap: 1.5rem; }
@media (max-width: 899px) { .product__grid { grid-template-columns: 1fr; } .product__info-inner { position: static; } }

.gallery { min-width: 0; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: start; border: 3px solid var(--c-ink); border-radius: 22px; background: var(--c-paper-2); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.gallery__slide img, .gallery__slide svg, .gallery__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.gallery__thumbs li { flex: 0 0 78px; }
.gallery__thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid color-mix(in srgb, var(--c-ink) 30%, transparent); border-radius: 12px; background: var(--c-paper-2); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-dune); }
.gallery__count { display: none; }
@media (max-width: 899px) {
  .gallery__track { border-radius: 18px; }
  .gallery__thumbs { display: none; }
  .gallery__count { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gallery__count span { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--c-ink) 25%, transparent); transition: width .2s, background-color .2s; }
  .gallery__count span[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--c-ink); }
}

.product__title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1; }
.product__subtitle { font-size: 1.1rem; color: color-mix(in srgb, var(--fg) 80%, transparent); }
.product__price .price { font-size: 1.45rem; }
.product__price-note { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 400; color: color-mix(in srgb, var(--fg) 68%, transparent); }

.option { border: 0; padding: 0; margin: 0; min-width: 0; }
.option + .option { margin-top: 1.4rem; }
.option__legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0; margin-bottom: .7rem; font-weight: 700; }
.option__legend span { font-weight: 400; }
.option__aside { display: inline-flex; align-items: center; gap: .35em; font-size: .9rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-sunset); }
.option__aside svg { width: 16px; height: 16px; }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; min-width: 56px; padding: .8em .9em; font-weight: 700; text-align: center; background: var(--c-card); border: 2px solid var(--c-ink); border-radius: 10px; cursor: pointer; transition: background-color .15s, box-shadow .15s; user-select: none; }
.pill:hover { background: var(--c-paper-2); }
.option__input:checked + .pill { background: var(--c-ink); color: var(--c-paper); box-shadow: 3px 3px 0 var(--c-dune); }
.option__input:focus-visible + label { outline: 3px solid var(--c-lake); outline-offset: 3px; }
.pill.is-unavailable { color: color-mix(in srgb, var(--c-ink) 45%, transparent); border-style: dashed; background: transparent; }
.pill.is-unavailable::after { content: ""; position: absolute; inset: 50% 8px auto; height: 2px; background: currentColor; transform: rotate(-18deg); }
.option__input:checked + .pill.is-unavailable { color: var(--c-paper); }
.swatch { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.swatch__chip { width: 36px; height: 36px; border-radius: 50%; background: var(--swatch); border: 2px solid var(--c-ink); }
.option__input:checked + .swatch { border-color: var(--c-ink); box-shadow: 0 0 0 2px var(--c-dune); }
.swatch { position: relative; }
.swatch.is-unavailable .swatch__chip { opacity: .55; }
.swatch.is-unavailable::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--c-ink); transform: rotate(-45deg); }

.buy__row { display: flex; gap: 10px; }
.buy__row .btn { flex: 1; min-height: 58px; font-size: 1.05rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--c-ink); border-radius: 12px; background: var(--c-card); }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; font-weight: 700; }
.qty input { width: 38px; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy .shopify-payment-button { margin-top: 14px; }
.buy .shopify-payment-button__button { border-radius: 12px; min-height: 52px; }
.form-error { margin-top: .75rem; color: var(--c-error); font-weight: 700; }
.scheme-dune .form-error { color: var(--c-ink); }

.note-tag { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 1.1rem 1.25rem 1.1rem 1.1rem; background: color-mix(in srgb, var(--c-dune) 28%, var(--c-card)); border: 2px solid var(--c-ink); border-radius: 12px; }
.note-tag svg { grid-row: span 2; width: 28px; height: 28px; color: var(--c-sunset); }
.note-tag strong { font: 700 1.05rem/1.25 var(--f-display); }
.note-tag .rte { font-size: .95rem; }

.accordion { border-top: 2px solid var(--c-ink); }
.accordion:last-of-type { border-bottom: 2px solid var(--c-ink); }
.accordion + .accordion { border-top-width: 1.5px; border-top-color: color-mix(in srgb, var(--c-ink) 30%, transparent); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font: 700 1.1rem/1.25 var(--f-display); list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex-shrink: 0; width: 20px; height: 20px; transition: transform .2s; }
.accordion[open] summary svg { transform: rotate(45deg); }
.accordion .rte { padding-bottom: 1.25rem; font-size: .98rem; }
.product__desc { font-size: 1.02rem; }
.product__desc > * + * { margin-top: .9em; }

/* Fit section */
.fit__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.fit__head h2 { font-size: var(--fs-h1); }
.fit__head .rte { font-size: 1.1rem; }
.fit__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fit__table-card { padding: clamp(16px, 2.5vw, 28px); overflow-x: auto; }
.fit__table-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.fit__table-top h3 { font-size: 1.3rem; }
.unit-toggle { display: inline-flex; padding: 3px; border: 2px solid var(--c-ink); border-radius: 999px; }
.unit-toggle button { padding: .35em .9em; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .85rem; }
.unit-toggle button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-paper); }
.fit-table { width: 100%; font-variant-numeric: tabular-nums; }
.fit-table th, .fit-table td { padding: .75rem .6rem; text-align: center; border-bottom: 1.5px solid color-mix(in srgb, var(--c-ink) 16%, transparent); }
.fit-table thead th { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .09em; text-transform: uppercase; border-bottom: 2.5px solid var(--c-ink); }
.fit-table tbody th { font: 800 1.05rem/1 var(--f-display); text-align: left; }
.fit-table thead th:first-child { text-align: left; }
.fit-table tbody tr:last-child > * { border-bottom: 0; }
.fit-table tbody tr:hover { background: color-mix(in srgb, var(--c-dune) 18%, transparent); }
.fit__unit { margin-top: 1rem; font-size: .85rem; color: color-mix(in srgb, var(--c-ink) 70%, transparent); }
.fit__side { display: grid; gap: clamp(20px, 3vw, 28px); }
.wash { padding: 1.5rem; background: var(--c-lake); color: #fffaf0; }
.wash h3 { font-size: 1.3rem; }
.wash__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 1.1rem .9rem; }
.wash__stat { padding: .9rem 1rem; border: 2px solid rgb(255 250 240 / .55); border-radius: 12px; }
.wash__stat strong { display: block; font: 900 2.2rem/1 var(--f-display); }
.wash__stat span { font-size: .85rem; }
.wash p { font-size: .92rem; }
.testers { display: grid; gap: 12px; }
.tester { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 1.1rem 1.25rem; }
.tester__size { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-dune); border: 2px solid var(--c-ink); font: 900 1rem/1 var(--f-display); }
.tester__who { font-size: .85rem; font-weight: 700; }
.tester blockquote { font-size: .98rem; }
.fit__pending { max-width: 40rem; padding: 1.5rem; border: 2px dashed currentColor; border-radius: var(--radius); }
@media (max-width: 899px) { .fit__head, .fit__grid { grid-template-columns: 1fr; } }
@media (max-width: 499px) {
  .fit-table th, .fit-table td { padding: .7rem .25rem; }
  .fit-table thead th { font-size: .62rem; letter-spacing: .05em; }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(32px, 6vw, 96px); align-items: center; }
.newsletter__copy > * + * { margin-top: 1rem; }
.newsletter__copy h2 { font-size: var(--fs-h1); }
.newsletter__copy .rte { font-size: 1.1rem; max-width: 30rem; }
.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; min-width: 0; min-height: 56px; padding: 0 1.1rem; font-size: 1.05rem; color: var(--c-ink); background: var(--c-card); border: var(--line-w) solid var(--c-ink); border-radius: 12px; }
.field-row input::placeholder { color: color-mix(in srgb, var(--c-ink) 50%, transparent); }
.field-row .btn { min-height: 56px; }
.newsletter__fine { margin-top: .9rem; font-size: .85rem; opacity: .8; }
.scheme-dune .newsletter__fine { opacity: 1; }
.form-success { margin-top: .9rem; font-weight: 700; }
@media (max-width: 799px) { .newsletter__inner { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .field-row { flex-direction: column; } }

/* ==========================================================================
   Collection, cart, search, pages
   ========================================================================== */
.collection-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.collection-hero h1 { font-size: var(--fs-hero); line-height: .95; }
.collection-hero .rte { max-width: 40rem; margin-top: 1rem; font-size: 1.1rem; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; margin-bottom: 2rem; border-block: 2px solid var(--c-ink); font-size: .95rem; }
.select { position: relative; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.select select { appearance: none; padding: .55em 2.2em .55em .9em; font-weight: 700; background: var(--c-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C3A34' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .6em center / 16px no-repeat; border: 2px solid var(--c-ink); border-radius: 10px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: clamp(40px, 5vw, 64px); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; font-weight: 700; text-decoration: none; border-radius: 10px; }
.pagination a { border: 2px solid var(--c-ink); }
.pagination a:hover { background: var(--c-paper-2); }
.pagination .is-current { background: var(--c-ink); color: var(--c-paper); }

.cart__layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-items { display: grid; }
.cart-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 1.25rem; align-items: start; padding-block: 1.5rem; border-bottom: 1.5px solid color-mix(in srgb, var(--c-ink) 20%, transparent); }
.cart-item:first-child { border-top: 2px solid var(--c-ink); }
.cart-item__media { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--c-ink); border-radius: 12px; background: var(--c-paper-2); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font: 700 1.2rem/1.2 var(--f-display); text-decoration: none; }
.cart-item__opts { margin-top: .3rem; font-size: .9rem; color: color-mix(in srgb, var(--c-ink) 72%, transparent); }
.cart-item__controls { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.cart-item__controls .qty { height: 42px; }
.cart-item__remove { font-size: .88rem; font-weight: 700; text-underline-offset: 3px; }
.cart-item__price { font-weight: 700; text-align: right; }
.cart-summary { position: sticky; top: 104px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 1.1rem; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: baseline; font: 800 1.35rem/1.2 var(--f-display); }
.cart-summary textarea { width: 100%; min-height: 84px; padding: .75rem; border: 2px solid var(--c-ink); border-radius: 10px; background: var(--c-paper); resize: vertical; }
.cart-empty { text-align: center; padding-block: clamp(32px, 6vw, 80px); }
.cart-empty > * + * { margin-top: 1.25rem; }
@media (max-width: 899px) { .cart__layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
@media (max-width: 549px) { .cart-item { grid-template-columns: 84px minmax(0, 1fr); } .cart-item__price { grid-column: 2; text-align: left; } }

.search-form { display: flex; gap: 10px; max-width: 640px; margin-top: 1.5rem; }
.search-form input { flex: 1; min-width: 0; min-height: 54px; padding: 0 1.1rem; font-size: 1.05rem; background: var(--c-card); border: var(--line-w) solid var(--c-ink); border-radius: 12px; }
.result-list { display: grid; gap: 1rem; margin-top: 2.5rem; }
.result-list a { display: block; padding: 1.1rem 1.25rem; text-decoration: none; }
.result-list a:hover { background: var(--c-paper-2); }

.page-head { padding-block: clamp(40px, 6vw, 80px) 1rem; }
.page-head h1 { font-size: var(--fs-hero); line-height: .95; }
.page-body { padding-bottom: var(--space-section); }
.page-body .rte { font-size: 1.12rem; max-width: 720px; }

.not-found { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.not-found__big { font-size: clamp(5rem, 16vw, 12rem); line-height: .9; }
.not-found > * + * { margin-top: 1.5rem; }

.clist { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.clist__item { position: relative; display: grid; gap: .9rem; text-decoration: none; }
.clist__media { aspect-ratio: 4 / 3; overflow: hidden; border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); background: var(--tile, var(--c-lake)); }
.clist__media img, .clist__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.clist__item:hover img { transform: scale(1.03); }
.clist__item:nth-child(4n+2) { --tile: var(--c-sunset); }
.clist__item:nth-child(4n+3) { --tile: var(--c-dune); }
.clist__item:nth-child(4n+4) { --tile: var(--c-moss); }
.clist__title { display: flex; justify-content: space-between; align-items: center; font: 800 1.35rem/1.15 var(--f-display); }
.clist__title svg { width: 22px; height: 22px; transition: transform .2s; }
.clist__item:hover .clist__title svg { transform: translateX(4px); }
@media (max-width: 899px) { .clist { --cols: 2; } }
@media (max-width: 499px) { .clist { --cols: 1; } }

/* Password page */
.password { min-height: 100vh; display: grid; grid-template-rows: 1fr auto; }
.password__main { display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.password__main > div { max-width: 560px; display: grid; gap: 1.5rem; justify-items: center; }
.password__main .wordmark { font-size: clamp(26px, 6vw, 44px); margin-bottom: 1rem; }
.password__main .field-row { width: 100%; }
.password__foot { padding: 1.25rem var(--gutter); text-align: center; font-size: .9rem; }
.password__foot details { display: inline-block; }
.password__foot form { display: flex; gap: 8px; margin-top: .75rem; }
.password__foot input { min-height: 44px; padding: 0 .9rem; border: 2px solid var(--c-ink); border-radius: 10px; background: var(--c-card); }

/* ==========================================================================
   Cart toast (after add-to-cart)
   ========================================================================== */
.toast { position: fixed; right: max(16px, var(--gutter)); top: 96px; z-index: 60; width: min(380px, calc(100vw - 32px)); padding: 1.25rem; background: var(--c-card); color: var(--c-ink); border: 3px solid var(--c-ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--c-dune), 12px 12px 0 var(--c-sunset); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility 0s .25s; }
.toast.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s, opacity .25s; }
.toast__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 800 1.15rem/1.2 var(--f-display); }
.toast__head span { display: inline-flex; align-items: center; gap: .5rem; }
.toast__head svg { width: 22px; height: 22px; color: var(--c-moss); }
.toast__item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; align-items: center; margin-block: 1rem; }
.toast__item img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--c-ink); border-radius: 10px; }
.toast__item p { font-size: .92rem; }
.toast__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast__actions .btn { min-height: 46px; padding-inline: .8rem; font-size: .92rem; --sh-x: 2px; }
@media (max-width: 599px) { .toast { top: auto; bottom: 16px; } }

/* ==========================================================================
   v1.1 — founding drop meter
   ========================================================================== */
.meter { display: grid; gap: .55rem; }
.meter__count { font-size: .98rem; }
.meter__count strong { font: 900 1.35em/1 var(--f-display); font-variant-numeric: tabular-nums; }
.meter__count span { color: color-mix(in srgb, var(--fg) 78%, transparent); }
.meter__bar { position: relative; height: 16px; overflow: hidden; background: var(--c-card); border: 2px solid var(--c-ink); border-radius: 999px; }
.meter__bar span { display: block; height: 100%; width: var(--p, 0%); min-width: 6px; background: repeating-linear-gradient(-45deg, var(--a1) 0 8px, var(--a2) 8px 16px); border-right: 2px solid var(--c-ink); border-radius: 999px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .15s; }
.meter__bar--small { height: 10px; border-width: 1.5px; }
.meter__note { font-size: .875rem; color: var(--jn-label); }
.meter--hero { max-width: 34rem; margin-top: 1.75rem; }
.meter--product { padding: 1rem 1.1rem; background: var(--c-card); border: 2px solid var(--c-ink); border-radius: 12px; }
.meter--bar { display: inline-flex; align-items: center; gap: .65rem; margin-left: .9rem; vertical-align: middle; }
.meter--bar .meter__count { font-size: .8rem; }
.meter--bar .meter__count strong { font: 700 1em/1 var(--f-body); }
.meter--bar .meter__count span { display: none; }
.meter--bar .meter__bar { width: 110px; height: 10px; border-color: currentColor; background: transparent; }
.meter--bar .meter__bar span { border-right-color: currentColor; }
.is-reached .meter__bar span { background: var(--c-moss); }
.reveal-ready .meter:not(.is-in) .meter__bar span { width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .meter__bar span { background-size: 22.6px 22.6px; animation: meter-march 1.2s linear infinite; }
  @keyframes meter-march { to { background-position: 22.6px 0; } }
}
@media (max-width: 599px) { .meter--bar { display: flex; justify-content: center; margin: .35rem 0 0; } }

.launch__season { display: flex; align-items: center; gap: .55rem; margin: -.35rem 0 1.1rem; font: italic 400 1rem/1.4 var(--f-body); color: color-mix(in srgb, var(--fg) 80%, transparent); }
.launch__season::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 0 2px var(--c-ink); }

/* ==========================================================================
   v1.1 — Pick the next story
   ========================================================================== */
.vote__fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.vote__options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.vote__option { position: relative; min-width: 0; }
.vote__card { display: flex; flex-direction: column; height: 100%; overflow: hidden; cursor: pointer; background: var(--c-card); color: var(--c-ink); border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); transform: rotate(var(--tilt, 0deg)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.vote__card:hover { transform: rotate(0deg) translateY(-3px); }
.vote__art { position: relative; display: block; aspect-ratio: 3 / 2; border-bottom: var(--line-w) solid var(--c-ink); background: var(--c-paper-2); }
.vote__art img, .vote__art .ta { width: 100%; height: 100%; object-fit: cover; }
.vote__check { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; color: var(--c-ink); background: var(--c-card); border: 2px solid var(--c-ink); border-radius: 50%; display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.vote__check svg { width: 22px; height: 22px; color: var(--c-moss); }
.vote__body { display: grid; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.vote__title { font: 800 1.3rem/1.15 var(--f-display); }
.vote__text { font-size: .95rem; color: color-mix(in srgb, var(--c-ink) 78%, transparent); }
.vote__input:checked + .vote__card { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 5px 5px 0 var(--a2), 10px 10px 0 var(--a1); }
.vote__input:checked + .vote__card .vote__check { transform: scale(1); opacity: 1; }
.vote__input:focus-visible + .vote__card { outline: 3px solid var(--c-lake); outline-offset: 4px; }
.vote__submit { max-width: 36rem; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; }
.vote__submit .newsletter__fine { opacity: .85; }
.vote__thanks { text-align: center; font-size: 1.15rem; }
@media (max-width: 1099px) { .vote__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .vote__options { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 18px; scrollbar-width: none; }
  .vote__options::-webkit-scrollbar { display: none; }
  .vote__option { scroll-snap-align: start; }
  .vote__card { --tilt: 0deg; }
}

/* ==========================================================================
   v1.1 — product page: size request, what's in it, sticky bar, fit finder
   ========================================================================== */
.size-ask { margin-top: -.6rem; }
.size-ask summary { display: inline-flex; align-items: center; gap: .45rem; padding-block: .25rem; font-size: .95rem; font-weight: 700; cursor: pointer; list-style: none; border-bottom: 2px solid var(--c-sunset); }
.size-ask summary::-webkit-details-marker { display: none; }
.size-ask summary svg { width: 18px; height: 18px; }
.size-ask summary svg:last-child { width: 14px; height: 14px; transition: transform .2s; }
.size-ask[open] summary svg:last-child { transform: rotate(180deg); }
.size-ask.is-sold-out summary { color: var(--c-error); border-color: var(--c-cherry); }
.size-ask__form { margin-top: .9rem; padding: 1rem; background: var(--c-card); border: 2px dashed var(--c-ink); border-radius: 12px; }
.size-ask__text { font-size: .92rem; margin-bottom: .75rem; }
.size-ask__row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-ask__row select, .size-ask__row input { min-height: 44px; padding: 0 .8rem; background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 10px; }
.size-ask__row select { font-weight: 700; }
.size-ask__row input { flex: 1 1 180px; min-width: 0; }

.making { padding: 1.15rem 1.25rem; background: var(--c-card); border: 2px solid var(--c-ink); border-radius: 14px 14px 18px 18px; }
.making__head { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; }
.making__head svg { width: 24px; height: 24px; color: var(--c-sunset); }
.making__head strong { font: 700 1.1rem/1.2 var(--f-display); }
.making__rows { display: grid; }
.making__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1.5px dashed color-mix(in srgb, var(--c-ink) 28%, transparent); font-size: .95rem; }
.making__row dt { font: 700 .75rem/1.6 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--jn-label); }
.making__link { margin-top: .75rem; font-size: .92rem; }

.sticky-buy { display: none; }
@media (max-width: 899px) {
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--c-card); border-top: var(--line-w) solid var(--c-ink); box-shadow: 0 -6px 0 color-mix(in srgb, var(--a2) 55%, transparent); transform: translateY(115%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy__info { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .sticky-buy__img { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--c-ink); border-radius: 8px; }
  .sticky-buy__title { font: 700 1rem/1.15 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy__variant { font-size: .8rem; color: var(--jn-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex-shrink: 0; min-height: 46px; --sh-x: 2px; }
}

.finder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem clamp(24px, 4vw, 48px); margin-bottom: clamp(20px, 3vw, 40px); padding: clamp(18px, 2.6vw, 30px); box-shadow: 6px 6px 0 var(--a2); }
.finder__head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.finder__head p { margin-top: .5rem; color: color-mix(in srgb, var(--c-ink) 78%, transparent); }
.finder__form { grid-column: 1; display: grid; gap: 1rem; align-content: start; }
.finder__field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.finder__field > label, .finder__field legend { padding: 0; font-weight: 700; font-size: .95rem; }
.finder__opt { font-weight: 400; color: var(--jn-label); }
.finder__select, .finder__chest input { min-height: 46px; padding: 0 .8rem; font-weight: 700; background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 10px; }
.finder__chest { display: flex; align-items: center; gap: .6rem; }
.finder__chest input { width: 7rem; }
.finder__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.finder__pills .pill { min-width: 0; padding: .6em .9em; font-size: .92rem; }
.finder__result { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; display: grid; align-content: center; gap: .6rem; padding: clamp(16px, 2.4vw, 28px); background: color-mix(in srgb, var(--c-dune) 16%, var(--c-paper)); border: 2px dashed var(--c-ink); border-radius: 14px; }
.finder__idle { color: var(--jn-label); text-align: center; }
.finder__pick { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.05 var(--f-display); }
.finder__pick strong { display: inline-block; padding: 0 .25em; background: var(--c-ink); color: var(--c-paper); border-radius: 8px; box-shadow: 3px 3px 0 var(--a2); }
.finder__numbers { font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--jn-label); }
.finder__tester { font-size: .95rem; padding-left: .8rem; border-left: 4px solid var(--a1); }
.finder__result .btn { justify-self: start; margin-top: .3rem; --sh-x: 2px; }
.fit-table tbody tr.is-match { background: color-mix(in srgb, var(--c-dune) 38%, transparent); }
.fit-table tbody tr.is-match th::after { content: " ←"; color: var(--c-sunset); }
@media (max-width: 899px) {
  .finder { grid-template-columns: 1fr; }
  .finder__form, .finder__result { grid-column: 1; grid-row: auto; }
}

/* ==========================================================================
   v1.1 — slide-out bag
   ========================================================================== */
.cdrawer { position: fixed; inset: 0 0 0 auto; width: min(94vw, 440px); height: 100dvh; max-height: none; max-width: none; margin: 0; padding: 0; border: 0; border-left: var(--line-w) solid var(--c-ink); background: var(--c-paper) var(--grain); color: var(--c-ink); }
.cdrawer[open] { display: flex; flex-direction: column; animation: cdrawer-in .28s cubic-bezier(.2, .7, .2, 1); }
.cdrawer::backdrop { background: rgb(15 30 26 / .55); }
@keyframes cdrawer-in { from { transform: translateX(100%); } }
.cdrawer[aria-busy="true"] .cdrawer__inner { opacity: .6; pointer-events: none; }
.cdrawer__inner { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; transition: opacity .15s; }
.cdrawer__top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: .9rem var(--gutter) .9rem 1.4rem; background: var(--c-paper); border-bottom: var(--line-w) solid var(--c-ink); }
.cdrawer__title { display: flex; align-items: center; gap: .55rem; font-size: 1.6rem; }
.cdrawer__count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; font: 700 .85rem/1 var(--f-body); background: var(--a2); border: 2px solid var(--c-ink); border-radius: 999px; }
.cdrawer__ship { display: grid; gap: .5rem; padding: 1rem 1.4rem; background: color-mix(in srgb, var(--c-dune) 18%, var(--c-paper)); border-bottom: 1.5px solid color-mix(in srgb, var(--c-ink) 20%, transparent); font-size: .92rem; }
.cdrawer .cdrawer__items { padding: .25rem 1.4rem; }
.cdrawer__item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1.5px solid color-mix(in srgb, var(--c-ink) 18%, transparent); }
.cdrawer__media { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--c-ink); border-radius: 10px; background: var(--c-paper-2); }
.cdrawer__media img { width: 100%; height: 100%; object-fit: cover; }
.cdrawer__name { font: 700 1.08rem/1.2 var(--f-display); text-decoration: none; }
.cdrawer__opts { margin-top: .2rem; font-size: .85rem; color: var(--jn-label); }
.cdrawer__controls { display: flex; align-items: center; gap: .9rem; margin-top: .6rem; }
.qty--small { height: 36px; border-radius: 10px; }
.qty--small button { width: 32px; font-size: 1rem; }
.qty--small span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cdrawer__remove { padding: 0; border: 0; background: none; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cdrawer__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cdrawer__foot { margin-top: auto; display: grid; gap: .8rem; padding: 1.2rem 1.4rem 1.4rem; background: var(--c-card); border-top: var(--line-w) solid var(--c-ink); }
.cdrawer__total { display: flex; justify-content: space-between; font: 800 1.3rem/1.2 var(--f-display); }
.cdrawer__view { justify-self: center; font-size: .9rem; font-weight: 700; text-underline-offset: 3px; }
.cdrawer__gift { display: grid; gap: .6rem; padding-bottom: .8rem; border-bottom: 1.5px dashed color-mix(in srgb, var(--c-ink) 28%, transparent); }
.cdrawer__note textarea { width: 100%; min-height: 76px; padding: .65rem .75rem; background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 10px; resize: vertical; }
.cdrawer__empty { display: grid; justify-items: center; gap: 1.1rem; padding: 2rem 1.4rem; text-align: center; }
.cdrawer__empty .ta { width: 220px; height: auto; aspect-ratio: 3 / 2; border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); }
.cdrawer > .stripes { flex-shrink: 0; }
.cdrawer .form-error { padding: 0 1.4rem 1rem; }
.check { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--c-ink); }

/* ==========================================================================
   v1.1 — search dialog
   ========================================================================== */
.smodal { width: min(680px, calc(100vw - 24px)); max-height: min(78vh, 720px); margin: 9vh auto auto; padding: 0; overflow: auto; background: var(--c-paper) var(--grain); color: var(--c-ink); border: 3px solid var(--c-ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--a2), 16px 16px 0 var(--a1); }
.smodal::backdrop { background: rgb(15 30 26 / .5); }
.smodal[open] { animation: smodal-in .22s ease-out; }
@keyframes smodal-in { from { opacity: 0; transform: translateY(-10px); } }
.smodal__form { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: .6rem; padding: .7rem .7rem .7rem 1.2rem; background: var(--c-paper); border-bottom: var(--line-w) solid var(--c-ink); }
.smodal__form > svg { width: 24px; height: 24px; flex-shrink: 0; }
.smodal__form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 .4rem; font: 700 1.25rem/1.2 var(--f-body); background: transparent; border: 0; }
.smodal__form input:focus-visible { outline: none; }
.smodal__form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.smodal__form:focus-within { box-shadow: inset 0 -3px 0 var(--c-lake); }
.smodal__results:empty { display: none; }
.smodal__results, .smodal__hint { padding: 1rem 1.2rem 1.3rem; }
.smodal__results[aria-busy="true"] { opacity: .55; }
.smodal .smodal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .7rem; }
.smodal__chips .tag { text-decoration: none; }
.ps__label { margin: .4rem 0 .5rem; color: var(--jn-label); }
.ps .ps__list { display: grid; gap: 4px; margin-bottom: 1rem; }
.ps__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .85rem; align-items: center; padding: .45rem; text-decoration: none; border-radius: 12px; }
.ps__item--text { grid-template-columns: 1fr; padding: .7rem .8rem; }
.ps__item:hover, .ps__item:focus-visible { background: var(--c-paper-2); }
.ps__thumb { display: block; width: 52px; height: 52px; overflow: hidden; border: 2px solid var(--c-ink); border-radius: 10px; background: var(--c-paper-2); }
.ps__thumb img, .ps__thumb .ta { width: 100%; height: 100%; object-fit: cover; }
.ps__item strong { display: block; font: 700 1.05rem/1.2 var(--f-display); }
.ps__meta { display: block; margin-top: .15rem; font-size: .85rem; color: var(--jn-label); }
.ps__none { padding: .5rem 0; }

/* ==========================================================================
   v1.1 — pages: Our story, FAQ
   ========================================================================== */
.page-story .hero__title { font-size: clamp(2.4rem, 5.6vw, 4.75rem); }
.page-story__text { margin-top: 1.5rem; max-width: 36rem; font-size: 1.12rem; }
.page-story__sig { margin-top: 1.5rem; font: 700 1.35rem/1.2 var(--f-display); transform: rotate(-2deg); transform-origin: left; color: var(--c-sunset); }

/* Our story, split layout: the title runs the full width, then the story beside "What we stand for" */
.page-story--split .hero__inner { display: block; }
.page-story--split .hero__title { max-width: none; }
.page-story__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(24px, 3.5vw, 44px); }
.page-story--split .page-story__text { margin-top: 0; max-width: 38rem; }

/* A postmark tucked against the end of the headline, drawn like snippets/postmark.liquid. Decorative and
   CSS-only, so its words stay out of the heading. It takes no width (negative margin) or height, so it never
   rewraps the headline or moves anything. */
.page-story--split .hero__plain::after { --pm: clamp(82px, 1.62em, 128px); content: ""; display: inline-block; width: var(--pm); height: calc(var(--pm) * 2 / 3); margin: calc(var(--pm) / -3) calc(-1 * var(--pm) - .14em) calc(var(--pm) / -3) .14em; vertical-align: middle; background: color-mix(in srgb, var(--c-ink) 80%, transparent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 120'%3E%3Cdefs%3E%3Cpath id='r' d='M60 60m-41 0a41 41 0 1 1 82 0a41 41 0 1 1-82 0'/%3E%3C/defs%3E%3Cg fill='none' stroke='%23000'%3E%3Ccircle cx='60' cy='60' r='52' stroke-width='3'/%3E%3Ccircle cx='60' cy='60' r='31' stroke-width='2'/%3E%3Cpath d='M116 40c10-7 20 7 30 0s20 7 30 0M116 60c10-7 20 7 30 0s20 7 30 0M116 80c10-7 20 7 30 0s20 7 30 0' stroke-width='3.5' stroke-linecap='round'/%3E%3C/g%3E%3Cg font-family='Helvetica,Arial,sans-serif' font-weight='700' fill='%23000'%3E%3Ctext font-size='11' letter-spacing='1'%3E%3CtextPath href='%23r' textLength='252'%3EFITS LIKE A MITTEN %C2%B7 UP NORTH %C2%B7%3C/textPath%3E%3C/text%3E%3Ctext x='60' y='57' text-anchor='middle' font-size='12' letter-spacing='1'%3EFROM%3C/text%3E%3Ctext x='60' y='72' text-anchor='middle' font-size='12' letter-spacing='1'%3EHERE%3C/text%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 120'%3E%3Cdefs%3E%3Cpath id='r' d='M60 60m-41 0a41 41 0 1 1 82 0a41 41 0 1 1-82 0'/%3E%3C/defs%3E%3Cg fill='none' stroke='%23000'%3E%3Ccircle cx='60' cy='60' r='52' stroke-width='3'/%3E%3Ccircle cx='60' cy='60' r='31' stroke-width='2'/%3E%3Cpath d='M116 40c10-7 20 7 30 0s20 7 30 0M116 60c10-7 20 7 30 0s20 7 30 0M116 80c10-7 20 7 30 0s20 7 30 0' stroke-width='3.5' stroke-linecap='round'/%3E%3C/g%3E%3Cg font-family='Helvetica,Arial,sans-serif' font-weight='700' fill='%23000'%3E%3Ctext font-size='11' letter-spacing='1'%3E%3CtextPath href='%23r' textLength='252'%3EFITS LIKE A MITTEN %C2%B7 UP NORTH %C2%B7%3C/textPath%3E%3C/text%3E%3Ctext x='60' y='57' text-anchor='middle' font-size='12' letter-spacing='1'%3EFROM%3C/text%3E%3Ctext x='60' y='72' text-anchor='middle' font-size='12' letter-spacing='1'%3EHERE%3C/text%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-8deg); pointer-events: none; }

/* The story on a white sheet with the airmail edge */
.page-story--split .hero__copy { position: relative; margin: 0 12px 12px 0; padding: clamp(32px, 3.6vw, 52px) clamp(20px, 3.6vw, 52px) clamp(26px, 3.2vw, 44px); background: var(--jn-sheet); color: var(--c-ink); border: var(--line-w) solid var(--c-ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--a2), 12px 12px 0 var(--a1); }
.page-story--split .hero__copy::before { content: ""; position: absolute; inset: 0 0 auto; height: 9px; border-radius: 13px 13px 0 0; background: repeating-linear-gradient(-45deg, var(--a1) 0 10px, var(--jn-sheet) 10px 20px, var(--c-lake) 20px 30px, var(--jn-sheet) 30px 40px); border-bottom: 1.5px solid var(--c-ink); }
.page-story--split .page-story__sig { margin-top: 1.75rem; color: var(--jn-rust); }

/* What we stand for: a pine patch with stitching, each value in its own colour */
.page-values { position: relative; padding: clamp(28px, 3vw, 42px) clamp(20px, 2.6vw, 36px) clamp(30px, 3.2vw, 44px); background: var(--c-ink); color: var(--c-paper); border-radius: 22px; }
.page-values::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgb(243 234 213 / .35); border-radius: 15px; pointer-events: none; }
.page-values__title { position: relative; margin: 0; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.15rem)/1.1 var(--f-display); color: var(--c-paper); }
.page-values__text { position: relative; margin: .5rem 0 1.5rem; font-size: 1rem; line-height: 1.5; color: color-mix(in srgb, var(--c-paper) 88%, var(--c-ink)); }
.page-values__list { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 4px 0 0; list-style: none; }
.page-value { --v: var(--c-lake); --v-fg: #FFFFFF; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 16px 20px 18px 16px; background: var(--c-card); color: var(--c-ink); border: var(--line-w) solid var(--c-ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--v); }
.page-value:nth-child(4n+2) { --v: var(--c-sunset); }
.page-value:nth-child(4n+3) { --v: var(--c-moss); --v-fg: var(--c-ink); }
.page-value:nth-child(4n+4) { --v: var(--c-cherry); }
.page-value__icon { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--c-ink); border-radius: 50%; background: var(--v); color: var(--v-fg); }
.page-value__icon svg { width: 26px; height: 26px; }
.page-value__title { margin: 0; font: 700 1.25rem/1.2 var(--f-display); }
.page-value__text { grid-column: 1 / -1; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--jn-body, var(--c-ink)); }
@media (max-width: 899px) {
  .page-story__grid { grid-template-columns: 1fr; }
  .page-values { margin-top: 12px; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .page-values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .page-story--split .hero__copy { margin-right: 8px; box-shadow: 4px 4px 0 var(--a2), 8px 8px 0 var(--a1); }
  .page-story--split .page-story__text { font-size: 1.0625rem; }
  .page-values { padding: 30px 20px 30px; border-radius: 18px; }
  .page-values::before { inset: 7px; border-radius: 12px; }
  .page-value { grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; padding: 14px 14px 15px; box-shadow: 5px 5px 0 var(--v); }
  .page-value__icon { width: 42px; height: 42px; }
  .page-value__icon svg { width: 23px; height: 23px; }
}
.faq__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 110px; display: grid; gap: 1rem; justify-items: start; }
.faq__group { margin: 2.25rem 0 .6rem; font: 700 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--jn-label); }
.faq__group:first-child { margin-top: 0; }
.faq__item:last-child { border-bottom: 2px solid var(--c-ink); }
@media (max-width: 899px) { .faq__layout { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* ==========================================================================
   v1.1 — motion: ease-in on scroll, sticker turns as it scrolls past
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal]:not(.is-in) { opacity: 0; translate: 0 18px; }
  .reveal-ready [data-reveal].is-in { animation: reveal-in .65s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms) both; }
  @keyframes reveal-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @supports (animation-timeline: view()) {
    [data-spin] { animation: sticker-turn linear both; animation-timeline: view(); }
    @keyframes sticker-turn { from { rotate: -18deg; } to { rotate: 16deg; } }
  }
}
/* Three hang tags: the third centres under the first two instead of sitting alone on the left */
@media (min-width: 600px) {
  .proof__tags > .hangtag:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(8px, 1.25vw, 16px)); }
}

/* Registered mark (v1.7): set in the same lettering as "Mitten" (cream fill, pine outline, stripe shadow
   inherited from .retro), tight against the n and raised to the cap line */
.wordmark__reg { display: inline-block; margin-left: .04em; font-size: .42em; font-weight: 900; line-height: 1; vertical-align: top; transform: translateY(.18em); }
.site-footer__legal { display: grid; gap: .3rem; }
.site-footer__tm { font-size: .78rem; opacity: .85; }

/* ==========================================================================
   v1.13 — privacy choices (assets/track.js): the footer link, the banner shown in Europe before a
   choice, and the "Your privacy choices" dialog with its two switches
   ========================================================================== */
/* The footer link is a button (it opens the dialog), dressed like the footer's other links */
.site-footer__choices { display: inline-block; padding: .3rem 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.site-footer__choices:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-dune); }
.consent { position: fixed; inset: auto 12px 12px; z-index: 60; max-width: 560px; margin-inline: auto; padding: 1rem 1.1rem; background: var(--c-card); color: var(--c-ink); border: var(--line-w) solid var(--c-ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--a2); }
.consent__text { font-size: .95rem; line-height: 1.45; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-top: .8rem; }
.consent__more { padding: .5rem .25rem; background: none; border: 0; color: inherit; font: 600 .9rem/1.2 var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-dlg { width: min(520px, calc(100vw - 24px)); max-height: min(86vh, 640px); margin: auto; padding: 0; overflow: auto; background: var(--c-paper) var(--grain); color: var(--c-ink); border: 3px solid var(--c-ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--a2), 16px 16px 0 var(--a1); }
.consent-dlg::backdrop { background: rgb(15 30 26 / .5); }
.consent-dlg__form { display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 1.75rem); }
.consent-dlg h2 { font-size: clamp(1.35rem, 3.5vw, 1.6rem); }
.consent-dlg__intro, .consent-dlg__note { font-size: .95rem; line-height: 1.5; }
.consent-dlg__note { padding: .7rem .85rem; border: 2px dashed currentColor; border-radius: var(--radius-sm); }
.consent-dlg__option { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; padding: .85rem; background: var(--c-card); border: 2px solid var(--c-ink); border-radius: var(--radius-sm); cursor: pointer; }
.consent-dlg__option input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--c-ink); }
.consent-dlg__option input:disabled { opacity: .45; }
.consent-dlg__option strong { display: block; }
.consent-dlg__desc { display: block; margin-top: .2rem; font-size: .9rem; line-height: 1.45; color: color-mix(in srgb, var(--c-ink) 78%, transparent); }
.consent-dlg__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
