/* ─────────────────────────────────────────────────────────────────────────
   SHIROTIDE — Brand site
   Palette + typography are driven by CSS custom properties so the Tweaks
   panel can swap them live.
   ───────────────────────────────────────────────────────────────────────── */

:root{
  /* Palette (Mist — default) */
  --mist:        #f4f6f8;
  --foam:        #e6ecf1;
  --tidal:       #0a1c2e;
  --tidal-soft:  #163148;
  --atlantic:    #2c5a78;
  --shallow:     #94b4c8;
  --warm:        #c8a464;

  --bg:          var(--mist);
  --bg-deep:     var(--foam);
  --ink:         var(--tidal);
  --ink-soft:    #4a5a6a;
  --ink-faint:   #8a98a4;
  --line:        rgba(13, 32, 48, 0.10);
  --line-soft:   rgba(13, 32, 48, 0.06);
  --accent:      var(--atlantic);
  --accent-soft: var(--shallow);
  --gold:        var(--warm);

  /* Typography */
  --f-display: "Cormorant Garamond", "Tenor Sans", Georgia, serif;
  --f-body:    "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;
  --f-jp:      "Noto Serif JP", "Cormorant Garamond", serif;
}

/* ── Palette variants (driven by [data-palette] on <body>) ─────────────── */
body[data-palette="bone"]{
  --bg:        #ece8e0;
  --bg-deep:   #e0dbd1;
  --ink:       #1a1a1a;
  --ink-soft:  #3a3a3a;
  --ink-faint: #8a8278;
  --line:      rgba(26, 26, 26, 0.10);
  --line-soft: rgba(26, 26, 26, 0.05);
  --accent:    #6e5a3a;
  --accent-soft:#c4b5a0;
  --gold:      #b8975a;
}
body[data-palette="indigo"]{
  --bg:        #0a0d12;
  --bg-deep:   #14181f;
  --ink:       #f4f6f8;
  --ink-soft:  #c0c8d2;
  --ink-faint: #7a8694;
  --line:      rgba(244, 246, 248, 0.10);
  --line-soft: rgba(244, 246, 248, 0.05);
  --accent:    #a8c4d4;
  --accent-soft:#3a6b88;
  --gold:      #d4b87a;
}

/* ── Display-font variant ──────────────────────────────────────────────── */
body[data-display="sans"]{
  --f-display: "Geist", ui-sans-serif, system-ui, sans-serif;
}
body[data-display="tenor"]{
  --f-display: "Tenor Sans", "Cormorant Garamond", serif;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 600ms ease, color 600ms ease;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

::selection{ background: var(--ink); color: var(--bg); }

/* ── Container ─────────────────────────────────────────────────────────── */
.wrap{
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 720px){ .wrap{ padding: 0 24px; } }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 0.5px solid var(--line-soft);
  transition: background 600ms ease, border-color 600ms ease;
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; gap: 32px; }
.nav-brand{
  display:flex; align-items:center; gap: 12px;
  font-family: "Tenor Sans", "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
}
.nav-brand .nav-wordmark{ padding-left: 2px; }
.nav-brand .nav-mark{
  height: 26px; width: auto; display:block;
  /* Image is ink-tinted by default; flip to bg color on dark palettes */
}
.footer-mark img{
  width: 26px; height: auto; display: block; opacity: .55;
}
body[data-palette="indigo"] .footer-mark img{ filter: invert(1) hue-rotate(180deg) brightness(1.1); }
body[data-palette="indigo"] .nav-brand .nav-mark{ filter: invert(1) hue-rotate(180deg) brightness(1.1); }
body[data-palette="indigo"] .story-mark img{ filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.footer-links{
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-links a{ transition: color .2s; }
.footer-links a:hover{ color: var(--ink); }

/* ── Theme toggle (sun/moon) ───────────────────────────────────────────── */
.theme-tog{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 0.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.theme-tog:hover{
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  border-color: var(--line);
}
.theme-tog svg{
  width: 17px; height: 17px;
  position: absolute;
  transition: opacity .35s ease, transform .45s cubic-bezier(.3,.7,.4,1);
}
.theme-tog .ico-sun{ opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-tog .ico-moon{ opacity: 1; transform: rotate(0deg) scale(1); }
body[data-palette="indigo"] .theme-tog .ico-sun{ opacity: 1; transform: rotate(0deg) scale(1); }
body[data-palette="indigo"] .theme-tog .ico-moon{ opacity: 0; transform: rotate(90deg) scale(.6); }
.nav-brand svg{ flex: 0 0 auto; }
.nav-links{ display:flex; gap: 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links a{ position:relative; padding-bottom: 2px; transition: color .25s; }
.nav-links a:hover{ color: var(--ink); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0;
  height: 1px; background: currentColor; transition: right .35s cubic-bezier(.3,.7,.4,1);
}
.nav-links a:hover::after{ right:0; }
.lang-tog{
  display:flex; align-items:center;
  font-family: var(--f-mono); font-size: 11px;
  border: 0.5px solid var(--line); border-radius: 999px;
  padding: 4px; gap: 0;
  background: transparent;
  cursor: pointer;
}
.lang-tog button{
  appearance:none; border:0; background:transparent; color: var(--ink-faint);
  padding: 4px 10px; border-radius: 999px;
  font-family: inherit; font-size: inherit; letter-spacing: 0.08em;
  cursor: pointer; transition: background .25s, color .25s;
}
.lang-tog button[data-on="1"]{ background: var(--ink); color: var(--bg); }

/* ── Mobile nav (hamburger + slide-down panel) ────────────────────────── */
.nav-actions{ display:flex; align-items:center; gap: 10px; }
.nav-burger{
  display: none;
  appearance: none;
  width: 36px; height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 0.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}
.nav-burger span{
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform .35s cubic-bezier(.3,.7,.4,1), opacity .25s ease, top .35s ease;
}
.nav-burger span:nth-child(1){ top: 13px; }
.nav-burger span:nth-child(2){ top: 17px; }
.nav-burger span:nth-child(3){ top: 21px; }
.nav.is-open .nav-burger span:nth-child(1){ top: 17px; transform: rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2){ opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3){ top: 17px; transform: rotate(-45deg); }

.nav-panel{
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 0.5px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.3,.7,.4,1), opacity .25s ease;
  z-index: 1;
  display: none;
}
.nav-panel nav{
  display: flex;
  flex-direction: column;
  padding: 8px 28px 24px;
  gap: 0;
}
.nav-panel a{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 0.5px solid var(--line);
}
.nav-panel a:last-child{ border-bottom: 0; }
.nav.is-open .nav-panel{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-scrim{
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 25%, transparent);
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: -1;
}
.nav.is-open .nav-scrim{
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 720px){
  .nav-links{ display: none; }
  .nav-burger{ display: inline-flex; }
  .nav-panel{ display: block; }
  .nav-scrim{ display: block; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; flex-direction:column; justify-content:center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-meta{
  display:flex; align-items:center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 48px;
}
.hero-meta .dot{ width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-meta .sep{ flex:1; height: 0.5px; background: var(--line); }

.hero h1{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.hero h1 em{
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
.hero h1 .jp{
  display:block;
  font-family: var(--f-jp);
  font-size: 0.18em;
  letter-spacing: 0.5em;
  margin-bottom: 0.4em;
  color: var(--accent);
  font-weight: 400;
}
.hero-sub{
  max-width: 540px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 56px;
}
.hero-foot{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 40px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-foot .col{ display:flex; flex-direction:column; gap: 6px; }
.hero-foot .col b{ color: var(--ink); font-weight: 500; }

/* Tide line at the bottom of the hero */
.tide-line{
  position:absolute; left:-5%; right:-5%; bottom: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Section primitives ────────────────────────────────────────────────── */
.section{
  padding: 140px 0;
  position: relative;
}
.section + .section{ border-top: 0.5px solid var(--line-soft); }

.eyebrow{
  display:inline-flex; align-items:center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.eyebrow::before{
  content:""; display:inline-block; width: 28px; height: 0.5px; background: var(--accent);
}

h2.section-title{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 48px;
  max-width: 18ch;
}
h2.section-title em{ font-style: italic; color: var(--ink-soft); }

/* ── Story ─────────────────────────────────────────────────────────────── */
.story-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px){ .story-grid{ grid-template-columns: 1fr; gap: 48px; } }

.story-kanji{
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
  position: relative;
  user-select: none;
}
.story-mark{
  position: relative;
  display: inline-block;
}
.story-mark img{
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}
.story-mark small{
  display: block;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.story-kanji small{
  position:absolute; left:0; bottom: -8px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint);
}
.story-kanji .accent{
  color: var(--accent);
}

.story-body p{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  max-width: 36ch;
  text-wrap: pretty;
}
.story-body p:first-child::first-letter{
  font-family: var(--f-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.9;
  padding: 0.05em 0.12em 0 0;
  color: var(--accent);
  font-style: italic;
}
.story-pillars{
  margin-top: 64px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  border-top: 0.5px solid var(--line);
  padding-top: 48px;
}
@media (max-width: 720px){ .story-pillars{ grid-template-columns: 1fr; } }
.pillar{ display:flex; flex-direction:column; gap: 10px; }
.pillar .num{
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.16em;
}
.pillar h4{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.pillar p{
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  margin: 0; max-width: 32ch;
}

/* ── Lookbook ──────────────────────────────────────────────────────────── */
.look-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom: 64px; gap: 48px;
}
.look-head .meta{
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.7;
}

.look-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 880px){ .look-grid{ grid-template-columns: 1fr; max-width: 560px; } }

.look-card{
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}
.look-stage{
  position: relative;
  aspect-ratio: 4 / 5;
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
  transition: background 600ms ease;
}
/* Old gradient stage backgrounds (kept for compat with palette tweaks) */
.look-stage.shiro{ background: linear-gradient(180deg, #f0ebe2 0%, #e6dfd1 100%); }
.look-stage.suiyo{ background: linear-gradient(180deg, #1a3548 0%, #0a1a28 100%); }

/* Lookbook stages — atmospheric, transparent-aware */
.look-stage.kiri{
  background:
    radial-gradient(ellipse at 50% 35%, color-mix(in oklab, var(--bg) 60%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.look-stage.yoru{
  background:
    radial-gradient(ellipse at 50% 35%, color-mix(in oklab, var(--bg) 70%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, color-mix(in oklab, var(--bg-deep) 80%, var(--ink)) 100%);
}

.look-stage.yoru .look-tag,
.look-stage.yoru .look-num,
.look-stage.kiri .look-tag,
.look-stage.kiri .look-num{ color: var(--ink-faint); }

/* Soft ground shadow under the case */
.look-stage::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 38%;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.22) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 0;
  opacity: .8;
  pointer-events: none;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), opacity 800ms;
}
.look-card:hover .look-stage::after{
  transform: translateX(-50%) scale(0.9);
  opacity: .5;
}

/* The real product photo — transparent PNG, free-floating */
.case-photo{
  width: 78%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(10, 28, 46, 0.18));
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
  transform-origin: center 65%;
  will-change: transform;
}
.look-card:hover .case-photo{
  transform: translate(-50%, calc(-50% - 14px)) rotate(-1.5deg) scale(1.025);
}

.look-tag{
  position:absolute; top: 20px; left: 20px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.look-stage.yoru .look-tag{ color: rgba(0,0,0,.55); }

.look-num{
  position:absolute; top: 20px; right: 20px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,.4);
}
.look-stage.yoru .look-num{ color: rgba(0,0,0,.4); }

/* Stylized phone case rendering */
.case{
  width: 38%;
  aspect-ratio: 9 / 19;
  border-radius: 14% / 6.5%;
  position: relative;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.35),
    0 0 0 0.5px rgba(0,0,0,0.06) inset;
}
.case.bone{
  background: linear-gradient(160deg, #fbf8f1 0%, #ede5d6 60%, #d8cdb8 100%);
}
.case.tide{
  background: linear-gradient(160deg, #2e5878 0%, #163148 55%, #081728 100%);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.55),
    0 0 0 0.5px rgba(255,255,255,0.06) inset;
}
.case::before{
  /* highlight stripe */
  content:""; position:absolute; top: 6%; left: 8%; right: 70%; bottom: 12%;
  background: linear-gradient(110deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 60%);
  border-radius: 14% / 6%;
  pointer-events:none;
}
.case.tide::before{
  background: linear-gradient(110deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
}
.case-camera{
  position:absolute;
  top: 5%; left: 6%;
  width: 38%; aspect-ratio: 1/1;
  border-radius: 18%;
  background: rgba(0,0,0,0.08);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 12%;
}
.case.tide .case-camera{ background: rgba(255,255,255,0.04); }
.case-camera .lens{
  background: radial-gradient(circle at 35% 35%, #555 0%, #1a1a1a 60%, #000 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset, 0 0 8px rgba(0,0,0,.4);
}
.case-camera .flash{
  background: radial-gradient(circle, #f8e8a8 0%, #b89858 70%);
  border-radius: 50%;
}
.case-camera .mic{
  background: rgba(0,0,0,0.5); border-radius: 50%;
}
.case-mono{
  position:absolute;
  bottom: 8%; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  color: rgba(0,0,0,.25);
  font-style: italic;
}
.case.tide .case-mono{ color: rgba(255,255,255,.28); }

.look-card:hover .case{ transform: translateY(-8px) rotate(-1.2deg); }

.look-info{
  padding: 24px 4px 0;
  display:flex; justify-content:space-between; align-items:baseline;
  gap: 24px;
}
.look-info h3{
  font-family: var(--f-display);
  font-weight: 400; font-style: italic;
  font-size: 28px; margin: 0;
  letter-spacing: -0.01em;
}
.look-info h3 small{
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display:block;
  margin-top: 4px;
}
.look-info .desc{
  font-size: 13px; color: var(--ink-soft); margin: 0; max-width: 24ch;
}

/* ── Categories ────────────────────────────────────────────────────────── */
.cat-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 0.5px solid var(--line);
}
@media (max-width: 720px){ .cat-grid{ grid-template-columns: 1fr; } }

.cat{
  padding: 56px 40px;
  border-bottom: 0.5px solid var(--line);
  border-right: 0.5px solid var(--line);
  display:flex; flex-direction: column; gap: 24px;
  min-height: 320px;
  position: relative;
  transition: background 400ms ease;
}
.cat:nth-child(2n){ border-right: 0; }
@media (max-width: 720px){ .cat{ border-right: 0; } }
.cat:hover{ background: var(--bg-deep); }

.cat-status{
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  display:inline-flex; align-items:center; gap: 8px;
}
.cat-status .pulse{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.cat-status .pulse::after{
  content:""; position:absolute; inset:-4px; border-radius:50%;
  border: 1px solid var(--accent); opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ transform: scale(0.6); opacity: 0.5; }
  100%{ transform: scale(2.2); opacity: 0; }
}
.cat-status.soon{ color: var(--ink-faint); }
.cat-status.soon .pulse{ background: var(--ink-faint); }
.cat-status.soon .pulse::after{ display:none; }

.cat h3{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1; margin: 0;
  letter-spacing: -0.015em;
}
.cat h3 em{ font-style: italic; color: var(--ink-soft); }
.cat p{
  font-size: 14px; line-height: 1.6; color: var(--ink-soft);
  margin: 0; max-width: 38ch;
}
.cat-items{
  margin-top: auto;
  display:flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.cat-items span{ position: relative; }
.cat-items span + span::before{
  content:"·"; position:absolute; left: -10px; opacity: 0.5;
}

/* ── Contact / Footer ──────────────────────────────────────────────────── */
.contact{
  padding: 160px 0 60px;
}
.contact-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 120px;
}
@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact h2{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.contact h2 em{ font-style: italic; color: var(--ink-soft); }
.contact-body{
  max-width: 460px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 24px;
}
.contact-channels{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: end;
}
.chan{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 0.5px solid var(--line);
  border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 50%, transparent);
  text-decoration: none;
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.chan:hover{
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  border-color: color-mix(in oklab, var(--ink) 22%, transparent);
  transform: translateY(-1px);
}
.chan-icon{
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  flex: 0 0 auto;
}
.chan-icon svg{ width: 18px; height: 18px; }
.chan-text{ flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.chan-text b{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.chan-text span{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.chan-arrow{
  width: 16px; height: 16px;
  color: var(--ink-faint);
  flex: 0 0 auto;
  transition: transform .25s ease, color .25s ease;
}
.chan:hover .chan-arrow{ transform: translate(2px, -2px); color: var(--ink); }
.chan-shop{
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chan-shop .chan-icon{ border-color: rgba(255,255,255,.18); color: var(--bg); }
.chan-shop .chan-text span{ color: rgba(255,255,255,.55); }
.chan-shop .chan-arrow{ color: rgba(255,255,255,.6); }
.chan-shop:hover{
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.chan-shop:hover .chan-arrow{ color: var(--bg); }
.contact-meta{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.9;
}
.contact-meta b{ display:block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.contact-meta a:hover{ color: var(--accent); }

.contact-cta{
  display:inline-flex; align-items:center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 18px 24px;
  border: 0.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  transition: background .35s, color .35s;
  margin-top: 24px;
  background: transparent;
  cursor: pointer;
}
.contact-cta:hover{ background: var(--ink); color: var(--bg); }
.contact-cta svg{ width: 14px; height: 14px; }

.footer{
  border-top: 0.5px solid var(--line);
  padding-top: 32px;
  display:flex; justify-content:space-between; align-items:center;
  gap: 24px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.footer .socials{ display:flex; gap: 22px; }
.footer .socials a:hover{ color: var(--ink); }
.footer-mark{
  display:flex; align-items:center; color: var(--ink-faint);
}
.footer-mark svg{ display:block; }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in{
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"]{ transition-delay: 100ms; }
.reveal[data-d="2"]{ transition-delay: 200ms; }
.reveal[data-d="3"]{ transition-delay: 300ms; }
.reveal[data-d="4"]{ transition-delay: 400ms; }

/* ── Marquee (subtle, between sections) ────────────────────────────────── */
.marquee{
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track{
  display:inline-flex;
  white-space: nowrap;
  gap: 48px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  color: var(--ink);
  letter-spacing: -0.01em;
  animation: marquee 38s linear infinite;
}
.marquee-track span{ display:inline-flex; align-items:center; gap: 48px; }
.marquee-track .sep{
  font-family: var(--f-jp);
  font-style: normal;
  color: var(--accent);
  font-size: 0.7em;
}
@keyframes marquee{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-50%,0,0); }
}

/* ─────────────────────────────────────────────────────────────────────────
   ART INTEGRATION
   ───────────────────────────────────────────────────────────────────────── */

/* Sumi-e stroke utilities */
.hero-sumi{
  display:block;
  width: 480px; max-width: 60%;
  height: 70px;
  margin: -8px 0 32px -10px;
}
.story-sumi{
  display:block;
  width: 280px; max-width: 100%;
  height: 60px;
  margin: 0 0 28px -8px;
}

/* ── Wave Break — full-bleed Hokusai homage ───────────────────────────── */
.wave-break{
  position: relative;
  height: 76vh;
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, color-mix(in oklab, var(--bg-deep) 70%, var(--accent-soft)) 0%, var(--bg) 100%);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.wave-art{
  position:absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.wave-overlay{
  position: absolute;
  left: 0; right: 0;
  top: 80px;
  z-index: 2;
  max-width: 50%;
}
.wave-overlay .eyebrow{
  color: var(--ink);
  opacity: 0.7;
}
.wave-caption{
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin: 12px 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.wave-attrib{
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 32px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0;
}
@media (max-width: 720px){
  .wave-overlay{ max-width: 92%; top: 64px; }
  .wave-attrib{ left: 24px; right: 24px; bottom: 20px; }
}

/* ── Story revisions (Martin grid + ink splash) ───────────────────────── */
.section-with-grid{ position: relative; overflow: hidden; }
.story-grid-bg{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--ink);
  pointer-events: none;
  z-index: 0;
}
.section-with-grid > .wrap{ position: relative; z-index: 1; }

.story-kanji-wrap{ position: relative; }
.story-ink{
  position: absolute;
  width: 80px; height: 80px;
  right: -16px;
  top: -8px;
  opacity: 0.85;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* ── Kanji Hero — giant 白潮 mark moment ───────────────────────────────── */
.kanji-hero{
  position: relative;
  padding: 160px 0 180px;
  background: var(--bg-deep);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  overflow: hidden;
}
.kanji-grid{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--ink);
  pointer-events: none;
}
.kanji-hero > .wrap{ position: relative; z-index: 1; }

.kanji-stage{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: clamp(40px, 8vw, 120px);
  margin: 24px 0 56px;
  position: relative;
  line-height: 0.9;
}
.kanji-glyph{
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(180px, 32vw, 460px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.kanji-glyph.shio{
  color: var(--accent);
}
.kanji-dot{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 14px;
  align-self: center;
  position: relative;
  top: -0.06em;
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--gold) 30%, transparent);
}
.kanji-sumi{
  position: absolute;
  bottom: -36px;
  left: 8%;
  right: 8%;
  width: 84%;
  height: 60px;
  opacity: 0.45;
  pointer-events: none;
}
.kanji-legend{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  border-top: 0.5px solid var(--line);
  padding-top: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.kanji-legend > div{
  display:flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.kanji-legend b{
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0;
  min-width: 1.5em;
}
.kanji-foot{
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 56px auto 0;
  text-wrap: balance;
  line-height: 1.5;
}
.kanji-foot em{ color: var(--ink); font-style: italic; }
@media (max-width: 720px){
  .kanji-stage{ gap: 16px; }
  .kanji-legend{ grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
}

/* ── Indigo Haiku break ────────────────────────────────────────────────── */
.haiku{
  position: relative;
  padding: 180px 0 200px;
  background:
    radial-gradient(ellipse at 30% 20%, #1a3548 0%, #0a1a28 60%, #050d18 100%);
  color: #f4f6f8;
  overflow: hidden;
  isolation: isolate;
}
.haiku-bg{
  position: absolute; inset: 0;
  display:flex; align-items:center; justify-content:flex-end;
  padding-right: 4%;
  pointer-events: none;
  z-index: 0;
}
.kanji-back{
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(360px, 60vw, 900px);
  line-height: 0.78;
  color: #fff;
  opacity: 0.045;
  letter-spacing: -0.08em;
  user-select: none;
}
.haiku > .wrap{ position: relative; z-index: 1; }
.haiku-stack{
  display:flex; flex-direction:column;
  gap: 32px;
  margin-top: 32px;
}
.haiku-line{
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.haiku-line:nth-child(2){ padding-left: 1.4em; color: #a8c4d4; }
.haiku-line:nth-child(3){ padding-left: 3em; color: rgba(255,255,255,.78); }
.haiku-attrib{
  margin-top: 48px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── Lookbook card → eBay shop link ───────────────────────────────────── */
.look-stage{
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.look-stage::before{
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 30px 60px -30px rgba(10, 28, 46, 0.35);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.look-stage:hover{
  transform: translateY(-3px);
}
.look-stage:hover::before{
  opacity: 1;
}
.look-shop-badge{
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 28, 46, 0.88);
  color: #f4f6f8;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.look-stage:hover .look-shop-badge,
.look-stage:focus-visible .look-shop-badge{
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none){
  .look-shop-badge{ opacity: 1; transform: none; }
}
.lookbook-sect{ position: relative; overflow: hidden; }
.lookbook-mts{
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 50%;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.lookbook-sect > .wrap{ position: relative; z-index: 1; }

/* ── Tide chart section ───────────────────────────────────────────────── */
.tide-sect{ background: var(--bg-deep); }
.tide-body{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  font-style: italic;
  max-width: 38ch;
  color: var(--ink-soft);
  margin: 0 0 64px;
}
.tide-chart{
  width: 100%;
  margin-bottom: 32px;
  border-top: 0.5px solid var(--line);
  padding-top: 32px;
}
.tide-chart-svg{
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}
.tide-legend{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.tide-legend > div{ display:flex; flex-direction:column; gap: 4px; }
.tide-legend b{ color: var(--ink); font-weight: 500; }
.tide-legend b:first-child{}
.tide-legend > div:nth-child(2n) b{ color: var(--accent); }
@media (max-width: 720px){
  .tide-legend{ grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
}

/* ── Tighten Story-Kanji a bit ────────────────────────────────────────── */
.story-kanji{
  display: inline-block;
}

/* ── Story variants (A kanji-stack · B editorial-hanko · C watermark) ── */

/* shared: kanji typography for the new bits */
.story-v-kanji .story-kanji-stack,
.story-v-editorial .story-hanko,
.story-v-watermark .story-watermark{
  font-family: var(--f-jp);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  user-select: none;
}

/* ── A — stacked kanji ─────────────────────────────────────────────── */
.story-v-kanji .story-kanji-stack{
  display: grid;
  gap: 28px;
  padding: 8px 0 0;
}
.story-v-kanji .sk-row{
  display: flex;
  align-items: baseline;
  gap: 28px;
}
.story-v-kanji .sk-glyph{
  font-size: clamp(140px, 18vw, 220px);
  letter-spacing: -0.02em;
  display: inline-block;
  line-height: 0.9;
}
.story-v-kanji .sk-row small{
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.story-v-kanji .sk-rule{
  height: 0.5px;
  background: var(--line);
  width: 70%;
}

/* ── B — editorial hanko + pull-quote kanji ────────────────────────── */
.story-v-editorial .story-hanko{
  position: relative;
  display: inline-block;
  padding: 36px 56px 64px;
}
.story-v-editorial .hanko-disc{
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(260px, 28vw, 360px);
  height: clamp(260px, 28vw, 360px);
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 78%, transparent);
  z-index: 0;
}
.story-v-editorial .hanko-glyph{
  position: relative;
  z-index: 1;
  font-size: clamp(200px, 24vw, 320px);
  letter-spacing: -0.02em;
  display: inline-block;
  color: var(--bg);
  mix-blend-mode: normal;
}
body[data-palette="indigo"] .story-v-editorial .hanko-glyph{ color: var(--bg); }
.story-v-editorial .story-hanko small{
  position: absolute;
  left: 56px;
  bottom: 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.story-v-editorial .story-quote-mark{
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 28px 0 28px;
  padding: 20px 0 24px;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.story-v-editorial .story-quote-mark span{
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  color: var(--accent);
}
.story-v-editorial .story-quote-mark em{
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── C — single column with huge watermark behind ─────────────────── */
.story-v-watermark .story-watermark{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}
body[data-palette="indigo"] .story-v-watermark .story-watermark{ opacity: 0.12; }
.story-v-watermark .story-watermark span{
  font-size: clamp(280px, 42vw, 560px);
  letter-spacing: -0.04em;
  display: inline-block;
}
.story-v-watermark .story-single{
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 8px auto 0;
}
.story-v-watermark .story-body{ position: relative; }
.story-v-watermark .story-single-foot{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 0.5px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.story-v-watermark .story-single-foot em{ font-style: normal; }

/* Hide old single-grid scaffolding when on stacking variants */
@media (max-width: 720px){
  .story-v-kanji .sk-glyph{ font-size: 22vw; }
  .story-v-editorial .hanko-disc{ width: 220px; height: 220px; }
  .story-v-editorial .hanko-glyph{ font-size: 180px; }
  .story-v-watermark .story-watermark span{ font-size: 56vw; }
}

