/* ============================================================
   SHŌ KAN STUDIO — stylesheet
   Design system: manga panel grid + screentone texture + terminal UI layer
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;500;700;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* ---- color tokens ---- */
  --ink:        #0b0b0d;   /* page background, "black plate" */
  --ink-raised: #131316;   /* slightly lifted panel bg */
  --paper:      #f2efe7;   /* warm bone-white, "paper" */
  --paper-dim:  #cfccc3;   /* dimmed paper / secondary text on ink */
  --tone:       #3a3a3e;   /* screentone gray */
  --line:       #8b8d93;   /* hairline stroke / tertiary text */
  --signal:     #e8382a;   /* stamp red — primary accent */
  --signal-dim: #c4432e;   /* muted vermillion — secondary accent */
  --signal-ink: #2a0b09;   /* deep red for shadows on red fields */

  /* ---- type tokens ---- */
  --f-display: 'Bebas Neue', 'Noto Sans JP', sans-serif;
  --f-body:    'Noto Sans JP', sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* ---- layout tokens ---- */
  --gutter: 2px;                /* manga panel gutter width */
  --edge: clamp(20px, 5vw, 64px);
  --radius: 2px;                /* almost square — print, not app */
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--signal); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---- screentone texture (the signature) ----
   halftone dot fields used as panel fills, generated with radial-gradient tiling */
.tone {
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.4px);
  background-size: 7px 7px;
  background-position: 0 0;
}
.tone--red {
  background-image: radial-gradient(circle, var(--signal) 1px, transparent 1.4px);
  background-size: 6px 6px;
}
.tone--dense {
  background-image: radial-gradient(circle, var(--paper) 1px, transparent 1.6px);
  background-size: 5px 5px;
}

/* ---- shared layout ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--signal);
  border-radius: 50%;
  flex: none;
  animation: blink 1.6s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.panel-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line);
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,13,0.86);
  backdrop-filter: blur(10px);
  border-bottom: var(--gutter) solid var(--tone);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.nav__mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 16px;
  transform: rotate(0deg);
  position: relative;
}
.nav__mark::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--signal);
  opacity: 0.5;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__links a { color: var(--paper-dim); transition: color 0.15s; position: relative; }
.nav__links a:hover { color: var(--paper); }
.nav__links a.is-active { color: var(--paper); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--signal);
}
.nav__links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--signal);
}
.nav__cart {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--paper);
  transition: border-color 0.15s, background 0.15s;
}
.nav__cart:hover { border-color: var(--signal); background: rgba(232,56,42,0.08); }
.nav__cart-count {
  background: var(--signal);
  color: var(--paper);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 10px;
  padding: 0 4px;
}

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO — diagonal panel cut, screentone field, terminal readout
   ============================================================ */
.hero {
  position: relative;
  padding-top: 64px;
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  border-bottom: var(--gutter) solid var(--tone);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  width: 100%;
}
.hero__main {
  padding: 96px var(--edge) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--paper);
}
.hero__title .accent { color: var(--signal); }
.hero__sub {
  max-width: 46ch;
  color: var(--paper-dim);
  font-size: 1.05rem;
}
.hero__sub strong { color: var(--paper); font-weight: 700; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn--primary { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.btn--primary:hover { background: var(--signal-dim); box-shadow: 4px 4px 0 var(--paper); }
.btn--ghost { background: transparent; color: var(--paper); }
.btn--ghost:hover { box-shadow: 4px 4px 0 var(--signal); border-color: var(--signal); }

.hero__panel {
  position: relative;
  border-left: var(--gutter) solid var(--tone);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__panel-inner {
  position: absolute;
  inset: 0;
  background: var(--ink-raised);
}
.hero__panel-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.4px);
  background-size: 8px 8px;
}
.hero__terminal {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 64px;
  background: var(--ink);
  border: 1px solid var(--tone);
  padding: 18px 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--paper-dim);
  z-index: 3;
}
.hero__terminal .head {
  display: flex;
  justify-content: space-between;
  color: var(--line);
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__terminal .line { display: flex; gap: 8px; margin-top: 4px; }
.hero__terminal .prompt { color: var(--signal); }
.hero__terminal .cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--signal);
  animation: blink 1s step-end infinite;
  vertical-align: -2px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .hero__main { padding: 80px var(--edge) 48px; }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section { padding: 96px 0; border-bottom: var(--gutter) solid var(--tone); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section__title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-top: 10px; }
.section__note { max-width: 32ch; color: var(--line); font-family: var(--f-mono); font-size: 12px; text-align: right; }

/* ============================================================
   VISION / STUDIO
   ============================================================ */
.vision__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gutter);
  background: var(--tone);
}
.vision__bio, .vision__stats { background: var(--ink); padding: 44px; }
.vision__bio p { color: var(--paper-dim); font-size: 1.08rem; max-width: 56ch; }
.vision__bio p + p { margin-top: 18px; }
.vision__bio strong { color: var(--paper); font-weight: 700; }

.vision__stats { display: flex; flex-direction: column; gap: var(--gutter); background: var(--tone); padding: 0; }
.stat {
  background: var(--ink);
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.stat .panel-label { color: var(--signal); }
.stat .stat__value { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0.01em; }
.stat .stat__meta { color: var(--line); font-size: 13px; font-family: var(--f-mono); }

@media (max-width: 820px) {
  .vision__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CAPABILITIES — three manga panels
   ============================================================ */
.caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  background: var(--tone);
}
.cap {
  background: var(--ink);
  padding: 40px 32px 32px;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.2s;
}
.cap:hover { background: var(--ink-raised); }
.cap__no { font-family: var(--f-mono); font-size: 12px; color: var(--line); }
.cap__icon { width: 40px; height: 40px; margin: 18px 0; stroke: var(--signal); fill: none; stroke-width: 1.4; }
.cap__title { font-size: 1.6rem; text-transform: uppercase; }
.cap__desc { color: var(--line); font-size: 13.5px; margin-top: 10px; max-width: 30ch; }
.cap::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, var(--tone) 1.5px, transparent 2px);
  background-size: 9px 9px;
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 820px) {
  .caps__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CHARACTER GALLERY — parallax showcase
   ============================================================ */
.parallax {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.parallax__stage {
  position: relative;
  height: 120vh;
  min-height: 620px;
  max-height: 980px;
  overflow: hidden;
}
.parallax__layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  pointer-events: none;
}

.layer-bg { z-index: 1; }
.parallax__moon {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(60vw, 640px);
  height: min(60vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--ink-raised), var(--ink) 70%);
  border: 1px solid var(--tone);
}
.parallax__tone {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.layer-rings { z-index: 2; }
.parallax__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--tone);
}
.parallax__ring--a { top: 12%; left: 50%; width: 74vw; max-width: 780px; aspect-ratio: 1; transform: translateX(-50%); }
.parallax__ring--b { top: 20%; left: 50%; width: 46vw; max-width: 520px; aspect-ratio: 1; transform: translateX(-50%); border-color: var(--signal); opacity: 0.35; }

.parallax__caption {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 88px;
  pointer-events: none;
}
.parallax__caption .eyebrow { justify-content: center; }
.parallax__caption .section__title { margin-top: 12px; }
.parallax__note { margin: 14px auto 0; text-align: center; }

.layer-char {
  z-index: 4;
  display: flex;
  align-items: flex-end;
}
.layer-char--left { justify-content: flex-start; padding: 0 4vw 6% 4vw; }
.layer-char--right { justify-content: flex-end; padding: 0 4vw 0 4vw; }

.facet-figure {
  width: clamp(160px, 20vw, 280px);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.facet-figure--accent { width: clamp(180px, 24vw, 320px); }

.parallax__label {
  position: absolute;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(11,11,13,0.75);
  border: 1px solid var(--tone);
  transition: border-color 0.15s, background 0.15s;
}
.parallax__label:hover { border-color: var(--signal); background: rgba(232,56,42,0.1); }
.layer-char--left .parallax__label { bottom: 4%; left: 4vw; }
.layer-char--right .parallax__label { bottom: 2%; right: 4vw; }
.parallax__label-tag { font-family: var(--f-mono); font-size: 10px; color: var(--line); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 760px) {
  .parallax__stage { height: 100vh; min-height: 560px; }
  .layer-char--left { padding: 0 3vw 30% 3vw; }
  .layer-char--right { padding: 0 3vw 4% 3vw; }
  .facet-figure { width: 34vw; }
}

/* ============================================================
   ONLINE READER (placeholder)
   ============================================================ */
.reader { max-width: 480px; margin: 0 auto; }
.reader__stage { position: relative; }
.reader__page {
  aspect-ratio: 3 / 4;
  background: var(--ink-raised);
  border: 1px solid var(--tone);
  padding: 8px;
  display: grid;
  gap: 6px;
  position: relative;
}
.reader__page::before {
  content: 'PREVIEW';
  position: absolute;
  top: 14px;
  right: -34px;
  width: 140px;
  text-align: center;
  transform: rotate(28deg);
  background: transparent;
  border-top: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  color: var(--signal);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 3px 0;
  z-index: 5;
  pointer-events: none;
}
.reader__panel {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--tone);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.reader__panel .tone { position: absolute; inset: 0; opacity: 0.4; }
.reader__panel span {
  position: relative;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--line);
  padding: 6px 8px;
}

.reader__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  border: 1px solid var(--tone);
  color: var(--paper);
  width: 38px;
  height: 38px;
  font-size: 18px;
  line-height: 1;
  z-index: 6;
  transition: border-color 0.15s;
}
.reader__nav:hover { border-color: var(--signal); }
.reader__nav--prev { left: -19px; }
.reader__nav--next { right: -19px; }

.reader__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--line);
  letter-spacing: 0.06em;
}
.reader__thumbs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.reader__thumb {
  width: 32px;
  height: 42px;
  border: 1px solid var(--tone);
  background: var(--ink-raised);
  padding: 0;
  transition: border-color 0.15s;
}
.reader__thumb.is-active { border-color: var(--signal); }

@media (max-width: 560px) {
  .reader__nav--prev { left: 4px; }
  .reader__nav--next { right: 4px; }
}

/* ============================================================
   NON-HERO PAGE TOP SPACING
   Pages without the full hero (Studio, Shop, Reader, Connect) still
   sit under the fixed nav — this gives their first section headroom.
   ============================================================ */
.page-top { padding-top: 64px; }

.page-banner {
  padding: 56px 0 40px;
  border-bottom: var(--gutter) solid var(--tone);
}
.page-banner .section__title { margin-top: 10px; }

.breadcrumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--paper-dim); }
.breadcrumb a:hover { color: var(--signal); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: var(--gutter) solid var(--tone);
}
.product-hero__stage {
  position: relative;
  height: 78vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
}
.product-hero__stage .parallax__layer { position: absolute; inset: 0; will-change: transform; pointer-events: none; }

.product-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.5) saturate(1.1);
  transform: scale(1.15);
}
.product-hero__bg.tone { filter: none; opacity: 0.25; }

.product-hero__mid { display: flex; align-items: center; justify-content: center; }
.product-hero__mid .parallax__ring { border: 1px solid var(--tone); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.product-hero__mid .parallax__ring--a { width: 60vw; max-width: 640px; aspect-ratio: 1; }
.product-hero__mid .parallax__ring--b { width: 38vw; max-width: 420px; aspect-ratio: 1; border-color: var(--signal); opacity: 0.35; }

.product-hero__figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6%;
}
.product-hero__figure img {
  max-height: 62vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,0.55));
}
.product-hero__figure .facet-figure { width: clamp(200px, 26vw, 340px); filter: drop-shadow(0 24px 34px rgba(0,0,0,0.55)); }

.product-hero__badge {
  position: absolute;
  top: 24px;
  left: var(--edge);
  z-index: 5;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(11,11,13,0.8);
  border: 1px solid var(--tone);
  padding: 8px 14px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gutter);
  background: var(--tone);
}
.product-layout__main { background: var(--ink); padding: 48px; }
.product-layout__side { background: var(--ink); padding: 48px; display: flex; flex-direction: column; gap: 22px; }

.product-layout__title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 14px; }
.product-layout__desc { color: var(--paper-dim); font-size: 1.05rem; max-width: 60ch; }

.product-layout__price { font-family: var(--f-mono); font-size: 2rem; color: var(--paper); }
.product-layout__format { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--line); border: 1px solid var(--tone); padding: 6px 12px; display: inline-block; width: fit-content; }
.product-layout__add {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--signal); border: none; color: var(--paper); padding: 16px 20px; transition: background 0.15s;
}
.product-layout__add:hover { background: var(--signal-dim); }
.product-layout__add.is-added { background: var(--tone); color: var(--paper-dim); }
.product-layout__note { font-family: var(--f-mono); font-size: 11px; color: var(--line); }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--gutter);
  background: var(--tone);
}
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--ink-raised); }

.video-embed {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--ink-raised);
  border: 1px solid var(--tone);
}
.video-embed iframe, .video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-hero__stage { height: 60vh; min-height: 420px; }
}

/* ============================================================
   SHOP
   ============================================================ */
.shop__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter {
  border: 1px solid var(--tone);
  background: transparent;
  color: var(--paper-dim);
  padding: 9px 16px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.filter:hover { color: var(--paper); border-color: var(--line); }
.filter.is-active { background: var(--signal); border-color: var(--signal); color: var(--paper); }

.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  background: var(--tone);
}
.product {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, background 0.15s;
}
.product:hover { background: var(--ink-raised); }
.product__frame {
  aspect-ratio: 1 / 1;
  position: relative;
  border-bottom: 1px solid var(--tone);
  overflow: hidden;
  display: block;
}
.product__frame .tone { position: absolute; inset: 0; opacity: 0.5; }
.product__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 3.4rem;
  color: var(--tone);
  letter-spacing: 0.02em;
}
.product__format {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  background: var(--ink);
  border: 1px solid var(--tone);
  color: var(--paper-dim);
  padding: 4px 8px;
}
.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); }
.product__title { font-size: 1.05rem; font-family: var(--f-body); font-weight: 700; line-height: 1.3; }
.product__title a { color: inherit; }
.product__title a:hover { color: var(--signal); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__price { font-family: var(--f-mono); font-size: 14px; color: var(--paper); }
.product__add {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--paper-dim);
  background: transparent;
  color: var(--paper);
  padding: 8px 12px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.product__add:hover { background: var(--signal); border-color: var(--signal); }
.product__add.is-added { background: var(--tone); border-color: var(--tone); color: var(--paper-dim); }

@media (max-width: 980px) { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(11,11,13,0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: var(--ink-raised);
  border-left: var(--gutter) solid var(--signal);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  padding: 24px;
  border-bottom: 1px solid var(--tone);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer__head h3 { font-size: 1.4rem; text-transform: uppercase; }
.cart-drawer__close {
  background: none; border: 1px solid var(--tone); color: var(--paper);
  width: 32px; height: 32px; font-family: var(--f-mono); font-size: 16px;
}
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-drawer__empty { color: var(--line); font-family: var(--f-mono); font-size: 13px; padding: 40px 0; text-align: center; }
.cart-item {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--tone);
  font-size: 13px;
}
.cart-item__glyph {
  width: 46px; height: 46px; background: var(--ink); border: 1px solid var(--tone);
  display: grid; place-items: center; font-family: var(--f-display); color: var(--tone); flex: none;
}
.cart-item__info { flex: 1; }
.cart-item__title { font-weight: 700; color: var(--paper); }
.cart-item__meta { color: var(--line); font-family: var(--f-mono); font-size: 11px; margin-top: 3px; }
.cart-item__remove { background: none; border: none; color: var(--line); font-family: var(--f-mono); font-size: 11px; text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-item__remove:hover { color: var(--signal); }
.cart-item__price { font-family: var(--f-mono); color: var(--paper); white-space: nowrap; }

.cart-drawer__foot { padding: 24px; border-top: 1px solid var(--tone); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-family: var(--f-mono); margin-bottom: 16px; font-size: 14px; }
.cart-drawer__checkout {
  width: 100%; background: var(--signal); border: none; color: var(--paper);
  padding: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.cart-drawer__checkout:hover { background: var(--signal-dim); }
.cart-drawer__note { color: var(--line); font-size: 11px; font-family: var(--f-mono); text-align: center; margin-top: 10px; }

/* ============================================================
   CONNECT
   ============================================================ */
.connect {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gutter);
  background: var(--tone);
}
.connect__main {
  background: var(--ink);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.connect__title { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; }
.connect__email { font-family: var(--f-mono); font-size: 1.1rem; color: var(--signal); }
.connect__email:hover { text-decoration: underline; }
.connect__side {
  background-image: radial-gradient(circle, var(--signal) 1px, transparent 1.4px);
  background-size: 6px 6px;
  background-color: var(--ink);
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.connect__loc .panel-label { margin-bottom: 8px; }
.connect__loc p { font-family: var(--f-mono); font-size: 13px; color: var(--paper); }
.connect__socials { display: flex; gap: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.connect__socials a { border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.connect__socials a:hover { border-color: var(--paper); }

@media (max-width: 820px) {
  .connect { grid-template-columns: 1fr; }
  .connect__main, .connect__side { padding: 44px var(--edge); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 28px var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--line);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}
