/* Rad Rags. Professional, with a little quirk: pinking-shear edges (from the logo),
   woven-label tags, stitched lines, a scrapbook story and a care-label footer. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* the business card's lettering (both OFL, Google Fonts, latin subset): Racing Sans One
   stands in for its heavy slanted "Most", Cookie (skewed 12deg) for its "Comfortable" script */
@font-face {
  font-family: "Racing Sans One";
  src: url("../fonts/racing-sans-one.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Cookie";
  src: url("../fonts/cookie.woff2") format("woff2");
  font-display: swap;
}

:root {
  --rag: #751d27;        /* the logo's maroon */
  --rag-deep: #561219;
  --cream: #efe5d2;      /* oatmeal fleece (a touch deeper 10-27, to stay apart from the creamier page) */
  --paper: #f6efe1;      /* page background: a touch creamier, less white (his dad, 10-27; was #faf6ee) */
  --ink: #1f1a17;
  --ink-soft: #4b423b;
  --muted: #786c61;
  --line: #ddd0bc;
  --pine: #24452c;       /* the business card's green */

  --winter-bg: #e9eff2;
  --winter-ink: #1f2e38;
  --winter-accent: #57809b;
  --summer-bg: #f2e1bf;
  --summer-ink: #36260f;
  --summer-accent: #a8711c;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --head: 64px;
  --t: 9px;              /* pinking-shear tooth size */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* tilted titles/stickers can round 1px past a 320px screen; clip keeps sticky working */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
sup { font-size: 0.55em; line-height: 0; vertical-align: 0.9em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rag); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--rag); color: var(--cream); padding: 10px 14px; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ---------- pinking-shear edges (CSS masks, teeth = --t) ---------- */
.pinked-y {
  -webkit-mask:
    conic-gradient(from 135deg at top, #000 90deg, #0000 0) top / calc(2 * var(--t)) var(--t) repeat-x,
    conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / calc(2 * var(--t)) var(--t) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--t) + 2px) no-repeat;
          mask:
    conic-gradient(from 135deg at top, #000 90deg, #0000 0) top / calc(2 * var(--t)) var(--t) repeat-x,
    conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / calc(2 * var(--t)) var(--t) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--t) + 2px) no-repeat;
}
.pinked-top, .season + .season {
  -webkit-mask:
    conic-gradient(from 135deg at top, #000 90deg, #0000 0) top / calc(2 * var(--t)) var(--t) repeat-x,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--t) + 1px) no-repeat;
          mask:
    conic-gradient(from 135deg at top, #000 90deg, #0000 0) top / calc(2 * var(--t)) var(--t) repeat-x,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--t) + 1px) no-repeat;
}

/* ---------- woven-label tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.55em;
  margin: 0 0 18px;
  padding: 8px 12px 7px;
  background: var(--rag); color: var(--cream);
  font: 600 12px/1 var(--sans); font-stretch: 78%;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px;
  outline: 1px dashed rgba(243, 235, 221, 0.55); outline-offset: -4px;
}
.tag--light { background: var(--cream); color: var(--rag); outline-color: rgba(117, 29, 39, 0.4); }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 14px 22px 13px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1), background-color 0.2s, color 0.2s;
}
.btn:hover { transform: rotate(-2deg) scale(1.03); }
.btn--rag { background: var(--rag); color: var(--cream); }
.btn--rag:hover { background: var(--rag-deep); }
.btn--line { border: 1.5px solid currentColor; padding: 12.5px 20.5px 11.5px; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--rag); }
.btn--ghost { border: 1.5px solid rgba(243, 235, 221, 0.6); color: var(--cream); padding: 12.5px 20.5px 11.5px; }
.btn--ghost:hover { background: rgba(243, 235, 221, 0.12); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  height: var(--head);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(246, 239, 225, 0);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.top.is-scrolled {
  background: rgba(246, 239, 225, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 rgba(31, 26, 23, 0.08);
}
.top__logo {
  align-self: flex-start;
  display: block;
  width: 52px;
  margin-top: 0;
  transform-origin: 50% 0;
  transition: width 0.3s ease;
  filter: drop-shadow(0 6px 10px rgba(80, 20, 25, 0.18));
}
.top__logo:hover { animation: swing 1.1s ease-in-out; }
.top.is-scrolled .top__logo { width: 34px; margin-top: 4px; }
@keyframes swing {
  20% { transform: rotate(7deg); }
  45% { transform: rotate(-5deg); }
  70% { transform: rotate(2.5deg); }
  100% { transform: rotate(0); }
}
.top__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.top__nav a {
  font: 600 14px/1 var(--sans); font-stretch: 88%;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 8px 0; position: relative;
}
.top__nav a:not(.top__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.top__nav a:hover::after { transform: scaleX(1); }
.top__cta { background: var(--rag); color: var(--cream); padding: 10px 14px !important; border-radius: 999px; }
.top__nav a[aria-current="page"]::after { transform: scaleX(1); }
/* Gallery: in the menu on wider screens; small phones get a hero button instead (menu is full) */
.btn--gal { display: none; }
@media (max-width: 480px) {
  .top__nav .top__gal { display: none; }
  .hero__cta .btn--gal { display: inline-flex; }
}
@media (max-width: 520px) {
  .top__logo { width: 38px; }
  .top.is-scrolled .top__logo { width: 30px; }
  .top__nav { gap: 13px; }
  .top__nav a { font-size: 12px; letter-spacing: 0.06em; }
  .top__cta { padding: 9px 12px !important; }
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "copy" "duo";
  gap: clamp(18px, 2.6vw, 34px);
  padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(76px, 7vw, 96px);
}
/* the title and the copy column copy his business card */
.hero__title { grid-area: title; font-weight: 400; margin-left: -0.02em; }
/* "Most" is traced off the card itself (no free font has its slot counters); its tilt is the card's */
.hero__most { display: inline-block; }
.hero__most img { display: block; width: auto; height: clamp(92px, 13vw, 240px); }
.hero__comf {
  display: inline-block; margin-left: 0.1em;
  font: 400 clamp(76px, 12.5vw, 228px)/1 "Cookie", var(--display); color: var(--rag);
  transform: rotate(-4deg) skewX(-12deg); transform-origin: 0 60%;
}
.hero__copy { grid-area: copy; max-width: 36rem; text-align: center; }
.hero__hand { width: clamp(76px, 7vw, 104px); height: auto; margin: 0 auto 16px; }
.hero__quality { font: 400 clamp(26px, 1.4vw + 17px, 36px)/1.04 "Racing Sans One", var(--sans); color: var(--rag); margin: 0 0 16px; }
.hero__tech { /* the card's ruled line */
  width: 74%; margin: 0 auto 18px; padding: 7px 0 6px;
  border-top: 2px solid rgba(117, 29, 39, 0.75); border-bottom: 2px solid rgba(117, 29, 39, 0.75);
  font: 600 clamp(16px, 0.5vw + 13px, 20px)/1.2 var(--sans); letter-spacing: 0.06em; color: var(--rag);
}
.hero__made { font: 400 clamp(26px, 1.3vw + 18px, 36px)/1.1 "Cookie", var(--display); color: var(--pine); transform: skewX(-12deg); margin: 0 0 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 700px) {
  .hero__comf { display: block; width: fit-content; margin: -0.18em 0 0 0.36em; } /* stacked and offset, like the card; fit-content keeps the tilted box off the edge */
}
@media (max-width: 360px) { .hero__comf { font-size: 68px; } } /* 76px tilted poked 0.17px past a 320px screen */

.duo { grid-area: duo; position: relative; display: flex; gap: 10px; height: 78vw; max-height: 620px; }
.duo__half {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: var(--line);
  text-decoration: none;
}
.duo__half:first-child {
  -webkit-mask:
    conic-gradient(from -135deg at right, #000 90deg, #0000 0) right / var(--t) calc(2 * var(--t)) repeat-y,
    linear-gradient(#000 0 0) left / calc(100% - var(--t) + 1px) 100% no-repeat;
          mask:
    conic-gradient(from -135deg at right, #000 90deg, #0000 0) right / var(--t) calc(2 * var(--t)) repeat-y,
    linear-gradient(#000 0 0) left / calc(100% - var(--t) + 1px) 100% no-repeat;
}
.duo__half:last-child, .duo__half + .duo__half {
  -webkit-mask:
    conic-gradient(from 45deg at left, #000 90deg, #0000 0) left / var(--t) calc(2 * var(--t)) repeat-y,
    linear-gradient(#000 0 0) right / calc(100% - var(--t) + 1px) 100% no-repeat;
          mask:
    conic-gradient(from 45deg at left, #000 90deg, #0000 0) left / var(--t) calc(2 * var(--t)) repeat-y,
    linear-gradient(#000 0 0) right / calc(100% - var(--t) + 1px) 100% no-repeat;
}
.duo__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.duo__half:hover .duo__img { transform: scale(1.045); }
.duo__tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; gap: 0.4em; align-items: center;
  padding: 9px 12px 8px;
  background: var(--cream); color: var(--rag);
  font: 700 12px/1 var(--sans); font-stretch: 80%; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px; outline: 1px dashed rgba(117, 29, 39, 0.45); outline-offset: -4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1);
}
.duo__half:hover .duo__tag { transform: rotate(-3deg) translateY(-2px); }
.duo__half + .duo__half .duo__tag { left: auto; right: 14px; }
.duo__half + .duo__half:hover .duo__tag { transform: rotate(3deg) translateY(-2px); }

.badge {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  width: clamp(92px, 9vw, 132px); aspect-ratio: 1;
  transform: translate(-50%, 46%);
  pointer-events: none;
}
.badge__ring { width: 100%; height: 100%; animation: spin 26s linear infinite; overflow: visible; }
.badge__bg { fill: var(--paper); stroke: var(--rag); stroke-width: 2; }
.badge__stitch { fill: none; stroke: var(--rag); stroke-width: 1.5; stroke-dasharray: 4 4; }
.badge__text {
  fill: var(--rag); font: 700 15px var(--sans); font-stretch: 80%;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.badge__logo { position: absolute; left: 50%; top: 50%; width: 27%; transform: translate(-50%, -50%); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2fr);
    grid-template-areas: "title title" "copy duo";
    align-items: end;
  }
  .hero__copy { align-self: start; padding-top: 6px; }
  .duo { height: clamp(420px, 66vh, 720px); max-height: none; }
}

/* ---------- ticker ---------- */
.ticker {
  --t: 8px;
  background: var(--rag); color: var(--cream);
  padding: calc(var(--t) + 13px) 0;
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__track span {
  font: 600 clamp(14px, 1.2vw, 18px)/1 var(--sans); font-stretch: 82%;
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { padding: clamp(72px, 10vw, 150px) var(--gutter); }
.about__grid { display: grid; gap: 28px 64px; max-width: 1240px; margin: 0 auto; }
.about__title {
  font: 500 clamp(40px, 5.6vw, 84px)/0.98 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.about__body { font-size: clamp(17px, 0.45vw + 15px, 20px); color: var(--ink-soft); max-width: 40em; }
.about__body p a { color: var(--rag); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.facts { list-style: none; padding: 0; margin: 28px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  padding: 9px 13px 8px; border: 1.5px solid var(--ink); border-radius: 2px;
  font: 700 12px/1 var(--sans); font-stretch: 80%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.facts li:nth-child(2n) { transform: rotate(-1.5deg); }
.facts li:nth-child(3n) { transform: rotate(1deg); }
.press {
  display: inline-flex; gap: 0.4em; align-items: baseline;
  font-size: clamp(17px, 0.4vw + 15px, 20px); color: var(--rag); text-decoration: none;
  border-bottom: 1.5px dashed currentColor; padding-bottom: 3px;
}
.press:hover { border-bottom-style: solid; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* the shop: a looping cut, then the workshop + the fabric pile as halves (both 4:3, uncropped),
   then layers / pieces / label as thirds. 6 columns so halves and thirds share one grid. */
.shop {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px);
  max-width: 1240px; margin: clamp(48px, 6vw, 84px) auto 0;
}
.shop__reel { grid-column: 1 / -1; position: relative; margin: 0; border-radius: 3px; overflow: hidden; background: #2a2622; }
.shop__video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 546; object-fit: cover; object-position: 40% 50%; }
.shop__tile { grid-column: span 2; position: relative; margin: 0; border-radius: 3px; overflow: hidden; background: var(--bg, #ccc); }
.shop__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shop__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.shop__btn:hover .shop__img { transform: scale(1.035); }
.shop__btn:focus-visible { outline: 3px solid var(--rag); outline-offset: -3px; }
.shop__tile--wide, .shop__tile--wide + .shop__tile { grid-column: span 3; }
.shop__tile--wide .shop__img { aspect-ratio: 4 / 3; } /* uncropped, so the surfboards on the wall stay in */
/* the tile beside the wide one fills whatever height that row ends up (4:3 at half width = uncropped) */
.shop__tile--wide + .shop__tile .shop__btn, .shop__tile--wide + .shop__tile .shop__img { height: 100%; }
.shop__tile--wide + .shop__tile .shop__img { aspect-ratio: auto; }
.shop figcaption {
  position: absolute; left: 12px; bottom: 12px; pointer-events: none;
  padding: 7px 10px 6px; background: var(--cream); color: var(--rag); border-radius: 2px;
  font: 600 11px/1 var(--sans); font-stretch: 78%; letter-spacing: 0.16em; text-transform: uppercase;
  outline: 1px dashed rgba(117, 29, 39, 0.4); outline-offset: -4px;
}
@media (max-width: 700px) {
  .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__tile, .shop__tile--wide + .shop__tile { grid-column: span 1; } /* fabric = a square beside layers */
  .shop__tile--wide { grid-column: 1 / -1; }
  .shop__video { aspect-ratio: 16 / 9; }
  .shop__img { aspect-ratio: 1; }
  .shop__tile--wide .shop__img { aspect-ratio: 4 / 3; height: auto; }
  .shop figcaption { left: 7px; bottom: 7px; padding: 6px 7px 5px; font-size: 10px; letter-spacing: 0.13em; }
}

/* ---------- collections ---------- */
.season { position: relative; padding: clamp(56px, 6.5vw, 100px) 0 clamp(56px, 7vw, 100px); }
.season--winter { background: var(--winter-bg); color: var(--winter-ink); --accent: var(--winter-accent); }
.season--summer { background: var(--summer-bg); color: var(--summer-ink); --accent: var(--summer-accent); }
.season + .season { --t: 10px; margin-top: calc(-1 * var(--t)); padding-top: calc(var(--t) + clamp(56px, 6.5vw, 100px)); }
.season__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 24px;
  padding: 0 var(--gutter) clamp(24px, 3vw, 40px);
}
.tag--season { background: transparent; color: currentColor; outline-color: currentColor; outline-style: dashed; outline-offset: -1px; }
.season__title {
  font: 600 clamp(72px, 11.5vw, 190px)/0.8 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.045em;
  margin: 4px 0 14px -0.05em;
}
.season__lede { font: italic 400 clamp(19px, 1.2vw + 13px, 28px)/1.3 var(--display); margin: 0; opacity: 0.85; }
.rail-nav { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.rail-count { font: 600 14px/1 var(--sans); font-stretch: 85%; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; min-width: 4.6em; text-align: center; }
.rail-count i { font-style: normal; opacity: 0.6; }
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1;
  transition: background-color 0.2s, color 0.2s, transform 0.25s cubic-bezier(.3, 1.6, .5, 1), opacity 0.2s;
}
.season--winter .rail-btn:hover:not(:disabled) { background: var(--winter-ink); color: var(--winter-bg); }
.season--summer .rail-btn:hover:not(:disabled) { background: var(--summer-ink); color: var(--summer-bg); }
.rail-btn:hover:not(:disabled) { transform: scale(1.06); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }

.rail {
  display: flex; gap: clamp(10px, 1.2vw, 18px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.rail.is-dragging .frame__btn { pointer-events: none; }
.rail:focus-visible { outline-offset: 6px; }
.frame {
  flex: 0 0 auto; margin: 0;
  height: clamp(360px, 62vh, 760px); aspect-ratio: 2 / 3;
  scroll-snap-align: start;
  background: var(--bg, #ccc);
  border-radius: 3px; overflow: hidden;
}
.frame--wide { aspect-ratio: 3 / 2; }
.frame__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.frame__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); -webkit-user-drag: none; user-select: none; }
.frame__btn:hover .frame__img { transform: scale(1.035); }
.frame__btn:focus-visible { outline: 3px solid var(--rag); outline-offset: -3px; }
.rail-progress { margin: clamp(18px, 2vw, 26px) var(--gutter) 0; height: 2px; background: color-mix(in srgb, currentColor 16%, transparent); }
.rail-progress span { display: block; height: 100%; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--p, 0.1)); transition: transform 0.15s linear; }

@media (max-width: 700px) {
  .frame { height: auto; width: 72vw; }
  .frame--wide { width: 90vw; }
  .rail-nav .rail-btn { width: 40px; height: 40px; }
  .season__head { grid-template-columns: 1fr; }
  .rail-nav { justify-self: start; }
}

/* ---------- fresh off the table: dad's latest pieces, laid on a cutting mat ---------- */
.fresh {
  --t: 10px;
  position: relative;
  margin-top: calc(-1 * var(--t));
  padding: calc(var(--t) + clamp(64px, 8vw, 120px)) var(--gutter) clamp(64px, 8vw, 120px);
  color: var(--cream);
  background-color: #284437;
  background-image:
    linear-gradient(rgba(243, 235, 221, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 235, 221, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(243, 235, 221, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 235, 221, 0.055) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.fresh__inner { max-width: 1240px; margin: 0 auto; }
.fresh__title {
  font: 600 clamp(48px, 7.4vw, 120px)/0.9 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.035em; margin: 0 0 18px -0.03em;
}
.fresh__lede { font: italic 400 clamp(19px, 1.2vw + 13px, 28px)/1.3 var(--display); max-width: 30em; opacity: 0.9; margin: 0; text-wrap: balance; }
/* justified rows: pieces in a row share one height whatever their shape (--ar = w/h, from the build).
   --row is a share of the grid's own width (cqw), so rows break in the same places at every screen
   size: with the current six, [P P L][M P L] on desktop, [P P][L][M P][L] on phones. */
.fresh__grid { container-type: inline-size; --row: 30cqw; display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(32px, 4vw, 56px); }
.fresh__item {
  flex: var(--ar) 1 calc(var(--ar) * var(--row)); margin: 0;
  padding: 8px; background: var(--paper); border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 16px 34px rgba(0, 0, 0, 0.28);
}
.fresh__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bg, #ccc); cursor: zoom-in; overflow: hidden; }
.fresh__img { width: 100%; height: auto; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.fresh__btn:hover .fresh__img { transform: scale(1.03); }
.fresh__btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.fresh__more { display: inline-block; margin-top: clamp(14px, 2vw, 24px); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(243, 235, 221, 0.6); padding-bottom: 2px; }
.fresh__more:hover { border-bottom-color: var(--cream); }
@media (max-width: 700px) {
  .fresh__grid { --row: 50cqw; }
  .fresh__item { padding: 5px; }
}

/* ---------- wear everywhere: people in their Rad Rags. The wide photo leads and sets the row height ---------- */
.wear {
  --t: 10px;
  position: relative;
  margin-top: calc(-1 * var(--t));
  padding: calc(var(--t) + clamp(64px, 8vw, 120px)) var(--gutter) clamp(64px, 8vw, 120px);
  background: var(--paper);
}
.wear__inner { max-width: 1240px; margin: 0 auto; }
.wear__title {
  font: 600 clamp(48px, 7.4vw, 120px)/0.9 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.035em; margin: 0 0 18px -0.03em; color: var(--rag);
}
.wear__lede { font: italic 400 clamp(19px, 1.2vw + 13px, 28px)/1.3 var(--display); color: var(--ink-soft); max-width: 30em; margin: 0; text-wrap: balance; }
.wear__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(32px, 4vw, 56px); }
.wear__item { margin: 0; border-radius: 3px; overflow: hidden; background: var(--bg, #ccc); }
.wear__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.wear__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.wear__item--wide .wear__img { height: auto; aspect-ratio: 4 / 3; }
.wear__btn:hover .wear__img { transform: scale(1.03); }
.wear__btn:focus-visible { outline: 3px solid var(--rag); outline-offset: -3px; }
@media (max-width: 700px) {
  /* phones: the wide one full width, the three portraits in a row under it */
  .wear__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wear__item--wide { grid-column: 1 / -1; }
  .wear__item:not(.wear__item--wide) .wear__img { height: auto; aspect-ratio: 2 / 3; }
}

/* ---------- story ---------- */
.story { background: var(--cream); padding: clamp(72px, 10vw, 150px) var(--gutter); overflow: hidden; overflow: clip; } /* clip, not hidden, so the sticky text column works */
.story__grid { display: grid; gap: 64px; max-width: 1240px; margin: 0 auto; }
.story__title {
  font: 500 clamp(40px, 5.6vw, 84px)/0.98 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.025em; max-width: 12ch;
}
.quote { margin: 30px 0 46px; padding: 2px 0 2px 22px; border-left: 3px solid var(--rag); }
.quote p { font: italic 400 clamp(21px, 1.4vw + 14px, 31px)/1.32 var(--display); color: var(--ink); margin: 0 0 12px; }
.quote footer { font: 600 12px/1 var(--sans); font-stretch: 80%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px dashed rgba(117, 29, 39, 0.55); }
.timeline li { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px 18px; padding: 0 0 30px 24px; }
.timeline li:last-child { padding-bottom: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--rag);
}
.year { font: 600 28px/1.05 var(--display); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; color: var(--rag); }
.timeline h3 { font: 700 13px/1.2 var(--sans); font-stretch: 82%; letter-spacing: 0.15em; text-transform: uppercase; margin: 7px 0 7px; }
.timeline p { margin: 0; color: var(--ink-soft); }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .year { font-size: 26px; }
  .timeline h3 { margin-top: 4px; }
}
.fn { color: var(--rag); font-weight: 700; text-decoration: none; padding: 0 2px; }
.footnote { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.footnote a { color: var(--rag); text-decoration: none; font-weight: 700; }

.story__board { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; align-items: center; align-content: start; padding: 26px 4px 0; }
.snap {
  position: relative; margin: 0;
  background: #fdf8ef; padding: 12px 12px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 14px 34px rgba(60, 40, 20, 0.16);
  transform: rotate(var(--r, -1.5deg));
  transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1);
}
.snap:hover { transform: rotate(0deg) scale(1.02); }
.snap::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 104px; height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(233, 219, 186, 0.86);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.snap__img { width: 100%; height: auto; background: var(--bg); }
.snap figcaption { margin: 11px 4px 0; font: italic 500 19px/1.2 var(--display); color: var(--ink-soft); } /* in flow: long captions wrap */
.snap__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
/* the first snap spans the board and the rest pair up; a lonely last one spans too */
.snap--1, .snap:last-of-type:nth-of-type(even) { grid-column: 1 / -1; justify-self: center; }
.snap--1 { --r: -2.4deg; width: 84%; }
.snap--2 { --r: 2.2deg; }
.snap--3 { --r: -1.6deg; }
.snap--4 { --r: 1.2deg; }
.snap--5 { --r: -2deg; }
.snap--6 { --r: 1.8deg; }
.snap--7 { --r: -1.4deg; }
.snap:last-of-type:nth-of-type(even) { width: 64%; }
@media (max-width: 959px) {
  .snap { padding: 8px 8px 10px; }
  .snap::before { width: 70px; height: 22px; top: -10px; }
  .snap figcaption { margin: 8px 2px 0; font-size: 15px; }
}
/* the "2nd on the planet" sticker sits under the 1986 timeline entry its footnote belongs to */
.sticker {
  position: relative; z-index: 1; margin: 18px 0 2px;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--rag); color: var(--cream);
  transform: rotate(-8deg);
  box-shadow: 0 10px 24px rgba(86, 18, 25, 0.3);
  outline: 1.5px dashed rgba(243, 235, 221, 0.6); outline-offset: -7px;
}
.sticker span { font: italic 700 17px/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; padding: 0 16px; }
@media (min-width: 960px) {
  .story__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; }
  .story__grid { align-items: start; }
  .story__text { position: sticky; top: calc(var(--head) + 28px); }
  .story__board { gap: 44px 28px; padding-top: 110px; }
  .snap--1 { width: 74%; }
  .snap:last-of-type:nth-of-type(even) { width: 58%; }
}

/* ---------- find us ---------- */
.find {
  --t: 11px;
  background: var(--rag); color: var(--cream);
  padding: calc(var(--t) + clamp(64px, 9vw, 130px)) var(--gutter) clamp(72px, 9vw, 130px);
  margin-top: calc(-1 * var(--t));
  position: relative;
}
.find__inner { max-width: 1240px; margin: 0 auto; }
.find__title {
  font: italic 700 clamp(48px, 8.4vw, 136px)/0.9 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.035em; margin: 0 0 24px;
}
.find__lede { font-size: clamp(18px, 0.6vw + 15px, 23px); line-height: 1.5; max-width: 34em; opacity: 0.92; margin-bottom: 30px; }
.find__cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* what a pop-up looks like: one justified row, every photo whole (no crop: the square crops cut the
   side racks off, Emmet 10-27). --ar = w/h from the build; widths follow it, so heights match.
   site.js puts this season's photo first. */
.find__pics { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(36px, 4.5vw, 60px); }
@media (max-width: 700px) {
  /* phones: this season's photo full width, the other two side by side under it */
  .find__pics .pop:first-child { flex-basis: 100%; }
}
.pop { flex: var(--ar, 1) 1 0; position: relative; margin: 0; border-radius: 3px; overflow: hidden; background: var(--bg, #000); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.pop__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pop__img { width: 100%; height: auto; aspect-ratio: var(--ar, 1); object-fit: cover; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.pop__btn:hover .pop__img { transform: scale(1.035); }
.pop__btn:focus-visible { outline: 3px solid var(--cream); outline-offset: -3px; }
.pop figcaption.tag { position: absolute; left: 12px; bottom: 12px; margin: 0; pointer-events: none; }
@media (max-width: 700px) {
  .pop figcaption.tag { left: 7px; bottom: 7px; padding: 6px 8px 5px; font-size: 10px; }
}
.find__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.card { border: 1.5px dashed rgba(243, 235, 221, 0.45); border-radius: 4px; padding: 26px 26px 24px; }
.card h3 { font: 600 clamp(24px, 1.2vw + 18px, 32px)/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: 10px; }
.card p { opacity: 0.88; margin: 0; }
.card__link { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(243, 235, 221, 0.6); padding-bottom: 2px; }
.card__link:hover { border-bottom-color: var(--cream); }

/* ---------- footer: the care label ---------- */
.care { background: var(--rag-deep); padding: 56px var(--gutter) 64px; }
.care__label {
  max-width: 420px; margin: 0 auto; text-align: center;
  background: #f8f2e6; color: var(--ink);
  padding: 34px 30px 26px;
  border-radius: 3px;
  outline: 1.5px dashed rgba(31, 26, 23, 0.35); outline-offset: -9px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.care__logo { width: 44px; margin: 0 auto 20px; }
.care__list { margin: 0 0 18px; display: grid; gap: 0; }
.care__list div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid var(--line); }
.care__list div:last-child { border-bottom: 1px solid var(--line); }
.care__list dt { font: 700 11px/1.6 var(--sans); font-stretch: 80%; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.care__list dd { margin: 0; font: 500 14px/1.6 var(--sans); text-align: right; }
.care__links { display: flex; justify-content: center; gap: 22px; margin: 0 0 12px; }
.care__links a { font: 700 12px/1 var(--sans); font-stretch: 80%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rag); text-decoration: none; }
.care__links a:hover { text-decoration: underline; }
.care__fine { margin: 0; font-size: 12px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 14, 12, 0.97); color: var(--cream);
}
.lightbox::backdrop { background: rgba(20, 14, 12, 0.6); }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; } }
.lb__figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 18px; }
.lb__img {
  width: auto; height: auto;
  max-width: calc(100vw - 150px); max-height: calc(100dvh - 110px);
  object-fit: contain; border-radius: 2px; user-select: none; -webkit-user-drag: none;
}
.lb__cap { padding-top: 12px; font: 600 12px/1 var(--sans); font-stretch: 82%; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.lb__btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(243, 235, 221, 0.5); background: rgba(20, 14, 12, 0.35);
  color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer;
}
.lb__btn:hover { background: var(--cream); color: var(--ink); }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__close { right: 16px; top: 12px; font-size: 28px; }
@media (max-width: 700px) {
  .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
  .lb__figure { padding-bottom: 82px; }
  .lb__img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 170px); }
}
html.lb-open { overflow: hidden; }

/* ---------- gallery page: one long stream in justified rows (--ar = w/h from the build) ---------- */
.gal { padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 110px); }
.gal__head, .gal__more { max-width: 1240px; margin: 0 auto; }
.gal__title {
  font: 500 clamp(44px, 6.4vw, 96px)/0.95 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.03em; margin: 0 0 14px;
}
.gal__lede { font: italic 400 clamp(19px, 1.1vw + 14px, 26px)/1.3 var(--display); color: var(--ink-soft); margin: 0; }
.gal__grid {
  --row: clamp(180px, 24vw, 340px);
  display: flex; flex-wrap: wrap; gap: clamp(6px, 0.8vw, 12px);
  max-width: 1240px; margin: clamp(28px, 4vw, 48px) auto 0;
}
.gal__grid::after { content: ""; flex: 9999 1 0; } /* the last row keeps its height instead of stretching */
.gal__item { flex: var(--ar) 1 calc(var(--ar) * var(--row)); margin: 0; border-radius: 3px; overflow: hidden; background: var(--bg, #ccc); }
.gal__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal__img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.gal__btn:hover .gal__img { transform: scale(1.03); }
.gal__btn:focus-visible { outline: 3px solid var(--rag); outline-offset: -3px; }
.gal__more { margin-top: clamp(28px, 4vw, 48px); text-align: center; }
@media (max-width: 700px) { .gal__grid { --row: 130px; } }

/* ---------- email card: the address + a Copy button instead of jumping to the mail app ---------- */
.mailbox { border: 0; padding: 0; background: transparent; width: min(92vw, 440px); max-width: none; }
.mailbox::backdrop { background: rgba(31, 26, 23, 0.55); }
.mailbox__card {
  position: relative; margin: 0; padding: 30px 26px 20px; text-align: center;
  background: var(--paper); color: var(--ink); border-radius: 4px;
  outline: 1.5px dashed rgba(31, 26, 23, 0.3); outline-offset: -9px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.mailbox__x { position: absolute; top: 10px; right: 12px; padding: 6px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.mailbox__title { font: 600 clamp(26px, 4vw, 32px)/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0 0 18px; }
.mailbox__row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mailbox__addr {
  flex: 1 1 200px; min-width: 0; padding: 12px 14px; text-align: center;
  font: 500 16px/1.2 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 999px;
}
.mailbox__copy { border: 0; cursor: pointer; }
.mailbox__note { margin: 12px 0 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .badge__ring { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
