/* LH19 — styles based on the "Modernist" design system from Claude Design. */

/* Archivo (variable, 100–900), self-hosted. Licensed under the SIL Open Font License. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-muted: color-mix(in srgb, var(--color-text) 78%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
}

/* ── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty;
}
h1, h2, h3 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}
p { margin: 0; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.muted { color: var(--color-muted); }
.accent { color: var(--color-accent); }
.tnum { font-feature-settings: 'tnum' 1; }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent; border-radius: 0;
  padding: 8px 14.4px;
}
.btn svg { display: block; }
.btn-primary, .btn-primary:hover { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: 4px; }
.btn-ghost:hover { color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-lg { font-size: 18px; padding: 18px 28px; justify-content: flex-start; }

/* ── navigation ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; row-gap: 8px;
  padding: 12px var(--gutter);
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-divider);
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(12px, 2.4vw, 32px); margin-left: auto;
}
.nav-links a { white-space: nowrap; font-size: 15px; }
.nav a.is-active { color: var(--color-accent); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-menu {
  flex-basis: 100%;
  display: flex; flex-direction: column;
  border-top: 2px solid var(--color-divider);
  margin: 8px 0 -8px;
}
.nav-menu[hidden] { display: none; }
.nav-menu a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; border-bottom: 2px solid var(--color-divider);
}

.nav-spacer { height: 66px; }

@media (max-width: 759.98px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 760px) {
  .nav-menu { display: none !important; }
}

/* ── layout ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.rule { height: 2px; border: 0; margin: 0; background: var(--color-divider); }

.eyebrow {
  display: block; margin-bottom: 20px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: normal; }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  padding: clamp(72px, 12vw, 144px) 0 clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero-title {
  font-size: clamp(42px, 7vw, 96px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 0 -0.058em; max-width: 14ch;
}
.hero-title span { display: block; }
.hero-lead { font-size: 18px; line-height: 1.6; max-width: 56ch; margin-top: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.road { position: relative; height: 170px; overflow: hidden; }
.truck {
  position: absolute; left: 0; bottom: 30px; width: 112px; height: 112px;
  color: var(--color-accent); will-change: transform;
}
.truck svg { display: block; }
.road-line {
  position: absolute; left: 0; right: 0; bottom: 36px; height: 3px;
  background: var(--color-accent);
}
.road-dash {
  position: absolute; left: 0; right: 0; bottom: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 24px, transparent 24px 56px);
}

/* ── about + 3D box ───────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) 0;
}
.about-text { display: flex; flex-direction: column; align-items: flex-start; }

.box-stage {
  display: flex; justify-content: center; align-items: center;
  min-height: 320px; perspective: 1000px;
}
.box {
  position: relative; width: 0; height: 0; margin-top: 60px;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(-34deg);
}
.box-face {
  position: absolute; box-sizing: border-box;
  border: 2px solid var(--color-text);
  background: var(--color-neutral-200);
}
.box-bottom { left: -90px; top: -70px; width: 180px; height: 140px; transform: rotateX(90deg) translateZ(-60px); }
.box-back   { left: -90px; top: -60px; width: 180px; height: 120px; transform: rotateY(180deg) translateZ(70px); }
.box-left   { left: -70px; top: -60px; width: 140px; height: 120px; transform: rotateY(-90deg) translateZ(90px); }
.box-right  { left: -70px; top: -60px; width: 140px; height: 120px; transform: rotateY(90deg) translateZ(90px); background: var(--color-neutral-100); }
.box-front  {
  left: -90px; top: -60px; width: 180px; height: 120px; transform: translateZ(70px);
  background: var(--color-bg);
  display: flex; align-items: flex-end; padding: 12px;
}
.box-front span {
  color: var(--color-accent);
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; letter-spacing: 0.06em;
}
.box-sheet {
  position: absolute; left: -50px; top: -50px; width: 100px; height: 110px;
  background: var(--color-bg); border: 2px solid var(--color-text);
  will-change: transform;
  display: flex; flex-direction: column; gap: 8px; padding: 0 12px;
}
.sheet-header { height: 8px; background: var(--color-accent); margin: 0 -12px 6px; }
.sheet-line { height: 2px; background: var(--color-text); }

.box-flap {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform-style: preserve-3d;
}
.box-flap-l { transform: translate3d(-90px, -60px, 0); }
.box-flap-r { transform: translate3d(90px, -60px, 0); }
.box-flap > div {
  position: absolute; top: -70px; width: 90px; height: 140px;
  border: 2px solid var(--color-text); background: var(--color-bg);
  transform: rotateX(90deg);
}
.box-flap-l > div { left: 0; }
.box-flap-r > div { left: -90px; }

/* ── experience ───────────────────────────────────────── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  border-top: 2px solid var(--color-divider);
}
.exp-item { padding: 32px 32px 32px 0; border-bottom: 2px solid var(--color-divider); }
.exp-item .square { width: 10px; height: 10px; background: var(--color-accent); margin-bottom: 24px; }
.exp-item p { font-size: 15.5px; line-height: 1.65; margin-top: 14px; }

/* ── steps ────────────────────────────────────────────── */
.step {
  display: grid;
  grid-template-columns: minmax(56px, 140px) minmax(0, 1fr);
  gap: 12px clamp(20px, 4vw, 64px);
  padding: 32px 0;
  border-top: 2px solid var(--color-divider);
  align-items: baseline;
}
.step-num {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(32px, 4vw, 48px); line-height: 1; color: var(--color-accent);
}
.step-title { font-size: 24px; }
.step p.muted { font-size: 15.5px; line-height: 1.65; margin-top: 10px; max-width: 60ch; }

/* ── offer ────────────────────────────────────────────── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--color-divider);
  border: 2px solid var(--color-divider);
}
@media (max-width: 959.98px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }
.offer-tile { background: var(--color-surface); padding: 28px 24px; min-height: 220px; }
.offer-tile > div { display: flex; flex-direction: column; }
.offer-num {
  font-size: 13px; letter-spacing: 0.08em; color: var(--color-accent-700);
  font-feature-settings: 'tnum' 1;
}
.offer-title { margin-top: 20px; }
.offer-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.offer-list li {
  font-size: 15px; line-height: 1.5; color: var(--color-muted);
  display: flex; gap: 10px;
}
.offer-list li::before {
  content: ""; flex: none; width: 6px; height: 6px;
  background: var(--color-text); margin-top: 8px;
}

/* ── contact ──────────────────────────────────────────── */
.contact { background: var(--color-accent); color: var(--color-bg); }
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.contact-title {
  font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 0 -0.058em;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px; margin-top: 56px;
  border-top: 2px solid var(--color-bg); padding-top: 32px;
}
.contact-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.contact-value {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 28px; line-height: 1.25;
}
.contact-link, .contact-link:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-link:hover { text-decoration-thickness: 4px; }

/* ── footer ───────────────────────────────────────────── */
.footer {
  max-width: 1200px; margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 13px; color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.footer a { color: inherit; }
.footer a:hover { color: var(--color-accent); }
