:root {
  --ink: #111111;
  --char: #1b1b1b;
  --char-2: #262626;
  --gold: #c9a13b;
  --gold-deep: #a9832a;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e3dfd5;
  --muted: #66625a;
  --danger: #b3261e;
  --ok: #2e6b3a;
  --radius: 10px;
  --head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: 0.01em; line-height: 1.1; margin: 0 0 12px; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--gold); margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--gold); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--head); font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; color: #ddd; }
.nav a:hover { color: var(--gold); }
.nav a.btn { color: var(--ink); }
.nav a.btn:hover { color: var(--ink); }
.member-slot { display: flex; align-items: center; gap: 10px; min-width: 120px; justify-content: flex-end; }
.member-slot .skel { width: 110px; height: 34px; border-radius: 8px; background: #2a2a2a; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .brand span { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--gold); background: var(--gold); color: var(--ink); font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; padding: 12px 22px; border-radius: 8px; text-decoration: none; cursor: pointer; font-weight: 600; }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.sm { padding: 7px 14px; font-size: 0.8rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* hero */
.hero { position: relative; color: #fff; background: var(--char) center/cover no-repeat; isolation: isolate; overflow: hidden; }
.hero .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 55%, rgba(10,10,10,0.35) 100%); }
.hero .wrap { position: relative; padding: 96px 20px 88px; }
.hero p.lead { font-size: 1.15rem; max-width: 600px; color: #e9e6df; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: 0.95rem; color: #d9d5cc; }
.hero .facts b { color: var(--gold); font-family: var(--head); font-size: 1.2rem; display: block; letter-spacing: 0.04em; }

section.band { padding: 72px 0; }
section.band.dark { background: var(--ink); color: #fff; }
section.band.dark .muted { color: #b9b4aa; }
.section-head { max-width: 720px; margin-bottom: 32px; }

/* services */
.cat { margin-top: 36px; }
.cat h3 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.card .img { aspect-ratio: 4 / 3; background: #ddd8cc; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h4 { font-family: var(--head); text-transform: uppercase; font-size: 1.2rem; margin: 0 0 4px; font-weight: 600; letter-spacing: 0.02em; }
.card .price { font-weight: 700; color: var(--gold-deep); margin-bottom: 6px; }
.card .tag { color: var(--muted); font-size: 0.92rem; flex: 1; }
.card .go { margin-top: 14px; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.card.skeleton .img, .card.skeleton .line { background: linear-gradient(90deg, #e7e3d9, #f1eee7, #e7e3d9); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.card.skeleton .line { height: 14px; border-radius: 4px; margin-bottom: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step { border: 1px solid #333; border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--head); color: var(--gold); font-size: 2rem; display: block; margin-bottom: 6px; }
.step h3 { font-size: 1.1rem; }

/* hubs */
.hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.hub { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 24px; }

footer.site-footer { background: var(--ink); color: #aaa; padding: 36px 0; font-size: 0.9rem; border-top: 2px solid var(--gold); }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer.site-footer strong { color: #fff; font-family: var(--head); letter-spacing: 0.1em; text-transform: uppercase; }

/* service page */
.svc-top { background: var(--ink); color: #fff; }
.svc-top .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 36px 20px; align-items: center; }
.svc-top .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #2a2a2a; }
.svc-top .img img { width: 100%; height: 100%; object-fit: cover; }
.svc-top .price { font-family: var(--head); font-size: 1.6rem; color: var(--gold); margin-bottom: 8px; }
@media (max-width: 820px) { .svc-top .wrap { grid-template-columns: 1fr; } .svc-top .img { aspect-ratio: 16 / 9; max-height: 220px; } }
.back { display: inline-block; margin-bottom: 14px; color: #bbb; text-decoration: none; font-size: 0.9rem; }
.back:hover { color: var(--gold); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.svc-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; padding: 36px 20px 72px; align-items: start; }
@media (max-width: 900px) { .svc-body { grid-template-columns: 1fr; } }
.label { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--muted); margin: 22px 0 8px; display: block; }
.label:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 0.92rem; cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[disabled] { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day, .pager { flex: 0 0 68px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 4px; text-align: center; cursor: pointer; font: inherit; }
.day .dw { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.day .dn { display: block; font-size: 1.25rem; font-weight: 700; }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day.on .dw { color: var(--gold); }
.pager { font-size: 0.75rem; line-height: 1.2; color: var(--muted); }
.skel-row { display: flex; gap: 8px; }
.skel-row div { width: 68px; height: 56px; border-radius: 8px; background: #ece8df; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.field input, .field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.error { color: var(--danger); font-size: 0.92rem; margin-top: 10px; }
.note { background: #faf6ea; border: 1px solid #ecdfb8; border-radius: 8px; padding: 12px 14px; font-size: 0.9rem; }
.done { text-align: center; padding: 28px 10px; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; font-weight: 700; }
.gate { text-align: center; padding: 18px 6px; }
.gate .btn { margin: 6px; }

/* auth pages */
.auth { max-width: 460px; margin: 48px auto 80px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.tabs button { border: 0; background: #fff; padding: 12px; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }
.center { text-align: center; }
.profile { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.profile .avatar { width: 64px; height: 64px; font-size: 1.5rem; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
/* unit turns picker */
.turn-lines { display: grid; gap: 8px; }
.turn-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; }
.turn-line select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; min-width: 0; }
.turn-line .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.turn-line .qty button { width: 34px; height: 38px; border: 0; background: #f6f4ef; font-size: 1.1rem; cursor: pointer; }
.turn-line .qty span { min-width: 30px; text-align: center; font-weight: 600; }
.turn-line .each { font-weight: 600; text-align: right; line-height: 1.1; min-width: 58px; }
.turn-line .each small { display: block; font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.turn-line .x, .crew-day .x { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; }
.turn-sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.turn-sum .amt { font-family: var(--head); font-size: 1.5rem; color: var(--gold); }
.turn-sum .tag { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 2px 8px; font-size: 0.78rem; font-weight: 700; }
.crew-day { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
@media (max-width: 520px) {
  .turn-line { grid-template-columns: minmax(0, 1fr) auto auto; }
  .turn-line .each { display: none; }
}
/* contracts */
.contract { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.contract input { margin-top: 4px; accent-color: var(--ink); }
.contract small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; line-height: 1.4; }
.contract:has(input:checked) { border-color: var(--gold); background: #faf6ea; }
fieldset.plain { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.contract-card { border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: 8px; padding: 14px 16px; margin-bottom: 4px; }
.contract-card.ok { border-left-color: var(--gold); background: #faf6ea; }

/* landing pages */
.lp-hero h1 { max-width: 16ch; }
.lp-alt { background: #ece8de; }
.lp-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lp-split .hub { display: flex; flex-direction: column; }
.lp-split .hub .btn { margin-top: auto; align-self: flex-start; }
.lp-split .hub p { margin-bottom: 18px; }
.lp-table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); max-width: 720px; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.lp-table th, .lp-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.lp-table th { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 0.85rem; background: var(--ink); color: #fff; }
.lp-table td + td, .lp-table th + th { text-align: right; white-space: nowrap; }
.lp-table tr.grp td { background: var(--paper); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-note { max-width: 720px; margin-top: 14px; }
.lp-form-wrap { max-width: 760px; }
@media (max-width: 560px) { .lp-table th, .lp-table td { padding: 10px 10px; } }