/* ============================================================
   BLaNK_Studio26 — Accra streetwear
   Composition: clashing warm neons on near-black, index-card
   stack layout, diagonal split with opposing scroll, hard
   section background swaps, mono body + display serif H1.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

/* ---------- Tokens: LIGHT ---------- */
:root {
  --bg:        #f2efe6;
  --bg-2:      #ffd9ec;
  --bg-3:      #ffe2b8;
  --bg-4:      #f6ffb0;
  --bg-5:      #0a0a0a;

  --surface:   #fffdf7;
  --surface-2: #f7f2e6;

  --ink:       #0a0a0a;
  --ink-soft:  #4a4740;
  --ink-faint: #6b675e;
  --on-dark:   #ffffff;

  --accent-a:  #e0007a;   /* magenta */
  --accent-b:  #d96000;   /* acid orange */
  --accent-c:  #8a9400;   /* electric yellow, darkened for light bg */
  --accent-a-ink: #ffffff;
  --accent-b-ink: #ffffff;
  --accent-c-ink: #0a0a0a;

  --line:      #0a0a0a;
  --line-soft: rgba(10, 10, 10, 0.18);

  --foot-bg:   #0a0a0a;
  --foot-ink:  #ffffff;
  --foot-soft: rgba(255, 255, 255, 0.78);

  --shadow:    4px 4px 0 var(--line);
  --shadow-lg: 8px 8px 0 var(--line);

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;

  --pad: clamp(1.1rem, 4vw, 3.5rem);
  --maxw: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Tokens: DARK ---------- */
html[data-theme='dark'] {
  --bg:        #0a0a0a;
  --bg-2:      #1a0a14;
  --bg-3:      #1d1004;
  --bg-4:      #14170a;
  --bg-5:      #f2efe6;

  --surface:   #141414;
  --surface-2: #1c1c1c;

  --ink:       #ffffff;
  --ink-soft:  #c9c5bb;
  --ink-faint: #a5a196;
  --on-dark:   #ffffff;

  --accent-a:  #ff2f92;
  --accent-b:  #ff8a00;
  --accent-c:  #f4ff33;
  --accent-a-ink: #0a0a0a;
  --accent-b-ink: #0a0a0a;
  --accent-c-ink: #0a0a0a;

  --line:      #ffffff;
  --line-soft: rgba(255, 255, 255, 0.22);

  --foot-bg:   #f2efe6;
  --foot-ink:  #0a0a0a;
  --foot-soft: rgba(10, 10, 10, 0.72);

  --shadow:    4px 4px 0 rgba(255, 255, 255, 0.9);
  --shadow-lg: 8px 8px 0 rgba(255, 255, 255, 0.9);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  font-family: var(--mono);
  font-size: clamp(0.86rem, 0.82rem + 0.2vw, 0.95rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 420ms var(--ease), color 420ms var(--ease);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 3px solid var(--accent-a);
  outline-offset: 3px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 {
  font-size: clamp(2.6rem, 11vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 144;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 96;
  text-wrap: balance;
}
h3 { font-size: clamp(1.05rem, 2.4vw, 1.35rem); line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}
.lede { font-size: clamp(0.95rem, 1.6vw, 1.12rem); max-width: 62ch; color: var(--ink-soft); }
.small { font-size: 0.76rem; color: var(--ink-faint); }

/* ---------- Shell ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
  transition: background-color 420ms var(--ease);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 0.7rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-variation-settings: 'WONK' 1;
}
.brand .tick {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  background: var(--accent-a);
  color: var(--accent-a-ink);
  padding: 0.15rem 0.35rem;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.4rem); flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.55rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--accent-a); }

.head-tools { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 0.7rem;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}
.icon-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--line); }
.cart-count {
  background: var(--accent-a);
  color: var(--accent-a-ink);
  border-radius: 999px;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  padding: 0 0.3rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--line);
  background: var(--accent-a);
  color: var(--accent-a-ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background-color 200ms var(--ease);
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); background: var(--accent-c); color: var(--accent-c-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--line); }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--ghost:hover { background: var(--accent-b); color: var(--accent-b-ink); }
.btn--block { width: 100%; }

/* ---------- Hero: diagonal split, opposing scroll ---------- */
.hero {
  padding: 0;
  border-bottom: 2px solid var(--line);
  background: var(--bg);
}
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(88vh, 780px);
  overflow: hidden;
}
.panel { position: relative; overflow: hidden; }
.panel--a { background: var(--bg-2); }
.panel--b { background: var(--bg-3); }
.panel__media { position: absolute; inset: -12% 0; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.panel--a .panel__media img { mix-blend-mode: luminosity; opacity: 0.55; }
.panel--b .panel__media img { mix-blend-mode: luminosity; opacity: 0.45; }
.panel__veil { position: absolute; inset: 0; }
.panel--a .panel__veil { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 55%, transparent), color-mix(in srgb, var(--bg-2) 88%, transparent)); }
.panel--b .panel__veil { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-3) 55%, transparent), color-mix(in srgb, var(--bg-3) 88%, transparent)); }

.hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(2.5rem, 6vw, 4rem);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-copy h1 .line2 { display: block; color: var(--accent-a); font-style: italic; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* the diagonal seam + the two opposing-scroll halves */
.seam {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--line);
  clip-path: polygon(0 62%, 100% 38%, 100% 41%, 0 65%);
}
.split__half {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform;
}
.split__half--up { clip-path: polygon(0 0, 100% 0, 100% 39.5%, 0 63.5%); }
.split__half--down { clip-path: polygon(0 63.5%, 100% 39.5%, 100% 100%, 0 100%); }

/* ---------- Marquee ---------- */
.ticker {
  border-bottom: 2px solid var(--line);
  background: var(--accent-c);
  color: var(--accent-c-ink);
  overflow: hidden;
  padding-block: 0.6rem;
}
.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 34s linear infinite;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker__track span::after { content: '◆'; font-size: 0.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Index card stack ---------- */
.stack { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
.card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 3.5vw, 2.2rem);
  transform: rotate(-1deg);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card:nth-child(even) { transform: rotate(1deg); }
.card:hover { transform: rotate(0deg) translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.card::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
}
.card--ruled {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 1.55rem,
    var(--line-soft) 1.55rem calc(1.55rem + 1px)
  );
  background-position: 0 3.4rem;
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
}
.card__no {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
}

/* ---------- Section headings ---------- */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  border-bottom: 2px solid var(--line);
  padding-bottom: 1rem;
}
.sec-head h2 { max-width: 22ch; }

/* ---------- Product grid ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.product:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.product__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--surface-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 2px solid var(--line);
  background: var(--accent-c);
  color: var(--accent-c-ink);
}
.badge--hot { background: var(--accent-a); color: var(--accent-a-ink); }
.badge--low { background: var(--accent-b); color: var(--accent-b-ink); }
.product__body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product__name { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; line-height: 1.15; }
.product__desc { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.product__row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.3rem; }
.price { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }
.price s { color: var(--ink-faint); font-weight: 400; margin-right: 0.35rem; font-size: 0.78rem; }
.sizes { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.size {
  min-width: 30px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  border: 1.5px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  padding: 0 0.3rem;
}
.size[aria-pressed='true'] { background: var(--ink); color: var(--bg); border-color: var(--line); }
.size--out { color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; }
.add {
  min-height: 44px;
  width: 100%;
  margin-top: 0.5rem;
  border: 2px solid var(--line);
  background: var(--surface-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.add:hover { background: var(--accent-a); color: var(--accent-a-ink); }
.add[data-added='true'] { background: var(--accent-c); color: var(--accent-c-ink); }

/* ---------- Filter bar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.chip {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--line);
  background: var(--surface);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); }

/* ---------- Lookbook ---------- */
.lookbook { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
.look { position: relative; border: 2px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--surface-2); }
.look img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.look figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.85rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-top: 2px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}
.look figcaption em { font-style: normal; color: var(--ink-faint); font-weight: 400; letter-spacing: 0.06em; }

/* ---------- Two-column blocks ---------- */
.cols { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 860px) {
  .cols--2 { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .cols--3 { grid-template-columns: repeat(3, 1fr); }
}
.figure { border: 2px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.figure img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.figure figcaption { padding: 0.6rem 0.8rem; border-top: 2px solid var(--line); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Spec list ---------- */
.specs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.78rem;
}
.specs li span:first-child { color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
.specs li span:last-child { text-align: right; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.1rem; color: var(--accent-a); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 1rem; font-size: 0.82rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--mono);
  font-size: 0.86rem;
  padding: 0.75rem 0.85rem;
  min-height: 48px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.form-status { font-size: 0.78rem; font-weight: 700; margin: 0; }
.form-status[data-state='ok'] { color: var(--accent-c); }
.form-status[data-state='err'] { color: var(--accent-a); }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  z-index: 90;
  background: var(--surface);
  border-left: 2px solid var(--line);
  transform: translateX(102%);
  transition: transform 320ms var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 0 rgba(0, 0, 0, 0.25);
}
.drawer[data-open='true'] { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 2px solid var(--line); }
.drawer__head h3 { font-size: 1.1rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.1rem; }
.drawer__foot { border-top: 2px solid var(--line); padding: 1.1rem; display: grid; gap: 0.8rem; }
.line-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.8rem; align-items: start; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line-soft); }
.line-item img { width: 56px; height: 70px; object-fit: cover; border: 2px solid var(--line); }
.line-item__name { font-size: 0.8rem; font-weight: 700; line-height: 1.25; }
.line-item__meta { font-size: 0.7rem; color: var(--ink-faint); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); margin-top: 0.35rem; }
.qty button { width: 30px; height: 30px; background: transparent; border: 0; cursor: pointer; font-weight: 700; }
.qty span { min-width: 26px; text-align: center; font-size: 0.76rem; font-weight: 700; }
.remove { background: none; border: 0; cursor: pointer; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); text-decoration: underline; padding: 0.3rem 0; }
.remove:hover { color: var(--accent-a); }
.total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 80; opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }
.empty { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- Newsletter / footer ---------- */
.site-foot {
  border-top: 2px solid var(--line);
  background: var(--foot-bg);
  color: var(--foot-ink);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  z-index: 2;
}
.site-foot a { color: var(--foot-ink); }
.site-foot .eyebrow, .site-foot .small { color: var(--foot-soft); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.78rem; }
.foot-list a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.foot-list a:hover { border-bottom-color: var(--accent-c); color: var(--accent-c); }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.25); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.08em; }
.newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; min-height: 48px; padding: 0.7rem 0.85rem; font-family: var(--mono); font-size: 0.82rem; background: transparent; color: var(--on-dark); border: 2px solid rgba(255, 255, 255, 0.6); }
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter .btn { background: var(--accent-c); color: var(--accent-c-ink); border-color: var(--accent-c); }

/* ---------- Attribution (free tier — keep) ---------- */
.attribution {
  position: static;
  margin: 0;
  padding: 0.9rem var(--pad) 1.4rem;
  font-size: 0.72rem;
  font-family: var(--mono);
  background: var(--foot-bg);
  color: var(--foot-soft);
  text-align: center;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 2;
}
.attribution a { color: var(--foot-ink); }

/* ---------- Reveal on scroll (CSS scroll-driven) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 34%;
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ---------- View transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 320ms var(--ease) both; }
::view-transition-new(root) { animation: vt-in 380ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(0.99); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(18px) scale(1.01); } }

/* ---------- Desktop: real diagonal split ---------- */
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .panel--a { clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%); }
  .panel--b { clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%); }
  .seam { clip-path: polygon(62% 0, 62.4% 0, 38.4% 100%, 38% 100%); }
  .hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-copy h1 { max-width: 15ch; }
  .split__half--up { clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%); }
  .split__half--down { clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
  .split__half { transform: none !important; }
  .card, .card:nth-child(even) { transform: none; }
}
