/* ==========================================================================
   SALT REBEL — core stylesheet
   Palette sampled directly from the April 2026 tech packs.
   ========================================================================== */

:root {
  /* Brand core */
  --maroon:        #6C1D31;
  --maroon-deep:   #4C1322;
  --neon:          #E7F03D;
  --olive:         #BCC24B;
  --terracotta:    #B97150;

  /* Colorways */
  --pine:          #203738;
  --coral:         #F37459;
  --coral-light:   #FC9A6F;
  --olive-deep:    #786508;

  --navy:          #152B4F;
  --mint:          #20D496;
  --mint-light:    #21F3AB;
  --slate:         #667193;

  --plum:          #522554;
  --lavender:      #9789FF;
  --lavender-light:#A89DF9;
  --signal-red:    #A71C1E;

  /* Neutrals — newsprint, not white */
  --ink:           #1A1815;
  --ink-soft:      #4A443E;
  --bone:          #EFEBE2;
  --bone-dim:      #E3DED2;
  --paper:         #FAF8F3;
  --line:          #D6D0C1;
  --earth:         #C8BCA6;
  --earth-deep:    #A9997E;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --marker:  "Permanent Marker", "Archivo", sans-serif;
  --hand:    "Caveat", "Bradley Hand", cursive;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Hand-drawn marks, used as backgrounds so they scale with the text */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.26'/%3E%3C/svg%3E");
  --swipe-neon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M9 36 C74 17 152 46 236 24 C266 16 288 27 293 31' stroke='%23E7F03D' stroke-width='42' stroke-linecap='round' fill='none' opacity='0.92'/%3E%3C/svg%3E");
  --rule-neon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11 C62 3 122 15 182 7 C228 1 268 10 296 6' stroke='%23E7F03D' stroke-width='6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  --rule-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11 C62 3 122 15 182 7 C228 1 268 10 296 6' stroke='%231A1815' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-xl: clamp(22px, 3.4vw, 46px);
  --pill: 999px;

  /* an organic torn/wave edge, used to end a band on a curve rather than a line */
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V22C120 6 232 34 352 30 470 26 560 2 690 6c118 4 186 30 300 28 82-2 150-14 210-24V48Z' fill='%23EFEBE2'/%3E%3C/svg%3E");
  --header-h: 74px;

  --shadow-sm: 0 2px 10px rgba(22, 17, 15, .07);
  --shadow-md: 0 12px 40px rgba(22, 17, 15, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone) var(--grain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.9rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(44px, 6vw, 80px) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--neon); color: var(--ink); padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--neon); }

/* ------------------------------------------------------------ utilities */
.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 8px; flex: none;
  background: var(--rule-neon) no-repeat center / 100% 100%;
}
.on-dark .eyebrow { color: var(--neon); }
.on-dark .eyebrow::before { background: var(--neon); }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; color: var(--ink-soft); }
.on-dark .lede { color: rgba(255,255,255,.8); }
.serif-accent { font-family: var(--hand); font-weight: 700; font-size: 1.26em; line-height: 1.05;
  text-transform: none; letter-spacing: 0; }
.neon-text { color: var(--neon); }
.center { text-align: center; }

/* Diagonal sleeve-stripe motif, lifted from the tech pack sleeve graphic */
.stripe-band {
  height: 14px;
  background: repeating-linear-gradient(
    115deg,
    var(--neon) 0 22px,
    var(--olive) 22px 44px
  );
}
.stripe-band-thin { height: 6px; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--mono); font-weight: 700; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; border: 2px solid transparent; border-radius: var(--pill);
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--neon); color: var(--ink); border-color: var(--neon); }
.btn-primary:hover { background: var(--ink); color: var(--neon); border-color: var(--ink); }
.btn-dark { background: var(--maroon); color: var(--bone); border-color: var(--maroon); }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--neon); border-color: var(--ink); }
.on-dark .btn-ghost { color: var(--bone); }
.on-dark .btn-ghost:hover { background: var(--neon); color: var(--ink); border-color: var(--neon); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.link-arrow {
  font-family: var(--mono); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 0; padding-bottom: .5em;
  background: var(--rule-neon) no-repeat left bottom / 100% .45em;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.link-arrow:hover { color: var(--maroon); }
.on-dark .link-arrow:hover { color: var(--neon); border-color: var(--bone); }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 241, 236, .93);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(12px, 1.8vw, 24px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
.brand-word {
  font-family: var(--mono); font-weight: 700; font-size: .92rem;
  letter-spacing: .19em; text-transform: uppercase; color: var(--maroon);
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.main-nav a {
  font-family: var(--mono); font-weight: 400; font-size: .74rem;
  letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--neon); transition: right .22s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--maroon); }

.cart-link { display: flex; align-items: center; gap: 8px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--maroon); color: var(--neon); border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: 0;
}
.cart-count[data-empty="true"] { background: var(--bone-dim); color: var(--ink-soft); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 26px;
    transform: translateY(-120%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .main-nav[data-open="true"] { transform: translateY(0); }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .cart-link { border-bottom: 0 !important; padding-top: 18px !important; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--bone) var(--grain); color: var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 14px;
  background: repeating-linear-gradient(115deg, var(--neon) 0 22px, var(--olive) 22px 44px);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(48px, 6vw, 84px) 0 clamp(62px, 7vw, 96px);
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); margin-bottom: .32em; }
.hero .lede { color: var(--ink-soft); }
/* the campaign's marker line: hand lettering sitting on a neon highlighter swipe */
.hero h1 .outline {
  display: inline;
  font-family: var(--marker);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.5;
  color: var(--ink);
  background: var(--swipe-neon) no-repeat center / 100% 100%;
  padding: .1em .28em .16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-copy { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-figure { position: relative; display: grid; place-items: center; }
.hero-figure img { width: min(100%, 400px); filter: drop-shadow(0 26px 44px rgba(26,24,21,.28)); }
.hero-figure::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,240,61,.42), transparent 66%);
}
.hero-badge {
  position: absolute; left: 0; top: 2%; z-index: 2;
  font-family: var(--mono);
  background: var(--neon); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 15px; transform: rotate(-5deg);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .hero-figure { order: -1; }
  .hero-figure img { width: min(78%, 320px); }
  .hero-badge { left: 2%; }
}

/* --------------------------------------------------------- marquee bar */
.marquee {
  background: var(--ink); color: var(--bone); overflow: hidden;
  padding: 13px 0; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 46px; align-items: center;
  animation: slide 34s linear infinite;
  font-family: var(--mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: "◆"; color: var(--neon); font-size: .6rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------- product cards */
.product-grid {
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.product-card {
  color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card a.card-link { text-decoration: none; color: inherit; display: block; }
.product-media {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  padding: 16px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: background .35s var(--ease);
}
.product-media img { max-height: 100%; width: auto; transition: transform .45s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--neon); color: var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px;
}
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-name {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .01em; text-transform: uppercase; margin: 0;
}
.product-colorway { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.product-price { font-family: var(--mono); font-weight: 700; margin: 8px 0 0; }
.swatch-row { display: flex; gap: 7px; margin-top: 12px; }
.swatch {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18);
  padding: 0; background-clip: padding-box; position: relative;
}
.swatch[aria-current="true"] { box-shadow: 0 0 0 2px var(--bone), 0 0 0 4px var(--ink); }
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* --------------------------------------------------------- filter pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.pill {
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-family: var(--mono); font-weight: 400; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .18s var(--ease);
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: var(--neon); }

/* -------------------------------------------------------- split feature */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.split-media { position: relative; display: grid; place-items: center; padding: 24px; }
.split-media img { width: min(100%, 440px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.band-maroon { background: var(--maroon) var(--grain); color: var(--bone); }
.band-ink    { background: var(--ink) var(--grain); color: var(--bone); }
.band-paper  { background: var(--paper) var(--grain); }
.band-earth  { background: var(--earth) var(--grain); color: var(--ink); }
.band-maroon a:not(.btn), .band-ink a:not(.btn) { color: var(--neon); }

/* ----------------------------------------------------------- pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.pillar { padding-top: 22px; background: var(--rule-neon) no-repeat left top / 92px 9px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: .5em; }
.pillar p { font-size: .95rem; color: var(--ink-soft); }
.on-dark .pillar p { color: rgba(255,255,255,.74); }
.pillar-num {
  font-family: var(--mono); font-weight: 700; font-size: .68rem;
  letter-spacing: .16em; color: var(--maroon); display: block; margin-bottom: 8px;
}
.on-dark .pillar-num { color: var(--neon); }

/* ------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-media {
  border-radius: var(--radius-xl); display: grid; place-items: center;
  padding: clamp(24px, 4vw, 52px); position: relative; overflow: hidden;
  min-height: 380px;
}
.pdp-media img { width: min(100%, 430px); filter: drop-shadow(0 24px 40px rgba(0,0,0,.28)); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pdp-thumb {
  width: 74px; aspect-ratio: 1; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: var(--pill); padding: 8px; display: grid; place-items: center;
}
.pdp-thumb[aria-current="true"] { border-color: var(--ink); }
.pdp-thumb img { max-height: 100%; width: auto; }

.pdp-title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .18em; }
.pdp-colorway { font-family: var(--hand); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--maroon); margin: 0 0 20px; }
.pdp-price { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; margin: 0 0 6px; }
.pdp-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-soft); }

.field-label {
  font-family: var(--mono); font-weight: 700; font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.size-btn {
  min-width: 58px; padding: 12px 10px; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--pill);
  font-family: var(--mono); font-weight: 400; font-size: .76rem; letter-spacing: .06em;
  transition: all .16s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--neon); }
.size-hint { font-size: .82rem; color: var(--ink-soft); margin: 10px 0 24px; }
.size-hint[data-error="true"] { color: var(--signal-red); font-weight: 600; }

.colorway-links { display: flex; gap: 10px; margin: 4px 0 26px; }
.colorway-link {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2);
  display: block; text-decoration: none;
}
.colorway-link[aria-current="true"] { box-shadow: 0 0 0 2px var(--bone), 0 0 0 4px var(--ink); }

details.spec { border-top: 1px solid var(--line); padding: 16px 0; }
details.spec:last-of-type { border-bottom: 1px solid var(--line); }
details.spec summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; line-height: 1; }
details.spec[open] summary::after { content: "–"; }
details.spec .spec-body { padding-top: 14px; font-size: .95rem; color: var(--ink-soft); }
details.spec ul { margin: 0; padding-left: 1.1em; }
details.spec li { margin-bottom: .4em; }

/* --------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { border-radius: var(--radius); padding: 8px; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; }
.cart-thumb img { max-height: 100%; width: auto; }
.cart-row h3 { font-size: .98rem; margin-bottom: 4px; }
.cart-meta { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); margin-top: 10px; }
.qty button { width: 32px; height: 32px; background: none; border: 0; font-size: 1.05rem; line-height: 1; color: var(--ink-soft); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-line-price { font-family: var(--mono); font-weight: 700; text-align: right; }
.cart-remove { background: none; border: 0; padding: 6px 0 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-decoration: underline; }
.cart-remove:hover { color: var(--signal-red); }
.summary { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: .94rem; }
.summary-row > span:last-child { text-align: right; flex: none; max-width: 60%; }
.summary-total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-family: var(--mono); font-weight: 700; font-size: 1.1rem; }
.empty-state { text-align: center; padding: clamp(50px, 9vw, 100px) 0; }
.empty-state img { width: 150px; margin: 0 auto 24px; opacity: .85; }

.notice {
  background: rgba(231, 240, 61, .22); border-left: 4px solid var(--neon);
  padding: 18px 22px; font-size: .9rem; border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
}
.notice strong { font-family: var(--display); letter-spacing: .04em; }

/* --------------------------------------------------------------- blog */
.post-grid { display: grid; gap: clamp(22px, 3vw, 36px); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.post-card {
  color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; }
.post-cover-mark {
  font-family: var(--marker); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: .01em; line-height: .95; text-align: center; padding: 22px;
}
.post-cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 8px;
  background: repeating-linear-gradient(115deg, var(--neon) 0 16px, var(--olive) 16px 32px);
}
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-kicker { font-family: var(--mono); font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); }
.post-card h3 { font-size: 1.18rem; margin: 0; }
.post-excerpt { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.post-meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-soft); margin-top: auto; padding-top: 12px; }

.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.article h3 { font-size: 1.15rem; margin-top: 1.8em; }
.article p, .article li { font-size: 1.06rem; line-height: 1.72; }
.article ul, .article ol { padding-left: 1.2em; margin-bottom: 1.4em; }
.article li { margin-bottom: .55em; }
.article blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--neon);
  font-family: var(--serif); font-style: italic; font-size: 1.34rem; line-height: 1.42; color: var(--maroon);
}
.article-head { text-align: center; padding-bottom: clamp(28px, 4vw, 46px); }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.article-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* --------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label.field { display: block; }
.field-input, textarea.field-input, select.field-input {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .96rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color .16s var(--ease);
}
.field-input:focus { border-color: var(--maroon); }
textarea.field-input { min-height: 150px; resize: vertical; border-radius: var(--radius-lg); }
.form-status { font-size: .9rem; margin-top: 6px; }
.form-status[data-state="ok"] { color: var(--pine); font-weight: 600; }
.form-status[data-state="error"] { color: var(--signal-red); font-weight: 600; }

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; max-width: 470px; }
.newsletter .field-input { flex: 1 1 200px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; }
.stat { padding-left: 16px; border-left: 2px solid var(--earth-deep); }
.stat b { font-family: var(--marker); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 400; display: block; line-height: 1.05; }
.stat span { font-family: var(--mono); font-size: .72rem; line-height: 1.5; color: var(--ink-soft); }
.on-dark .stat span { color: rgba(255,255,255,.72); }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--bone); padding-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(26px, 4vw, 54px);
  padding: clamp(46px, 6vw, 76px) 0 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--mono); font-weight: 700; font-size: .7rem;
  letter-spacing: .18em; color: var(--neon); margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--neon); }
.footer-brand img { width: 128px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.66); max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: rgba(255,255,255,.55);
}

/* ------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  background: var(--ink); color: var(--bone); padding: 15px 26px; border-radius: var(--pill);
  font-size: .9rem; z-index: 300; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; transition: transform .32s var(--ease);
  border-left: 4px solid var(--neon); max-width: calc(100vw - 32px);
}
.toast[data-show="true"] { transform: translate(-50%, 0); }
.toast a { color: var(--neon); font-weight: 600; }

/* --------------------------------------------------------- page intro */
.page-head { padding: clamp(46px, 6vw, 82px) 0 clamp(28px, 3.4vw, 44px); }
.page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-bottom: .2em; }
.page-head .lede { max-width: 56ch; }

/* --------------------------------------------------------- breadcrumb */
.breadcrumb { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb span { opacity: .5; margin: 0 8px; }

/* ------------------------------------------------------------- tables */
.size-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.size-table th, .size-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.size-table tbody tr:hover { background: rgba(231,240,61,.14); }
.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------- contact bits */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.contact-list a { color: var(--maroon); }

/* article lede needs to beat the .article p base size */
.article p.lede { font-size: clamp(1.14rem, 1.7vw, 1.34rem); line-height: 1.5; color: var(--ink-soft); }

/* Longer hero headline needs a smaller cap so it holds three tidy lines */
.hero h1.hero-long { font-size: clamp(2.05rem, 4.7vw, 3.95rem); }
.hero-cover h1.hero-long { font-size: clamp(1.8rem, 3.05vw, 2.8rem); }
.hero-cover .lede { font-size: clamp(1rem, 1.25vw, 1.12rem); }

/* ------------------------------------------------------- language switch */
.sr-i18n-loading body { visibility: hidden; }

.lang-switch { position: relative; flex: none; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 6px 11px 6px 8px; color: var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .1em;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn[aria-expanded="true"] { border-color: var(--maroon); background: var(--paper); }
.lang-caret { transition: transform .18s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-flag {
  width: 21px; height: 15px; flex: none; border-radius: 2px; overflow: hidden;
  display: block; position: relative; box-shadow: 0 0 0 1px rgba(22, 17, 15, .16);
}
.lang-flag svg { display: block; width: 100%; height: 100%; }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 9px); z-index: 130;
  list-style: none; margin: 0; padding: 6px;
  min-width: 178px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: none; border: 0; border-radius: var(--pill); padding: 9px 12px;
  font-size: .92rem; text-align: left; color: var(--ink);
}
.lang-menu button:hover { background: rgba(231, 240, 61, .34); }
.lang-menu button[aria-current="true"] { background: var(--maroon); color: var(--neon); font-weight: 600; }

@media (max-width: 900px) {
  /* keep the order brand … language, menu button */
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 4px; }
  .lang-btn { padding: 6px 9px 6px 7px; }
}

/* ==========================================================================
   CAMPAIGN LAYER — Collection 001
   Newsprint, marker lettering, typewriter labels and hand annotations,
   lifted from the Sail the Surge social set.
   ========================================================================== */

/* --- type roles ---------------------------------------------------------- */
.marker {
  font-family: var(--marker); font-weight: 400; letter-spacing: .005em;
  line-height: 1.02; text-transform: none;
}
.hand {
  font-family: var(--hand); font-weight: 600; font-size: 1.34em; line-height: 1.24;
  letter-spacing: 0; text-transform: none;
}
.mono-label {
  font-family: var(--mono); font-weight: 400; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.on-dark .mono-label { color: rgba(255,255,255,.66); }

h1 .marker, h2 .marker, h3 .marker { display: block; }

/* Short statement headings set in marker instead of the grotesque */
.h-marker {
  font-family: var(--marker); font-weight: 400; text-transform: none;
  letter-spacing: .005em; line-height: 1.02;
}

/* --- hand-drawn marks ---------------------------------------------------- */
.hl-swipe {
  background: var(--swipe-neon) no-repeat center / 100% 104%;
  padding: .02em .3em .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: var(--ink);
}
.u-hand {
  background: var(--rule-neon) no-repeat left bottom / 100% .42em;
  padding-bottom: .3em;
}
.u-ink {
  background: var(--rule-ink) no-repeat left bottom / 100% .38em;
  padding-bottom: .28em;
}

/* A handwritten margin note, optionally with a doodled arrow beside it */
.note-hand {
  font-family: var(--hand); font-weight: 600;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.22;
  color: var(--ink); margin: 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.on-dark .note-hand, .band-maroon .note-hand, .band-ink .note-hand { color: var(--bone); }
.note-hand .doodle { flex: none; margin-top: .1em; }
.note-hand--neon { color: var(--maroon); }
.on-dark .note-hand--neon { color: var(--neon); }

.doodle { display: inline-block; vertical-align: middle; color: var(--neon); }
.doodle-ink { color: var(--ink); }
.on-dark .doodle-ink { color: var(--bone); }

/* Circled emphasis, the way a marker circles a word on a contact sheet */
.circled { position: relative; display: inline-block; padding: .2em .55em; }
.circled::after {
  content: ""; position: absolute; inset: -6% -4%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120' preserveAspectRatio='none'%3E%3Cpath d='M150 8 C64 8 12 34 12 60 C12 88 70 112 152 112 C236 112 290 86 288 58 C286 30 232 8 146 9 C104 10 66 20 44 36' stroke='%23E7F03D' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Sheet counter, like the 1/9 mark on each campaign tile */
.tile-num {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  color: var(--ink-soft); position: absolute; right: var(--gutter); bottom: 22px;
}
.on-dark .tile-num { color: rgba(255,255,255,.5); }
.section, .section-tight, .hero { position: relative; }

/* Rotated typewriter stamp */
.stamp {
  display: inline-block; font-family: var(--mono); font-weight: 700;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 7px 14px;
  transform: rotate(-3deg);
}

/* --- photography --------------------------------------------------------- */
/* .photo-shot  — the frame is already treated (our shoot is baked monochrome,
                  and the spot-colour frame must keep its colour).
   .photo-bw    — desaturates on the fly, so a raw colour photograph dropped in
                  later still comes out in the campaign treatment. */
.photo, .photo-bw, .photo-shot { position: relative; overflow: hidden; background: var(--ink); }
.photo img, .photo-bw img, .photo-shot img { width: 100%; display: block; }
.photo-bw img { filter: grayscale(1) contrast(1.08) brightness(.96); }

.photo-note {
  position: absolute; left: 7%; bottom: 8%; right: 7%; z-index: 2;
  font-family: var(--hand); font-weight: 600; color: var(--neon);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.15;
  display: flex; align-items: flex-start; gap: 12px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.photo-note .doodle { color: var(--neon); }

/* Full-bleed reportage band with the marker headline sitting on the picture */
.photo-band {
  position: relative; overflow: hidden; background: var(--ink);
  min-height: clamp(340px, 52vw, 620px); display: grid;
}
.photo-band > img {
  grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-band .photo-band-inner {
  grid-area: 1 / 1; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 64px) 0;
}
.photo-band::after {
  content: ""; grid-area: 1 / 1; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,18,16,.36) 0%, rgba(20,18,16,0) 30%, rgba(20,18,16,.5) 62%, rgba(20,18,16,.86) 100%);
}
.photo-band h2, .photo-band .marker-lockup {
  font-family: var(--marker); font-weight: 400; text-transform: none;
  color: var(--neon); line-height: 1; margin: 0 0 .18em;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  text-shadow: 0 3px 26px rgba(0,0,0,.5);
}
.photo-band .mono-label { color: rgba(255,255,255,.86); margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.photo-band .lede { color: rgba(255,255,255,.9); max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.photo-band .tile-num { color: rgba(255,255,255,.6); }

/* Portrait frame used inside a split, taped to the page */
.photo-figure { margin: 0; position: relative; }
.photo-figure figcaption {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); padding-top: 10px;
}
.on-dark .photo-figure figcaption { color: rgba(255,255,255,.6); }

/* --- surfaces ------------------------------------------------------------ */
.btn-pill { border-radius: 999px; }
.btn-paper { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: var(--neon); }

/* Cards read as pinned-up sheets rather than web cards */
.product-card, .post-card, .summary {
  background: var(--paper) var(--grain);
}
.product-card { border-color: var(--line); }
.product-card:hover { box-shadow: 0 14px 34px rgba(26, 24, 21, .16); }

.paper-tape {
  position: relative;
}
.paper-tape::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 76px; height: 20px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(200, 188, 166, .62); z-index: 3;
}

/* torn strip of neon, used as a section divider */
.rule-marker {
  height: 14px;
  background: var(--rule-neon) no-repeat center / 100% 100%;
}

/* --- campaign hero extras ------------------------------------------------ */
.hero .hero-badge { transform: rotate(-4deg); }
.hero-sign {
  display: flex; align-items: center; gap: 12px; margin-top: 32px;
  font-family: var(--marker); font-size: clamp(1.25rem, 2.1vw, 1.7rem); color: var(--maroon);
}
.on-dark .hero-sign { color: var(--neon); }

/* marquee in typewriter caps, like the campaign footers */
.marquee { background: var(--ink) var(--grain); }

/* ---------------------------------------------------- full-bleed cover hero */
/* The picture is positioned out of flow so its intrinsic height can never
   drive the section height — the viewport does that instead. */
.hero-cover {
  position: relative; display: block; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--ink); color: var(--bone);
}
.hero-cover > .hero-cover-img {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: none; height: 100%;
  object-fit: cover; object-position: 46% 42%; display: block;
}
.hero-cover .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(300deg, rgba(18,16,14,.9) 8%, rgba(18,16,14,.6) 34%, rgba(18,16,14,.1) 62%, rgba(18,16,14,.05) 100%),
    linear-gradient(180deg, rgba(18,16,14,.34) 0%, rgba(18,16,14,0) 26%, rgba(18,16,14,.24) 66%, rgba(18,16,14,.62) 100%);
}
.hero-cover .hero-cover-inner {
  position: relative; z-index: 2;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-end;
  padding: clamp(40px, 5vw, 72px) 0 clamp(44px, 5vw, 76px);
}
.hero-cover .hero-cover-inner > * { width: 100%; max-width: clamp(310px, 34vw, 455px); }
.hero-cover h1 { color: #fff; text-shadow: 0 3px 26px rgba(0,0,0,.42); }
.hero-cover .eyebrow { color: rgba(255,255,255,.88); }
.hero-cover .lede { color: rgba(255,255,255,.9); text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero-cover .note-hand { color: var(--neon); text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero-cover .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.85);
  background: rgba(18,16,14,.32); backdrop-filter: blur(3px);
}
.hero-cover .btn-ghost:hover { background: var(--neon); color: var(--ink); border-color: var(--neon); }
.hero-cover .tile-num { color: rgba(255,255,255,.62); bottom: 34px; z-index: 3; }

@media (max-width: 880px) {
  /* A portrait viewport crops a horizontal action frame badly, so on phones the
     photograph runs full width and the copy sits underneath it. Nothing covers
     the sailor, and the neon sleeve stays in the frame. */
  .hero-cover { display: flex; flex-direction: column; }
  .hero-cover > .hero-cover-img {
    position: static; width: 100%; height: auto; flex: 1 1 auto; min-height: 30svh;
    object-fit: cover; object-position: 42% center;
  }
  .hero-cover .hero-scrim { display: none; }
  .hero-cover .hero-cover-inner {
    flex: 0 0 auto; min-height: 0; align-items: stretch;
    padding: clamp(20px, 4.5vw, 32px) 0 clamp(24px, 5.5vw, 38px);
  }
  .hero-cover .hero-cover-inner > * { max-width: none; }
  .hero-cover h1.hero-long { font-size: clamp(1.95rem, 8.6vw, 2.7rem); }
  .hero-cover h1, .hero-cover .lede, .hero-cover .note-hand { text-shadow: none; }
  .hero-cover .lede { max-width: 33ch; font-size: .93rem; margin-bottom: 0; }
  .hero-cover .note-hand { margin-top: 14px !important; font-size: 1.45rem; }
  .hero-cover .hero-cta { margin-top: 20px; }
  .hero-cover .hero-cta { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .hero-cover .hero-cta .btn { padding: 12px 16px; font-size: .62rem; letter-spacing: .1em; }
  .hero-cover h1.hero-long { margin-bottom: .2em; }
  .hero-cover .tile-num { bottom: 14px; }
}

/* ==========================================================================
   CURVES — the campaign's own marks are all hand-drawn arcs, so the chrome
   around them stops being a stack of rectangles: bands float as rounded
   slabs on the paper, controls go pill, and pictures get an arched top.
   ========================================================================== */

/* Full-bleed bands become inset slabs, so paper shows down both edges */
.band-maroon, .band-ink, .band-earth, .photo-band, .marquee {
  border-radius: var(--radius-xl);
  margin-inline: clamp(10px, 1.7vw, 28px);
  overflow: hidden;
}
.marquee { border-radius: var(--pill); }

/* The cover stays edge to edge, but curves into the page at the bottom */
.hero-cover { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.hero::after { height: 12px; }

/* The neon divider reads as a ribbon rather than a bar */
.stripe-band {
  height: 12px; border-radius: var(--pill);
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.stripe-band-thin { height: 7px; }
.site-footer .stripe-band { margin-block: 0 0; }

/* Footer curves up out of the page */
.site-footer { border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }

/* Badges and tags go pill */
.hero-badge, .product-tag { border-radius: var(--pill); padding-inline: 16px; }

/* A soft round spot behind each garment, instead of a flat rectangle of tint */
.product-media::after {
  content: ""; position: absolute; z-index: 0;
  width: 94%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.72) 0%, rgba(255,255,255,.52) 46%, rgba(255,255,255,0) 71%);
}
.product-media img { position: relative; z-index: 1; }
.pdp-media::after {
  content: ""; position: absolute; z-index: 0;
  width: min(86%, 540px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.66) 0%, rgba(255,255,255,.46) 46%, rgba(255,255,255,0) 70%);
}
.pdp-media img { position: relative; z-index: 1; }

/* Portrait frames get an arched top, the way a print is mounted */
.photo-figure img {
  border-radius: 46% 46% var(--radius-lg) var(--radius-lg) / 20% 20% 4% 4%;
}
.photo-figure figcaption { text-align: center; }

/* Tables sit in a rounded well */
.table-scroll {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); overflow: hidden;
}
.size-table { margin: 0; }
.size-table th:first-child, .size-table td:first-child { padding-left: 20px; }
.size-table th:last-child, .size-table td:last-child { padding-right: 20px; }
.size-table tbody tr:last-child td { border-bottom: 0; }

/* Spec rows lose their hard rules in favour of soft dividers */
details.spec { border-top: 1px solid var(--line); }
details.spec summary { border-radius: var(--pill); }

/* Softer, wider shadows read less like a box edge */
:root { --shadow-md: 0 18px 46px rgba(26, 24, 21, .14); }

@media (max-width: 640px) {
  .band-maroon, .band-ink, .band-earth, .photo-band, .marquee { margin-inline: 8px; }
  .photo-figure img { border-radius: var(--radius-lg); }
}

/* ==========================================================================
   REBEL — nothing here sits square on the grid. Slabs are hand-cut rather
   than radiused, cards are pinned on at an angle and straighten when you
   reach for them, and the sleeve print runs up the edge of the page.
   ========================================================================== */

/* --- hand-cut corners: no two the same, like paper torn to size ---------- */
.band-maroon  { border-radius: 46px 14px 52px 18px; }
.band-ink     { border-radius: 16px 50px 20px 44px; }
.band-earth   { border-radius: 48px 20px 16px 46px; }
.photo-band   { border-radius: 18px 48px 22px 50px; }
.photo-band:nth-of-type(even) { border-radius: 50px 20px 46px 16px; }
.hero-cover   { border-radius: 0 0 54px 22px; }
.site-footer  { border-radius: 52px 18px 0 0; }
.marquee      { border-radius: var(--pill); }

.product-card { border-radius: 26px 8px 26px 8px; }
.product-card:nth-child(even) { border-radius: 8px 26px 8px 26px; }
.product-media { border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.post-card { border-radius: 30px 10px 30px 10px; }
.post-card:nth-child(even) { border-radius: 10px 30px 10px 30px; }
.summary { border-radius: 28px 10px 28px 10px; }
.pdp-media { border-radius: 54px 18px 50px 20px; }
.notice { border-radius: 4px 26px 26px 4px; }

/* --- pinned on, not laid out -------------------------------------------- */
.product-grid > * , .post-grid > * { transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.product-card { transform: rotate(-.7deg); }
.product-card:nth-child(even) { transform: rotate(.65deg); }
.product-card:nth-child(3n) { transform: rotate(-.35deg); }
.product-card:hover { transform: rotate(0deg) translateY(-6px); }
.post-card { transform: rotate(-1deg); }
.post-card:nth-child(even) { transform: rotate(.9deg); }
.post-card:hover { transform: rotate(0deg) translateY(-6px); }

/* the row line breaks — alternate cards hang lower */
.product-grid > :nth-child(even) { margin-top: clamp(14px, 2.2vw, 34px); }
.post-grid > :nth-child(3n+2) { margin-top: clamp(12px, 2vw, 28px); }

/* --- taped-up prints ----------------------------------------------------- */
.photo-figure { transform: rotate(-1.4deg); }
.photo-figure:nth-of-type(even) { transform: rotate(1.2deg); }
.photo-figure::before {
  content: ""; position: absolute; z-index: 3;
  top: -10px; left: 50%; width: 96px; height: 26px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(200, 188, 166, .58);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* --- stickers, not labels ------------------------------------------------ */
.product-tag { transform: rotate(-3.5deg); }
.hero-badge  { transform: rotate(-4.5deg); }
.stamp       { transform: rotate(-3deg); }

/* --- the sleeve print, running up the edge of the page ------------------- */
body::before {
  content: "SALT REBEL — SAIL THE SURGE";
  position: fixed; left: 10px; bottom: 46px; z-index: 60;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-weight: 700; font-size: .62rem;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--ink); opacity: .34; pointer-events: none;
}
@media (max-width: 1279px) { body::before { display: none; } }

/* --- nav underline becomes a marker stroke ------------------------------- */
.main-nav a::after {
  height: 7px; background: var(--rule-neon) no-repeat center / 100% 100%;
  bottom: -2px;
}

/* --- the pennant, stuck on the corner of the dark bands ------------------ */
.band-ink { position: relative; }
.band-ink::before {
  content: ""; position: absolute; z-index: 4;
  top: -18px; right: clamp(18px, 5vw, 74px);
  width: clamp(74px, 8vw, 108px); aspect-ratio: 560 / 432;
  background: url("/assets/img/logo-flag-light.png") no-repeat center / contain;
  transform: rotate(9deg);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.3));
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .post-card, .photo-figure { transform: none; }
}
@media (max-width: 640px) {
  .product-card, .product-card:nth-child(even), .product-card:nth-child(3n),
  .post-card, .post-card:nth-child(even) { transform: none; }
  .product-grid > :nth-child(even), .post-grid > :nth-child(3n+2) { margin-top: 0; }
  .band-maroon, .band-ink, .band-earth, .photo-band { border-radius: 26px 10px 26px 10px; }
}

/* the lab proof point, sitting inside a pillar */
.pillar-figure {
  font-family: var(--marker); font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1; color: var(--maroon); margin: 0 0 .5em;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.pillar-figure span {
  font-family: var(--mono); font-size: .64rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  line-height: 1.4; max-width: 22ch;
}
.on-dark .pillar-figure { color: var(--neon); }
.on-dark .pillar-figure span { color: rgba(255,255,255,.7); }
