@font-face { font-family: 'Oswald'; font-weight: 700; font-display: swap; src: url('../fonts/oswald-latin-700-normal.woff') format('woff'); }
@font-face { font-family: 'Oswald'; font-weight: 700; font-display: swap; src: url('../fonts/oswald-latin-ext-700-normal.woff') format('woff'); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --ink: #17191c;
  --ink-2: #4a4f57;
  --ink-3: #6c727b;
  --paper: #f6f3ee;
  --card: #ffffff;
  --line: #e2ddd4;
  --team: #23272e;
  --team-accent: #c8762f;
  --on-team: #fff;
  --on-accent: #fff;
  --ok: #1f7a4d;
  --warn: #9a5b00;
  --bad: #b3261e;
  --radius: 14px;
  --display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--team-accent); margin-bottom: 0.6rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--team-accent); outline-offset: 2px; }

/* header */
.site-head { background: var(--team); color: var(--on-team); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 38px; }
.brand-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-by { font-size: 0.75rem; opacity: 0.8; display: block; margin-top: -3px; letter-spacing: 0.02em; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 0.7em 1.3em; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; background: var(--team-accent); color: var(--on-accent); transition: transform .08s ease, filter .15s; min-height: 44px; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: transparent; color: inherit; border-color: currentColor; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 0.35em 0.9em; font-size: 0.875rem; min-height: 34px; }
.btn.danger { background: var(--bad); color: #fff; }
.linkish { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; padding: 4px; }

/* hero */
.hero { background: var(--team); color: var(--on-team); padding: 40px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero p.lead { font-size: 1.15rem; max-width: 34em; opacity: 0.92; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-tags { display: flex; align-items: flex-end; justify-content: center; gap: 4%; min-height: 300px; }
.hero-tags .tag { flex: 0 1 auto; min-width: 0; }
.hero-tags .tag svg { width: 100%; height: auto; max-height: 300px; }
.hero-note { font-size: 0.8rem; opacity: 0.75; margin-top: 14px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-tags { min-height: 0; } }

section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* product cards */
.grid { display: grid; gap: 20px; }
.products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.card .stage { background: #2b2f35; border-radius: 10px; display: flex; align-items: flex-end; justify-content: center; padding: 14px; height: 230px; }
.card .stage.light { background: linear-gradient(160deg, #ebe6dc, #d9d2c5); }
.card .stage svg { max-height: 100%; }
.card h3 { margin: 6px 0 0; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 4px 0; font-size: 0.875rem; }
.card dt { color: var(--ink-3); }
.card dd { margin: 0; }
.price { font-family: var(--display); font-size: 1.4rem; }
.price small { font-family: var(--body); font-size: 0.75rem; color: var(--ink-3); font-weight: 400; display: block; }
.chip { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 999px; background: #efe9df; color: var(--ink-2); font-weight: 600; }
.chip.top { background: var(--team-accent); color: var(--on-accent); }
.chip.ok { background: #e2f3e9; color: var(--ok); }
.chip.warn { background: #fdf0d9; color: var(--warn); }
.chip.bad { background: #fbe4e2; color: var(--bad); }

/* compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #faf8f4; font-weight: 600; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

/* configurator */
.config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.config.wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 860px) { .config, .config.wide { grid-template-columns: 1fr; } .preview-panel { position: static; } }
.preview-panel { position: sticky; top: 12px; background: #2b2f35; color: #fff; border-radius: var(--radius); padding: 18px; }
.preview-panel.light { background: linear-gradient(160deg, #ebe6dc, #d3cbbd); color: var(--ink); }
.preview-panel.steel, .stage.steel { background: radial-gradient(circle at 50% 30%, #767c85, #34383e 75%); color: #fff; }
.preview-panel .stage { display: flex; justify-content: center; align-items: center; min-height: 340px; }
.preview-panel .stage svg { max-width: 100%; height: auto; }
.preview-panel .caption { font-size: 0.85rem; opacity: 0.85; text-align: center; }
.exact { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 0.92rem; }
.preview-panel.light .exact { background: rgba(255,255,255,0.6); }
.exact code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1rem; background: rgba(0,0,0,0.25); padding: 1px 6px; border-radius: 4px; white-space: pre; }
.preview-panel.light .exact code { background: rgba(0,0,0,0.08); }

.design-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.design-pick label { border: 2px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; background: #fff; display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; }
.design-pick input { position: absolute; opacity: 0; }
.design-pick label:has(input:checked) { border-color: var(--team-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--team-accent) 30%, transparent); }
.design-pick label:has(input:focus-visible) { outline: 3px solid var(--team-accent); outline-offset: 2px; }
.design-pick strong { font-size: 0.95rem; }

/* forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 600; font-size: 0.92rem; }
.field .hint { font-size: 0.82rem; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=url], select, textarea {
  font: inherit; padding: 10px 12px; border: 1.5px solid #cfc8bc; border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; width: 100%;
}
textarea { min-height: 90px; resize: vertical; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--bad); background: #fff8f7; }
.err { color: var(--bad); font-size: 0.85rem; font-weight: 500; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; padding: 0; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.notice { border-radius: 12px; padding: 12px 14px; background: #fdf6e7; border: 1px solid #f0dcb1; font-size: 0.92rem; }
.notice.info { background: #eef4fb; border-color: #cfe0f3; }
.notice.bad { background: #fbe9e7; border-color: #f2c4bf; color: #6b1a14; }
.notice.ok { background: #e7f5ee; border-color: #bfe3cf; }
.notice > :last-child { margin-bottom: 0; }

/* steps */
.steps { counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 18px; font-family: var(--display); font-size: 1.3rem; color: var(--team-accent); }

.site-foot { padding: 32px 0 48px; color: var(--ink-2); font-size: 0.875rem; border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }

/* team page */
.team-head { display: flex; align-items: center; gap: 16px; }
.team-logo { width: 72px; height: 72px; border-radius: 14px; background: rgba(255,255,255,0.12); display: grid; place-items: center; overflow: hidden; flex: none; }
.team-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.team-logo span { font-family: var(--display); font-size: 1.8rem; color: var(--on-team); }
.campaign { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; }
.campaign div { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 12px; font-size: 0.9rem; }
.campaign b { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; font-weight: 600; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 12px 16px; font: 600 1rem var(--body); cursor: pointer; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px; min-height: 44px; }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--team-accent); }
.cart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cart-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { background: #2b2f35; border-radius: 8px; height: 64px; display: grid; place-items: center; padding: 4px; }
.cart-line .thumb svg { max-height: 56px; width: auto; }
.totals { display: flex; justify-content: space-between; font-weight: 600; padding-top: 10px; }
.empty { color: var(--ink-3); font-size: 0.92rem; padding: 10px 0; }
.qty { width: 90px !important; }

/* roster */
.roster-table input, .roster-table select { min-height: 38px; padding: 6px 8px; border-radius: 8px; }
.roster-table td { padding: 6px 8px; }
.roster-table .num { width: 90px; }
.roster-table .qtyc { width: 80px; }
.roster-table tr.has-err td { background: #fff7f6; }
.roster-table tr.has-warn td { background: #fffaf0; }
.roster-table .msgs { font-size: 0.8rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-banner { background: #fff3cd; color: #5c4400; text-align: center; font-size: 0.9rem; padding: 8px 16px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .roster-table thead { display: none; }
  .roster-table, .roster-table tbody, .roster-table tr, .roster-table td { display: block; width: 100%; }
  .roster-table tr { display: grid; grid-template-columns: 28px 1fr 84px; gap: 6px 8px; padding: 10px; border-bottom: 1px solid var(--line); position: relative; }
  .roster-table td { padding: 0; border: 0; width: auto; }
  .roster-table td:nth-child(1) { grid-row: span 2; font-weight: 600; padding-top: 10px; }
  .roster-table td:nth-child(2) { grid-column: 2; }
  .roster-table td:nth-child(3) { grid-column: 3; }
  .roster-table td:nth-child(4) { grid-column: 2; }
  .roster-table td:nth-child(5) { grid-column: 3; }
  .roster-table td:nth-child(6) { grid-column: 2 / 4; }
  .roster-table td:nth-child(7) { position: absolute; right: 6px; bottom: 8px; }
  .roster-table .num, .roster-table .qtyc { width: auto; }
  .roster-table td:nth-child(6) input { width: calc(100% - 36px); }
}

/* sample photos */
.card .stage.photo { padding: 0; overflow: hidden; background: #2b2f35; }
.card .stage.photo img { width: 100%; height: 100%; object-fit: cover; }
.lineup { margin: 18px 0 22px; }
.lineup img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.sample-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.sample-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sample-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #2b2f35; }
.sample-grid figcaption { font-size: 0.85rem; color: var(--ink-2); }
.sample-grid figcaption strong { display: block; color: var(--ink); font-size: 0.95rem; }
.hero-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
