:root {
  --bg: #0c0f1f;
  --bg-2: #131735;
  --panel: #171b3a;
  --line: rgba(232, 220, 196, 0.12);
  --text: #ece4d3;
  --muted: #b3aec4;
  --cream: #e8dcc4;
  --aurora-green: #4fe3a8;
  --aurora-violet: #9a6bff;
  --maple: #e2412f;

  --dink: #8cc63f;
  --edge: #e2412f;
  --auger: #c87a45;
  --forge: #5aa9ff;
  --iron: #f07a24;

  --radius: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--cream); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--aurora-green); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 31, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Shared bits */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent, var(--aurora-green));
  margin-bottom: 14px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cream); color: var(--bg); }
.btn-primary:hover { background: #fff6e4; }
.btn-ghost { border: 1px solid rgba(232, 220, 196, 0.35); }
.btn-ghost:hover { border-color: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(40% 50% at 25% 30%, rgba(79, 227, 168, 0.22), transparent 70%),
    radial-gradient(35% 45% at 70% 20%, rgba(154, 107, 255, 0.28), transparent 70%),
    radial-gradient(50% 40% at 55% 75%, rgba(40, 60, 160, 0.35), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) rotate(-2deg); }
  to   { transform: translate3d(2%, 2%, 0) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; margin-bottom: 22px; max-width: 14ch; }
.hero .lede { margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge img {
  width: 100%; max-width: 440px; margin-inline: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

/* Overview */
.overview { padding: 40px 0 80px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles article {
  padding: 26px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
}
.principles h3 { font-size: 22px; margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 16px; }

/* Lineup cards */
.lineup { padding-bottom: 96px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 16px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card-logo {
  aspect-ratio: 4 / 3; width: 100%; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 4px;
}
img.card-logo.on-white { background: #fff; object-fit: contain; padding: 10px; }
.auger-thumb { background: url("assets/auger-cave.webp") center / cover; padding: 14px; }
.auger-thumb img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)); }
.forge-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.iron-thumb { background: #1a1f28; }
.iron-thumb img { width: 58%; }

.pill {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.pill.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 6px; vertical-align: 1px;
}

/* Product breakdowns */
.product {
  position: relative; padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.product.flip::before { background: radial-gradient(50% 60% at 85% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }

.product-inner { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.product.flip .product-media { order: 2; }
.product h2 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; margin-bottom: 18px; }
.product .lede { margin-bottom: 26px; }
.product .btn { margin-top: 28px; }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 26px; color: var(--muted); }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg);
}
.features strong { color: var(--text); font-weight: 600; }
q { quotes: "\201C" "\201D"; color: var(--text); }

.status {
  margin-top: 26px; display: inline-block;
  font-size: 15px; font-weight: 600; color: var(--accent);
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.product-media { border-radius: 24px; }
.media-white {
  background: #fff; padding: clamp(28px, 4vw, 48px);
  display: grid; place-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.media-white img { max-height: 420px; width: auto; }
.media-shot { overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.media-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.media-phones img {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.media-phones img:nth-child(2) { transform: translateY(-24px); }

/* Auger gets its cave */
.product-auger { overflow: hidden; }
.product-auger::before { display: none; }
.auger-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 31, 0.35) 0%, rgba(12, 15, 31, 0.86) 50%, rgba(12, 15, 31, 0.95) 100%),
    url("assets/auger-cave.webp") left center / cover;
}
.media-auger { padding: 24px; }
.media-auger img { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7)); }

/* Contact */
.contact { text-align: center; padding: 96px 0; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 16px; }
.contact img { width: 110px; }
.contact h2 { font-size: clamp(32px, 4vw, 44px); }
.contact p { color: var(--muted); max-width: 46ch; margin-bottom: 8px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { order: -1; }
  .hero-badge img { max-width: 240px; }
  .principles { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .product-inner { grid-template-columns: 1fr; }
  .product.flip .product-media { order: 0; }
  .media-white img { max-height: 280px; }
  .auger-bg { background:
    linear-gradient(180deg, rgba(12, 15, 31, 0.3) 0%, rgba(12, 15, 31, 0.9) 35%, rgba(12, 15, 31, 0.97) 100%),
    url("assets/auger-cave.webp") center top / auto 420px no-repeat; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .top nav a[href="#about"] { display: none; }
  .brand span { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card-logo { aspect-ratio: 16 / 9; }
  .lede { font-size: 17px; }
  .media-phones { gap: 8px; }
  .media-phones img { border-radius: 12px; }
}
