@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

:root {
  --paper: #f3f4f1;
  --white: #fafbf8;
  --ink: #16232b;
  --muted: #64717a;
  --line: #cbd2d1;
  --blue: #164a70;
  --blue-dark: #103a59;
  --hero: #142a38;
  --hero-muted: #c9d6da;
  --accent: #e8b753;
  font-family: 'Barlow', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, p, figure { margin: 0; }
.wrap { width: min(100% - 88px, 1440px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 12px; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #e2a122; outline-offset: 3px; }

.footer-top a:hover { color: var(--blue); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { width: 27px; height: 2px; background: var(--blue); }
h1, h2 { font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 600; letter-spacing: -.025em; }
h1 em, h2 em { font-style: normal; }

.showcase.wrap { width: 100%; max-width: none; }
.showcase { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: clamp(36px, 3.5vw, 72px); padding: 46px max(28px, calc((100% - 1500px) / 2)) 58px; background: var(--hero); color: #f7f9f7; }
.showcase-intro { min-width: 0; }
.showcase .eyebrow { color: var(--accent); line-height: 1.5; }
.showcase .eyebrow-line { background: var(--accent); }
.showcase h1 { margin-top: 28px; font-size: clamp(64px, 5.1vw, 88px); line-height: .91; }
.showcase h1 em { display: block; margin-top: 2px; color: var(--accent); font-weight: 500; }
.showcase-intro > p { max-width: 420px; margin-top: 30px; color: var(--hero-muted); font-size: 18px; line-height: 1.58; }
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; margin-top: 28px; padding: 8px 0; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .18s ease, border-color .18s ease; }
.hero-cta:hover { color: #fff; border-color: #fff; }
.hero-cta span { font-size: 20px; line-height: 1; }
.viewer { width: min(100%, 830px); justify-self: start; border: 1px solid #75909b; background: #adb5b9; }
.turntable-stage { position: relative; aspect-ratio: 20 / 19; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.turntable-stage:active { cursor: grabbing; }
.turntable-stage img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.viewer-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 22px; min-height: 82px; padding: 12px 18px; background: #f1f4f2; color: var(--ink); }
.viewer-instructions strong, .viewer-instructions span { display: block; }
.viewer-instructions strong { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.viewer-instructions span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.turntable-controls { display: flex; gap: 7px; }
.turntable-controls button { min-width: 48px; height: 48px; border: 1px solid #9ca9ad; background: transparent; color: var(--ink); cursor: pointer; font-size: 22px; }
.turntable-controls button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.turntable-controls .reset-button { min-width: 108px; padding: 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.frame-indicator { min-width: 88px; color: var(--muted); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.frame-indicator output { margin-left: 5px; color: var(--ink); font-weight: 700; }
.section-space { padding-block: 88px; }
.section-intro { margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-intro > .eyebrow { margin-bottom: 22px; }
.section-intro > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: end; gap: clamp(32px, 5vw, 90px); }
.section-intro h2 { margin: 0; font-size: clamp(60px, 5.2vw, 88px); line-height: .92; }
.section-intro h2 em { color: var(--blue); font-weight: 500; }
.section-intro p:not(.eyebrow) { max-width: 520px; margin-bottom: 5px; color: #58666d; font-size: 17px; line-height: 1.58; }
.view-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 22px; }
.view { min-width: 0; display: flex; flex-direction: column; }
.view > a { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #b7bec1; }
.view img { width: 100%; height: 100%; object-fit: contain; }
.view figcaption { display: grid; grid-template-columns: 55px minmax(0, 1fr) 18px; gap: 12px; min-height: 92px; margin-top: 12px; padding-top: 14px; border-top: 2px solid var(--ink); }
.view-number { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.view-caption strong { display: block; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 27px; font-weight: 600; line-height: 1.05; }
.view-caption small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.view-arrow { color: var(--blue); font-size: 18px; }

.materials { background: #dfe5e5; }
.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 35px; margin: 0; padding: 0; list-style: none; }
.material { display: flex; align-items: center; gap: 16px; min-height: 78px; border-top: 1px solid #bbc7c9; }
.material-chip { width: 38px; height: 38px; flex: none; border: 1px solid rgba(0, 0, 0, .14); }
.material strong, .material small { display: block; }
.material strong { font-size: 14px; font-weight: 700; }
.material small { margin-top: 4px; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.reference-grid figure { min-width: 0; }
.reference-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.reference-frame img { width: 100%; height: 100%; object-fit: cover; }
.reference-frame--boiler img { position: absolute; top: -28.15%; left: -41.11%; width: 303.33%; height: auto; max-width: none; }
.reference-grid figcaption { display: grid; grid-template-columns: 160px 1fr; gap: 20px; margin-top: 14px; padding: 18px 0; border-top: 2px solid var(--ink); }
.reference-grid figcaption span { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.reference-grid figcaption p { color: #56646c; font-size: 15px; line-height: 1.6; }
.site-footer { padding-block: 30px 45px; }
.footer-top { display: flex; justify-content: flex-end; padding-bottom: 42px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-top a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-bottom p { max-width: 640px; }
.footer-bottom span { color: var(--ink); font-weight: 700; white-space: nowrap; }
.footer-credit strong { color: var(--blue); }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 48px, 1440px); }
  .showcase { grid-template-columns: 1fr; gap: 32px; padding-inline: 24px; }
  .showcase-intro { max-width: 660px; }
  .showcase-intro > p { max-width: 600px; }
  .viewer { justify-self: center; width: min(100%, 830px); }
  .section-intro > div { grid-template-columns: 1fr; gap: 18px; }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-toolbar { grid-template-columns: 1fr auto; }
  .frame-indicator { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 1440px); }
  .showcase { gap: 28px; padding: 36px 16px 30px; }
  .showcase h1 { margin-top: 24px; font-size: clamp(52px, 10vw, 68px); }
  .showcase-intro > p { margin-top: 22px; font-size: 16px; }
  .hero-cta { margin-top: 28px; }
  .viewer-toolbar { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .turntable-controls { order: 2; }
  .frame-indicator { grid-column: auto; order: 3; }
  .section-space { padding-block: 64px; }
  .section-intro h2 { font-size: clamp(56px, 11vw, 72px); }
  .view-grid, .reference-grid { grid-template-columns: 1fr; }
  .view-grid { gap: 38px; }
  .material-grid { gap: 0 16px; }
  .material { gap: 9px; }
  .material-chip { width: 30px; height: 30px; }
  .material strong { font-size: 14px; }
  .material small { font-size: 13px; }
  .reference-grid { gap: 44px; }
  .reference-grid figcaption { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-cta { transition: none; } }
