/* 13th Floor Office: shared pieces for the hand-built pages (tokens live in tokens.css). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Barlow Condensed', sans-serif; font-size: 19px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--gold-text-hover); }
input::placeholder, textarea::placeholder { color: var(--ink4); }
select option { color: #0f1a33; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(var(--gold-rgb), 0.22); }
.site-header .wrap { padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 5px; white-space: nowrap; color: var(--gold-text); }
.brand .mark { width: 58px; aspect-ratio: 200 / 112; background: currentColor; -webkit-mask: url(../img/mark.svg) center / contain no-repeat; mask: url(../img/mark.svg) center / contain no-repeat; }
.brand span { font-family: Limelight, serif; font-size: 24px; line-height: 1; letter-spacing: 0.03em; text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.35); }
.nav { display: flex; align-items: center; gap: 10px; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.nav a { color: var(--ink); padding: 0 10px; height: 44px; display: flex; align-items: center; transition: color .3s; }
.nav a:hover { color: var(--gold-text); }
.theme-btn { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line2); color: var(--ink); cursor: pointer; font: inherit; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 14px; height: 44px; }
.theme-btn i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold-line); background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); }

main { flex: 1; padding: clamp(40px, 7vw, 88px) 24px clamp(64px, 8vw, 110px); background: radial-gradient(90% 60% at 80% 0%, var(--glow) 0%, var(--bg2) 40%, var(--bg) 100%); }

/* type */
.kicker { display: flex; align-items: center; gap: 12px; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); }
.kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
h1 { margin: 0; font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--gold-text); text-shadow: 0 0 28px rgba(var(--gold-rgb), 0.3); }
h2 { margin: 0; font-family: Oswald, sans-serif; font-weight: 500; font-size: 30px; text-transform: uppercase; }
.lead { margin: 0; font-size: clamp(20px, 2vw, 23px); color: var(--ink2); text-wrap: pretty; }
.label { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); }
.label small { letter-spacing: 0.04em; text-transform: none; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; color: var(--ink4); }
.muted { color: var(--ink4); }
.diamond { color: var(--gold-text); font-size: 12px; }

/* panels */
.panel { position: relative; background: var(--panel); border: 1px solid var(--line2); padding: clamp(24px, 4vw, 44px); }
.panel > .corner { position: absolute; width: 20px; height: 20px; border-color: var(--gold-line); border-style: solid; border-width: 0; }
.corner.tl { top: 7px; left: 7px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 7px; right: 7px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 7px; left: 7px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 7px; right: 7px; border-bottom-width: 1px; border-right-width: 1px; }
.box { border: 1px solid rgba(var(--gold-rgb), 0.35); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.box-title { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); }
.list-row { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(var(--gold-rgb), 0.2); }
.list-row:last-child { border-bottom: 0; }

/* form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field select, .field textarea { height: 52px; background: var(--input); border: 1px solid var(--line2); color: var(--ink); font-family: 'Barlow Condensed', sans-serif; font-size: 19px; padding: 0 14px; outline: none; border-radius: 0; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-line); }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.chip { min-height: 44px; padding: 8px 16px; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; text-align: left; background: transparent; color: var(--ink2); border: 1px solid var(--line2); transition: all .3s; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; cursor: pointer; font-family: Oswald, sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; transition: all .35s; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 0 26px rgba(var(--gold-rgb), 0.25); }
.btn-gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn-gold:disabled { opacity: .6; cursor: wait; }
.btn-line { background: none; border: 1px solid var(--line2); color: var(--ink); }
.btn-line:hover { border-color: var(--gold-line); color: var(--ink); }
.error { font-size: 17px; color: var(--bad); }

/* footer */
.site-footer { background: var(--bg-foot); border-top: 1px solid rgba(var(--gold-rgb), 0.3); padding: 28px 24px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink4); }
.site-footer a { color: var(--ink4); }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
