/* ------- TOKENS ------- */
:root {
  --bg: #faf7f1;            /* warmer off-white */
  --bg-2: #f1ece1;          /* soft sand */
  --bg-3: #e7e2d4;          /* sand mid */
  --surface: #ffffff;
  --ink: #1a1d20;
  --ink-2: #2a2f36;
  --muted: #6a6f78;
  --line: #ddd6c5;
  --line-2: #ebe5d7;

  --brand: #e8531c;
  --brand-deep: #b53d12;
  --brand-soft: #fde7dc;
  --steel: #1a2730;         /* slightly warmer dark, less cold blue */
  --steel-2: #1b2e3f;

  --accent-warn: #f0b400;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --shadow-1: 0 1px 2px rgba(15,18,22,.06), 0 4px 12px rgba(15,18,22,.04);
  --shadow-2: 0 8px 30px rgba(15,18,22,.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.display, h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,.7); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* ------- HEADER ------- */
.topbar {
  background: var(--bg-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px 28px;
  padding: 10px var(--pad-x); max-width: var(--maxw); margin: 0 auto;
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.005em;
}
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .tb-item strong { color: var(--brand); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
.topbar .tb-addr { color: var(--ink-2); }
.topbar a:hover { color: var(--brand); }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,245,242,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
}
.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-img {
  height: 38px; width: auto; display: block;
}
.logo-img.light {
  height: 38px;
  filter: none;
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-md);
  font-weight: 600; font-size: 13px; color: var(--ink-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-2); color: var(--brand); }
.nav a.active { color: var(--brand); }
.nav-cta {
  margin-left: 12px; padding: 10px 18px;
  background: var(--ink); color: white !important; border-radius: var(--r-md);
  font-weight: 600;
}
.nav-cta:hover { background: var(--brand); }

/* ------- BUTTONS ------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-md);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: all .18s ease;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--steel); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: var(--bg-2); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ------- TEAM / OM OSS ------- */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin: 40px 0 8px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1/1; overflow: hidden; border-radius: 50%;
  width: 200px; height: 200px; margin: 0 auto 20px;
  background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-photo-empty {
  background: var(--bg-2); display: grid; place-items: center;
}
.team-initials {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 56px; color: var(--brand); letter-spacing: 0.02em;
}
.team-grid-office {
  grid-template-columns: repeat(2, 1fr); max-width: 720px; gap: 40px 32px;
}
.team-grid-fitters {
  grid-template-columns: repeat(3, 1fr); max-width: 980px; gap: 40px 32px; margin-top: 48px;
}
.team-card h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 0; }
.team-role {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
  margin-top: 6px;
}
.team-contact { margin-top: 14px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.team-contact a { color: var(--brand); }
.team-contact a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid-office, .team-grid-fitters { grid-template-columns: 1fr; }
  .team-photo { width: 170px; height: 170px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .team-grid-fitters { grid-template-columns: repeat(2, 1fr); }
}

/* ------- HOME — simple, Enrotek-style ------- */
.home-hero {
  padding: 96px 0 56px;
  text-align: center;
  background: var(--bg);
}
.home-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto 28px;
}
.home-hero h1::after {
  content: ''; display: block; width: 56px; height: 3px;
  background: var(--brand); margin: 22px auto 0;
}
.home-lead {
  font-size: 17px; color: var(--ink-2); line-height: 1.7;
  max-width: 64ch; margin: 0 auto 18px;
  text-wrap: pretty;
}
.home-lead:last-child { margin-bottom: 0; }

.home-services { padding: 72px 0 96px; background: var(--bg); }
.home-services-h {
  text-align: center; font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700; margin: 0 0 48px;
  color: var(--ink);
}
.home-services-h::after {
  content: ''; display: block; width: 40px; height: 2px;
  background: var(--brand); margin: 14px auto 0;
}
.home-svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.home-svc { text-align: center; }
.home-svc-photo {
  display: block; aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--r-md); background: var(--bg-2);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.home-svc-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.home-svc-photo:hover img { transform: scale(1.04); }
.home-svc h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 10px;
  color: var(--ink); letter-spacing: 0.02em;
  text-transform: uppercase;
}
.home-svc p {
  font-size: 15px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 14px;
}
.home-svc-link {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .18s;
}
.home-svc-link:hover { border-color: var(--brand); }

@media (max-width: 800px) {
  .home-svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-hero { padding: 64px 0 36px; }
  .home-services { padding: 48px 0 72px; }
}

/* ------- HERO A — split with photo ------- */
.heroA {
  padding: 56px 0 96px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(232,83,28,0.06), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(170,196,210,0.18), transparent 55%);
}
.heroA-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.heroA h1 {
  font-size: clamp(48px, 6.4vw, 88px); font-weight: 800;
}
.heroA h1 .accent { color: var(--brand); font-style: italic; font-weight: 700; }
.heroA-sub { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 24px 0 32px; }
.heroA-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.heroA-meta {
  margin-top: 48px; display: flex; gap: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.heroA-meta div { line-height: 1.2; }
.heroA-meta .num { font-family: 'Inter Tight', sans-serif; font-size: 36px; font-weight: 700; }
.heroA-meta .lbl { font-size: 13px; color: var(--muted); margin-top: 6px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }

.heroA-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--ink-2);
  box-shadow: var(--shadow-2);
}
.heroA-photo img { width: 100%; height: 100%; object-fit: cover; }
.heroA-photo-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(15,18,22,0.78); color: white;
  padding: 10px 14px; border-radius: var(--r-md);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.heroA-photo-badge {
  position: absolute; right: 16px; top: 16px;
  background: var(--brand); color: white;
  padding: 10px 14px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  font-weight: 600; text-transform: uppercase;
}

/* ------- HERO B — full-bleed photo ------- */
.heroB {
  position: relative; height: clamp(560px, 80vh, 760px);
  background: var(--steel); overflow: hidden; color: white;
}
.heroB-bg { position: absolute; inset: 0; }
.heroB-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; filter: contrast(1.05); }
.heroB-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(17,32,46,0.92) 0%, rgba(17,32,46,0.55) 60%, rgba(17,32,46,0.25) 100%);
}
.heroB-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) 64px; max-width: var(--maxw); margin: 0 auto;
}
.heroB h1 {
  font-size: clamp(48px, 7.5vw, 108px); font-weight: 800; max-width: 18ch;
}
.heroB h1 .accent { color: var(--brand); }
.heroB-sub { font-size: 20px; max-width: 580px; margin: 24px 0 36px; color: rgba(255,255,255,.85); }
.heroB-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.heroB-rail {
  position: absolute; right: var(--pad-x); top: 32px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: rgba(255,255,255,.55); letter-spacing: 0.12em; text-transform: uppercase;
  text-align: right; line-height: 1.7;
}
.heroB-marquee {
  position: relative;
  background: var(--ink); color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.heroB-marquee-track {
  display: flex; gap: 56px; padding: 18px 0;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.heroB-marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.heroB-marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ------- SECTION HEADERS ------- */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 56px); max-width: 18ch; }
.section-head p { color: var(--muted); max-width: 460px; font-size: 17px; }

/* ------- SERVICE CARDS ------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.svc-photo {
  aspect-ratio: 16/10; background: var(--bg-2); position: relative; overflow: hidden;
}
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-photo img { transform: scale(1.06); }
.svc-num {
  position: absolute; top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: var(--r-sm);
  letter-spacing: 0.08em;
}
.svc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 26px; margin-bottom: 12px; }
.svc-body p { color: var(--muted); font-size: 15px; flex: 1; }
.svc-link {
  margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase;
}
.svc:hover .svc-link svg { transform: translateX(4px); }
.svc-link svg { transition: transform .2s; }

/* ------- ABOUT BAND ------- */
.about-band {
  background: var(--bg-2); color: var(--ink); padding: 96px 0;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-band::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232,83,28,0.10), transparent 70%);
  pointer-events: none;
}
.about-band .wrap { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about-band h2 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 24px; color: var(--ink); }
.about-band p { color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.about-band p + p { margin-top: 16px; }
.about-band strong { color: var(--ink); }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .y { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 700; color: var(--brand); }
.timeline-item .t { color: var(--ink-2); font-size: 16px; }
.about-photo { aspect-ratio: 5/6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ------- CALCULATOR FEATURE ------- */
.calc-feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr;
}
.calc-text { padding: 56px; }
.calc-text h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.calc-text p { color: var(--muted); font-size: 17px; max-width: 50ch; }
.calc-list { margin: 28px 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.calc-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.calc-list .chk {
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.calc-photo { background: var(--steel); position: relative; overflow: hidden; min-height: 320px; }
.calc-photo .mock {
  position: absolute; inset: 32px; border-radius: 12px;
  background: linear-gradient(160deg, #1b2e3f, #0a141d);
  border: 1px solid rgba(255,255,255,.1);
  padding: 20px; color: white; font-family: 'JetBrains Mono', monospace;
  display: flex; flex-direction: column; gap: 10px; font-size: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.calc-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.calc-row:last-child { border: 0; }
.calc-row .v { color: var(--brand); }
.calc-row.head { border-color: rgba(255,255,255,.3); margin-bottom: 6px; padding-bottom: 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.calc-bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.calc-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent-warn)); }

/* ------- CONTACT BAND ------- */
.contact-band {
  background: var(--ink); color: white; padding: 80px 0;
}
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact-grid h2 { font-size: clamp(34px, 4vw, 52px); }
.contact-grid h2 em { color: var(--brand); font-style: normal; }
.contact-grid p { color: rgba(255,255,255,.72); font-size: 17px; margin-top: 16px; max-width: 48ch; }
.contact-info { display: grid; gap: 18px; font-family: 'JetBrains Mono', monospace; font-size: 14px; }
.contact-info .row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-info .lbl { color: rgba(255,255,255,.5); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.contact-info .val { color: white; }

/* ------- PRE-FOOTER CTA ------- */
.prefooter-cta {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 72px 0;
  text-align: center;
}
.prefooter-cta .eyebrow { display: block; margin-bottom: 14px; }
.prefooter-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--ink);
  max-width: 20ch;
  margin: 0 auto 16px;
}
.prefooter-cta p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 auto 28px;
}

/* ------- FOOTER ------- */
.footer {
  background: #0d2841;        /* deep ink-blue, not black */
  color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 {
  color: white; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  font-weight: 600; margin-bottom: 18px;
}
.footer-blurb { margin-top: 18px; max-width: 360px; font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(255,255,255,.78); }
.footer ul a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,.55);
}

/* ------- INNER PAGE: HEADER BANNER ------- */
.page-banner {
  background: var(--bg-2); color: var(--ink);
  padding: 72px 0 56px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-banner::before {
  content: ''; position: absolute; right: -160px; top: -160px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232,83,28,0.12), transparent 65%);
  pointer-events: none;
}
.page-banner::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 80px; height: 4px; background: var(--brand);
}
.page-banner .wrap { position: relative; }
.crumbs {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.page-banner h1 {
  font-size: clamp(44px, 6vw, 80px); margin-bottom: 16px; color: var(--ink);
}
.page-banner h1 em { color: var(--brand); font-style: normal; }
.page-banner .lead { color: var(--ink-2); font-size: 19px; max-width: 620px; }

/* ------- INNER: TWO-COL BODY ------- */
.body-two {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  padding-top: 24px;
}
.body-two .side { position: sticky; top: 100px; align-self: start; }
.side-toc { display: grid; gap: 4px; }
.side-toc a {
  padding: 12px 14px; border-left: 2px solid var(--line); font-size: 14px;
  color: var(--ink-2); font-weight: 500; transition: all .18s;
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.005em;
}
.side-toc a:hover, .side-toc a.active { color: var(--ink); border-color: var(--brand); background: var(--bg-2); }
.body-two h2 { font-size: 36px; margin: 36px 0 16px; }
.body-two h2:first-child { margin-top: 0; }
.body-two p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 64ch; }
.body-two p:last-child { margin-bottom: 0; }
.body-two strong { color: var(--ink); }

/* spec list */
.specs { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.specs .row {
  display: grid; grid-template-columns: 220px 1fr; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
}
.specs .k { color: var(--muted); letter-spacing: 0.04em; }
.specs .v { color: var(--ink); }

/* feature list with numbered tags */
.flist { display: grid; gap: 28px; margin: 28px 0; }
.flist .it { display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.flist .n {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 700;
  font-family: 'Inter Tight', sans-serif; font-size: 16px;
}
.flist h4 { font-size: 19px; margin-bottom: 6px; }
.flist p { font-size: 15px; }

/* big photo stripe */
.photo-stripe {
  margin: 64px 0; aspect-ratio: 21/9; border-radius: var(--r-lg);
  overflow: hidden; background: var(--ink-2);
}
.photo-stripe img { width: 100%; height: 100%; object-fit: cover; }

/* ------- LAGER GALLERY ------- */
.gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px;
  gap: 16px; margin-top: 32px;
}
.gallery > div { border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.gallery > div:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery > div:hover img { transform: scale(1.05); }

/* ------- INVENTORY TABLE ------- */
.inv {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.inv-row {
  display: grid; grid-template-columns: 80px 1fr 140px 140px 100px;
  padding: 16px 24px; align-items: center;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.inv-row:last-child { border-bottom: 0; }
.inv-row.head {
  background: var(--bg-2);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.inv-row .sku { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.inv-row .name { font-weight: 600; }
.inv-row .stock { font-family: 'JetBrains Mono', monospace; }
.inv-row .pill {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 600;
}
.pill.ok { background: #e6f4ea; color: #1d6f3d; }
.pill.low { background: #fdf3d8; color: #8a6300; }
.pill.out { background: #fbe6e6; color: #a8342f; }

/* ------- KONTAKT FORM ------- */
.kontakt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 14px; font-family: inherit; font-size: 15px; background: var(--bg);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.kontakt-side .infocard {
  background: var(--ink); color: white; border-radius: var(--r-lg); padding: 36px;
}
.kontakt-side .infocard h3 { font-size: 22px; margin-bottom: 18px; }
.kontakt-side .row {
  display: grid; grid-template-columns: 90px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px;
}
.kontakt-side .row:last-child { border-bottom: 0; }
.kontakt-side .row .k {
  color: rgba(255,255,255,.5); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.map-mock {
  margin-top: 16px; aspect-ratio: 5/4; border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 50% 50%, var(--brand) 0 8px, transparent 9px),
    linear-gradient(140deg, #d8e3df, #c2cfc8);
  position: relative; border: 1px solid var(--line); overflow: hidden;
}
.map-mock::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-mock::after {
  content: 'LOMMA, SVERIGE'; position: absolute; bottom: 14px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 4px;
}

/* ------- DIRECTION SWITCHER (top right toolbar) ------- */
.dir-switch {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60;
  background: rgba(15,18,22,0.94); color: white; border-radius: 999px;
  padding: 4px; display: inline-flex; gap: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.dir-switch button {
  background: transparent; border: 0; color: rgba(255,255,255,.7);
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em;
  font-size: 11px; text-transform: uppercase; font-weight: 500;
}
.dir-switch button.active { background: var(--brand); color: white; }
.dir-switch span { padding: 8px 10px 8px 14px; color: rgba(255,255,255,.45);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; }

/* ------- RESPONSIVE ------- */
@media (max-width: 960px) {
  .heroA-grid, .about-grid, .calc-feature, .contact-grid, .body-two, .kontakt-grid {
    grid-template-columns: 1fr; gap: 36px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .body-two .side { position: static; }
  .heroA-meta { gap: 28px; flex-wrap: wrap; }
  .heroA-meta .num { font-size: 28px; }
  .nav { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > div:first-child { grid-row: auto; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .topbar-inner { font-size: 11px; gap: 4px 16px; padding: 8px var(--pad-x); }
  .topbar .tb-item strong { font-size: 10px; }
  .calc-text { padding: 36px 28px; }
  .calc-photo { min-height: 280px; }
  .calc-photo .mock { inset: 20px; }
  .heroB h1 { font-size: clamp(40px, 9vw, 64px); }
  .heroB-rail { display: none; }
  .heroA { padding: 32px 0 56px; }
  .section { padding: 64px 0; }
  .about-band, .contact-band { padding: 64px 0; }
  .page-banner { padding: 56px 0 44px; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .specs .row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .logo-img { height: 30px; }
  .header-inner { height: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  ul[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .heroA h1 { font-size: clamp(36px, 11vw, 56px); }
  .heroB h1 { font-size: clamp(34px, 11vw, 52px); }
  .section-head h2, .body-two h2 { font-size: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery > div:first-child { grid-column: auto; }
  .gallery { grid-template-rows: repeat(5, 200px); }
  .photo-stripe { aspect-ratio: 4/3; }
  .heroA-photo { aspect-ratio: 4/4; }
  .dir-switch { font-size: 11px; padding: 3px; }
  .dir-switch button { padding: 6px 10px; font-size: 10px; }
  .dir-switch span { display: none; }
  .lager-list { grid-template-columns: 1fr !important; }
}
