:root {
  color-scheme: dark;
  --bg: #07090e;
  --text: #e5e9ef;
  --muted: #96a4b8;
  --blue: #368ce6;
  --edge: #2c3d54;
  --header-height: 132px;
  font-family: "Courier New", Courier, monospace;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #c1dbff; outline-offset: 6px; }
.backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.backdrop-photo { position: absolute; inset: 0; display: none; background-size: cover; background-position: center; }
body[data-background="drvo"] .backdrop-photo { display: block; background-image: linear-gradient(120deg, #07090ec9, #07090e94 48%, #07090ed1), url('assets/background-drvo.webp'); }
body[data-background="al"] .backdrop-photo { display: block; background-image: linear-gradient(120deg, #07090ed9, #07090e9e 48%, #07090ec9), url('assets/gemma-m2.jpg'); }
body[data-background="drvo"] .halo, body[data-background="al"] .halo { display: none; }
.halo { position: absolute; filter: blur(60px); opacity: .5; }
.halo-blue { width: 700px; height: 520px; left: calc(50% - 240px); top: 17%; background: radial-gradient(ellipse, #103768 0, transparent 65%); }
.halo-warm { width: 500px; height: 390px; left: calc(50% - 550px); top: 14%; background: radial-gradient(ellipse, #4c2521 0, transparent 65%); opacity: .25; }
.pixel-grid { position: absolute; inset: 0; background-image: linear-gradient(#7086ae04 1px, transparent 1px), linear-gradient(90deg, #7086ae04 1px, transparent 1px); background-size: 8px 8px; mask-image: linear-gradient(transparent, #000 28%, #000 70%, transparent); }
.horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 22%; background: linear-gradient(transparent, #10192a50); border-bottom: 2px solid #24364c; }
.site-header { min-height: var(--header-height); max-width: 1120px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #34506b4d; }
.site-brand img { display: block; width: 230px; height: auto; filter: drop-shadow(0 5px 12px #0008); }
.header-contact { display: flex; flex-direction: column; gap: 3px; font-style: normal; font-size: 14px; line-height: 1.5; text-align: right; color: #c5d0df; }
.header-contact a { color: #d2e5ff; }
.header-contact a:hover { text-decoration: underline; }
.home { min-height: calc(100svh - var(--header-height)); display: grid; place-items: start center; position: relative; padding: 32px 32px 64px; }
.home-content { width: min(100%, 1056px); display: flex; flex-direction: column; align-items: center; }
.intro { width: 100%; margin: 0 0 46px; color: #d9e2ef; }
.intro-lead { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.5; margin: 0 0 18px; }
.intro-copy { max-width: 900px; font-size: 16px; line-height: 1.7; margin: 0; }
.intro-copy + .intro-copy { margin-top: 10px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.choices-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }
.home-groups { width: 100%; display: grid; gap: 32px; }
.choice-group h2 { margin: 0 0 16px; font-size: 22px; font-weight: 400; text-align: center; }
.choice-group .choices { margin-inline: auto; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; min-height: 152px; padding: 18px 24px; isolation: isolate; font-size: 16px; line-height: 1.45; font-weight: 700; letter-spacing: .015em; transition: color .15s, transform .15s; }
.choice-body { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; align-self: stretch; flex: 1; min-width: 0; }
.choice-body > span:first-child { width: 100%; padding-right: 32px; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 180px; max-width: 100%; height: 68px; padding: 8px 12px; overflow: hidden; background: #f5f5f2; border: 1px solid #d9dde3; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark[data-brand="bgs"] img { width: 150px; height: 150px; max-width: none; flex: none; }
.category-brand { display: flex; justify-content: center; margin: -8px 0 28px; }
.choice::before, .choice::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)); }
.choice::before { background: var(--edge); transition: background .15s; }
.choice::after { inset: 1px; background: #0d1420; transition: background .15s; }
.choice:hover { transform: translateY(-3px); color: #fff; }
.choice:hover::before { background: #4f8bcc; }
.choice:hover::after { background: #10233b; }
.arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #7194bd; font-weight: 400; }
.parts-group { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 8px; }
.parts-group h2 { margin: 0; }
.choice-parts { width: 320px; max-width: 100%; min-height: 64px; justify-content: center; padding: 18px 58px 18px 32px; text-align: center; font-size: 16px; font-weight: 700; }
.bottom-mark { position: absolute; bottom: 24px; display: flex; gap: 9px; }
.bottom-mark i { width: 4px; height: 4px; background: #31425b; }
.bottom-mark i:nth-child(2) { background: #7694b7; }
.category { min-height: calc(100svh - var(--header-height)); padding: 26px 32px 52px; }
.category-header { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--edge); font-size: 26px; background: #0d1420; }
.back:hover { background: #152942; }
.category-content { width: min(100%, 1000px); margin: 42px auto 0; }
h1 { margin: 0 0 28px; text-align: center; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 400; letter-spacing: -.04em; }
.photo-frame { display: flex; justify-content: center; background: #0c111a; padding: 16px; border: 1px solid #26354a; position: relative; }
.photo-frame::before, .photo-frame::after { content: ""; position: absolute; width: 8px; height: 8px; background: #698aaf; }
.photo-frame::before { top: -1px; left: -1px; }
.photo-frame::after { right: -1px; bottom: -1px; }
.photo-frame img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(68svh, 760px); object-fit: contain; }
.category-nav { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 32px; color: var(--muted); font-size: 14px; }
.category-nav a { padding: 10px 0; }
.category-nav a:hover, .category-nav a[aria-current="page"] { color: #d2e5ff; }
.category-nav a[aria-current="page"] { border-bottom: 2px solid var(--blue); }
.parts-content { max-width: 720px; }
.parts-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 28px; background: #0d1420; border: 1px solid var(--edge); }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 14px; line-height: 1.5; }
.form-field input, .form-field textarea { width: 100%; padding: 12px; border: 1px solid #445870; border-radius: 0; background: #070e19; color: var(--text); font: inherit; line-height: 1.5; }
.form-field textarea { resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-button:focus-visible { outline: 3px solid #c1dbff; outline-offset: 3px; }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.form-button { border: 1px solid #6c92bd; border-radius: 0; padding: 14px 20px; background: #163451; color: #e5e9ef; font: inherit; cursor: pointer; }
.form-button:hover { background: #21496c; }
.form-email { color: #b6d8ff; line-height: 1.5; text-decoration: underline; }
@media (max-width: 760px) {
  :root { --header-height: 104px; }
  .site-header { padding: 15px 24px; }
  .site-brand img { width: 186px; }
  .home { padding: 26px 24px 56px; }
  .intro { margin-bottom: 32px; }
  .choices, .choices-two { grid-template-columns: 1fr; max-width: 420px; gap: 10px; }
  .choice { min-height: 136px; padding: 14px 24px; }
  .choice-parts { min-height: 64px; padding: 18px 58px 18px 32px; }
  .home-groups { gap: 26px; }
  .choice-group h2 { font-size: 20px; margin-bottom: 12px; }
  .halo-blue { width: 540px; height: 500px; left: calc(50% - 210px); }
  .category { padding: 20px 18px 36px; }
  .category-content { margin-top: 32px; }
  .category-header { gap: 16px; }
  .back { width: 42px; }
  .back { height: 42px; }
  .photo-frame { padding: 8px; }
  .photo-frame img { max-height: 62svh; }
  .category-nav { gap: 6px 20px; font-size: 13px; }
}
@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; gap: 18px; }
  .header-contact { width: 100%; text-align: left; font-size: 13px; }
  .parts-form { grid-template-columns: 1fr; padding: 20px; }
  .form-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .choice, .choice::before, .choice::after { transition: none; } .choice:hover { transform: none; } }
