/* Five independent visual systems.
   A visitor who lands on de-a and then de-b should not recognise the layout.
   Colour, type, density, hero construction and section rhythm all change. */

/* ============================================================ f1 CATALOGUE
   Dark graphite, dense, table-forward. The model range is the page. */
.f1 {
  --bg: #0e1013;
  --surface: #16191d;
  --surface-2: #1d2126;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ecebe7;
  --muted: #98a0a8;
  --accent: #ff5a00;
  --accent-text: #ff7a2e;
  --radius: 0px;
  --font: 'Archivo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.f1 h1, .f1 h2, .f1 h3 { letter-spacing: -0.02em; }
.f1 h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 0.98; text-transform: none; }
.f1 .kicker { color: var(--accent-text); letter-spacing: 0.14em; }

/* split hero with spec chips on the image */
.hero--spec .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.hero--spec .hero__media { position: relative; }
.hero--spec .hero__media img { width: 100%; height: auto; display: block; }
.spec-chips {
  position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 9px; background: rgba(14, 16, 19, 0.86);
  border: 1px solid var(--line-strong); color: var(--text);
}
.f1 .stat-rule { border-top: 1px solid var(--line-strong); }

/* ============================================================ f2 SOLUTION
   Sand and slate, large photography, application-first. */
.f2 {
  --bg: #f3efe8;
  --surface: #ffffff;
  --surface-2: #e7e1d6;
  --line: rgba(24, 32, 42, 0.12);
  --line-strong: rgba(24, 32, 42, 0.28);
  --text: #18202a;
  --muted: #5c6672;
  --accent: #b4471f;
  --accent-text: #9c3d1a;
  --radius: 0px;
  --font: 'Archivo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.f2 .site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.f2 h1 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -0.015em; }
.f2 h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.01em; }
.f2 .kicker { color: var(--accent-text); }

.hero--scene { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; }
.hero--scene .hero__bg { position: absolute; inset: 0; }
.hero--scene .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--scene .hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24, 32, 42, 0.92) 0%, rgba(24, 32, 42, 0.62) 46%, rgba(24, 32, 42, 0.1) 100%);
}
.hero--scene .wrap { position: relative; z-index: 1; padding-block: clamp(40px, 5vw, 72px); color: #f7f4ee; max-width: none; }
.hero--scene .hero__copy { max-width: 620px; }
.hero--scene .lead { color: rgba(247, 244, 238, 0.82); }
.hero--scene .kicker { color: #e8b48f; }
.industry-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.industry-strip a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid rgba(247, 244, 238, 0.4); color: #f7f4ee;
}

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.industry-card { background: var(--surface); padding: 0; display: flex; flex-direction: column; }
.industry-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-card div { padding: 22px 22px 26px; }
.industry-card h3 { font-size: 19px; margin-bottom: 8px; }
.industry-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ============================================================ f3 CAPABILITY
   White engineering document: hairlines, mono figures, no decorative colour. */
.f3 {
  --bg: #ffffff;
  --surface: #f5f6f7;
  --surface-2: #eceef0;
  --line: #dfe2e5;
  --line-strong: #b9bfc5;
  --text: #111417;
  --muted: #5a636b;
  --accent: #ff5a00;
  --accent-text: #c24500;
  --radius: 0px;
  --font: 'Archivo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.f3 h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; }
.f3 h2 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.01em; }
.f3 .section { border-top: 1px solid var(--line); }
.f3 .kicker { color: var(--muted); letter-spacing: 0.16em; }

.hero--plant { border-bottom: 1px solid var(--line); }
.hero--plant .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 56px); align-items: end; padding-block: clamp(40px, 5vw, 76px); }
.hero--plant .hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.hero--plant .hero__copy { padding-bottom: 4px; }
.kpi-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi { padding: 22px 20px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi b { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 27px; font-weight: 500; letter-spacing: -0.02em; }
.kpi span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.timeline { border-left: 1px solid var(--line-strong); margin-left: 12px; }
.timeline .step { position: relative; padding: 0 0 30px 30px; }
.timeline .step::before {
  content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px;
  background: var(--accent); border-radius: 50%;
}
.timeline .step b { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent-text); letter-spacing: 0.08em; }
.timeline .step h3 { font-size: 18px; margin: 6px 0 6px; }
.timeline .step p { color: var(--muted); font-size: 14.5px; }

.cert-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-row span {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em;
  padding: 9px 14px; border: 1px solid var(--line-strong);
}

/* ============================================================ f4 GUIDE
   Cream, serif display, one column, built to be read and cited. */
.f4 {
  --bg: #faf7f1;
  --surface: #fffdf9;
  --surface-2: #f0ebe1;
  --line: rgba(26, 25, 23, 0.14);
  --line-strong: rgba(26, 25, 23, 0.3);
  --text: #1a1917;
  --muted: #6b665e;
  --accent: #a8401c;
  --accent-text: #8f3517;
  --radius: 0px;
  --font: 'Archivo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.f4 h1, .f4 h2, .f4 h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.01em; }
.f4 h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
.f4 h2 { font-size: clamp(24px, 3vw, 36px); }
.f4 .kicker { color: var(--accent-text); letter-spacing: 0.16em; }
.f4 .measure { max-width: 66ch; }

.hero--editorial .wrap { display: block; padding-block: clamp(56px, 7vw, 104px); }
.hero--editorial .hero__copy { max-width: 24ch; }
.hero--editorial .lead { max-width: 54ch; font-size: 19px; line-height: 1.62; color: var(--muted); }
.hero--editorial .hero__rule { height: 1px; background: var(--line-strong); margin: clamp(30px, 4vw, 52px) 0 0; }

.guide-list { border-top: 1px solid var(--line-strong); }
.guide-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide-item .no { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent-text); padding-top: 5px; }
.guide-item h3 { font-size: 22px; margin-bottom: 8px; }
.guide-item p { color: var(--muted); max-width: 72ch; }

/* ============================================================ f5 DIRECT
   Black, oversized type, one action. Built for a phone screen. */
.f5 {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1e1e21;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.34);
  --text: #ffffff;
  --muted: #a5a5ab;
  --accent: #ff5a00;
  --accent-text: #ff6f1f;
  --radius: 0px;
  --font: 'Archivo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.f5 h1 { font-size: clamp(42px, 7vw, 86px); line-height: 0.94; letter-spacing: -0.03em; font-weight: 800; }
.f5 h2 { font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.02em; }
.f5 .kicker { color: var(--accent-text); }
.f5 .section { padding-block: clamp(42px, 5vw, 72px); }

.hero--offer .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: clamp(44px, 6vw, 84px); }
.hero--offer .hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offer-card { border: 1px solid var(--line-strong); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.offer-card .btn { width: 100%; }
.offer-card small { color: var(--muted); font-size: 12.5px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .hero--spec .wrap,
  .hero--plant .wrap,
  .hero--offer .wrap { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .kpi-rail { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2n) { border-right: 0; }
  .hero--scene { min-height: 62vh; }
  .guide-item { grid-template-columns: 44px 1fr; }
}

/* ------------------------------------------------ shared list components
   These used to live in the per-theme files; without them the model list
   collapses into a single column. */
.compare-row {
  display: grid;
  grid-template-columns: 96px 1.5fr 0.7fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.compare-row img { width: 96px; height: 68px; object-fit: contain; }
.compare-row > span { color: var(--accent-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 84px 1fr; gap: 10px; }
  .compare-row > :nth-child(n + 3) { display: none; }
}

.model-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.model-hero__media img { width: 100%; height: auto; }
@media (max-width: 900px) { .model-hero { grid-template-columns: 1fr; } }

/* CTA band: dark button on the orange band, white button on the darker rust
   bands. The previous rule produced a black box with black text. */
.cta-band .btn--solid { background: #171310; color: #fff; }
.cta-band .btn--solid:hover { background: #000; }
.cta-band .btn--ghost { border-color: currentColor; color: inherit; }
.f2 .cta-band, .f4 .cta-band { color: #fff; }
.f2 .cta-band p, .f4 .cta-band p { color: rgba(255, 255, 255, 0.86); }

/* Hero corrections */
.hero--plant .wrap { align-items: center; }
.hero--plant .hero__media img { aspect-ratio: 16 / 11; }
.hero--scene .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 42, 0.55);
  background-image: linear-gradient(90deg, rgba(24, 32, 42, 0.94) 0%, rgba(24, 32, 42, 0.72) 44%, rgba(24, 32, 42, 0.18) 100%);
}
@media (max-width: 560px) {
  .topbar__left a:nth-child(2) { display: none; }
  .topbar .wrap { gap: 8px; }
}
