/* WicksiTech — site styles
   Palette comes from the logo: deep navy-black with cream gold.
   WicksiTech Media uses a cool cyan accent so it reads as its own division. */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --bg: #050b14;
  --bg-raise: #0a1320;
  --surface: #0d1826;
  --surface-2: #122033;
  --line: rgba(240, 229, 176, 0.14);
  --line-strong: rgba(240, 229, 176, 0.32);
  --gold: #f0e5b0;
  --gold-deep: #d8b85a;
  --text: #e8e6de;
  --muted: #9ba6b6;
  --media: #6fd8ea;
  --media-deep: #2aa9c4;
  --live: #7fe0a0;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 620px at 50% -120px, rgba(240, 229, 176, 0.075), transparent 70%),
    radial-gradient(900px 600px at 105% 30%, rgba(42, 169, 196, 0.06), transparent 70%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: #fff7cf; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: 0.02em; margin: 0 0 0.5em; color: #fbf7e4; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #10141c; }

.container { width: min(1180px, 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #10141c; padding: 0.6em 1em; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1rem; }
.eyebrow-media { color: var(--media); }
.eyebrow .tag { display: inline-block; background: var(--media); color: #04222b; padding: 0.15em 0.7em 0.1em; border-radius: 999px; letter-spacing: 0.16em; font-weight: 600; margin-right: 0.6em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #cfd3da; max-width: 46em; }
.lead-sm { font-size: 1.15rem; color: #f3efdd; }
.statement { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.5; color: #f5f0d8; margin-bottom: 1.6rem; text-wrap: balance; }
.prose p { color: #cfd3da; font-size: 1.12rem; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.85em 1.5em; border-radius: 999px;
  font: 500 0.95rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #f6ecbd, #dcc170); color: #17140a; box-shadow: 0 10px 30px -12px rgba(240, 229, 176, 0.55); }
.btn-primary:hover { color: #17140a; background: linear-gradient(180deg, #fff7d0, #e6cc7e); }
.btn-ghost { border-color: var(--line-strong); color: var(--gold); background: rgba(240, 229, 176, 0.03); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(240, 229, 176, 0.09); }
.btn-media { border-color: rgba(111, 216, 234, 0.45); color: var(--media); background: rgba(111, 216, 234, 0.05); }
.btn-media:hover { border-color: var(--media); color: #d9f7fc; background: rgba(111, 216, 234, 0.12); }
.btn-media-solid { background: linear-gradient(180deg, #8ae4f2, #3fb9d1); color: #04222b; box-shadow: 0 10px 30px -12px rgba(111, 216, 234, 0.6); }
.btn-media-solid:hover { color: #04222b; background: linear-gradient(180deg, #a5eefa, #52c8de); }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.center .actions, .center > .btn { justify-content: center; }

.chip { display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45em 1em 0.4em; margin: 0 0 1rem; background: rgba(5, 11, 20, 0.55); }
.chip-live { color: var(--live); border-color: rgba(127, 224, 160, 0.4); }
.chip-media { color: var(--media); border-color: rgba(111, 216, 234, 0.4); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 224, 160, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(127, 224, 160, 0); } }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.1rem auto 0; width: min(280px, 60%); color: var(--gold-deep); }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, currentColor); opacity: 0.7; }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid currentColor; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 11, 20, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 11, 20, 0.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--gold); }
.brand img { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--body); text-transform: uppercase; }
.brand-word b { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.2em; }
.brand-word i { font-style: normal; font-weight: 400; font-size: 0.68rem; letter-spacing: 0.62em; margin-top: 0.35em; opacity: 0.85; }
.site-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); margin: 0; padding: 0; }
.site-nav a { position: relative; display: block; padding: 0.5rem 0; color: #d7d9dd; text-decoration: none; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.nav-media { color: var(--media); }
.site-nav a.nav-media:hover, .site-nav a.nav-media[aria-current="page"] { color: #c9f4fb; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--gold); cursor: pointer; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 860px); display: flex; align-items: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 12em; background: linear-gradient(180deg, #fffbe6 20%, #e3cc85); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34em; margin-top: 1.2rem; }
.hero-art { position: absolute; inset: 0; pointer-events: none; color: var(--gold); }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); }
.gear { position: absolute; right: max(-140px, -12vw); top: 50%; width: min(820px, 96vw); translate: 0 -50%; opacity: 0.24; filter: drop-shadow(0 0 30px rgba(240, 229, 176, 0.25)); }
.gear-ring, .gear-wheel { transform-origin: 300px 300px; }
.gear-wheel { animation: spin 140s linear infinite; }
.gear-ring { animation: spin 220s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section-head { text-align: center; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-intro { text-align: center; color: var(--muted); max-width: 40em; margin: -1.5rem auto 2.5rem; }
.stack > * + * { margin-top: clamp(3rem, 7vw, 5.5rem); }
.stack > .section-head { margin-bottom: 0; }

.page-hero { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.page-hero .lead { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }

/* featured project */
.feature { position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); min-height: clamp(380px, 46vw, 500px); display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; transition: transform 1.2s ease; }
.feature:hover .feature-bg { transform: scale(1.04); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.78) 42%, rgba(5, 11, 20, 0.1) 80%), linear-gradient(0deg, rgba(5, 11, 20, 0.85), transparent 55%); }
.feature-body { padding: clamp(1.5rem, 4vw, 3rem); max-width: 620px; }
.feature-body h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 0.2em; }
.feature-kind { color: var(--gold-deep); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; font-weight: 500; }
.feature-body > p:not(.chip):not(.feature-kind) { color: #d5d8de; }
.feature .actions { margin-top: 1.4rem; }

/* emblem cards */
.emblem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); margin-top: clamp(1rem, 2.4vw, 1.75rem); }
.emblem-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); color: var(--text); text-decoration: none; overflow: hidden; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.emblem-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 60%; background: radial-gradient(60% 80% at 50% 20%, rgba(240, 229, 176, 0.1), transparent 70%); opacity: 0; transition: opacity 0.4s; }
.emblem-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.emblem-card:hover::before { opacity: 1; }
.emblem { position: relative; width: min(220px, 70%); aspect-ratio: 1; margin-bottom: 1.5rem; display: grid; place-items: center; }
.emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.emblem-card:hover .emblem img { transform: scale(1.06) rotate(2deg); }
.emblem-card h3 { margin-bottom: 0.25em; }
.emblem-card p { color: var(--muted); margin-bottom: 1.2rem; }
.more { display: inline-flex; align-items: center; gap: 0.5em; margin-top: auto; color: var(--gold); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.more svg { width: 16px; height: 16px; transition: transform 0.25s; }
a:hover .more svg { transform: translateX(4px); }

/* media band (home) */
.media-band { background: linear-gradient(180deg, transparent, rgba(42, 169, 196, 0.07) 30%, rgba(42, 169, 196, 0.07) 70%, transparent); }
.media-band-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-band-copy p { color: #cfd3da; max-width: 34em; }
.media-band-copy .btn { margin-top: 0.8rem; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid rgba(111, 216, 234, 0.35); background: radial-gradient(120% 120% at 20% 10%, rgba(111, 216, 234, 0.22), transparent 55%), radial-gradient(100% 120% at 90% 90%, rgba(240, 229, 176, 0.14), transparent 55%), #071019; box-shadow: 0 30px 80px -30px rgba(42, 169, 196, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.6); overflow: hidden; }
.screen::before, .screen::after { content: ""; position: absolute; left: 0; right: 0; height: 11%; background: #03070d; }
.screen::before { top: 0; } .screen::after { bottom: 0; }
.screen-inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.9rem; color: var(--media); font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; }
.screen-inner svg { width: 64px; height: 64px; stroke-width: 1; }

.section-cta .statement { margin-top: 1.5rem; }

/* split rows (about) */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.split-flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.split-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: var(--radius); z-index: -1; }
.split-flip .split-media::after { inset: 14px 14px -14px -14px; }
.split-body p { color: #cfd3da; }

/* project details (about) */
.details { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.detail { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); scroll-margin-top: calc(var(--header-h) + 20px); }
.detail:target { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep), var(--shadow); }
.detail-art { align-self: center; }
.detail-emblem { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.detail-wide { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }
.detail h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 0.2em; }
.detail dl { margin: 1.25rem 0 0; }
.detail dt { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.3em; }
.detail dd { margin: 0 0 1.3em; color: #cfd3da; }
.detail .btn { margin-top: 0.2rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.member { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s; }
.member:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.92); }
.member-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.member-body .eyebrow { margin-bottom: 0.5rem; font-size: 0.72rem; }
.member-body p { color: #c3c8d1; font-size: 0.98rem; line-height: 1.65; }
.member-link { display: inline-flex; align-items: center; gap: 0.5em; margin-top: auto; text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.member-link svg { width: 16px; height: 16px; }

/* join us */
.join { background: linear-gradient(180deg, transparent, rgba(240, 229, 176, 0.035) 30%, rgba(240, 229, 176, 0.035) 70%, transparent); }
.join-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.qa { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.qa h3 { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.15rem; }
.qa p { color: #c3c8d1; font-size: 0.98rem; margin: 0; line-height: 1.65; }
.join-art { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.join-closing { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* media page */
.media-hero { text-align: left; padding-block: 0; background: radial-gradient(900px 420px at 15% 30%, rgba(111, 216, 234, 0.16), transparent 70%), radial-gradient(700px 400px at 90% 80%, rgba(240, 229, 176, 0.08), transparent 70%), #04090f; border-bottom: 1px solid rgba(111, 216, 234, 0.18); }
.media-hero .container { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.media-hero .lead { margin-inline: 0; }
.media-hero h1 { background: linear-gradient(180deg, #ffffff 20%, #9be7f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.filmstrip { height: 26px; background-color: #02060b; background-image: repeating-linear-gradient(90deg, transparent 0 18px, rgba(111, 216, 234, 0.28) 18px 32px); background-size: 50px 10px; background-position: 0 center; background-repeat: repeat-x; opacity: 0.8; }
.slate { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; border-radius: calc(var(--radius) + 4px); border: 1px solid rgba(111, 216, 234, 0.28); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); overflow: hidden; box-shadow: var(--shadow); }
.slate-screen { position: relative; min-height: 300px; display: grid; place-content: center; justify-items: center; gap: 1rem; background: radial-gradient(120% 120% at 20% 10%, rgba(111, 216, 234, 0.22), transparent 55%), radial-gradient(100% 120% at 90% 90%, rgba(240, 229, 176, 0.12), transparent 55%), #050c14; color: var(--media); }
.slate-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px); }
.slate-mark svg { width: 84px; height: 84px; stroke-width: 0.9; }
.slate-code { margin: 0; font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.85; }
.slate-body { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.slate-body p:last-child { color: #cfd3da; margin: 0; }
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.series { border-radius: var(--radius); border: 1px solid rgba(111, 216, 234, 0.25); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); overflow: hidden; display: flex; flex-direction: column; }
.series-art { aspect-ratio: 16 / 9; background: #050c14; display: grid; place-items: center; color: var(--media); }
.series-art img { width: 100%; height: 100%; object-fit: cover; }
.series-body { padding: 1.5rem; }
.series-body p { color: #cfd3da; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.pillar { padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pillar-num { display: block; font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.2em; color: var(--media); margin-bottom: 0.9rem; }
.pillar p { color: #c3c8d1; margin: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.75rem); }
.panel { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); }
.panel h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.panel p { color: #cfd3da; margin-bottom: 1.5rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); max-width: 900px; margin-inline: auto; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raise)); color: var(--text); text-decoration: none; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
a.contact-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card p { color: var(--muted); }
.contact-card .chip { margin: auto 0 0; }
.contact-card-soon { opacity: 0.85; border-style: dashed; }
.contact-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.4rem; color: var(--gold); background: rgba(240, 229, 176, 0.07); border: 1px solid var(--line); }
.contact-icon svg { width: 26px; height: 26px; }
.follow { text-align: center; margin-top: clamp(3rem, 7vw, 5rem); }
.follow h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1.25rem; }

/* socials */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #10141c; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.socials-lg a { width: 52px; height: 52px; } .socials-lg svg { width: 22px; height: 22px; }
.follow .socials { justify-content: center; }

/* footer */
.site-footer { margin-top: clamp(2rem, 6vw, 4rem); border-top: 1px solid var(--line); background: #03070d; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); align-items: start; }
.footer-brand img { width: 66px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-nav a { color: #c9ccd3; text-decoration: none; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: grid; gap: 1.1rem; justify-items: start; }
.footer-mail { font-size: 0.95rem; }
.footer-base { border-top: 1px solid rgba(240, 229, 176, 0.08); padding-block: 1.25rem; }
.footer-base p { margin: 0; color: #7c8696; font-size: 0.85rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .actions { justify-content: center; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .join-layout { grid-template-columns: 1fr; }
  .join-art { aspect-ratio: 16 / 9; order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(5, 11, 20, 0.98); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--pad) 1.25rem; }
  .site-nav a { padding: 0.95rem 0; font-size: 0.95rem; border-bottom: 1px solid rgba(240, 229, 176, 0.08); }
  .site-nav a::after { display: none; }
  .hero { min-height: 0; }
  .gear { right: -34vw; width: 120vw; opacity: 0.16; }
  .emblem-grid, .pillars, .duo, .media-band-inner, .split, .slate, .detail { grid-template-columns: 1fr; }
  .split-flip .split-media { order: 0; }
  .split-media { max-width: 440px; }
  .split-media::after { display: none; }
  .detail-art { max-width: 260px; }
  .detail-art:has(.detail-wide) { max-width: none; }
  .feature::before { background: linear-gradient(0deg, rgba(5, 11, 20, 0.96) 35%, rgba(5, 11, 20, 0.55) 75%, rgba(5, 11, 20, 0.2)); }
  .feature-bg { object-position: 50% 0; }
  .slate-screen { min-height: 220px; }
  .media-band-art { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .team-grid, .join-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn { padding: 0.9em 1.3em; font-size: 0.88rem; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
