:root {
  color-scheme: dark;
  --bg: #0d0d0f;
  --panel: #141416;
  --line: #2a2a2d;
  --text: #f5f3ef;
  --muted: #b3b0b2;
  --red: #ff514a;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
.shell { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .6rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { background: #101012; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; text-transform: uppercase; font-size: .93rem; font-weight: 780; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #613330; color: var(--red); }
.brand-mark svg { width: 25px; height: 25px; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.7vw, 2.35rem); }
nav a { padding-block: .55rem; color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
nav a:hover, .footer-inner a:hover { color: var(--red); }
.nav-contact { padding-inline: .85rem; border: 1px solid var(--line); color: var(--text); }
.nav-contact span { margin-left: .25rem; color: var(--red); }

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 85% 40%, #4a171759, transparent 53%),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px) 50% 50% / 44px 44px,
    linear-gradient(#ffffff07 1px, transparent 1px) 50% 50% / 44px 44px,
    #101012;
}
.hero-inner { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4.25rem, 8vw, 7.25rem); }
.eyebrow, .section-index, .plate-top, .plate-bottom { font: 650 .72rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #ff9a95; }
.signal, .plate-bottom i { width: .45rem; height: .45rem; flex: 0 0 auto; background: var(--red); box-shadow: 0 0 12px #ff514a80; }
h1 { margin-top: 1.15rem; font-size: clamp(3.05rem, 5.65vw, 5.65rem); font-weight: 790; line-height: .99; letter-spacing: -.073em; }
.accent { color: var(--red); }
.lede { max-width: 32ch; margin-top: 1.55rem; color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.24rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; margin-top: 2rem; padding: .78rem 1rem; color: #160a09; background: var(--red); font-size: .9rem; font-weight: 780; text-decoration: none; }
.button:hover { background: #ff7871; }
.button span { font-size: 1.15em; }

.brand-plate { min-width: 0; padding: 1rem; background: #131213; border: 1px solid #553132; box-shadow: 0 1.2rem 4rem #0006; }
.plate-top, .plate-bottom { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .62rem; }
.plate-top span:first-child { color: var(--red); }
.logo-window { position: relative; aspect-ratio: 2.55; overflow: hidden; margin-block: 1rem .55rem; border: 1px solid #2e2425; background: #050505; }
.logo-window img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.wave { display: block; width: 100%; height: 27px; color: #9c3a36; margin-bottom: .5rem; }
.plate-bottom { border-top: 1px solid var(--line); padding-top: .75rem; }
.plate-bottom span:last-child { display: inline-flex; align-items: center; gap: .45rem; }
.plate-bottom i { width: .32rem; height: .32rem; }

.section { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4.6rem); }
.section-index { margin-bottom: .65rem; color: var(--red); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.15rem); font-weight: 750; line-height: 1.06; letter-spacing: -.055em; }
.about > p { max-width: 46ch; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel { min-height: 185px; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--panel); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.status { display: flex; gap: .6rem; align-items: center; margin-top: .95rem; color: var(--muted); font-size: .93rem; }
.status span { width: .42rem; height: .42rem; flex: 0 0 auto; border: 1px solid var(--red); }
.location { font-weight: 680; }
.contact .status { margin-top: .3rem; }
.site-footer { border-top: 1px solid var(--line); background: #101012; }
.footer-inner { padding-block: 1.4rem; color: var(--muted); font-size: .84rem; }
.footer-divider, .footer-inner a span { color: var(--red); }
.footer-divider { margin-inline: .3rem; }
.footer-inner a { flex: 0 0 auto; text-decoration: none; }

@media (max-width: 880px) {
  .shell { width: min(680px, calc(100% - 3rem)); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; padding-block: 3.5rem; }
  h1 { font-size: clamp(3rem, 9vw, 5rem); }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .55rem; padding-block: .75rem .45rem; }
  nav { width: 100%; justify-content: space-between; gap: .35rem; }
  nav a { padding-block: .65rem; }
  .nav-contact { padding-inline: .6rem; }
  .hero-inner { padding-block: 2.85rem; }
  h1 { font-size: clamp(2.55rem, 10.1vw, 3.7rem); }
  .brand-plate { padding: .75rem; }
  .plate-top, .plate-bottom { letter-spacing: .07em; }
  .section, .content-grid { grid-template-columns: 1fr; gap: 1rem; }
  .panel { min-height: 0; }
  .footer-inner { align-items: baseline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
