/* KAILA shared styles. Catalogue-first, sticker motif; colour comes from the sculptures' finish families. */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dmmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dmmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --bg: #F7F3F4;
  --fg: #1C1518;
  --muted: #6E6468;
  --surface: #FFFFFF;
  --line: #E4DCDF;
  --accent: #B4225F;
  --on-accent: #FFFFFF;
  --bar: #1C1518;
  --on-bar: #F7F3F4;
  --ok: #2F6B3A;

  --athens: #C9A484;  --athens-fg: #2A1D12;
  --paris:  #0587B8;  --paris-fg:  #FFFFFF;
  --rome:   #C9970F;  --rome-fg:   #241A00;
  --london: #8E2430;  --london-fg: #FFFFFF;
  --ny:     #4E5A5C;  --ny-fg:     #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Courier New', monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151012; --fg: #F3ECEF; --muted: #A99DA2; --surface: #211A1D; --line: #3A3034;
    --accent: #E0558F; --on-accent: #1B0A11; --bar: #0D0A0B; --on-bar: #F3ECEF; --ok: #8FCB98;
    --athens: #D8B898; --paris: #2BA3D3; --rome: #E0B23A; --london: #C24452; --ny: #7E8C8F;
    --ny-fg: #0D0A0B;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.gutter {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1180px; margin: 0 auto; }

.display {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-optical-sizing: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--line);
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--accent); color: var(--on-accent);
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
.ticker-track { display: inline-flex; gap: 48px; padding-block: 9px; animation: tick 38s linear infinite; }
.ticker-track span::before { content: "\25CF"; margin-right: 14px; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.bar { background: var(--bar); color: var(--on-bar); position: relative; }
.bar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 78px; padding-block: 12px;
}
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .88; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.bar-right { display: flex; justify-content: flex-end; }

.badge {
  position: relative; width: 104px; height: 104px; margin-bottom: -46px; z-index: 3;
  display: grid; place-items: center; text-decoration: none;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
  border: 5px solid var(--bg);
  transform: rotate(-8deg); transition: transform .5s cubic-bezier(.3,1.6,.5,1);
}
.badge:hover { transform: rotate(10deg) scale(1.04); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge .seal-ring { font-family: var(--font-mono); font-size: 9px; font-weight: 500; fill: currentColor; }
.badge .seal-word {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800; font-size: 18.5px; fill: currentColor;
}
.badge .seal-line { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; }

/* ---------- footer ---------- */
.site-foot { background: var(--bar); color: var(--on-bar); margin-top: 72px; }
.foot { padding-block: 40px 34px; display: grid; gap: 26px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-word { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: 34px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.foot-links a { text-decoration: none; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.foot-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.legal { font-family: var(--font-mono); font-size: 12px; opacity: .65; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }

/* ---------- text pages ---------- */
.doc { max-width: 860px; margin: 0 auto; padding-block: 80px 0; }
.doc > .microlabel, .doc .microlabel {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.doc h1 {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.02em;
  margin: 10px 0 16px; text-wrap: balance;
}
.doc .lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 0 0 44px; }
.doc .row, .doc .ship-row {
  display: grid; grid-template-columns: 44px minmax(0, 210px) minmax(0, 1fr);
  gap: 18px; padding-block: 26px; border-top: 1.5px solid var(--line);
}
.doc .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 5px; }
.doc .row h2, .doc .ship-row h2 {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700; font-size: 22px; line-height: 1.15; margin: 0;
}
.doc .body { max-width: 60ch; min-width: 0; }
.doc .body p, .doc .qa p { margin: 0 0 12px; font-size: 16px; }
.doc .body p:last-child, .doc .qa p:last-child { margin-bottom: 0; }
.doc .body ul { margin: 0 0 12px; padding-left: 20px; }
.doc .body li { margin-bottom: 6px; }
.doc .body a, .doc .qa a, .doc .lead a {
  color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
@media (max-width: 680px) {
  .doc .row, .doc .ship-row { grid-template-columns: 36px minmax(0, 1fr); }
  .doc .row .body, .doc .ship-row .body { grid-column: 1 / -1; }
}

.doc .qa {
  background: var(--surface); border-radius: 22px; padding: 22px 24px;
  margin-bottom: 12px;
}
.doc .qa h2 {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700; font-size: 22px; margin: 0 0 8px;
}

.doc .attrib { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 18px !important; }
.doc .step { margin-bottom: 18px; }
.doc .step:last-child { margin-bottom: 0; }
.doc .step-label {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
}
.doc .step:nth-child(odd) .step-label { transform: rotate(-2deg); }
.doc .step:nth-child(even) .step-label { transform: rotate(2deg); }

.doc .name {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 30px;
}
.doc .bio { max-width: 60ch; }
.doc .bio p { font-size: 18px; margin: 0 0 16px; }
.doc .band {
  margin: 44px 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)), url('img/band.jpg') center / cover no-repeat;
  padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 40px);
}
.doc .band p {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700; color: #F7F3F4; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2;
  margin: 0; max-width: 26ch;
}
.doc .ig {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none !important;
  padding: 10px 18px; border-radius: 999px; background: var(--fg); color: var(--bg) !important;
}

.doc .cta {
  margin-top: 48px; padding: 26px 24px; border-radius: 22px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
}
.doc .cta a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line);
}
.doc .cta a:hover { border-color: var(--fg); }
.doc .effective { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-top: 36px; }

/* ---------- small screens ---------- */
@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 880px) {
  .bar-inner { grid-template-columns: 1fr auto; min-height: 66px; }
  .nav { display: none; }
  .badge { order: -1; width: 84px; height: 84px; margin-bottom: -38px; }
  .doc { padding-block: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  * { transition: none !important; }
}
