/* Lasergeek LLC — lasergeeklabs.com
   Single stylesheet. No build step.
   Console look: black canvas, amber/orange frame, purple rail, cyan panels. */

:root {
  --bg: #000000;
  --panel: rgba(10, 18, 28, 0.85);
  --panel-solid: #060a10;
  --gold: #f4a81d;
  --orange: #e87722;
  --purple: #5c3599;
  --rail: #4c2a85;
  --rail-hi: #673ab7;
  --lav: #c5b8e8;
  --lav-2: #c8b6eb;
  --cyan: #3eb8f0;
  --cyan-b: #38a9e0;
  --cyan-d: #2c8fc4;
  --green: #4ade80;
  --brown-bg: rgba(140, 92, 20, 0.22);
  --brown-solid: #2a1f0b;
  --brown-text: #d99b38;
  --text: #e9eef6;
  --muted: #a9b4c6;
  --faint: #8590a6;
  --display: "Antonio", "Oswald", "Barlow Condensed", "Arial Narrow", "Segoe UI Condensed", sans-serif;
  --font: "Source Sans 3", "Inter", "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --frame: 4px;
  --rail-w: 212px;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; padding: 12px; }

img { max-width: 100%; display: block; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #8fd8ff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 100;
  background: var(--gold);
  color: #000;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.skip:focus { top: 16px; }

.code {
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Console frame
   ------------------------------------------------------------------ */

.console {
  position: relative;
  min-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  border: var(--frame) solid var(--gold);
  border-radius: 34px;
  background: var(--bg);
}

.c-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: calc(var(--frame) * -1) calc(var(--frame) * -1) 0;
  height: 68px;
}

.c-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 0 30px 0 20px;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  border-radius: 34px 0 32px 0;
  min-width: calc(var(--rail-w) + 40px);
}
.c-badge:hover { color: #000; background: #ffbb3d; }

.c-dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000;
}

.c-badge-text { display: flex; flex-direction: column; line-height: 1.05; }
.c-badge-text b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.c-badge-text i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.c-bar-purple {
  width: 120px;
  height: 16px;
  background: var(--purple);
  border-radius: 0 0 8px 8px;
}

.c-corner-tr {
  margin-left: auto;
  width: 130px;
  height: 22px;
  background: var(--orange);
  border-radius: 0 34px 0 14px;
}

.c-body {
  flex: 1;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: 0 30px;
  padding: 14px 30px 28px 16px;
  align-items: start;
}

.nav-check { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }

/* Left rail */
.c-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 12px;
}

.rn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 8px 18px 8px 18px;
  background: var(--rail);
  color: #fff;
  text-decoration: none;
  border-radius: 8px 24px 24px 8px;
  line-height: 1.1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.rn b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.rn i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8b6eb;
  margin-top: 4px;
}
.rn:hover, .rn:focus-visible { background: var(--rail-hi); color: #fff; }
.rn[aria-current="page"] {
  background: var(--rail-hi);
  box-shadow: inset 6px 0 0 var(--gold);
  padding-left: 24px;
}

/* Main column */
main { min-width: 0; padding: 4px 0 0; }

/* Right rail (home) */
.c-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Bottom frame bar */
.c-bottom {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0 calc(var(--frame) * -1) calc(var(--frame) * -1);
  min-height: 60px;
}

.c-steps { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.c-steps span { display: block; background: var(--gold); height: 100%; }
.c-steps .s1 { width: 120px; border-radius: 0 0 0 32px; }
.c-steps .s2 { width: 54px; height: 26px; background: var(--orange); border-radius: 0; }
.c-steps .s3 { width: 18px; height: 14px; background: var(--purple); }
.c-steps .s4 { width: 36px; height: 8px; background: var(--purple); }

.c-meta {
  flex: 1;
  align-self: center;
  text-align: center;
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lav);
  padding: 0 10px;
}
.c-meta em { font-style: normal; color: #d99b38; }

.c-lase {
  background: var(--orange);
  color: #000;
  padding: 10px 26px 12px 34px;
  border-radius: 28px 0 32px 0;
  min-width: 170px;
  text-align: center;
}
.c-lase b {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}
.c-lase .dots { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
.c-lase .dots i { width: 7px; height: 7px; border-radius: 50%; background: #000; display: block; }

.c-foot-note {
  max-width: 78rem;
  margin: 18px auto 10px;
  padding: 0 16px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: center;
  margin: 0 0 8px;
}
.footer-nav a {
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--gold); }
.foot-meta { margin: 0 0 6px; color: var(--faint); font-size: 0.85rem; }
.disclaimer { margin: 0 auto; max-width: 52rem; color: var(--faint); font-size: 0.82rem; line-height: 1.5; }

/* Typography
   ------------------------------------------------------------------ */

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0;
}

h1 {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  max-width: 16em;
}

.hero h1::after {
  content: "";
  display: block;
  height: 12px;
  margin-top: 0.7rem;
  max-width: 34rem;
  background:
    radial-gradient(circle at 6px 6px, var(--gold) 0 5px, transparent 6px),
    linear-gradient(var(--gold), var(--gold)) 0 5px / 100% 2px no-repeat;
  filter: drop-shadow(0 0 4px rgba(244, 168, 29, 0.75));
}
.home-hero h1::after { display: none; }
.home-hero h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); }

h2 {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 14px;
}
h2::before {
  content: "";
  flex: 0 0 8px;
  height: 1.15em;
  background: var(--purple);
  border-radius: 8px;
}
h2::after {
  content: "";
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(244, 168, 29, 0.15));
}

h3 {
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

p { margin: 0 0 1rem; }

.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lav);
}

.lead {
  font-size: 1.1rem;
  color: var(--lav);
  max-width: 44rem;
  margin: 1.1rem 0 1.2rem;
}

.section-index {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.45rem;
}

.hero { padding: 6px 0 14px; }
.section { padding: 26px 0 6px; }
.section-head { margin: 0 0 1.2rem; }
.section-head p { color: var(--muted); max-width: 44rem; margin: 0.7rem 0 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.5rem 0.62rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-primary:hover { background: #ffbb3d; color: #000; }
.btn-ghost { background: transparent; color: var(--cyan); border-color: var(--cyan-b); }
.btn-ghost:hover { background: rgba(62, 184, 240, 0.12); color: #8fd8ff; }

/* Masthead (home) */
.masthead { margin: 0 0 22px; }
.mast-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.mast-sub {
  font-family: var(--display);
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.mast-rule {
  height: 12px;
  margin: 10px 0 8px;
  max-width: 100%;
  background:
    radial-gradient(circle at 6px 6px, var(--gold) 0 5px, transparent 6px),
    linear-gradient(var(--gold), var(--gold)) 0 5px / 100% 2px no-repeat;
  filter: drop-shadow(0 0 4px rgba(244, 168, 29, 0.75));
}
.mast-tag {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c5b8e8;
  margin: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  gap: 1.75rem;
  align-items: start;
}
.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
  align-items: center;
}
.hero-side { min-width: 0; }

/* Panels, cards, frames
   ------------------------------------------------------------------ */

.panel, .card, .frame, .decoder, .contact-form, .alt-contact {
  background: var(--panel);
  border: 1px solid var(--cyan-b);
  border-radius: 10px;
}

.panel { padding: 14px 16px 16px; }
.panel-label {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.panel-label::before {
  content: "";
  flex: 0 0 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  margin-right: -2px;
}
.panel-label .code { margin-left: auto; color: var(--faint); }
.panel.dot-amber .panel-label::before { background: var(--gold); box-shadow: 0 0 8px rgba(244, 168, 29, 0.7); }
.panel.dot-cyan .panel-label::before { background: var(--cyan-b); box-shadow: 0 0 8px rgba(56, 169, 224, 0.7); }

.panel p { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.7rem; }
.panel p:last-child { margin-bottom: 0; }

.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spec-list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  border-radius: 6px;
  border-left: 3px solid transparent;
}
.spec-list li:nth-child(even) { background: var(--brown-bg); border-left-color: var(--gold); }
.spec-list span {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}
.spec-list strong { font-weight: 600; font-size: 0.97rem; color: var(--text); }
.spec-list li:nth-child(even) strong { color: var(--brown-text); }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.link-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--brown-bg);
  border-left: 3px solid var(--gold);
  color: var(--brown-text);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.98rem;
}
.link-list a:hover { color: var(--gold); background: rgba(140, 92, 20, 0.34); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card-link {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
}
.card-link:hover { color: #8fd8ff; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 5px 14px 4px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  background: var(--brown-bg);
  color: var(--brown-text);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--brown-bg);
  border: 1px solid rgba(244, 168, 29, 0.55);
  border-left: 6px solid var(--gold);
  border-radius: 10px;
}
.callout h2 { font-size: 1.55rem; }
.callout h2::before, .callout h2::after { display: none; }
.callout p { margin: 0.4rem 0 0; color: #e8d7b6; max-width: 40rem; }
.callout .actions { margin-top: 0; }

.prose { max-width: 44rem; }
.prose p { color: #d5dbe8; }
.prose h2 { margin: 0 0 0.8rem; }

.stack-lg { display: grid; gap: 12px; }
.service-row {
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid rgba(56, 169, 224, 0.45);
  border-left: 4px solid var(--cyan-b);
  border-radius: 10px;
  max-width: 52rem;
}
.service-row p { margin: 0.35rem 0 0; color: var(--muted); }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 52rem; }
.svc-list li {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px 14px 8px 10px;
  background: var(--panel);
  border: 1px solid rgba(56, 169, 224, 0.4);
  border-radius: 8px;
}
.svc-list p { margin: 0; color: #d5dbe8; }
.svc-code {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 5px 6px;
  border-radius: 5px;
  background: var(--brown-bg);
  color: var(--brown-text);
  border-left: 3px solid var(--gold);
}

/* Photo frames */
.frame { margin: 0; overflow: hidden; }
.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(56, 169, 224, 0.1);
  border-bottom: 1px solid var(--cyan-b);
}
.frame-bar .code { color: var(--brown-text); }
.frame picture { display: block; aspect-ratio: 4 / 3; background: #05080d; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-side .frame picture, .frame-natural picture { aspect-ratio: auto; }
.hero-side .frame img, .frame-natural img { height: auto; object-fit: contain; }

/* Studio product shot: white plate inside the cyan frame so the photo's white backdrop merges, not a pasted box */
.frame-product {
  background: var(--panel);
}
.frame-product .frame-stage {
  background: #fff;
  padding: 1.15rem 1.25rem 1.3rem;
}
.frame-product picture {
  aspect-ratio: auto;
  background: #fff;
}
.frame-product img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.bench-shot {
  margin-top: 1.5rem;
  max-width: 22rem;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 18.5rem);
  gap: 1.5rem 2rem;
  align-items: start;
}
.about-intro .lead { margin-bottom: 0; }
.frame-portrait { margin: 0; }
.frame-portrait picture {
  aspect-ratio: auto;
  background: #05080d;
}
.frame-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.fleet-shot {
  margin: 1.5rem 0 0;
  max-width: 22rem;
}
.bench-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 22rem));
  gap: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}
.bench-pair .bench-shot,
.bench-pair .fleet-shot {
  margin: 0;
  max-width: 22rem;
  width: 100%;
}

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Code table */
.code-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 1.5rem;
  background: var(--panel);
  border: 1px solid var(--cyan-b);
  border-radius: 10px;
  overflow: hidden;
}
.code-table th, .code-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(56, 169, 224, 0.25);
}
.code-table tr:last-child td { border-bottom: 0; }
.code-table th {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-size: 0.92rem;
  background: rgba(56, 169, 224, 0.1);
}
.code-table td.err {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--brown-text);
  background: var(--brown-bg);
  white-space: nowrap;
  width: 6rem;
  border-left: 3px solid var(--gold);
}
.code-table td.sum { color: #d5dbe8; }

/* Serial decoder */
.decoder { overflow: hidden; max-width: 38rem; }
.decoder-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: var(--cyan);
  background: rgba(56, 169, 224, 0.1);
  border-bottom: 1px solid var(--cyan-b);
  padding: 7px 14px 6px;
}
.decoder-bar .code { color: var(--brown-text); }
.decoder-body { padding: 1rem 1.1rem 1.2rem; }
.decoder label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.decoder input[type="text"] {
  width: 100%;
  background: #000;
  color: var(--text);
  border: 1px solid var(--cyan-b);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.decoder input[type="text"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}
.decoder-actions { margin-top: 0.7rem; }
.decoder-hint { color: var(--faint); font-size: 0.9rem; margin: 0.75rem 0 0; }
.decoder-result { margin-top: 0.95rem; min-height: 1.2rem; }
.decoder-result dl { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.35rem 0.9rem; margin: 0; }
.decoder-result dt {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
}
.decoder-result dd { margin: 0; color: var(--text); }
.decoder-error, .decoder-note { margin: 0.55rem 0 0; color: var(--brown-text); font-size: 0.92rem; }

/* Contact form */
.contact-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr); gap: 20px; align-items: start; }
.contact-form { padding: 0 1.25rem 1.25rem; display: grid; gap: 1rem; overflow: hidden; }
.form-head {
  display: flex;
  justify-content: space-between;
  margin: 0 -1.25rem 0.2rem;
  padding: 7px 1.25rem 6px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(56, 169, 224, 0.1);
  border-bottom: 1px solid var(--cyan-b);
}
.form-head .code { color: var(--brown-text); }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #000;
  border: 1px solid var(--cyan-d);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}
textarea { min-height: 10rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--cyan); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 168, 29, 0.28);
}
.form-note { margin: 0; color: var(--faint); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.alt-contact { padding: 16px 18px; }
.alt-contact h2 { margin-bottom: 0.6rem; font-size: 1.4rem; }
.alt-contact p { color: var(--muted); margin: 0 0 0.7rem; }
.mail-link { font-family: var(--mono); font-size: 1rem; word-break: break-all; color: var(--cyan); }

.not-found { padding: 6vh 0 8vh; }
.not-found h1::after {
  content: "";
  display: block;
  height: 12px;
  margin-top: 0.7rem;
  max-width: 28rem;
  background:
    radial-gradient(circle at 6px 6px, var(--gold) 0 5px, transparent 6px),
    linear-gradient(var(--gold), var(--gold)) 0 5px / 100% 2px no-repeat;
}

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

@media (min-width: 1100px) {
  .c-body.has-right { grid-template-columns: var(--rail-w) minmax(0, 1fr) 290px; }
  .c-body.has-right .c-right { align-self: start; margin-top: 4px; }
}

@media (max-width: 1099px) {
  .c-right { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
}

@media (max-width: 959px) {
  :root { --rail-w: 100%; }
  body { padding: 8px; }
  .console { border-radius: 26px; min-height: calc(100vh - 16px); }
  .c-top { height: 58px; }
  .c-badge { min-width: 0; padding: 0 20px 0 14px; border-radius: 26px 0 26px 0; }
  .c-badge-text b { font-size: 1.2rem; }
  .c-badge-text i { font-size: 0.7rem; }
  .c-dot { flex-basis: 26px; width: 26px; height: 26px; }
  .c-bar-purple { width: 54px; height: 12px; }
  .c-corner-tr { width: 70px; height: 18px; border-radius: 0 26px 0 12px; }

  .c-body { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 22px; gap: 14px 0; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px 22px 22px 8px;
    background: var(--rail);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle::after { content: " +"; margin-left: 0.4em; color: var(--gold); }
  .nav-check:checked ~ .nav-toggle::after { content: " −"; }
  .nav-check:focus-visible ~ .nav-toggle { outline: 2px solid var(--gold); outline-offset: 3px; }
  .c-rail { display: none; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nav-check:checked ~ .c-rail { display: grid; }
  .rn { min-height: 56px; padding: 7px 12px; }
  .rn b { font-size: 1rem; }
  .rn i { font-size: 0.7rem; }

  .c-right { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { max-width: 20rem; }
  .home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero .hero-side { max-width: 32rem; width: 100%; margin-inline: 0; }
  .frame-product .frame-stage { padding: 0.85rem 0.9rem 1rem; }
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-intro .frame-portrait { max-width: 18rem; }
  .bench-pair { grid-template-columns: minmax(0, 1fr); }
  .bench-pair .bench-shot,
  .bench-pair .fleet-shot { max-width: 22rem; }
  .cards, .gallery, .contact-split { grid-template-columns: minmax(0, 1fr); }

  .c-bottom { flex-wrap: wrap; align-items: flex-end; min-height: 0; }
  .c-meta { order: 3; flex-basis: 100%; padding: 8px 14px 14px; font-size: 0.74rem; letter-spacing: 0.14em; }
  .c-steps { height: 32px; }
  .c-steps .s1 { width: 70px; }
  .c-steps .s2 { width: 30px; height: 20px; }
  .c-lase { margin-left: auto; min-width: 130px; padding: 8px 18px 10px 24px; }
  .c-lase b { font-size: 1.15rem; }
}

@media (max-width: 560px) {
  html, body { font-size: 16.5px; }
  .c-rail { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .svc-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .svc-code { justify-self: start; padding: 3px 10px; }
  .decoder-result dl { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .decoder-result dd { margin-bottom: 0.5rem; }
  .code-table td.err { width: 4.2rem; }
  .code-table th, .code-table td { padding: 0.6rem 0.6rem; }
  .callout { padding: 16px; }
  .c-bar-purple { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rn { transition: none; }
}
/* asset-types */
