/* ==========================================================================
   Lightspeed Welding — v1
   Palette derived from heat-tint (temper) colours on stainless steel.
   ========================================================================== */

:root {
  /* Steel */
  --steel-950: #0F1318;
  --steel-900: #171C23;
  --steel-800: #232A34;
  --steel-700: #333C48;
  --steel-600: #5A6472;
  --steel-400: #98A2B0;
  --steel-200: #CBD2DA;
  --steel-100: #E4E8EC;
  --steel-050: #F2F4F6;
  --paper: #FBFCFD;

  /* Temper sequence */
  --straw: #C9A227;
  --bronze: #B06B36;
  --plum: #7E4A72;
  --violet: #544C90;
  --indigo: #2E4A8C;
  --sky: #3E7EA8;

  --temper: linear-gradient(90deg, var(--straw) 0%, var(--bronze) 22%,
    var(--plum) 42%, var(--violet) 60%, var(--indigo) 80%, var(--sky) 100%);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--steel-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--straw); color: var(--steel-950);
  padding: .75rem 1.25rem; z-index: 999; font-weight: 600;
}
.skip:focus { left: 0; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-variation-settings: "wdth" 100; letter-spacing: -0.01em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  color: var(--steel-600);
  max-width: 58ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1rem;
  display: block;
}

.eyebrow-light { color: var(--straw); }

/* ------------------------------------------------------- Temper rule ---- */

.temper-rule {
  height: 3px;
  background: var(--temper);
  border-radius: 3px;
  width: 100%;
}

.temper-rule--short { max-width: 240px; }

.section-rule {
  height: 2px;
  background: var(--temper);
  opacity: .85;
  border: 0;
  margin: 0;
}

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 19, 24, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; display: block; }

/* The header and footer are near-black, so the wordmark is forced to white.
   If your logo has colour you want to keep, delete the two `filter` lines below. */
.brand img, .footer-brand img { filter: brightness(0) invert(1); }
.brand-text {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: 1.12rem;
  letter-spacing: -.02em; color: #fff; line-height: 1;
}
.brand-text span { color: var(--straw); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }

.nav a {
  color: var(--steel-200);
  font-size: .93rem; font-weight: 500;
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: var(--radius);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--straw); }

.nav-tel {
  font-family: var(--font-mono);
  font-size: .88rem; font-weight: 500;
  color: var(--steel-950) !important;
  background: var(--straw);
  padding: .55rem 1rem !important;
  margin-left: .6rem;
  white-space: nowrap;
}
.nav-tel:hover { background: #DBB33A; color: var(--steel-950) !important; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid rgba(255,255,255,.22);
  color: #fff; padding: .5rem .7rem; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .8rem; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--steel-950);
    border-bottom: 1px solid rgba(255,255,255,.09);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-tel { margin: .9rem 0 0; text-align: center; }
}

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

.hero {
  background: var(--steel-950);
  color: #fff;
  padding-block: clamp(4rem, 11vw, 8rem) clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 340px;
  background: radial-gradient(120% 100% at 18% 100%, rgba(46,74,140,.30), transparent 62%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: var(--steel-200); margin-top: 1.6rem; }

.hero-rule { margin: 2rem 0 0; max-width: 420px; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-top: 2.4rem;
}

.hero-meta {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem;
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .05em;
  color: var(--steel-400);
  text-transform: uppercase;
}
.hero-meta span { display: flex; align-items: center; gap: .55rem; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--straw); flex-shrink: 0;
}

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

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.btn-primary { background: var(--straw); color: var(--steel-950); }
.btn-primary:hover { background: #DBB33A; color: var(--steel-950); }

.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-dark { background: var(--steel-900); color: #fff; }
.btn-dark:hover { background: var(--indigo); color: #fff; }

.btn-outline { border-color: var(--steel-200); color: var(--steel-900); }
.btn-outline:hover { border-color: var(--steel-900); background: var(--steel-050); color: var(--steel-900); }

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section-dark { background: var(--steel-950); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: var(--steel-200); }
.section-alt { background: var(--steel-050); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ------------------------------------------------------------ Proof ----- */

.proof { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .proof { grid-template-columns: 1.1fr 1fr; align-items: center; } }

.timebar { display: grid; gap: 1rem; }

.timebar-row { display: grid; gap: .45rem; }

.timebar-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel-400);
}
.timebar-label b { font-size: 1.05rem; color: #fff; font-weight: 600; }

.timebar-track { height: 12px; background: rgba(255,255,255,.09); border-radius: 2px; overflow: hidden; }
.timebar-fill { height: 100%; border-radius: 2px; }
.timebar-fill--old { background: var(--steel-600); width: 100%; }
.timebar-fill--new { background: var(--temper); background-size: 600% 100%; width: 3.9%; min-width: 6px; }

.attrib {
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--steel-400); letter-spacing: .04em;
  margin-top: 1.4rem;
}

/* ------------------------------------------------------------- Cards ---- */

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--temper); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { border-color: var(--steel-200); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }

.card-icon { color: var(--indigo); margin-bottom: 1.1rem; }
.card-icon svg { display: block; }

.card h3 { margin-bottom: .45rem; }
.card p { color: var(--steel-600); font-size: .95rem; margin-bottom: 1.1rem; }
.card-foot { margin-top: auto; }

.card-link {
  font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  color: var(--indigo);
}
.card-link::after { content: " →"; }
.card:hover .card-link { color: var(--bronze); }

/* Value cards on dark */
.card-dark {
  background: var(--steel-900);
  border-color: var(--steel-800);
}
.card-dark p { color: var(--steel-400); }
.card-dark .card-icon { color: var(--straw); }
.card-dark:hover { border-color: var(--steel-700); }

/* ------------------------------------------------------ Testimonials ---- */

.quotes { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }

.quote {
  border-left: 3px solid var(--straw);
  padding: .25rem 0 .25rem 1.4rem;
}
.quote p { font-size: 1.02rem; line-height: 1.55; margin-bottom: .8rem; }
.quote cite {
  font-family: var(--font-mono); font-style: normal;
  font-size: .78rem; letter-spacing: .06em;
  color: var(--steel-600); text-transform: uppercase;
}
.section-dark .quote cite { color: var(--steel-400); }

.quote:nth-child(2) { border-left-color: var(--bronze); }
.quote:nth-child(3) { border-left-color: var(--violet); }
.quote:nth-child(4) { border-left-color: var(--indigo); }

/* ------------------------------------------------------------- Store ---- */

.store-note {
  border: 1px solid var(--steel-100);
  border-left: 3px solid var(--straw);
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.store-note h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.store-note .tag {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze); display: block; margin-bottom: .9rem;
}

/* ------------------------------------------------------------- Specs ---- */

.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--steel-100);
  font-size: .95rem;
}
.spec-list li:first-child { border-top: 1px solid var(--steel-100); }
.spec-list dt, .spec-list .k { color: var(--steel-600); }
.spec-list .v { font-family: var(--font-mono); font-size: .88rem; text-align: right; }

.section-dark .spec-list li { border-color: var(--steel-800); }
.section-dark .spec-list .k { color: var(--steel-400); }

/* ------------------------------------------------------ Model lineup ---- */

.lineup {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  background: var(--steel-050);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.75rem);
}
.lineup img { display: block; width: 100%; height: auto; }
.lineup figcaption {
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel-600); margin-top: 1rem; text-align: center;
}

/* --------------------------------------------------- Comparison table ---- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  background: #fff;
}

.cmp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .92rem; }

.cmp th, .cmp td {
  padding: .8rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--steel-100);
  white-space: nowrap;
}

.cmp thead th {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 104;
  font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--steel-900);
  border-bottom: 0;
  position: sticky; top: 0; z-index: 2;
}
.cmp thead th:first-child { background: var(--steel-950); text-align: left; }

.cmp tbody th {
  text-align: left; font-weight: 500;
  color: var(--steel-900); font-family: var(--font-body);
  background: var(--steel-050);
  position: sticky; left: 0; z-index: 1;
  border-right: 1px solid var(--steel-100);
  white-space: normal; min-width: 190px;
}

.cmp td { font-family: var(--font-mono); font-size: .82rem; color: var(--steel-700); }
.cmp tbody tr:nth-child(even) td { background: #FAFBFC; }
.cmp tbody tr:nth-child(even) th { background: var(--steel-100); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .na { color: var(--steel-400); }

.cmp .model-2000 { box-shadow: inset 0 -3px 0 #A32138; }
.cmp .model-1500xr { box-shadow: inset 0 -3px 0 var(--bronze); }
.cmp .model-1500xc { box-shadow: inset 0 -3px 0 #E8761B; }
.cmp .model-1000 { box-shadow: inset 0 -3px 0 var(--sky); }

.table-note {
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .05em; color: var(--steel-600);
  margin-top: .9rem;
}

@media (max-width: 760px) {
  .table-hint { display: block; }
}
.table-hint { display: none; }

/* -------------------------------------------------------------- Form ---- */

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel-600); font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: #fff; color: var(--steel-900);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(46,74,140,.14);
}
.hp { position: absolute; left: -9999px; }

.form-note { font-size: .86rem; color: var(--steel-600); margin-top: 1rem; }

/* ------------------------------------------------------- Contact bar ---- */

.contact-rows { display: grid; gap: 1.4rem; }
.contact-row { display: grid; gap: .25rem; }
.contact-row .k {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400);
}
.contact-row .v { font-size: 1.15rem; font-weight: 500; }
.contact-row .v a { color: #fff; text-decoration: none; }
.contact-row .v a:hover { color: var(--straw); }

/* ------------------------------------------------------------- CTA ------ */

.cta-band { background: var(--steel-050); border-top: 1px solid var(--steel-100); }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .cta-inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-inner h2 { margin-bottom: .4rem; }
.cta-inner p { color: var(--steel-600); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

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

.site-footer {
  background: var(--steel-950);
  color: var(--steel-400);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .92rem;
}
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 3.5rem; } }

.site-footer h4 {
  font-family: var(--font-mono);
  font-variation-settings: normal;
  font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: var(--steel-400); text-decoration: none; }
.footer-links a:hover { color: var(--straw); }

.footer-blurb { max-width: 42ch; }
.footer-brand { margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.footer-brand img { height: 28px; }

.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between;
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .04em; color: var(--steel-600);
}
.footer-bottom a { color: var(--steel-600); text-decoration: none; }
.footer-bottom a:hover { color: var(--straw); }

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

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

.hero-rule .temper-rule { animation: wipe 1s cubic-bezier(.16,.84,.44,1) .15s both; }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-rule .temper-rule { transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- Prose ---- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { font-weight: 600; }
