/* ==========================================================================
   Peak 77 core stylesheet
   Palette sampled from the brand's own photography (cold water, ash fleece,
   coastal scrub). Nothing here is a stock template colour.
   ========================================================================== */

/* --- Fonts --------------------------------------------------------------
   Served from our own folder, not Google Fonts. The Google stylesheet held
   the first paint back about 2 seconds on a no-GPU phone test, and its two
   extra origins each needed a fresh connection on a slow phone before a
   letter could load. These are the same variable files Google serves (latin subset),
   both under the SIL Open Font Licence. No preload on purpose: measured, it
   made the hero slower by fighting the photo for the first bytes. Anything
   outside the latin range falls back to the system font.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/archivo-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens -------------------------------------------------------------
   The page is dark, top to bottom, on purpose. Every other small apparel
   store is white and minimal; going cold and cinematic is what makes his own
   photography carry the site instead of decorating it.
   ------------------------------------------------------------------------ */
:root {
  color-scheme: light;

  /* Ground and surfaces. Never pure black: it kills the depth in the photos. */
  --ink:        #FFFFFF;   /* the page */
  --ink-2:      #F4F4F1;   /* raised surface */
  --ink-3:      #E9E9E5;   /* hairline fills */

  /* Foreground */
  --paper:      #0C0D0D;   /* the ash fleece, and the reading colour */
  --paper-2:    #3A3D3C;
  --foam:       #FAFAF8;
  --muted:      #666B69;

  /* One accent, taken off the water in his own frames. Locked: this is the
     only non-neutral on the site. */
  --sea:        #4B6A96;   /* Solstice blue, light: accents on the dark page (logo blue lifted for contrast) */
  --sea-deep:   #35507A;   /* Solstice blue, exactly the logo's circle */

  --line:       color-mix(in oklab, var(--paper) 15%, transparent);
  --line-soft:  color-mix(in oklab, var(--paper) 8%, transparent);

  /* Corners: sharp, everywhere, including buttons. Pill CTAs are the single
     most common look on the web right now, so squared edges do more work. */
  --r: 2px;

  /* Type. Archivo carries a width axis, so one family covers a wide display
     voice and a quiet UI voice without ever mixing families for emphasis. */
  --display: "Archivo", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --sans:    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif:   var(--display);

  /* Motion: one system, extended nowhere else */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --d-press:  120ms;
  --d-hover:  240ms;
  --d-menu:   200ms;
  --d-drawer: 380ms;
  --d-reveal: 720ms;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 82rem;
  --header-h: 4.25rem;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, video, canvas { display: block; max-width: 100%; }
/* <picture> is only a wrapper for choosing a source; it must not become a box. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: var(--r); }

/* --- Type scale --------------------------------------------------------- */
/* Tracking is size-specific: display tightens, small caps-labels open up. */
/* Big, tight, medium weight. Not a serif: the hoodie's embroidery is one, but
   a serif website for a cold-water surf label reads like a wedding invitation.
   Emphasis inside a headline uses this same family, never a second one. */
.display {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  line-height: 0.94;
  letter-spacing: -0.038em;
  text-wrap: balance;
  margin: 0;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--sea);
  /* Descenders on italics clip against tight leading. */
  line-height: 1.1;
}
.d-xl { font-size: clamp(2.55rem, 8.2vw, 7.25rem); }
.d-lg { font-size: clamp(2.1rem, 6vw, 4.75rem); }
.d-md { font-size: clamp(1.85rem, 3.9vw, 3.1rem); letter-spacing: -0.022em; line-height: 0.98; }
.d-sm { font-size: clamp(1.4rem, 2.3vw, 1.95rem); letter-spacing: -0.015em; line-height: 1.06; }

.lede {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--paper-2);
  max-width: 34ch;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;   /* small text opens up */
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 58rem; margin-inline: auto; padding-inline: var(--gutter); }

/* ==========================================================================
   Header: a translucent material, content scrolls under it.
   No hard 1px divider: a scroll edge gradient appears only once you move.
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--paper);
  transition: color var(--d-menu) var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 76%, transparent);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  opacity: 0;
  transition: opacity var(--d-menu) var(--ease-out);
  pointer-events: none;
}
.site-header::after {          /* scroll edge effect, not a border */
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 2rem;
  background: linear-gradient(color-mix(in oklab, var(--ink) 60%, transparent), transparent);
  opacity: 0;
  transition: opacity var(--d-menu) var(--ease-out);
  pointer-events: none;
}
.site-header.is-stuck { color: var(--paper); }
.site-header.is-stuck::before,
.site-header.is-stuck::after { opacity: 1; }
/* Pages that don't open on a dark photo start solid-ish immediately */
.site-header.on-paper { color: var(--paper); }
.site-header.on-paper::before { opacity: 1; }

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.wordmark svg { width: 1.15em; height: auto; overflow: visible; }
/* The spiral is drawn as a mask filled with currentColor, so it flips with the
   header between pale-on-photo and dark-on-paper without a second asset. */
.wordmark .mark {
  width: 1.28em;
  height: 1.28em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url(../assets/mark.svg) center / contain no-repeat;
  mask: url(../assets/mark.svg) center / contain no-repeat;
}

.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav-right { justify-self: end; }
.nav a, .nav button {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-block: 0.35rem;
}
/* Underline grows from the left, a hint in the direction of travel */
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-hover) var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); }
}
/* --- Mobile menu --------------------------------------------------------
   Enters down from the header it belongs to and leaves the same way.
   Without JS the three links simply stay in the bar: cramped, but reachable. */
.menu-btn { display: none; align-items: center; gap: 0.5rem; }
.menu-btn i {
  position: relative;
  width: 15px; height: 9px;
  flex: 0 0 auto;
}
.menu-btn i::before, .menu-btn i::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.4px;
  background: currentColor;
  transition: transform 300ms var(--ease-out);
}
.menu-btn i::before { top: 0; }
.menu-btn i::after { bottom: 0; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after  { transform: translateY(-3.8px) rotate(-45deg); }

@media (max-width: 46rem) {
  .has-menu .nav-left a { display: none; }
  .has-menu .menu-btn { display: inline-flex; }
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: var(--header-h) var(--gutter) 5rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--d-drawer) var(--ease-drawer),
              visibility 0s linear var(--d-drawer);
}
.menu-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.menu-panel a {
  font-family: var(--display);
  font-weight: 500;

  font-size: clamp(2.4rem, 13vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 380ms var(--ease-out), transform 460ms var(--ease-out);
}
.menu-panel.is-open a { opacity: 1; transform: none; }
.menu-panel.is-open a:nth-child(2) { transition-delay: 60ms; }
.menu-panel.is-open a:nth-child(3) { transition-delay: 120ms; }
.menu-panel__foot {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (min-width: 46.01rem) { .menu-panel { display: none; } }

.cart-btn { display: inline-flex; align-items: center; gap: 0.45rem; }
.cart-count {
  min-width: 1.35em;
  height: 1.35em;
  padding-inline: 0.35em;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: currentColor;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 260ms var(--ease-out), opacity 160ms var(--ease-out);
}
.cart-count > span { color: var(--paper); mix-blend-mode: normal; }
.site-header.is-stuck .cart-count > span,
.site-header.on-paper .cart-count > span { color: var(--paper); }
.cart-count.is-on { transform: scale(1); opacity: 1; }

/* --- Drop ticker -------------------------------------------------------- */
/* Constant motion => linear. CSS animation so it stays smooth while the page
   is still loading images. Duplicated track for a seamless loop.            */
.ticker {
  position: fixed;
  inset: auto 0 0;
  z-index: 55;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
  will-change: transform;
}
.ticker__group { display: flex; flex: 0 0 auto; }
.ticker span {
  padding: 0.65rem 1.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}
.ticker span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sea);
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: var(--ink);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}
.hero__media canvas { opacity: 0; transition: opacity 500ms var(--ease-out); }
.hero__media canvas.is-live { opacity: 1; }
.hero__media img.is-hidden { opacity: 0; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* The type sits bottom-left over pale water, so the weight of the scrim goes
     there. Three layers rather than one flat wash keeps the photograph readable
     at the top right, where the palm and the surf are the reason for the shot. */
  background:
    linear-gradient(to top, color-mix(in oklab, var(--ink) 94%, transparent) 0%,
                            color-mix(in oklab, var(--ink) 78%, transparent) 24%,
                            color-mix(in oklab, var(--ink) 34%, transparent) 56%,
                            transparent 84%),
    linear-gradient(to right, color-mix(in oklab, var(--ink) 72%, transparent) 0%,
                              color-mix(in oklab, var(--ink) 34%, transparent) 38%,
                              transparent 66%),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 62%, transparent), transparent 20%);
}
.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 8vh, 5.5rem);
  color: var(--foam);
}
.hero__body h1 { max-width: 14ch; }
.hero .display { color: var(--foam); }
/* Four elements, and that is the lot: tag, headline, one line of subtext, the
   buy. The old hero also carried a price and status strip, which is a trust
   micro-strip and belongs in a section of its own, not stacked on the message. */
/* Sea green is the accent, but over a photograph it drops below the readable
   line. On the hero it keeps the accent hue and gains the lightness it needs. */
.hero__tag {
  color: color-mix(in oklab, var(--sea) 55%, var(--foam));
  margin-bottom: 1.15rem;
}
.hero__sub {
  margin: 1.5rem 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: color-mix(in oklab, var(--foam) 82%, transparent);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* Line-mask reveal: each line rides up out of its own clip box. */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
html.js .reveal-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 900ms var(--ease-out);
}
html.js .is-ready .reveal-line > span { transform: translateY(0); }
.reveal-line:nth-child(2) > span { transition-delay: 80ms; }
.reveal-line:nth-child(3) > span { transition-delay: 160ms; }


/* --- Editorial opener ---------------------------------------------------
   A portrait frame kept at its own aspect ratio. Forcing a tall photograph
   into a wide hero crops it down to a pair of shoulders.
   ------------------------------------------------------------------------ */
.story-open {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vh, 5rem));
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
@media (min-width: 60rem) {
  .story-open { grid-template-columns: 1fr 0.82fr; }
}
.figure-water {
  position: relative;
  margin: 0;
  aspect-ratio: 1086 / 1559;
  max-height: 80svh;
  overflow: clip;
  border-radius: var(--r);
  background: var(--ink-2);
}
.figure-water img,
.figure-water canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.figure-water canvas { opacity: 0; transition: opacity 500ms var(--ease-out); }
.figure-water canvas.is-live { opacity: 1; }
.figure-water img.is-hidden { opacity: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(5rem, 12vh, 9rem); }
.section--ink { background: var(--ink-2); }


.section--tight { padding-block: clamp(3rem, 7vh, 5rem); }

/* One column, stacked. The "big headline left, small explainer floating right"
   split is the most recognisable AI section header there is; every generated
   marketing page has it. A section gets one message, stacked, and stops. */
.section-head {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.section-head p { max-width: 52ch; margin: 0; color: var(--paper-2); }

/* --- Scroll reveal ------------------------------------------------------ */
html.js .r {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity var(--d-reveal) var(--ease-out),
              transform var(--d-reveal) var(--ease-out);
}
html.js .r.in { opacity: 1; transform: none; }
html.js .r[data-d="1"] { transition-delay: 60ms; }
html.js .r[data-d="2"] { transition-delay: 120ms; }
html.js .r[data-d="3"] { transition-delay: 180ms; }
html.js .r[data-d="4"] { transition-delay: 240ms; }
html.js .r[data-d="5"] { transition-delay: 300ms; }

/* --- Manifesto: words settle in, then the photo takes the screen -------- */
.manifesto p {
  font-family: var(--display);
  font-weight: 500;

  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.1em;
  max-width: 22ch;
}
.manifesto p:last-child { margin-bottom: 0; }
.manifesto em { font-style: italic; color: var(--sea); }

/* ==========================================================================
   Scrollytelling: a sticky frame the copy passes through.
   Position-linked to scroll, so it is 1:1 with the user's gesture.
   ========================================================================== */
.story { position: relative; background: var(--ink); color: var(--paper); }
.story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  z-index: 0;
}
.story__stage img,
.story__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 46%;
  transform: scale(var(--stage-scale, 1.06));
  will-change: transform;
}
.story__stage canvas { opacity: 0; transition: opacity 500ms var(--ease-out); }
.story__stage canvas.is-live { opacity: 1; }
.story__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    color-mix(in oklab, var(--ink) 86%, transparent) 0%,
    color-mix(in oklab, var(--ink) 66%, transparent) 30%,
    color-mix(in oklab, var(--ink) 26%, transparent) 56%,
    transparent 82%);
}
@media (max-width: 52rem) {
  .story__stage::after {
    background: linear-gradient(to bottom,
      color-mix(in oklab, var(--ink) 30%, transparent),
      color-mix(in oklab, var(--ink) 82%, transparent));
  }
}
.story__beats { position: relative; z-index: 2; margin-top: -100svh; }
.story__beat {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}
.story__beat > div { max-width: 30rem; }
.story__beat h3 {
  font-family: var(--display);
  font-weight: 500;

  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0.6rem 0 0.9rem;
}
.story__beat p { margin: 0; color: color-mix(in oklab, var(--paper) 78%, transparent); max-width: 34ch; }
.story__beat .eyebrow { color: var(--sea); }
.story__spacer { height: 40svh; }

/* ==========================================================================
   Drop panel: the moment. Rare, so this is where the delight budget goes.
   ========================================================================== */
.drop {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
  padding-block: clamp(5rem, 14vh, 10rem);
}
.drop__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 60rem) { .drop__grid { grid-template-columns: 1.05fr 1fr; } }

.drop__stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.85rem 0.42rem 0.6rem;
  border: 1px solid color-mix(in oklab, var(--paper) 26%, transparent);
  border-radius: var(--r);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.drop__stamp i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sea);
  position: relative;
}
.drop__stamp i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sea);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%, 100% { transform: scale(3.4); opacity: 0; }
}

.drop__title {
  font-family: var(--display);
  font-weight: 500;

  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.25rem;
}
.drop__title span { display: block; }
.drop__title .thin { color: var(--sea); font-style: italic; }

.drop__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in oklab, var(--paper) 16%, transparent);
}
.drop__facts div p { margin: 0.3rem 0 0; font-size: 0.9375rem; }

/* The hoodie sitting in its own frame, lifted off the page */
.drop__shot {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: clip;
  border-radius: var(--r);
  background: var(--ink-2);
}
.drop__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 40%;
  transform: scale(1.02);
}
.drop__shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(transparent, color-mix(in oklab, var(--ink) 88%, transparent));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--d-press) var(--ease-out),
              background-color var(--d-hover) ease,
              color var(--d-hover) ease,
              opacity var(--d-hover) ease;
}
.btn:active { transform: scale(0.975); }
.btn--light { --btn-bg: var(--sea); --btn-fg: var(--ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 32%, transparent);
}
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:not([disabled]):hover { background: var(--sea-deep); color: var(--foam); }
  .btn--ghost:not([disabled]):hover { background: color-mix(in oklab, currentColor 10%, transparent); color: inherit; }
}

.link-u {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid color-mix(in oklab, currentColor 35%, transparent);
  transition: border-color var(--d-hover) ease, gap var(--d-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-u:hover { border-color: currentColor; gap: 0.85rem; }
}

/* ==========================================================================
   Product grid
   ========================================================================== */
.grid-products {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
/* Two up on a phone. One long column turns four pieces into four screens. */
@media (max-width: 40rem) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.7rem; }
  .card__body { flex-direction: column; gap: 0.15rem; }
  .card__price { font-size: 0.875rem; }
}
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative;
  display: block;            /* aspect-ratio is ignored on an inline box */
  aspect-ratio: 4 / 5;
  overflow: clip;
  background: var(--ink-2);
  border-radius: var(--r);
}
/* Nothing to show yet, so show nothing. Repeating the same photograph across
   three placeholder tiles reads as padding. */
.card__media--soon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in oklab, var(--sea) 12%, transparent), transparent 72%),
    var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.card__mark {
  width: 36%;
  max-width: 5.5rem;
  height: auto;
  overflow: visible;
  color: color-mix(in oklab, var(--paper) 22%, transparent);
  transition: color var(--d-hover) ease, transform 520ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__mark { color: color-mix(in oklab, var(--paper) 40%, transparent); transform: translateY(-2px); }
}
/* Absolute, so a percentage height never forms a cyclic dependency with the
   frame's aspect-ratio and let the photo's own proportions size the card. */
.card__media img,
.drop__shot img,
.pdp__gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media img {
  transform: scale(1.001);
  transition: transform 720ms var(--ease-out);
}
/* Frequently-seen hover: near-imperceptible only. */
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img { transform: scale(1.035); }
}
.card__tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.32rem 0.6rem;
  border-radius: var(--r);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__tag--soon { background: color-mix(in oklab, var(--paper) 14%, transparent); color: var(--paper); }
.card__body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
}
.card__body h3 { margin: 0; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; }
.card__body p { margin: 0.2rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.card__price { font-size: 0.9375rem; white-space: nowrap; }
.card__price.is-soon { color: var(--muted); }

/* Quick-add strip slides up from the bottom of the frame it belongs to */
.card__quick {
  position: absolute;
  inset: auto 0.6rem 0.6rem;
  display: flex;
  gap: 0.35rem;
  transform: translateY(calc(100% + 0.6rem));
  opacity: 0;
  transition: transform 320ms var(--ease-out), opacity 200ms var(--ease-out);
}
.card__quick button {
  flex: 1;
  padding: 0.6rem 0.3rem;
  border-radius: var(--r);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  backdrop-filter: blur(10px);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color 160ms ease, transform var(--d-press) var(--ease-out);
}
.card__quick button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .card__quick button:hover { background: var(--paper); color: var(--ink); }
  .card:hover .card__quick,
  .card:focus-within .card__quick { transform: translateY(0); opacity: 1; }
}
@media (hover: none) { .card__quick { display: none; } }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 3rem));
}
@media (min-width: 60rem) { .pdp { grid-template-columns: 1.15fr 1fr; align-items: start; } }

/* A grid item's automatic minimum size is its content, so a wide image forces
   the track wider than the phone and the whole page scrolls sideways. */
.pdp > *,
.pdp__gallery,
.pdp__gallery > * { min-width: 0; }

.pdp__gallery { display: grid; gap: 0.6rem; }
@media (min-width: 40rem) { .pdp__gallery { grid-template-columns: 1fr 1fr; } }
.pdp__gallery figure { position: relative; margin: 0; overflow: clip; background: var(--ink-2); border-radius: var(--r); }
.pdp__gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.pdp__gallery figure:not(:first-child) { aspect-ratio: 4 / 5; }
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; }

.pdp__panel { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.pdp__price { font-size: 1.25rem; margin: 0.5rem 0 0; letter-spacing: -0.01em; }
.pdp__panel h1 { margin: 0.35rem 0 0; }

.sizes { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0 0; }
.size {
  min-width: 3.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  /* No transition on the pick itself, chosen often, wants to feel instant. */
  transition: background-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}
.size[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: none; }
.size[data-stock="0"] {
  color: var(--muted);
  cursor: not-allowed;
  background-image: linear-gradient(to top left,
    transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px));
}
@media (hover: hover) and (pointer: fine) {
  .size:not([data-stock="0"]):not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--ink); }
}

.spec { border-top: 1px solid var(--line); margin-top: 2rem; }
.spec details { border-bottom: 1px solid var(--line); }
.spec summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary i {
  position: relative;
  width: 11px; height: 11px;
  flex: 0 0 auto;
}
.spec summary i::before, .spec summary i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: currentColor;
  transition: transform 260ms var(--ease-out);
}
.spec summary i::after { transform: rotate(90deg); }
.spec details[open] summary i::after { transform: rotate(0deg); }
.spec__inner { padding-bottom: 1.15rem; color: var(--muted); font-size: 0.875rem; max-width: 44ch; }
.spec details[open] .spec__inner { animation: fadeUp 320ms var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-4px); } }

/* ==========================================================================
   Sticky buy bar (product page, phones)
   The product page is over 4000px tall on a phone. Once the add button has
   scrolled away there is no way to buy without scrolling back, which is where
   mobile carts get abandoned. This slides up to replace it, and the ticker
   stands down because a marquee competing with the buy action is just noise.
   ========================================================================== */
.buybar {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--gutter) calc(0.85rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 360ms var(--ease-drawer);
}
.buybar.is-up { transform: none; }
.buybar__info { display: grid; line-height: 1.3; min-width: 0; }
.buybar__info strong { font-weight: 500; font-size: 0.9375rem; }
.buybar__info span { font-size: 0.8125rem; color: var(--muted); }
.buybar .btn { padding-inline: 1.25rem; white-space: nowrap; }

/* Desktop keeps the real buy panel in view, so the bar never earns its place. */
@media (min-width: 60rem) { .buybar { display: none; } }
@media (max-width: 59.99rem) { .page-product .ticker { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .buybar { transition: opacity 200ms ease; transform: none; opacity: 0; }
  .buybar.is-up { opacity: 1; }
}

/* ==========================================================================
   Cart drawer: enters from the right, leaves the same way.
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in oklab, var(--ink) 46%, transparent);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--d-menu) var(--ease-out), visibility 0s linear var(--d-menu);
}
.scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 100;
  width: min(26.5rem, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--d-drawer) var(--ease-drawer), visibility 0s linear var(--d-drawer);
  box-shadow: -2rem 0 4rem -1rem color-mix(in oklab, var(--ink) 30%, transparent);
}
.drawer.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { margin: 0; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.drawer__close { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .drawer__close:hover { background: var(--line-soft); } }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--gutter); overscroll-behavior: contain; }
.drawer__foot { padding: 1.25rem var(--gutter) 1.5rem; border-top: 1px solid var(--line); }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; font-size: 0.875rem; }
.drawer__row strong { font-size: 1.0625rem; font-weight: 500; }
.drawer__note { margin: 0.55rem 0 1rem; font-size: 0.75rem; color: var(--muted); }

.line {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.line img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); background: var(--ink-2); }
.line h4 { margin: 0; font-size: 0.875rem; font-weight: 500; }
.line p { margin: 0.15rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.line__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); }
.qty button { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; font-size: 0.9rem; transition: color 140ms ease; }
.qty span { min-width: 1.6rem; text-align: center; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { color: var(--sea-deep); } }

/* New lines land softly rather than snapping the list */
.line.is-new { animation: lineIn 420ms var(--ease-out) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(0.6rem); } }

.drawer__empty { padding: 4rem 0; text-align: center; color: var(--muted); }
.drawer__empty p { margin: 0 0 1.25rem; }

/* Flying thumbnail: the item travels from the product to the cart icon,
   so the user sees where it went. Position-driven, transform only. */
.flyer {
  position: fixed;
  z-index: 120;
  width: 84px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r);
  pointer-events: none;
  box-shadow: 0 1rem 2rem -0.75rem color-mix(in oklab, var(--ink) 45%, transparent);
  transition: transform 620ms var(--ease-in-out), opacity 620ms var(--ease-out);
}

/* ==========================================================================
   Newsletter + footer
   ========================================================================== */
.signup { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; max-width: 26rem; }
.signup input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-radius: var(--r);
  background: color-mix(in oklab, currentColor 9%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  transition: box-shadow 200ms var(--ease-out);
}
.signup input::placeholder { color: color-mix(in oklab, currentColor 45%, transparent); }
.signup input:focus { outline: none; box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 40%, transparent); }
.signup__ok { margin: 0.7rem 0 0; font-size: 0.8125rem; color: var(--sea); }

.site-footer { background: var(--ink-2); padding: clamp(4rem, 9vh, 6.5rem) 0 8rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 4rem; } }
.footer-grid h4 { margin: 0 0 1rem; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: color-mix(in oklab, var(--paper) 55%, transparent); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.875rem; }
.footer-grid li a { color: color-mix(in oklab, var(--paper) 82%, transparent); transition: color var(--d-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer-grid li a:hover { color: var(--paper); } }
.footer-base {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}

/* Big footer wordmark, bled off the bottom edge */
.footer-mark {
  margin-top: 3.5rem;
  font-family: var(--display);
  font-weight: 500;

  font-size: clamp(4rem, 20vw, 17rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
  color: color-mix(in oklab, var(--paper) 12%, transparent);
  user-select: none;
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 3.5rem;
  z-index: 110;
  padding: 0.8rem 1.3rem;
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  /* Transition, not keyframes, because this can be fired twice in a second. */
  transform: translate(-50%, 1rem) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s linear 300ms;
}
.toast.is-on { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; transition-delay: 0s; }

/* ==========================================================================
   Reduced motion: gentler, not zero. Comprehension survives; travel goes.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .drop__stamp i::after { animation: none; }

  html.js .r { transform: none; transition: opacity 300ms ease; }
  html.js .reveal-line > span { transform: none; opacity: 0; transition: opacity 400ms ease; }
  html.js .is-ready .reveal-line > span { opacity: 1; }

  .story__stage img, .story__stage canvas { transform: none; }
  .card:hover .card__media img { transform: none; }

  .drawer { transition: opacity var(--d-menu) ease, visibility 0s linear var(--d-menu); transform: none; opacity: 0; }
  .drawer.is-open { opacity: 1; }
  .menu-panel { transition: opacity var(--d-menu) ease, visibility 0s linear var(--d-menu); transform: none; opacity: 0; }
  .menu-panel.is-open { opacity: 1; }
  .menu-panel a { transform: none; transition: opacity 240ms ease; }
  .menu-btn i::before, .menu-btn i::after { transition: none; }
  .card__quick { transition: opacity 200ms ease; transform: none; }
  .line.is-new { animation: none; }
  .flyer { display: none; }
  .toast { transition: opacity 200ms ease, visibility 0s linear 200ms; transform: translate(-50%, 0); }
  .spec details[open] .spec__inner { animation: none; }
  .btn:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header::before { background: var(--ink); backdrop-filter: none; }
  .card__tag { backdrop-filter: none; background: var(--ink); }
  .card__quick button { backdrop-filter: none; background: var(--ink-2); }
  .scrim { backdrop-filter: none; }
}


/* ------------------------------------------------------------------------
   Solstice (20 Oct 2026): sale price, the Instagram band, wide wordmark
   ------------------------------------------------------------------------ */
.wordmark { letter-spacing: 0.22em; font-weight: 700; font-style: italic; }
.wordmark .mark { position: relative; width: 1.75em; height: 1.75em; border-radius: 50%; background: #4B6A96; -webkit-mask: none; mask: none; }
.wordmark .mark::after { content: ""; position: absolute; inset: 20% 14%; background: #fff; -webkit-mask: url(../assets/mark.svg) center / contain no-repeat; mask: url(../assets/mark.svg) center / contain no-repeat; }
.card__was, .pdp__was { color: var(--muted); font-weight: 400; margin-left: 0.4em; text-decoration-thickness: 1px; }
.pdp__was { font-size: 0.85em; }
.footer-mark { text-transform: uppercase; font-style: italic; letter-spacing: 0.02em; font-size: clamp(2.6rem, 12.4vw, 11.5rem); white-space: nowrap; overflow: clip; }
.feed__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.5rem, 1.2vw, 1rem); }
@media (max-width: 48rem) { .feed__grid { grid-template-columns: repeat(2, 1fr); } }
.feed__tile { position: relative; display: block; aspect-ratio: 1; overflow: clip; border-radius: var(--r); background: var(--ink-2); }
.feed__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), filter 240ms var(--ease-out); }
.feed__go { position: absolute; left: 0.75rem; bottom: 0.75rem; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--foam); background: color-mix(in oklab, var(--ink) 70%, transparent); padding: 0.35rem 0.55rem; border-radius: 2px; opacity: 0; transform: translateY(4px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feed__tile:hover img { transform: scale(1.04); }
  .feed__tile:hover .feed__go { opacity: 1; transform: none; }
}
@media (hover: none) { .feed__go { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feed__tile img, .feed__go { transition: none; } .feed__tile:hover img { transform: none; } }
.feed__tile:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

/* summer drop tiles carry the Solstice S instead of the Peak 77 mountain */
.card__mark--s { display: block; width: 3.4rem; height: 2.8rem; background: currentColor; -webkit-mask: url(../assets/mark.svg) center / contain no-repeat; mask: url(../assets/mark.svg) center / contain no-repeat; }


/* ------------------------------------------------------------------------
   Rework from Finn's references (5 Nov 2026): white pages, drop bar on top,
   full-screen hero with a stacked menu, products first, photo panels.
   ------------------------------------------------------------------------ */
:root { --bar: 2rem; }
.ticker { top: 0; bottom: auto; height: var(--bar); display: flex; align-items: center; background: #4B6A96; color: #fff; border: 0; z-index: 60; }
.ticker span { color: #fff; }
.ticker span::after { background: #fff; }
.site-header { top: var(--bar); }
.site-footer { padding-bottom: 3rem; }
main > section:first-child:not(.hero), main > .wrap:first-child { margin-top: var(--bar); }
.wordmark { color: inherit; }
.btn--light { --btn-fg: #fff; }

.hero--ep { min-height: 100svh; }
.hero--ep .hero__scrim { background: linear-gradient(90deg, rgba(5, 8, 10, 0.55) 0%, rgba(5, 8, 10, 0.18) 48%, rgba(5, 8, 10, 0) 70%), linear-gradient(180deg, rgba(5, 8, 10, 0.4) 0%, rgba(5, 8, 10, 0) 24%); }
.ep { position: absolute; z-index: 2; left: 24%; top: 54%; transform: translate(-50%, -50%); display: grid; justify-items: center; text-align: center; color: #fff; width: max-content; max-width: 90vw; }
.ep__mark { width: 4.6rem; height: 3.8rem; background: #fff; -webkit-mask: url(../assets/mark.svg) center / contain no-repeat; mask: url(../assets/mark.svg) center / contain no-repeat; margin-bottom: 0.6rem; }
.ep__word { margin: 0; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.2em; margin-right: -0.2em; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; }
.ep__line { margin: 0.8rem 0 1.5rem; font-family: var(--sans); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.86); }
.ep__nav { display: grid; justify-items: center; }
.ep__nav a { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.55rem 1rem; min-height: 2.75rem; display: flex; align-items: center; color: #fff; }
@media (hover: hover) and (pointer: fine) { .ep__nav a { transition: opacity 150ms ease; } .ep__nav:hover a:not(:hover) { opacity: 0.5; } }
.ep__nav a:focus-visible { outline-color: #fff; }
@media (max-width: 48rem) {
  .ep { left: 50%; top: auto; bottom: 7%; transform: translateX(-50%); }
  .hero--ep .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.4) 0%, rgba(5, 8, 10, 0) 26%, rgba(5, 8, 10, 0) 42%, rgba(5, 8, 10, 0.72) 100%); }
}

.shop-top { padding-top: clamp(2.5rem, 6vh, 4rem); }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.row-head h2 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transition: background-color 150ms ease; }
.pill--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }
@media (hover: hover) and (pointer: fine) { .pill:hover { background: var(--sea); color: #fff; box-shadow: none; } }

.panels { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 48rem) { .panels { grid-template-columns: 1fr; } }
.panel { position: relative; display: block; aspect-ratio: 4 / 5; overflow: clip; background: var(--ink-3); }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.panel span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .panel:hover img { transform: scale(1.035); } }
@media (prefers-reduced-motion: reduce) { .panel img { transition: none; } .panel:hover img { transform: none; } }

.byline { padding: clamp(2rem, 5vh, 3rem) 0; }
.byline .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.byline p { margin: 0; font-size: 1rem; }
.card__mark--s { color: color-mix(in oklab, var(--sea) 45%, transparent); }

/* header reads white over the hero photo, dark once it sits on the white page */
.site-header:not(.is-stuck):not(.on-paper) { color: #fff; }
.card__tag { background: #fff; color: #0C0D0D; }
.card__tag--soon { background: var(--ink-3); color: var(--muted); }
@media (max-width: 48rem) {
  .ep { bottom: 5%; width: 100%; max-width: none; }
  .ep__mark { display: none; }
  .ep__line { margin: 0.6rem 0 0.9rem; }
  .ep__nav { grid-template-columns: 1fr 1fr; width: min(20rem, 88vw); }
  .hero--ep .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.4) 0%, rgba(5, 8, 10, 0) 24%, rgba(5, 8, 10, 0) 58%, rgba(5, 8, 10, 0.82) 82%, rgba(5, 8, 10, 0.9) 100%); }
}

/* the bag count stays readable on the photo and on white */
.site-header .cart-count > span,
.site-header.is-stuck .cart-count > span,
.site-header.on-paper .cart-count > span { color: #fff; }
.site-header:not(.is-stuck):not(.on-paper) .cart-count > span { color: #0C0D0D; }
/* the phone menu sits under the bar and header, so its close button stays reachable */
.menu-panel { z-index: 55; padding-top: calc(var(--header-h) + var(--bar)); }
body.is-locked .site-header:not(.is-stuck):not(.on-paper) { color: var(--paper); }
body.is-locked .site-header:not(.is-stuck):not(.on-paper) .cart-count > span { color: #fff; }


/* Hero: three moving panels from the summer drop reels */
.reels { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #10161c; }
.reel { position: relative; overflow: clip; min-width: 0; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel--yellow video { object-position: 50% 30%; }
.reel--charcoal video { object-position: 50% 40%; }
.reel--tote video { object-position: 50% 62%; }
.hero--reels .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.5) 0%, rgba(5, 8, 10, 0.12) 22%, rgba(5, 8, 10, 0) 100%), radial-gradient(38% 58% at 50% 40%, rgba(5, 8, 10, 0.5) 0%, rgba(5, 8, 10, 0) 100%); }
.hero--reels .ep { left: 50%; top: 42%; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
@media (max-width: 48rem) {
  .reels { grid-template-columns: 1fr; }
  .reel--yellow, .reel--charcoal { display: none; }
  .hero--reels .ep { top: 16%; bottom: auto; transform: translateX(-50%); }
  .hero--reels .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.55) 0%, rgba(5, 8, 10, 0.42) 46%, rgba(5, 8, 10, 0) 66%); }
}
.card__media img { object-position: 50% 42%; }

/* wordmark up in the sky, menu along the bottom, so nothing sits on the person */
.hero--reels .ep { inset: 0; left: 0; top: 0; bottom: 0; width: auto; max-width: none; transform: none; grid-template-rows: auto auto auto 1fr auto; padding: calc(var(--bar) + var(--header-h) + 3.5vh) 1rem 1.25rem; pointer-events: none; }
.hero--reels .ep a { pointer-events: auto; }
.hero--reels .ep__mark { width: 3.4rem; height: 2.8rem; margin-bottom: 0.4rem; }
.hero--reels .ep__line { margin: 0.6rem 0 0; }
.hero--reels .ep__nav { grid-row: 5; grid-auto-flow: column; grid-template-columns: none; gap: clamp(0.25rem, 2vw, 2rem); width: auto; }
.hero--reels .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.5) 0%, rgba(5, 8, 10, 0.1) 26%, rgba(5, 8, 10, 0) 70%, rgba(5, 8, 10, 0.55) 100%), radial-gradient(34% 30% at 50% 24%, rgba(5, 8, 10, 0.42) 0%, rgba(5, 8, 10, 0) 100%); }
@media (max-width: 48rem) {
  .hero--reels .ep { top: 0; bottom: 0; transform: none; padding-top: calc(var(--bar) + var(--header-h) + 0.75rem); padding-inline: 0.25rem; }
  .hero--reels .ep__nav { width: 100%; justify-content: space-evenly; gap: 0; }
  .hero--reels .ep__nav a { font-size: 0.75rem; padding: 0.5rem 0.4rem; white-space: nowrap; }
  .hero--reels .hero__scrim { background: linear-gradient(180deg, rgba(5, 8, 10, 0.55) 0%, rgba(5, 8, 10, 0.3) 30%, rgba(5, 8, 10, 0) 46%, rgba(5, 8, 10, 0) 78%, rgba(5, 8, 10, 0.6) 100%); }
}


/* Finn's Snap, 5 Nov 2026: his logo and line in the hero, Instagram icon in the top bar */
.ep__brand { margin: 0; width: clamp(15rem, 29vw, 32rem); filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)); }
.ep__brand img { display: block; width: 100%; height: auto; }
.hero--reels .ep__line { margin: 0.9rem 0 0; font-size: clamp(0.875rem, 1.3vw, 1.125rem); letter-spacing: 0.08em; color: #fff; }
.ticker__ig { display: inline-block; vertical-align: -2px; margin-right: 0.4em; }
.ticker__track { animation-duration: 92s; }

/* Finn's Snap: one wide photo with one word, in place of the three panels */
.wide__link { position: relative; display: block; aspect-ratio: 21 / 9; overflow: clip; background: var(--ink-3); }
.wide__link img { width: 100%; height: 100%; object-fit: cover; }
.wide__link::after { content: ""; position: absolute; inset: 0; background: rgba(5, 8, 10, 0.18); }
.wide__link span { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.14em; margin-right: -0.14em; font-size: clamp(1.75rem, 6vw, 5.5rem); line-height: 1; white-space: nowrap; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
@media (max-width: 48rem) { .wide__link { aspect-ratio: 4 / 5; } }

/* Finn's Snap: one big hero video */
.reels { grid-template-columns: 1fr; }
.reel--tote video { object-position: 50% 40%; }
@media (max-width: 48rem) { .reel--tote video { object-position: 50% 62%; } }
.ep__brand { width: clamp(15rem, 36vw, 32rem); }

/* Finn's photos, 17 Nov 2026: photo hero, tee photo slides, size guide table */
.reel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
@media (max-width: 48rem) { .reel--photo img { object-position: 47% 50%; } }
.pdp__gallery.pdp__gallery--slides { display: block; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); background: var(--ink-2); }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.pdp__gallery.pdp__gallery--slides figure.slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 0; grid-column: auto; }
.pdp__gallery.pdp__gallery--slides figure.slide img { width: 100%; height: 100%; object-fit: cover; }
.pdp__gallery.pdp__gallery--slides figure.slide--guide { background: #fff; }
.pdp__gallery.pdp__gallery--slides figure.slide--guide img { object-fit: contain; padding: 8%; }
.page-tee-charcoal .slide:nth-child(2) img { object-position: 72% 50%; }
.slides__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.75rem; }
.slides__nav button { min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; border: 1px solid var(--line, rgba(0,0,0,.15)); background: transparent; color: inherit; font-size: 1.1rem; cursor: pointer; }
.slides__nav button:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.sizes--static .size { cursor: default; pointer-events: none; }
.guide { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.guide th, .guide td { text-align: left; padding: 0.45rem 0.25rem; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.guide thead th { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 40rem) { .card__price { white-space: normal; } .card__was { display: inline-block; margin-left: 0; } .card__price .card__was::before { content: ""; } }
::selection { background: #4B6A96; color: #fff; }

/* Shopify connection, 18 Nov 2026 */
.grid-msg { grid-column: 1 / -1; margin: 1rem 0; color: var(--muted); }
.pdp__loading { padding: 4rem 0; color: var(--muted); }
.pdp__missing { padding: 3rem 0; display: grid; gap: 1rem; justify-items: start; }
.pdp__desc { margin: 1rem 0 0; color: var(--muted); max-width: 40ch; }
.is-busy { opacity: 0.7; pointer-events: none; }
.card__quick { flex-wrap: wrap; overflow: hidden; }
.pdp__list { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); max-width: 40ch; }
.pdp__list li { margin: 0.2rem 0; }

/* Powered by Your Future Site, same as the Austropical cafe site */
.footer-base { flex-wrap: wrap; row-gap: 0.5rem; }
.credit { margin: 0; flex-basis: 100%; }
.credit a { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3em; min-height: 2.75rem; }
.credit a span { font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .credit a { transition: color 0.2s; } .credit a:hover { color: var(--paper); } }
.pdp__loading-title { padding-top: 3rem; margin: 0; }
