/* Stark Tech Industries — site styles */
:root {
  --bg: #0E1114;
  --bg-2: #12161A;
  --panel: #151A1F;
  --line: #262C33;
  --line-2: #2A3139;
  --line-3: #3A424B;
  --text: #E9ECEF;
  --text-2: #C3CAD1;
  --muted: #8E979F;
  --accent: #68AEF5;
  --on-accent: #0E1114;
  --light: #E9ECEF;
  --light-2: #DDE1E5;
  --ink: #0E1114;
  --ink-2: #2C3339;
  --ink-3: #4A525A;
  --serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img, video { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 112px; padding-bottom: 112px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule-top { border-top: 1px solid var(--line); }

/* Type */
.kicker { margin: 0 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; margin: 0; }
.h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; }
.h1 .accent { color: var(--accent); }
.h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; }
.h3 { font-size: 26px; letter-spacing: 0.02em; }
.lede { margin: 28px 0 0; max-width: 560px; font-size: 20px; color: var(--text-2); }
.body-2 { color: var(--text-2); }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--mono); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #8CC2FA; color: var(--on-accent); }
.btn-ghost { border-color: var(--line-3); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-outline { border-color: var(--accent); color: var(--text); background: transparent; }
.btn-outline:hover { background: rgba(104, 174, 245, 0.12); }
.btn-dark { background: var(--ink); color: var(--light); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand .emblem { width: 44px; height: 44px; flex: none; }
.brand .wordmark { height: 28px; width: auto; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 8px 26px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--text-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.nav-links .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; color: var(--on-accent); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-3); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-top: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; }
  .brand .wordmark { height: 22px; }
}
@media (max-width: 420px) { .brand .wordmark { height: 18px; } .brand .emblem { width: 40px; height: 40px; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hero-media video, .hero-media img { width: 100%; height: auto; max-width: 480px; aspect-ratio: 1 / 1; border-radius: 50%; background: #000; object-fit: cover; }
.page-hero { padding-top: 88px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }

/* Promise strip */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; padding-top: 28px; padding-bottom: 28px; font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.promise div { display: flex; gap: 10px; align-items: baseline; }
.promise span { color: var(--accent); }

/* Split header */
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 56px; }
.split > :first-child { flex: 1 1 420px; min-width: 0; max-width: 600px; }

/* Readout card */
.readout { flex: 1 1 380px; min-width: 0; max-width: 500px; background: var(--panel); border: 1px solid var(--line-2); }
.readout-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.readout-body { padding: 8px 20px 20px; font-family: var(--mono); font-size: 14px; }
.readout-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.readout-row:last-of-type { border-bottom: 0; }
.tag { padding: 1px 8px; font-weight: 600; white-space: nowrap; border: 1px solid #5A636C; }
.tag-first { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tag-fine { color: #9FD8B0; border-color: #3E6B4C; }
.readout p { margin: 12px 0 0; font-family: var(--sans); font-size: 14px; color: var(--muted); }

/* Offer cards */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.offer { position: relative; background: var(--panel); border: 1px solid var(--line-2); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.offer.featured { border: 2px solid var(--accent); }
.offer .badge { position: absolute; top: -13px; left: 34px; background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; padding: 3px 10px; }
.offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1; }
.offer p { margin: 0; color: var(--text-2); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: "—"; color: var(--accent); }
.offer .btn { margin-top: auto; }

/* Steps */
.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--line-2); }
.steps li { padding: 24px 28px; border-right: 1px solid var(--line-2); }
.steps li:last-child { border-right: 0; }
.steps .label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }
@media (max-width: 720px) { .steps li { border-right: 0; border-bottom: 1px solid var(--line-2); } .steps li:last-child { border-bottom: 0; } }

/* Booking */
.format-toggle { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); margin-bottom: 24px; }
.format-toggle button { font: inherit; font-weight: 600; font-size: 16px; padding: 14px 24px; min-height: 52px; border: 0; cursor: pointer; background: transparent; color: var(--text); }
.format-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.cal-frame { background: var(--panel); border: 1px solid var(--line-2); overflow: hidden; }
.cal-frame [data-cal-inline] { width: 100%; min-height: 640px; overflow: auto; }
.cal-fallback { padding: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cal-fallback[hidden] { display: none; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 40px; }
.pillar { border-top: 2px solid var(--text); padding-top: 24px; }
.pillar .num { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.pillar .h3 { margin: 10px 0 12px; font-size: 28px; }
.pillar p { margin: 0; color: var(--text-2); }

/* Light band (ARACHNE-S) */
.light { background: var(--light); color: var(--ink); }
.light a { color: var(--ink); }
.light .kicker { color: var(--ink-3); }
.light .lede { color: var(--ink-2); }
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature > :first-child { flex: 1 1 480px; min-width: 0; }
.specs { margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--ink); }
.specs div { padding: 16px 16px 16px 0; border-bottom: 1px solid #B9C0C6; }
.specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.schematic { flex: 1 1 420px; min-width: 0; max-width: 560px; aspect-ratio: 1 / 1; border: 2px solid var(--ink); background: var(--light-2); position: relative; display: flex; align-items: center; justify-content: center; }
.schematic .cap { position: absolute; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }
.schematic .cap-tl { top: 14px; left: 16px; }
.schematic .cap-br { bottom: 14px; right: 16px; }
.schematic svg { width: 78%; height: auto; }
.light .btn-dark { margin-top: 36px; color: var(--light); }

/* Founder / contact */
.founder { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.founder > :first-child { flex: 1 1 420px; min-width: 0; }
.contact-list { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { text-decoration: none; border: 1px solid var(--line-3); padding: 16px 20px; min-height: 52px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-list a:hover { border-color: var(--text-2); }

/* CTA band */
.cta { background: var(--accent); color: var(--on-accent); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.cta .h2 { font-size: clamp(32px, 4.4vw, 60px); }

/* Prose pages */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { font-family: var(--serif); text-transform: uppercase; font-size: 28px; margin: 48px 0 12px; color: var(--text); }
.prose ul { padding-left: 20px; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-3); padding: 12px; min-height: 48px; }
.form textarea { resize: vertical; min-height: 140px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; padding-top: 48px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 380px; max-width: 100%; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
