/* Rosewood — public site. Dark, technical look. Plain CSS, no build step. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #06070a;
  --bg-2: #0b0d12;
  --panel: rgba(255, 255, 255, .03);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --text: #eceef4;
  --text-2: #a9afbd;
  --text-3: #7f8798;
  --accent: #ff4767;      /* rosewood, turned up */
  --accent-2: #cf1f49;    /* solid buttons: white text stays readable on it */
  --accent-3: #ff9db0;
  --accent-soft: rgba(255, 71, 103, .16);
  --signal: #4fe3c8;      /* cool counterpoint: status, focus, circuit traces */
  --amber: #f0c987;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace;

  --gutter: clamp(20px, 4.5vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background-color: var(--bg);
  /* faint engineering grid across the whole page */
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent-2); color: #fff; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.defs { position: absolute; }

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-wrap: balance; }

h1 {
  font-size: clamp(2.5rem, 1.9rem + 3.3vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.8rem, 1.45rem + 1.7vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* keeps a hyphenated word such as "in-demand" on one line */
.nb { white-space: nowrap; }

/* small technical labels */
.index, .eyebrow, .kicker, .more, .card-more, .step-no, .footer-title, .crumbs,
.specs dt, .readouts dt, .field label {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.index { font-size: .72rem; line-height: 1.4; color: var(--accent); }
.index::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: 1px;
  background: var(--accent);
}

.lede {
  max-width: 36em;
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem);
  line-height: 1.62;
}

.fine { color: var(--text-3); font-size: .84rem; }

.more {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: .7rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.more:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 .95rem/1 var(--display);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.btn-solid {
  background: var(--accent-2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 145, .45), 0 10px 32px -10px rgba(255, 71, 103, .6);
}
.btn-solid:hover { background: #e22b58; box-shadow: inset 0 0 0 1px rgba(255, 150, 170, .6), 0 12px 38px -8px rgba(255, 71, 103, .75); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .86rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 10, .74);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-name { font: 600 1rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }

.nav { display: flex; gap: clamp(18px, 2.6vw, 32px); margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--text-2);
  font: 500 .9rem/1 var(--display);
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
/* on wide screens the button in the bar already leads to the contact page */
.nav a[href="/contact"] { display: none; }

.bar-tools { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform .2s, top .2s;
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.nav-open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero, .page-head, .product { position: relative; isolation: isolate; }
.hero::before, .page-head::before, .product::before {
  content: "";
  position: absolute;
  inset: -70px 0 auto;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52% 58% at 80% 18%, rgba(255, 71, 103, .2), transparent 70%),
    radial-gradient(36% 46% at 6% 0%, rgba(79, 227, 200, .08), transparent 70%);
}
.page-head::before, .product::before { height: 460px; }

.hero { padding-top: clamp(40px, 6vw, 88px); }

/* The headline runs across the full width; under it, the introduction on the left and the buttons on the right. */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: clamp(22px, 3vw, 34px);
}
.hero-row .lede { max-width: 46em; margin-top: 0; }
.hero-row .actions { margin-top: 0; }

.eyebrow { font-size: .72rem; line-height: 1.8; color: var(--text-2); }
.eyebrow .sep { margin: 0 10px; color: var(--text-3); }
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: 1px;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 227, 200, .55); }
  100% { box-shadow: 0 0 0 9px rgba(79, 227, 200, 0); }
}

.hero h1 { margin-top: 20px; font-size: clamp(2.7rem, 1.5rem + 5.4vw, 6rem); line-height: 1; }

/* ---------- Product "stage": dark panel with a blueprint grid ---------- */

.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 70% at 82% 0%, rgba(255, 71, 103, .22), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(79, 227, 200, .07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    #090b10;
}
/* corner brackets */
.stage::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  opacity: .75;
  --c: linear-gradient(var(--accent), var(--accent));
  background:
    var(--c) left top / 14px 1px, var(--c) left top / 1px 14px,
    var(--c) right top / 14px 1px, var(--c) right top / 1px 14px,
    var(--c) left bottom / 14px 1px, var(--c) left bottom / 1px 14px,
    var(--c) right bottom / 14px 1px, var(--c) right bottom / 1px 14px;
  background-repeat: no-repeat;
}

.stage .art { position: relative; z-index: 1; width: 100%; height: auto; }
/* product photos are shot on white: show them whole on a white tile instead of cropping them */
.stage.has-photo { background: #fff; }
.stage .photo { position: absolute; inset: 0; width: 100%; height: 100%; padding: 5%; object-fit: contain; }

.ghost {
  position: absolute;
  z-index: 0;
  top: 9%;
  left: 8%;
  color: rgba(255, 255, 255, .05);
  font: 700 4rem/.9 var(--display);
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
@supports (-webkit-text-stroke: 1px #fff) {
  .ghost { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); }
}
@supports (font-size: 1cqw) {
  .ghost { font-size: 22cqw; }
}

/* ---------- Readout strip ---------- */

.readouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.readouts > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 20px; background: var(--bg-2); }
.readouts dt { font-size: .66rem; color: var(--text-3); }
.readouts dd { font: 600 1.45rem/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(36px, 6vw, 72px) 0; }

.band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(255, 71, 103, .1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head .index { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1; }
.section-head .more { grid-column: 2; grid-row: 2; margin-bottom: 8px; }
.section-note { grid-column: 1; max-width: 44em; color: var(--text-2); }

.group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin: clamp(34px, 5vw, 52px) 0 20px;
}
.group-head h2, .group-head h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; }
.group-note { flex: 1 1 260px; color: var(--text-3); font-size: .92rem; }
.group-head .more { margin-left: auto; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* directly under a page heading: no extra gap before the first block */
.page-head + .section-tight { padding-top: clamp(28px, 4vw, 44px); }
.section-tight > .wrap > .group-head:first-child { margin-top: 0; }

.empty {
  padding: 56px 0;
  color: var(--text-3);
  font: 500 .8rem/1.6 var(--mono);
  letter-spacing: .08em;
  text-align: center;
}

.footnote { max-width: 64em; margin-top: 36px; color: var(--text-3); font-size: .85rem; }
.footnote a { color: var(--accent-3); text-underline-offset: 3px; }

/* ---------- Product cards ---------- */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  color: inherit;
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: rgba(255, 71, 103, .55);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px -28px rgba(255, 71, 103, .55);
}

.card-stage {
  display: grid;
  align-items: center;
  justify-items: center;
  aspect-ratio: 4 / 3;
  padding: 4% 9%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.card-stage.has-ghost { align-items: end; padding: 0 7% 4%; }
.card-stage.has-photo { padding: 0; }

.card-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 16px; }
.kicker { font-size: .64rem; line-height: 1.4; color: var(--text-3); }
.card-title { margin-top: 8px; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.015em; }
.variant {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 71, 103, .5);
  border-radius: 6px;
  color: var(--accent-3);
  font: 500 .66rem/1.2 var(--mono);
  letter-spacing: .06em;
  vertical-align: .25em;
  white-space: nowrap;
}
.card-text { margin: 10px 0 18px; color: var(--text-2); font-size: .92rem; line-height: 1.55; }

.specs { margin-top: auto; border-top: 1px solid var(--line); }
.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { flex: none; padding-top: 3px; font-size: .62rem; color: var(--text-3); }
.specs dd { font-size: .88rem; line-height: 1.4; text-align: right; }

.card-more {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--text-2);
  font-size: .66rem;
  transition: color .2s;
}
.card-body > .card-more:only-child, .card-text + .card-more, .card-title + .card-more { margin-top: auto; padding-top: 14px; }
.card:hover .card-more { color: var(--accent); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; margin-top: 52px; }
.steps li { position: relative; padding: 30px 28px 4px 0; border-top: 1px solid var(--line-2); }
.steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px var(--accent);
}
.step-no { font-size: .7rem; color: var(--accent); }
.steps h3 { margin-top: 12px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; }
.steps p { margin-top: 8px; color: var(--text-2); font-size: .94rem; }

/* ---------- About + contact ---------- */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about { padding-top: clamp(22px, 3vw, 36px); }
.about h2, .panel h2 { margin-top: 14px; }
.about p:not(.index) { max-width: 34em; margin-top: 18px; color: var(--text-2); font-size: 1.05rem; }
.about-facts { max-width: 34em; margin-top: 30px; }
.about-facts > div { padding: 12px 0; }

.panel {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}
.panel-note { margin-top: 12px; color: var(--text-2); }
.panel-note + .form { margin-top: 26px; }

.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .66rem; color: var(--text-2); }
.opt { margin-left: 6px; color: var(--text-3); letter-spacing: .04em; text-transform: none; }

.form input[type="text"], .form select, .form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(0, 0, 0, .4);
  font: 400 1rem/1.4 var(--sans); /* 16px keeps phones from zooming in on focus */
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a9afbd' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--text-3); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form [aria-invalid="true"] { border-color: var(--accent); }

/* bot trap: off-screen, never shown to people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 71, 103, .5);
  border-radius: 10px;
  background: var(--accent-soft);
  color: #ffc7d1;
}
.field-error { color: var(--accent-3); font-size: .86rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Inner pages ---------- */

.page-head { padding: clamp(40px, 6vw, 84px) 0 clamp(4px, 1.5vw, 16px); }
.page-head h1 { margin-top: 16px; font-size: clamp(2.2rem, 1.7rem + 2.6vw, 3.6rem); }
.page-head .lede { max-width: 44em; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--text-3);
  font-size: .68rem;
  line-height: 1.6;
}
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font: 500 .88rem/1 var(--display);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.chip span { color: var(--text-3); font: 500 .68rem/1 var(--mono); }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.chip.is-active span { color: var(--accent-3); }

.product { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 92px); }
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
  margin-top: 26px;
}
.product-stage { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 6% 8%; box-shadow: 0 40px 120px -70px rgba(255, 71, 103, .5); }
.product-stage.has-ghost { align-items: end; padding: 0 8% 5%; }
.product-stage.has-photo { padding: 0; }
.product-stage .photo { object-fit: contain; }
.product-stage .art { filter: drop-shadow(0 0 16px rgba(255, 71, 103, .3)); }
.product-stage .ghost { top: 7%; left: 6%; }

.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { width: 78px; height: 60px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 8px; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { border-color: var(--accent); opacity: 1; }

.product-info h1 { margin-top: 12px; font-size: clamp(2rem, 1.55rem + 2vw, 3rem); }
.product-info .variant { font-size: .8rem; padding: 4px 9px; vertical-align: .55em; }
.product-info .lede { margin-top: 16px; }
.specs-lg { margin-top: 28px; }
.specs-lg > div { padding: 12px 0; }
.specs-lg dt { font-size: .66rem; padding-top: 4px; }
.specs-lg dd { font-size: .98rem; }
.product-info .fine { margin-top: 18px; }

.prose {
  max-width: 46em;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.prose h2 { font-size: 1.5rem; }
.prose p, .prose ul { margin-top: 16px; color: var(--text-2); font-size: 1.04rem; line-height: 1.7; }
.prose li { position: relative; margin-top: 6px; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 10px; height: 1px; background: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.next { padding-top: clamp(22px, 3vw, 36px); }
.next-list { margin-top: 18px; }
.next-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.next-list .step-no { padding-top: 4px; }

.page-message { min-height: 62vh; padding-block: clamp(72px, 12vw, 150px); overflow: hidden; }
.status-code {
  position: absolute;
  z-index: -1;
  top: 30px;
  right: var(--gutter);
  color: rgba(255, 255, 255, .04);
  font: 700 clamp(7rem, 24vw, 17rem)/1 var(--display);
  letter-spacing: -.05em;
  user-select: none;
}

/* ---------- Footer ---------- */

.site-footer { padding: 52px 0 56px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .4); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 48px;
}
.footer-brand p { max-width: 30em; margin-top: 16px; color: var(--text-3); font-size: .9rem; }
.footer-title { margin-bottom: 12px; color: var(--text-3); font-size: .64rem; }
.footer-nav a { display: block; padding: 5px 0; color: var(--text-2); font-size: .94rem; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: .78rem;
  line-height: 1.6;
}

/* ---------- Illustrations ---------- */

.mark-bg { fill: var(--accent-2); }
.mark-ring { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mark-dot { fill: var(--amber); }

.g-shroud { fill: rgba(255, 255, 255, .04); stroke: rgba(236, 238, 244, .9); stroke-width: 1.5; stroke-linejoin: round; }
.g-well { fill: rgba(0, 0, 0, .55); stroke: var(--accent); stroke-width: 1.4; }
.g-plate { fill: rgba(255, 255, 255, .09); stroke: rgba(236, 238, 244, .6); stroke-width: 1.2; stroke-linejoin: round; }
.g-pcb { fill: rgba(79, 227, 200, .08); stroke: rgba(79, 227, 200, .6); stroke-width: 1.2; stroke-linejoin: round; }
.g-gold { fill: none; stroke: var(--amber); stroke-width: 12; stroke-dasharray: 3.2 2.6; }
.g-pins { stroke-width: 6; stroke-dasharray: none; stroke-linecap: round; }
.g-line { fill: none; stroke: rgba(236, 238, 244, .55); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.g-vent { fill: none; stroke: rgba(236, 238, 244, .3); stroke-width: 5; stroke-linecap: round; }
.g-accent { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-accent-2 { stroke: var(--signal); stroke-width: 1.6; }

.r-blade { fill: rgba(255, 255, 255, .07); stroke: rgba(236, 238, 244, .75); stroke-width: 1.1; stroke-linejoin: round; }
.r-hub { fill: #090b10; stroke: var(--accent); stroke-width: 1.3; }
.r-cap { fill: var(--accent); }

/* fans: still by default, spinning on hover; always turning slowly in the hero */
.rotor { transform-origin: 0 0; animation: spin 7s linear infinite paused; }
.rotor-b { animation-delay: -1.3s; }
.card:hover .rotor, .product-stage:hover .rotor { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.l-lid { fill: rgba(255, 255, 255, .05); stroke: rgba(236, 238, 244, .9); stroke-width: 1.5; }
.l-screen { fill: rgba(0, 0, 0, .55); stroke: rgba(236, 238, 244, .28); stroke-width: 1; }
.l-art { fill: none; stroke: rgba(236, 238, 244, .5); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.l-art-hot { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-art-amber { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; }
.l-bars { stroke-width: 9; stroke-linecap: butt; }
.l-fill-hot { fill: var(--accent); }
.l-fill-amber { fill: var(--amber); }
.l-fill-signal { fill: var(--signal); }
.l-fill-light { fill: rgba(236, 238, 244, .85); }
.l-hinge { fill: rgba(236, 238, 244, .2); }
.l-base { fill: rgba(255, 255, 255, .08); stroke: rgba(236, 238, 244, .9); stroke-width: 1.5; stroke-linejoin: round; }
.l-line { fill: rgba(0, 0, 0, .4); stroke: rgba(236, 238, 244, .5); stroke-width: 1; }
.l-glow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 10 6; stroke-linecap: round; opacity: .85; }
.l-track { fill: none; stroke-width: 5; stroke-linecap: round; }
.l-track-hot { stroke: var(--accent); }
.l-track-amber { stroke: var(--amber); }
.l-track-signal { stroke: var(--signal); }

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotor, .pulse { animation: none; }
  .card, .btn, .nav a::after, .menu-btn span { transition: none; }
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-row, .split-grid, .product-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .next { padding-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .bar { gap: 12px; height: 62px; }
  .bar-tools { margin-left: auto; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 14px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
  }
  .nav-open .nav { display: flex; }
  .nav a, .nav a[href="/contact"] { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  html { scroll-padding-top: 78px; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .more { grid-column: 1; grid-row: auto; justify-self: start; margin-bottom: 0; }
  .group-head .more { margin-left: 0; }
  .actions .btn, .form-foot .btn { flex: 1 1 auto; }
  .brand-name { font-size: .9rem; letter-spacing: .18em; }
}

@media (max-width: 420px) {
  .bar-tools .btn { display: none; }
}
