/* SHEMMAN — shemman.com
   Design tokens and components shared by every page. */

:root {
  color-scheme: dark;
  --bg: #0B0C0E;
  --bg-2: #111316;
  --ink: #ECEAE4;
  --ink-2: #B9B6AF;
  --mute: #8C8A85;
  --faint: #6E6C68;
  --line: rgba(236, 234, 228, 0.12);
  --line-2: rgba(236, 234, 228, 0.25);
  --accent: #10B7BD;
  --accent-2: #6FDCE0;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .wrap { padding-left: 20px; padding-right: 20px; } }
.dots { background-image: radial-gradient(rgba(236,234,228,0.06) 1px, transparent 1px); background-size: 18px 18px; }
.rule-t { border-top: 1px solid var(--line); }
.rule-b { border-bottom: 1px solid var(--line); }

/* Type */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.mono.sm { font-size: 11px; }
.eyebrow { display: flex; gap: 12px; align-items: center; color: var(--mute); }
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(16,183,189,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16,183,189,0); } 100% { box-shadow: 0 0 0 0 rgba(16,183,189,0); } }
.accent { color: var(--accent); }
.mute { color: var(--mute); }
.ink-2 { color: var(--ink-2); }
.display { margin: 0; font-weight: 200; letter-spacing: -0.035em; line-height: 0.92; }
.d-xxl { font-size: clamp(88px, 13vw, 208px); line-height: 0.85; letter-spacing: -0.045em; }
.d-xl { font-size: clamp(56px, 8.4vw, 136px); }
.d-l { font-size: clamp(44px, 6vw, 96px); line-height: 0.95; }
.d-m { font-size: clamp(36px, 4.5vw, 72px); }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 460px; }
.body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Links and buttons */
.lnk { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.lnk:hover { background-size: 100% 1px; color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--bg); border: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background-color .35s, transform .35s var(--ease); }
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--accent); color: var(--accent); background: transparent; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background-color .35s, color .35s; }
.ghost:hover { background: rgba(16,183,189,.12); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"], .chip.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(11,12,14,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 76px; }
.nav .brand img { height: 16px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; }
.nav-links a, .nav-links span { padding: 6px 0; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links .soon { color: var(--faint); }
.nav-links sup { font-size: 9px; letter-spacing: .1em; margin-left: 3px; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .nav-links a, .nav-links span { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-links { display: flex; }
  .nav-tools .ghost { display: none; }
}

/* Dropdowns: language and country */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; cursor: pointer; transition: border-color .3s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--accent); }
.dd-btn .chev { transition: transform .3s; }
.dd.open .dd-btn .chev { transform: rotate(180deg); }
.dd-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; margin: 0; padding: 6px 0; list-style: none; background: var(--bg-2); border: 1px solid rgba(236,234,228,.18); box-shadow: 0 24px 48px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 60; }
.dd.open .dd-list { opacity: 1; visibility: visible; transform: none; }
.dd-list button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 0 16px; background: transparent; border: none; color: var(--ink-2); font-size: 15px; text-align: left; cursor: pointer; }
.dd-list button:hover { background: rgba(236,234,228,.05); color: var(--ink); }
.dd-list button[aria-selected="true"] { background: rgba(16,183,189,.10); color: var(--ink); }
.dd-list .code { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--faint); }
.dd-list button[aria-selected="true"] .code { color: var(--accent); }
.dd-list .hd { padding: 10px 16px 6px; color: var(--faint); }

/* Ticker */
.ticker { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; color: var(--mute); }
.ticker i { font-style: normal; color: var(--accent); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 48px; }
.hero > * { flex: 1 1 480px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.section { padding-top: 120px; padding-bottom: 120px; }
@media (max-width: 640px) { .section { padding-top: 80px; padding-bottom: 80px; } .hero { padding-top: 40px; } }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }

/* Drawings */
.ln { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; transition: stroke .5s; }
.lt { fill: none; stroke: var(--ink); stroke-width: .6; opacity: .3; }
.cl { fill: none; stroke: var(--accent); stroke-width: .8; stroke-dasharray: 14 4 2 4; opacity: .8; }
.dt { fill: none; stroke: var(--ink); stroke-width: .5; opacity: .15; stroke-dasharray: 2 5; }
.dm { fill: none; stroke: var(--mute); stroke-width: .8; }
.dot { fill: var(--accent); }
.tx { fill: var(--mute); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.ta { fill: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.ac { fill: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.drawing .dr { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s); }
.drawing .fd { opacity: 0; animation: fade .9s ease forwards; animation-delay: var(--d, 0s); }
.sd .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1), stroke .5s; }
.sd.in .ln { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .drawing .dr, .drawing .fd { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .sd .ln { transition: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* Cards and grids */
.grid-lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 28px; padding: 36px; background: var(--bg); color: var(--ink); transition: background-color .5s; }
.card:hover { background: var(--bg-2); }
.card .draw { transition: transform .8s var(--ease); }
.card:hover .draw { transform: translateY(-8px) scale(1.02); }
.card:hover .ln { stroke: #fff; }
.card .go { font-weight: 200; font-size: 40px; transition: transform .45s var(--ease), color .3s; }
.card:hover .go { transform: translateX(6px); color: var(--accent); }
.card-top { display: flex; justify-content: space-between; color: var(--mute); }
.card-name { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.card-name h3 { margin: 0; font-weight: 200; font-size: 56px; letter-spacing: -0.02em; line-height: .9; }
.tile { border: 1px solid rgba(236,234,228,.14); padding: 32px; transition: border-color .4s, background-color .4s, transform .4s var(--ease); }
.tile:hover { border-color: var(--accent); background: rgba(16,183,189,.06); transform: translateY(-3px); }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fig { border-top: 1px solid var(--line-2); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; transition: color .4s; }
.fig:hover { color: var(--accent); }
.fig .num { font-weight: 200; font-size: clamp(56px, 6vw, 96px); line-height: 1; letter-spacing: -0.03em; }
.fig .num small { font-size: .35em; letter-spacing: 0; margin-left: 6px; color: var(--mute); }
.fig h3 { margin: 0; font-weight: 400; font-size: 24px; }
.row { transition: background-color .3s; }
.row:hover { background: rgba(236,234,228,.035); }

/* Specs */
.specs { border-top: 1px solid var(--line); }
.spec { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.spec dt { flex: 0 0 220px; padding-top: 4px; color: var(--mute); }
.spec dd { flex: 1 1 320px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.5; }
.tbc { color: var(--faint); }
.box-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.box-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.two-col { display: flex; flex-wrap: wrap; gap: 64px; }
.two-col > :first-child { flex: 2 1 560px; min-width: 0; }
.two-col > :last-child { flex: 1 1 300px; min-width: 0; }

/* Exploded view */
.xv { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.xv > :first-child { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.xv > :last-child { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.xp { cursor: pointer; opacity: .45; transition: opacity .35s; }
.xp .ln { stroke: var(--ink); }
.xp.on { opacity: 1; }
.xp.on .ln { stroke: var(--accent); }
.xv-panel { border-left: 1px solid var(--accent); padding: 8px 0 8px 28px; min-height: 160px; display: flex; flex-direction: column; gap: 12px; }
.xv-panel .t { font-size: 36px; letter-spacing: -.015em; }
.xv-list { border-top: 1px solid var(--line); }
.xv-list button { display: flex; gap: 24px; width: 100%; align-items: baseline; padding: 16px 4px; min-height: 44px; background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--mute); text-align: left; cursor: pointer; transition: color .3s, background-color .3s; }
.xv-list button:hover { background: rgba(236,234,228,.035); color: var(--ink); }
.xv-list button[aria-pressed="true"] { color: var(--accent); }
.xv-list .n { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; width: 32px; }
.xv-list .l { font-size: 20px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 10px; }
.field label, .field legend { color: var(--mute); }
fieldset { border: none; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 14px; }
.input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(236,234,228,.5); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 22px; padding: 12px 0; border-radius: 0; }
.input:focus { outline: none; border-bottom-color: var(--accent); }
.input::placeholder { color: var(--faint); }
.email-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); }
.email-row .input { flex: 1 1 220px; min-width: 0; border: none; font-size: 28px; }
.email-row .btn { min-height: 56px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 20px; font-size: 14px; color: #F2A65A; }
.success { border: 1px solid var(--accent); padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.success .big { font-weight: 200; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
[hidden] { display: none !important; }

/* Colour vote */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.swatch { display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid rgba(236,234,228,.14); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .3s, transform .4s var(--ease), background-color .3s; }
.swatch:hover { border-color: var(--accent); transform: translateY(-3px); }
.swatch[aria-pressed="true"] { border-color: var(--accent); background: rgba(16,183,189,.06); }
.swatch .sw { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(236,234,228,.3); }
.swatch .name { font-size: 22px; }
.bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 1s var(--ease); }

/* Listen */
.listen { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border: 1px solid rgba(236,234,228,.14); padding: 32px; }
.play { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; display: grid; place-items: center; transition: background-color .3s, transform .4s var(--ease); flex: none; }
.play:hover { background: rgba(16,183,189,.12); transform: scale(1.04); }
.wave { flex: 1 1 280px; min-width: 0; height: 72px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; background: var(--line-2); height: 20%; border-radius: 2px; transition: height .2s; }
.listen.playing .wave i { background: var(--accent); animation: wv 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.07s); }
@keyframes wv { 0%, 100% { height: 18%; } 50% { height: 80%; } }
.db-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; }
.db-scale div { background: var(--bg); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.db-scale .v { font-size: 28px; font-weight: 200; }
.db-scale .hi { color: var(--accent); }

/* AR */
.ar-stage { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; background: radial-gradient(ellipse at 50% 70%, #1a1d21 0%, var(--bg) 70%); border: 1px solid var(--line); }
model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--accent); background: transparent; }
.ar-btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); }
.ar-note { position: absolute; left: 16px; top: 16px; color: var(--faint); }

/* Timeline */
.note { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 40px 8px; border-bottom: 1px solid var(--line); }
.note > :first-child { flex: 0 0 160px; display: flex; flex-direction: column; gap: 10px; }
.note > :last-child { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.note h2 { margin: 0; font-weight: 300; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; }
.badge { align-self: flex-start; border: 1px solid currentColor; padding: 5px 10px; }
.b-done { color: var(--mute); } .b-now { color: var(--accent); } .b-next { color: var(--ink); } .b-planned { color: var(--faint); }

/* Recipes */
.recipe { display: flex; flex-direction: column; gap: 22px; }
.recipe h3 { margin: 0; font-weight: 300; font-size: 32px; letter-spacing: -.015em; }
.recipe ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.recipe li { padding: 10px 0; border-bottom: 1px solid rgba(236,234,228,.08); font-size: 16px; }
.recipe .top { display: flex; justify-content: space-between; gap: 12px; }

/* Passport */
.pp-card { border: 1px solid var(--line-2); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; background: linear-gradient(135deg, rgba(16,183,189,.06), transparent 60%); }
.pp-card .k { color: var(--mute); }
.pp-card .v { font-size: 24px; margin-top: 6px; }
.meter { height: 4px; background: var(--line); margin-top: 12px; }
.meter span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 1.2s var(--ease); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 48px; }
.site-footer .logo { width: 100%; max-width: 1296px; height: auto; opacity: .92; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; color: var(--mute); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; line-height: 1.8; }
.foot-cols > div { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: flex-start; }
.foot-cols .co { flex-direction: column; gap: 0; }

/* Next model band */
.next { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 72px; padding-bottom: 72px; }
a.next-band { display: block; transition: background-color .5s; }
a.next-band:hover { background: var(--bg-2); }
a.next-band .go { font-weight: 200; font-size: 72px; transition: transform .45s var(--ease), color .3s; }
a.next-band:hover .go { transform: translateX(8px); color: var(--accent); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-weight: 300; font-size: 28px; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.todo { color: #F2A65A; }

/* Blueprint sheets */
.drawing { width: 100%; display: flex; justify-content: center; }
.drawing .bp { width: 100%; max-width: 680px; height: auto; }

.foot-cols { text-transform: uppercase; }
@media (max-width: 480px) {
  .nav { gap: 12px; min-height: 64px; }
  .nav .brand img { height: 13px; }
  .nav-tools { gap: 6px; }
  .dd-btn { padding: 0 8px; gap: 6px; }
  .dd-btn > svg:first-of-type { display: none; }
}
