/* The Full Mast · Sunrise Salute. Canonical assets and locally hosted fonts. */
:root {
  color-scheme: dark;
  --magenta: #ff007f;
  --coral: #ff4f4f;
  --orange: #ff6600;
  --gold: #ffcc00;
  --green: #87c01a;
  --black: #0d0d0d;
  --white: #f5f5f5;
  --muted: #aaa9ad;
  --line: #323035;
  --surface: #161518;
  --surface-raised: #201e23;
  --sunrise: linear-gradient(115deg, var(--magenta), var(--coral) 54%, var(--orange));
  --heading: 'League Spartan', 'Arial Black', sans-serif;
  --body: 'Inter', sans-serif;
  --action: 'Montserrat', 'Inter', sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body.modal-open, body.gate-open { overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: var(--magenta); color: #fff; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--gold); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
button, input, textarea, select { max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg { flex-shrink: 0; }
main { min-height: 65vh; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin-bottom: 26px; font-size: clamp(72px, 8.6vw, 110px); line-height: .94; font-weight: 800; }
h2 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 22px; }
h3 { font-size: 27px; margin-bottom: 14px; }
h4 { font-size: 22px; margin-bottom: 10px; }
p { margin-bottom: 20px; }
small { font-size: 13px; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 8px; }
hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
blockquote { margin: 0; }
code { font-size: .9em; overflow-wrap: anywhere; }
.wrap { width: min(100% - 64px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 300; background: var(--gold); color: var(--black); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; margin-bottom: 23px; font: 600 11px/1.5 var(--action); text-transform: uppercase; letter-spacing: .18em; color: var(--coral); }
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
.gradient-text { color: var(--coral); background: var(--sunrise); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted { color: var(--muted); }
.accent { color: var(--coral); }
.gold { color: var(--gold); }
.lead { font-size: 19px; line-height: 1.7; color: #ceccd0; }
.small { font-size: 13px; }
.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; }

.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--line); background: var(--black); }
.site-header > .wrap, .site-header.wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; flex-shrink: 0; text-decoration: none; }
.brand img { width: 150px; max-height: 52px; object-fit: contain; }
.site-header nav, .nav-links, .main-nav { display: flex; align-items: center; gap: 27px; }
.site-header nav a, .nav-links a, .main-nav a { font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .16s; }
.site-header nav a[aria-current='page'], .site-header nav a.active { color: var(--coral); }
.site-header nav a:not(.btn):hover { color: var(--coral); }
.menu-toggle { display: none; background: none; color: var(--white); border: 1px solid var(--line); border-radius: 5px; min-width: 44px; min-height: 44px; padding: 9px; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 15px 23px; border: 1px solid transparent; border-radius: 5px; font: 600 12px/1.5 var(--action); letter-spacing: .015em; text-decoration: none; text-align: center; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #0d0d0d; background: var(--sunrise); border: 0; }
.btn-primary:hover { color: #0d0d0d; box-shadow: 0 6px 28px #ff007f26; }
.btn-ghost { background: transparent; color: var(--white); border-color: #5b565f; }
.btn-ghost:hover { color: var(--white); background: #ffffff0a; border-color: var(--coral); }
.btn-small { min-height: 42px; padding: 10px 17px; font-size: 11px; }
.btn-text { padding-left: 0; padding-right: 0; border-radius: 0; border-bottom-color: var(--coral); background: none; color: var(--white); }
.btn-danger { background: #4b1b29; border-color: #bb4a6a; color: #ffdae5; }
.button-row, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn svg, .btn .arrow { margin-left: 9px; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; min-height: 690px; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-bottom: 10px; }
.hero-copy > p { max-width: 515px; font-size: 17px; line-height: 1.75; color: #c0bdc4; }
.hero-copy h1 { max-width: 650px; }
.hero-copy .button-row, .hero-copy .actions { margin-top: 31px; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 29px; color: #a3a0a8; font-size: 11px; }
.hero-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-foot > span::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--coral); border-radius: 50%; }
.hero-art { position: relative; display: grid; place-items: center; min-width: 0; width: 100%; aspect-ratio: 1; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; z-index: -2; width: 94%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #ff007f77 0%, #ff4f4f38 38%, #ff66001f 55%, transparent 72%); filter: blur(22px); }
.hero-art::after { content: ''; position: absolute; z-index: -1; inset: 5%; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #ff007f 0%, #ff4f4f 45%, #ff6600 76%, #e15700 100%); box-shadow: 0 0 100px #ff007f13; }
.sigil { position: relative; z-index: 2; width: 73%; max-height: 390px; object-fit: contain; filter: drop-shadow(0 20px 30px #4d00152e); }
.orbit { position: absolute; z-index: -1; inset: -1%; border: 1px solid #ff77693d; border-radius: 50%; transform: rotate(-25deg); pointer-events: none; }
.orbit:nth-of-type(2) { inset: -7%; border-style: dashed; border-color: #ff77691c; }
.orbit:nth-of-type(3) { inset: 15% -9%; transform: rotate(-32deg); border-color: #ff776963; }
.orbit::before { content: ''; position: absolute; top: 19%; right: 8%; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px #ffcc0066; }
.art-label { position: absolute; z-index: 3; bottom: 4%; right: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: #f5f5f5b3; }
.hero-art .tag, .hero-art .pill { position: absolute; z-index: 3; bottom: 12%; left: -2%; background: #0d0d0de6; color: var(--white); border-color: #f5f5f547; }
.ticker { position: relative; display: flex; justify-content: center; align-items: center; gap: 35px; padding: 19px 24px; overflow: hidden; border-top: 1px solid #ff4f4f42; border-bottom: 1px solid #ff4f4f42; color: #f5f5f5c9; background: #ff007f07; font: 500 12px/1.5 var(--action); letter-spacing: .09em; text-transform: uppercase; }
.ticker span { flex: 0 0 auto; }
.ticker i, .ticker .star { color: var(--coral); font-style: normal; font-size: 20px; }

.section { padding-block: 98px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 42px; }
.section-head > div { min-width: 0; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }
.section-head > p { max-width: 370px; margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.section-head .eyebrow { margin-bottom: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.feature { position: relative; min-width: 0; padding: 27px 0 8px; border-top: 1px solid #5d5359; }
.feature-no { display: block; margin-bottom: 45px; color: var(--coral); font: 500 12px var(--action); }
.feature h3 { margin-bottom: 14px; font-size: 27px; }
.feature p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.feature a { font-size: 12px; font-weight: 600; text-decoration-color: var(--coral); }
.feature .tag { margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
.split > * { min-width: 0; }
.split p { color: #c2bfc6; }
.manifesto { position: relative; padding: 58px; border: 1px solid #ff4f4f3d; background: radial-gradient(ellipse at top right, #ff007f17, transparent 70%), #151214; }
.manifesto::before { content: '“'; position: absolute; top: 9px; left: 24px; color: #ff4f4f55; font: 700 115px/1 var(--heading); }
.manifesto p { position: relative; font: 600 clamp(24px, 3vw, 38px)/1.3 var(--heading); letter-spacing: -.02em; color: var(--white); }
.manifesto p:last-child { margin-bottom: 0; }
.manifesto small { display: block; color: var(--coral); margin-top: 28px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.join-band { position: relative; padding: 66px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--sunrise); color: var(--black); border-radius: 2px; }
.join-band h2 { margin-bottom: 12px; max-width: 690px; font-size: clamp(40px, 5vw, 70px); }
.join-band p { max-width: 620px; margin-bottom: 0; font-size: 14px; color: #1d0710; }
.join-band .btn { flex-shrink: 0; background: var(--black); color: var(--white); border-color: var(--black); }
.join-band .btn:hover { background: #282025; }
.join-band .eyebrow { color: #401020; }
.join-band form { width: min(100%, 420px); }

.page-intro { padding-top: 76px; padding-bottom: 47px; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.page-intro h1 { font-size: clamp(54px, 6.4vw, 84px); margin-bottom: 20px; line-height: .98; max-width: 900px; }
.page-intro p { max-width: 660px; color: #bcb8c2; font-size: 16px; }
.page-intro .eyebrow { margin-bottom: 22px; }
.page-intro .tag { margin-top: 10px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; align-items: start; margin-bottom: 70px; }
.layout > * { min-width: 0; }
.layout > aside { position: sticky; top: 28px; }
.panel { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 33px; }
.panel h3 { font-size: 25px; }
.panel p { font-size: 14px; }
.panel .eyebrow { margin-bottom: 16px; }
.panel > :last-child { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.stack > .panel + .panel { margin-top: 0; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.row > * { min-width: 0; }
.row > p { margin-bottom: 0; }
.tag, .pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; padding: 5px 10px; border: 1px solid #63434f; border-radius: 4px; background: #ff007f0d; color: #ffb3cc; font: 500 10px/1.5 var(--body); letter-spacing: .02em; }
.pill { border-radius: 999px; }
.tag-planned, .tag-neutral, .pill-neutral { color: #c7c1cd; background: #ffffff05; border-color: #49444f; }
.tag-live, .pill-live { color: #c3e881; background: #87c01a0c; border-color: #516a2b; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.app-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.app-nav a { padding: 8px 11px; text-decoration: none; border-radius: 4px; color: #c5c0ca; }
.app-nav a.active, .app-nav a[aria-current='page'] { color: var(--coral); background: #ff4f4f10; }
.app-nav a:hover { color: var(--white); background: var(--surface-raised); }
.app-nav .btn { margin-left: auto; }

.feed { display: grid; gap: 18px; }
.post { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.post-head > div { min-width: 0; }
.post-head strong { display: block; font-size: 14px; }
.post-head small { color: var(--muted); font-size: 11px; }
.post-head .tag { margin-left: auto; }
.avatar { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #ffcedf; background: #3f2030; font: 600 16px var(--heading); border: 1px solid #75415a; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.post h3 { font-size: 29px; margin-bottom: 12px; }
.post p { font-size: 14px; color: #d0cbd4; white-space: pre-line; }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.post-actions button, .post-actions a { border: 0; background: none; color: #bdb6c5; font-size: 12px; padding: 6px 0; text-decoration: none; }
.post-actions button:hover, .post-actions a:hover, .post-actions button.active { color: var(--coral); }
.comment { padding: 16px 0; border-top: 1px solid var(--line); }
.comment p { margin-bottom: 6px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full, .form-grid > .full { grid-column: 1 / -1; }
.field > label, .field > span:first-child { font-size: 12px; font-weight: 600; color: #e0dce5; }
.field input, .field textarea, .field select, input.form-input, textarea.form-input, select.form-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #544c5b; border-radius: 5px; background: #0f0e11; color: var(--white); font-size: 14px; transition: border-color .18s; }
.field input::placeholder, .field textarea::placeholder { color: #8e8596; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 126px; }
.field input[type='checkbox'], .field input[type='radio'] { width: 18px; min-height: 18px; padding: 0; flex-shrink: 0; accent-color: var(--magenta); }
.field small { color: var(--muted); font-size: 11px; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin-block: 17px; font-size: 12px; color: #bfb8c7; }
.check-row input { width: 17px; height: 17px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--magenta); }
.check-row label { min-width: 0; }
.check-row a { color: #f3edf7; }
form .button-row { margin-top: 25px; }
.inline-form { display: flex; gap: 10px; }
.inline-form .field { flex: 1; }
.inline-form .btn { align-self: flex-end; }
.notice, .empty, .error, .success { padding: 19px 21px; border-radius: 7px; border: 1px solid #57404b; background: #291a22; color: #e5cbd8; font-size: 13px; line-height: 1.7; }
.notice a { color: var(--white); }
.notice > :last-child, .empty > :last-child, .error > :last-child, .success > :last-child { margin-bottom: 0; }
.notice + .panel, .notice + form, .notice + .feed { margin-top: 22px; }
.empty { text-align: center; padding: 50px 27px; background: #161418; border: 1px dashed #514851; color: #b4a9ba; }
.empty h3 { color: var(--white); }
.empty .btn { margin-top: 10px; }
.error { border-color: #98435b; background: #351923; color: #ffc6d5; }
.success { border-color: #536d31; background: #1d2918; color: #d2eab4; }
.status-message:empty { display: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip, .tabs button, .tabs a { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: 9px 15px; border: 1px solid #423a47; border-radius: 5px; background: transparent; color: #b9afc2; text-decoration: none; font-size: 12px; }
.chip.active, .tabs .active, .tabs [aria-selected='true'] { border-color: var(--coral); background: #ff4f4f13; color: #ffaca0; }
.chip:hover, .tabs button:hover, .tabs a:hover { border-color: #9a6477; color: var(--white); }
.battle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.slogan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(ellipse at 100% 0%, #ff007f0b, transparent 60%), var(--surface); }
.slogan-text { margin-block: 30px; font: 700 33px/1.12 var(--heading); letter-spacing: -.03em; overflow-wrap: anywhere; }
.slogan-card > .row:last-child { margin-top: auto; }
.slogan-card small { color: var(--muted); font-size: 11px; }
.slogan-card .btn { min-height: 39px; padding: 9px 15px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-block: 25px; }
.metric { padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; }
.metric strong, .metric .value { display: block; font: 700 43px/1 var(--heading); color: var(--white); margin-bottom: 11px; }
.metric span, .metric small { color: var(--muted); font-size: 11px; }
.meter { position: relative; width: 100%; height: 7px; background: #3b303e; border-radius: 100px; overflow: hidden; margin-block: 16px 12px; }
.meter-fill { height: 100%; background: var(--sunrise); border-radius: inherit; max-width: 100%; transition: width .5s ease; }
.meter-label { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; color: var(--muted); }
.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.region { padding: 25px; border-top: 1px solid #684a57; background: linear-gradient(145deg, #ff007f06, transparent); }
.region h3 { font-size: 25px; }
.region strong { display: block; font: 700 40px var(--heading); color: var(--coral); }
.region p { color: var(--muted); font-size: 13px; }
.map-panel { min-height: 330px; display: grid; place-items: center; text-align: center; background: radial-gradient(ellipse at center, #ff007f12, transparent 65%), repeating-linear-gradient(0deg, transparent, transparent 39px, #ffffff05 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, #ffffff05 40px), var(--surface); }

.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.art-preview { display: grid; place-items: center; min-height: 340px; padding: 40px; border: 1px solid #674654; border-radius: 12px; background: radial-gradient(circle at 40% 25%, #ff007f, #ff4f4f 50%, #ff6600 100%); color: #fff; text-align: center; }
.art-preview img { max-height: 260px; width: min(100%, 300px); object-fit: contain; }
.art-preview h3 { font-size: 45px; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.product { min-width: 0; }
.product-visual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.1; background: linear-gradient(145deg, #39202b, #20191d); border: 1px solid #553742; border-radius: 8px; margin-bottom: 22px; overflow: hidden; padding: 36px; }
.product:nth-child(2n) .product-visual { background: linear-gradient(145deg, #3a241e, #211918); border-color: #5d4339; }
.product-visual img { max-height: 160px; width: min(100%, 170px); object-fit: contain; }
.product-visual .tag { position: absolute; bottom: 16px; left: 16px; background: #0d0d0dcc; }
.product-visual > span:not(.tag) { color: #ffd0df; font: 700 34px/1.1 var(--heading); text-align: center; }
.product h3 { font-size: 27px; margin-bottom: 10px; }
.product p { color: var(--muted); font-size: 13px; }
.product .row { align-items: flex-start; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.timeline-item { position: relative; min-width: 0; padding: 29px 0 0; border-top: 2px solid #493741; }
.timeline-item::before { content: ''; position: absolute; width: 9px; height: 9px; top: -5px; left: 0; border-radius: 50%; background: #957585; }
.timeline-item.active { border-top-color: var(--coral); }
.timeline-item.active::before { background: var(--coral); }
.timeline-item p, .timeline-item li { font-size: 13px; color: var(--muted); }
.timeline-item h3 { font-size: 29px; }
.timeline-item .eyebrow { margin-bottom: 18px; }

.prose { max-width: 780px; padding-bottom: 70px; overflow-wrap: anywhere; }
.prose h2 { font-size: 34px; margin-top: 46px; }
.prose h3 { font-size: 26px; margin-top: 30px; }
.prose p, .prose li { color: #c8c1d0; font-size: 15px; line-height: 1.85; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: #ffadbd; }
.prose .notice { margin-block: 24px; }
.prose .notice p { font-size: 13px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font: 600 22px var(--heading); }
details p { padding-top: 16px; color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 13px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { color: var(--white); font-weight: 600; }
td { color: #beb5c7; }

dialog { width: min(100% - 36px, 560px); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #775464; border-radius: 12px; background: #181419; color: var(--white); padding: 32px; box-shadow: 0 30px 100px #0009; }
dialog::backdrop { background: #080609d9; backdrop-filter: blur(7px); }
dialog h2 { font-size: 38px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modal-close, .close { min-width: 40px; min-height: 40px; padding: 5px 10px; border: 1px solid #66556b; background: transparent; color: var(--white); border-radius: 5px; font-size: 22px; line-height: 1; }
.modal { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 24px; background: #080609de; }
.modal > .panel { width: min(100%, 600px); max-height: 90dvh; overflow-y: auto; }
.toast { position: fixed; z-index: 220; bottom: 24px; left: 50%; transform: translate(-50%, 22px); width: max-content; max-width: calc(100% - 32px); border: 1px solid var(--coral); border-radius: 8px; background: #24151eeF; color: var(--white); padding: 14px 22px; font-size: 13px; box-shadow: 0 10px 45px #0008; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show, .toast.visible { opacity: 1; transform: translate(-50%, 0); }
.gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 28px; background: radial-gradient(ellipse at 65% 20%, #ff007f1a, transparent 58%), #09080bf5; backdrop-filter: blur(12px); }
.gate-card { position: relative; width: min(100%, 590px); margin: auto; padding: 45px; border: 1px solid #6b3e50; border-radius: 14px; background: radial-gradient(ellipse at 100% 0%, #ff007f14, transparent 55%), #181318; box-shadow: 0 40px 160px #0008; }
.gate-card > img { max-width: 145px; max-height: 55px; margin-bottom: 35px; object-fit: contain; }
.gate-card h1, .gate-card h2 { font-size: clamp(37px, 5vw, 55px); line-height: 1; margin-bottom: 22px; }
.gate-card p { font-size: 14px; color: #c7bbcC; }
.gate-card .eyebrow { margin-bottom: 18px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.gate-actions .btn { flex: 1; }
.gate-progress { display: flex; gap: 7px; margin-block: 25px; }
.gate-progress span { height: 3px; background: #52404b; flex: 1; }
.gate-progress .active { background: var(--sunrise); }
.gate-options { display: grid; gap: 11px; margin-top: 25px; }
.gate-options button { width: 100%; text-align: left; min-height: 53px; padding: 16px; border: 1px solid #634153; border-radius: 6px; background: #241a23; color: var(--white); font-size: 13px; }
.gate-options button:hover { border-color: var(--coral); background: #361d2a; }

.site-footer { margin-top: 25px; padding-top: 65px; padding-bottom: 24px; border-top: 1px solid var(--line); background: #090909; }
.footer-grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1fr; gap: 35px; margin-bottom: 55px; }
.footer-grid > div { min-width: 0; }
.footer-grid .brand { margin-bottom: 25px; }
.footer-grid .brand img { width: 150px; }
.footer-grid p { max-width: 300px; color: #99929f; font-size: 12px; }
.footer-grid h3, .footer-grid h4 { color: #d9d0df; font: 600 11px/1.5 var(--action); letter-spacing: .07em; margin-bottom: 20px; }
.footer-grid a:not(.brand) { display: block; width: fit-content; margin-bottom: 10px; color: #a79dad; font-size: 12px; text-decoration: none; }
.footer-grid a:hover { color: var(--coral); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-top: 23px; border-top: 1px solid #29242c; font-size: 10px; color: #a098a6; }
.footer-bottom p { margin: 0; }
.footer-bottom .salute { color: #d6c9df; }

@media (min-width: 1440px) {
  .hero { min-height: 740px; }
  .hero-art { max-width: 565px; margin-left: auto; }
}
@media (max-width: 1100px) {
  .site-header nav, .nav-links, .main-nav { gap: 17px; }
  .site-header nav a { font-size: 12px; }
  .hero { min-height: 610px; gap: 25px; }
  .hero h1 { font-size: 87px; }
  .hero-art .sigil { max-height: 330px; }
  .feature-grid { gap: 22px; }
  .feature h3 { font-size: 25px; }
  .split { gap: 42px; }
  .join-band { padding: 45px; }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 24px; }
}
@media (max-width: 850px) {
  .wrap { width: min(100% - 40px, 1280px); }
  .site-header > .wrap, .site-header.wrap { min-height: 78px; gap: 15px; }
  .brand img { width: 135px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header nav, .site-header .nav-links, .site-header .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px 20px; background: #141115; border-bottom: 1px solid #6b3e50; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 20px 30px #0005; }
  .site-header nav.open, .site-header nav.is-open, .site-header .nav-links.open, .site-header .main-nav.open, .site-header.nav-open nav, .nav-open .site-header nav, .site-header:has(.menu-toggle[aria-expanded='true']) nav { display: flex; }
  .site-header nav a, .site-header .nav-links a, .site-header .main-nav a { padding: 13px 8px; font-size: 14px; }
  .site-header nav .btn { margin-top: 9px; }
  .header-actions { gap: 9px; }
  .header-actions .btn { min-height: 40px; padding: 9px 12px; font-size: 10px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 565px; gap: 15px; padding-top: 45px; padding-bottom: 55px; }
  .hero h1 { font-size: 72px; }
  .hero-copy > p { font-size: 14px; }
  .hero-copy .button-row { gap: 10px; }
  .hero .btn { padding: 13px 16px; font-size: 11px; min-height: 47px; }
  .hero-foot { gap: 9px 15px; font-size: 10px; }
  .section { padding-block: 70px; }
  .section-head { gap: 25px; margin-bottom: 33px; }
  .section-head > p { max-width: 280px; font-size: 13px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .feature-no { margin-bottom: 30px; }
  .split { gap: 30px; }
  .manifesto { padding: 40px 30px; }
  .join-band { padding: 36px; gap: 28px; }
  .join-band h2 { font-size: 44px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout > aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .layout > aside > .panel { margin: 0; }
  .layout > aside.stack { display: grid; }
  .region-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid p { max-width: 440px; }
  .timeline { gap: 23px; }
  .timeline h3 { font-size: 25px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 30px; }
  body { font-size: 14px; }
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 66px; }
  h2 { font-size: 39px; }
  h3 { font-size: 27px; }
  .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 20px; }
  .site-header > .wrap, .site-header.wrap { min-height: 73px; }
  .brand img { width: 124px; max-height: 43px; }
  .header-actions .btn-ghost { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-top: 48px; padding-bottom: 45px; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy h1 { max-width: 380px; font-size: clamp(66px, 15.7vw, 88px); line-height: .94; margin-bottom: 24px; }
  .hero-copy > p { font-size: 15px; max-width: 430px; }
  .hero-copy .button-row, .hero-copy .actions { margin-top: 25px; }
  .hero .btn { min-height: 49px; padding: 13px 19px; }
  .hero-foot { margin-top: 23px; gap: 8px 17px; }
  .hero-art { width: min(80%, 370px); margin: 25px auto 16px; }
  .hero-art .sigil { max-height: 255px; }
  .art-label { font-size: 8px; }
  .hero-art .tag, .hero-art .pill { font-size: 9px; padding: 5px 8px; }
  .ticker { gap: 24px; justify-content: flex-start; padding: 16px 20px; font-size: 10px; }
  .section { padding-block: 56px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2 { margin-bottom: 19px; max-width: 420px; }
  .section-head > p { max-width: 420px; font-size: 13px; }
  .feature-grid { gap: 25px 22px; }
  .feature { padding-top: 20px; }
  .feature-no { margin-bottom: 25px; font-size: 10px; }
  .feature h3 { font-size: 26px; }
  .feature p { font-size: 12px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split > div > p { font-size: 14px; }
  .manifesto { padding: 43px 27px 32px; }
  .manifesto p { font-size: 28px; }
  .join-band { flex-direction: column; align-items: flex-start; padding: 33px 26px; gap: 26px; }
  .join-band h2 { font-size: 44px; }
  .join-band p { font-size: 13px; }
  .join-band .btn { min-height: 49px; }
  .page-intro { padding-top: 48px; padding-bottom: 30px; margin-bottom: 28px; }
  .page-intro h1 { font-size: clamp(48px, 11.5vw, 65px); }
  .page-intro p { font-size: 14px; }
  .layout { gap: 22px; margin-bottom: 45px; }
  .layout > aside, .layout > aside.stack { grid-template-columns: 1fr; }
  .panel { padding: 23px; border-radius: 9px; }
  .panel h2 { font-size: 31px; }
  .panel h3 { font-size: 26px; }
  .panel p { font-size: 13px; }
  .post { padding: 22px; border-radius: 9px; }
  .post h3 { font-size: 28px; }
  .post p { font-size: 13px; }
  .post-head { gap: 9px; flex-wrap: wrap; }
  .post-head .tag { margin-left: 0; }
  .avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { align-self: stretch; }
  .notice, .error, .success { padding: 16px; font-size: 12px; }
  .empty { padding: 35px 22px; }
  .tabs { gap: 7px; margin-bottom: 23px; }
  .chip, .tabs button, .tabs a { min-height: 38px; font-size: 11px; padding: 8px 12px; }
  .battle-grid { grid-template-columns: 1fr; }
  .slogan-card { padding: 24px; }
  .slogan-text { font-size: 33px; margin-block: 25px; }
  .metric-grid { gap: 12px; }
  .metric { padding: 19px; }
  .metric strong, .metric .value { font-size: 38px; }
  .metric span, .metric small { font-size: 10px; }
  .region-grid { gap: 16px; }
  .region { padding: 20px 14px; }
  .region h3 { font-size: 24px; }
  .region p { font-size: 12px; }
  .studio-grid { grid-template-columns: 1fr; gap: 22px; }
  .art-preview { min-height: 290px; padding: 35px; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-visual { aspect-ratio: 1.3; margin-bottom: 20px; }
  .product-visual img { max-height: 150px; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline-item { padding-top: 23px; }
  .timeline h3 { font-size: 29px; }
  .prose { padding-bottom: 45px; }
  .prose h2 { font-size: 30px; margin-top: 35px; }
  .prose p, .prose li { font-size: 14px; }
  .app-nav { gap: 4px; font-size: 11px; }
  .app-nav a { padding: 8px; }
  .app-nav .btn { margin-left: 0; }
  dialog { padding: 26px 23px; }
  dialog h2 { font-size: 34px; }
  .gate { padding: 20px; }
  .gate-card { padding: 30px 24px; border-radius: 10px; }
  .gate-card > img { margin-bottom: 28px; max-width: 130px; }
  .gate-card p { font-size: 13px; }
  .gate-actions { flex-direction: column; }
  .gate-actions .btn { width: 100%; }
  .gate-options button { font-size: 12px; }
  .toast { bottom: 18px; padding: 13px 17px; font-size: 12px; }
  .site-footer { padding-top: 43px; margin-top: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 22px; margin-bottom: 35px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-grid .brand { margin-bottom: 18px; }
  .footer-grid h3, .footer-grid h4 { font-size: 10px; margin-bottom: 15px; }
  .footer-grid a:not(.brand) { font-size: 11px; }
  .footer-bottom { align-items: flex-start; gap: 12px; font-size: 9px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .header-actions .btn { padding: 8px; font-size: 9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-no { margin-bottom: 17px; }
  .hero-copy h1 { font-size: 63px; }
  .hero .button-row, .hero .actions { flex-direction: column; align-items: stretch; }
  .hero-art { width: 83%; }
  .region-grid { grid-template-columns: 1fr; }
  .panel, .post, .slogan-card { padding: 20px; }
  .gate { padding: 14px; }
  .gate-card { padding: 27px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:hover { transform: none; }
}
@media print {
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .gate, .toast, .app-nav, .menu-toggle { display: none !important; }
  .wrap { width: 100%; }
  .page-intro { padding-top: 0; }
  .prose p, .prose li, .muted { color: #222; }
  .panel { border-color: #aaa; background: transparent; }
}
/* Layout integration and finishing details. */
main { overflow-x: clip; }
.hero { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); }
.hero-art { overflow: clip; }
.feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
a.feature { text-decoration:none; }
.section-head { display:grid;grid-template-columns:1.5fr 1fr; }
.section-head>.eyebrow { grid-column:1/-1;margin-bottom:0; }
.section-head>h2 { max-width:800px; }
.section-head>p { margin:0; }
.toast:not([hidden]) { opacity:1;transform:translate(-50%,0); }
.ruler-visual { background:#ffcc00;color:#0d0d0d;padding:22px 16px;border-radius:8px;transform:rotate(-7deg);width:100%;font:700 15px Montserrat;box-shadow:0 15px 40px #0006; }
.ruler-visual>div,.ruler-visual>p { font:600 clamp(11px,1.1vw,16px)/2 Inter;letter-spacing:.02em;white-space:nowrap;color:#0d0d0d; }
.ruler-visual small { color:#282000;font:500 10px Inter; }
.ruler-teaser { padding:70px 35px;text-decoration:none; }
.ruler-teaser>p { margin:38px 0 0; }
.post-body { white-space:pre-wrap;overflow-wrap:anywhere; }
.join-band .wrap { width:min(100%,1280px); }
.join-band .check-row,.join-band .small { color:#1b070f; }
.join-band .field { color:#19070e; }
body[data-vibe="safe"] .cheek-only,body[data-vibe="cheeky"] .subtle-only { display:none; }
@media(max-width:760px){.feature-grid,.section-head{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-art{max-width:500px;margin:auto}.ruler-teaser{padding:60px 24px}.section-head{gap:20px}.join-band{padding:40px 24px}.feature-no{margin-bottom:22px}.ruler-visual>div,.ruler-visual>p{font-size:11px}}
@media(min-width:761px){.gate-card{width:min(100%,680px);padding:30px 40px}.gate-card>img{margin-bottom:20px}.gate-card h2{font-size:42px}.gate-card .stack{gap:12px}.gate-card .gate-actions{margin-top:8px}.gate-card .field{gap:6px}.gate-card p{margin-bottom:14px}.gate-card .eyebrow{margin-bottom:15px}}
.cheek-only {display:none}body[data-vibe="cheeky"] .cheek-only{display:inline}

.pf-parent{display:flex;justify-content:flex-end;padding-top:22px;padding-bottom:8px}.pf-parent a{display:inline-flex;align-items:flex-end;gap:8px;color:#fff;font-size:11px}.pf-parent img{width:115px;height:auto;display:block}.pf-parent a:focus-visible{outline:2px solid #fff;outline-offset:5px}

/* Sunrise motion: brief, optional, and built around the existing mark. */
@media (prefers-reduced-motion: no-preference) {
 @view-transition { navigation: auto; }
 ::view-transition-old(root) { animation: signal-out 180ms ease-in both; }
 ::view-transition-new(root) { animation: signal-in 240ms ease-out both; }
 body:not(.gate-open) .hero-copy > .eyebrow,
 body:not(.gate-open) .hero-copy > h1,
 body:not(.gate-open) .hero-copy > p,
 body:not(.gate-open) .hero-copy > .button-row { animation: rise-reveal 600ms cubic-bezier(.2,.7,.2,1) both; }
 body:not(.gate-open) .hero-copy > h1 { animation-delay: 45ms; }
 body:not(.gate-open) .hero-copy > p { animation-delay: 90ms; }
 body:not(.gate-open) .hero-copy > .button-row { animation-delay: 135ms; }
 body:not(.gate-open) .sigil { animation: mark-rise 850ms cubic-bezier(.2,.7,.2,1) both; }
 body:not(.gate-open) .orbit { animation: sunrise-orbit 1200ms ease-out both; }
 .rise-in { animation: rise-reveal 520ms ease-out both; }
 .gate:not([hidden]) .gate-card, dialog[open] { animation: rise-reveal 220ms ease-out both; }
 a.feature { transition: border-color 180ms, transform 180ms; }
 a.feature:hover, a.feature:focus-visible { transform: translateY(-4px); border-color: var(--coral); }
 a.feature > span:last-child { display: inline-block; transition: transform 180ms; }
 a.feature:hover > span:last-child, a.feature:focus-visible > span:last-child { transform: translate(4px,-4px); }
 .btn:active { transform: translateY(0) scale(.98); }
 .menu-toggle span { transition: transform 180ms, opacity 180ms; }
 .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
 .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
 .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
 @keyframes rise-reveal { from { opacity:.4; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
 @keyframes mark-rise { from { opacity:.35; transform:translateY(18px) rotate(-5deg) scale(.96); } to { opacity:1; transform:none; } }
 @keyframes sunrise-orbit { from { opacity:.15; rotate:-14deg; } to { opacity:1; rotate:0deg; } }
 @keyframes signal-out { to { opacity:0; } }
 @keyframes signal-in { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
}
@media (prefers-reduced-motion: reduce) {
 @view-transition { navigation: none; }
 ::view-transition-old(root), ::view-transition-new(root) { animation:none; }
}
.spark-actions { gap:12px; }
.spark-actions .btn { flex:1 1 auto; }
#spark-status { min-height:2.8em; margin-bottom:0; }

body[data-page="/vibecheck"] .site-header, body[data-page="/vibecheck"] .site-footer { display:none; }
.vibe-shell { width:min(680px,calc(100% - 32px));margin:0 auto;padding:24px 0 40px;min-height:100svh; }
.vibe-top { display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px; }
.vibe-top img { width:48px;height:48px;object-fit:contain; }
.vibe-card { border-top:3px solid var(--coral);padding:clamp(24px,5vw,48px);background:radial-gradient(circle at 100% 0,#ff007f16,transparent 70%),var(--surface); }
.vibe-card h1 { font-size:clamp(40px,7vw,64px);margin-bottom:14px; }
.vibe-card h2 { font-size:clamp(26px,5vw,36px);line-height:1.15; }
.vibe-card section { margin-top:32px; }
.vibe-card section:focus { outline:none; }
.vibe-card .btn { text-align:left;justify-content:flex-start;white-space:normal; }
.vibe-card .meter { height:5px;margin-top:18px; }
.vibe-card .vibe-reveal-logo { width:min(100%,320px);height:auto;display:block;margin:0 auto 32px; }
.vibe-privacy { margin:24px 8px 0;line-height:1.6; }
.share-card-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,6vw,90px);align-items:start; }
.qr-card-preview { width:min(100%,440px);height:auto;display:block;margin:auto;border:1px solid var(--line);border-radius:18px; }
@media(max-width:760px){.share-card-grid{grid-template-columns:1fr}.share-card-grid>div:first-child{order:2}.vibe-shell{padding-top:16px}.vibe-top{margin-bottom:20px}}

#install-dialog{width:min(600px,calc(100% - 32px));padding:clamp(24px,5vw,40px);border:1px solid var(--coral);border-radius:12px;background:#19151b;color:var(--white)}#install-dialog::backdrop{background:#000b}#install-dialog h2{margin-top:28px;font-size:38px}#install-dialog p{font-size:15px}#install-dialog>button:first-child{float:right}.footer-bottom{flex-wrap:wrap}
