:root { color-scheme: light; --ink: #232d30; --muted: #536267; --accent: #356b5b; --seafoam: #b9dfd1; --line: #dce4e1; --wash: #f5f8f7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
.icon { flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: 12px; z-index: 10; padding: 14px 20px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 88px; }
.header-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.header-logo img { width: 175px; height: auto; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 550; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover, .text-link:hover { color: var(--accent); }
.nav-contact { gap: 28px; border: 1px solid var(--line); padding-inline: 18px; }
.nav-contact:hover { background: var(--wash); }
/* Both layers share a grid cell. The figure sticks within the story;
   content stays in normal document flow, with no scroll interception. */
.product-story { display: grid; grid-template-columns: minmax(0, 1fr); background: #edf2f3; }
.story-visual { grid-area: 1 / 1; align-self: start; position: sticky; top: 88px; height: calc(100vh - 88px); height: calc(100svh - 88px); margin: 0; min-width: 0; }
.story-visual img { width: 100%; height: 100%; object-fit: contain; }
/* Fill typical desktop viewports with the taller room scene. Outside this
   range contain protects the machine from clipping or panel overlap. */
@media (min-width: 1000px) and (min-height: 600px) and (min-aspect-ratio: 8/5) and (max-aspect-ratio: 11/5) {
  .story-visual img { object-fit: cover; object-position: center; }
}
.story-content { grid-area: 1 / 1; position: relative; z-index: 1; pointer-events: none; }
.story-step { display: flex; align-items: center; min-height: calc(100vh - 88px); min-height: calc(100svh - 88px); padding: 64px 0; }
.story-panel { pointer-events: auto; width: min(520px, 43%); margin-left: 4%; padding: 32px; background: #fff; border-top: 2px solid var(--seafoam); box-shadow: 0 12px 48px #232d3008; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; line-height: 1.7; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; }
.status-dot { flex: 0 0 6px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(48px, 5.2vw, 74px); line-height: 1.04; letter-spacing: -.06em; font-weight: 550; margin: 26px 0 24px; }
.hero-lede { font-size: 21px; line-height: 1.5; letter-spacing: -.02em; margin: 0 0 16px; }
.story-panel p { color: var(--muted); font-size: 15px; margin: 22px 0 0; }
.story-panel .eyebrow { margin: 0; color: var(--accent); font-size: 10px; }
.story-panel .hero-lede { color: var(--ink); font-size: 21px; margin: 0 0 16px; }
.story-panel .hero-detail { font-size: 14px; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 26px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 50px; padding: 14px 18px; font-size: 13px; font-weight: 600; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--accent); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a4b5ae; }
.story-panel .development-note { font-size: 12px; margin-top: 24px; }
.story-panel .chapter-foot { font-size: 10px; letter-spacing: .06em; padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line); }
.section-label { color: var(--accent); }
h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; margin: 20px 0 0; }
.focus-list { list-style: none; padding: 0; margin: 26px 0; }
.focus-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.development-panel { padding: 18px; background: var(--wash); border-left: 2px solid var(--seafoam); }
.development-panel h3 { margin: 0; font-size: 11px; font-weight: 650; color: var(--accent); }
.story-panel .development-panel p { font-size: 12px; margin-top: 8px; }
.engineering-list, .company-facts { margin: 26px 0 0; }
.engineering-list > div, .company-facts > div { border-top: 1px solid var(--line); padding: 16px 0; }
.engineering-list dt { font-size: 16px; font-weight: 550; }
.engineering-list dd, .company-facts dd { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.story-panel .large-copy { font-size: 18px; color: var(--ink); line-height: 1.6; }
.company-facts dt { color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.leadership-presentation { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
.founder-portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border: 1px solid var(--line); }
.leadership-copy { min-width: 0; }
.leadership-copy h3 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; margin: 0 0 8px; }
.section { padding-block: 88px; border-top: 1px solid var(--line); background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; }
.contact-grid h2 { font-size: clamp(30px, 3vw, 42px); }
.contact-grid > div > p:last-child { max-width: 460px; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.contact-details { border-top: 2px solid var(--seafoam); padding-top: 24px; }
.contact-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: clamp(18px, 2.05vw, 26px); letter-spacing: -.03em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-email:hover { color: var(--accent); }
.contact-grid .contact-details .contact-note { font-size: 12px; margin-top: 16px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-inner .text-link { font-size: 11px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .story-panel { padding: 26px; }
  .contact-grid { gap: 40px; }
}
/* A single-column fallback also handles short landscape screens and
   reduced motion. It never relies on fixed backgrounds on mobile. */
@media (max-width: 999px), (max-height: 599px), (prefers-reduced-motion: reduce) {
  html { scroll-padding-top: 24px; }
  .site-header { position: static; }
  .product-story { display: block; background: #fff; }
  .story-visual { position: static; height: auto; }
  .story-visual img { height: auto; object-fit: contain; }
  .story-content { pointer-events: auto; }
  .story-step { min-height: 0; padding: 56px 32px; border-bottom: 1px solid var(--line); }
  .story-panel { width: min(640px, 100%); padding: 0; margin: 0 auto; border: 0; box-shadow: none; }
  h1 { font-size: clamp(54px, 8vw, 74px); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { max-width: 520px; }
}
@media (max-width: 800px) {
  .header-logo img { width: 150px; }
  nav { gap: 18px; font-size: 12px; }
  .nav-contact { padding-inline: 12px; gap: 12px; }
}
@media (max-width: 580px) {
  .leadership-presentation { grid-template-columns: minmax(0, 1fr); }
  .founder-portrait { width: min(240px, 100%); }
  .shell { width: calc(100% - 40px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 14px 10px; }
  nav { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-contact { border: 0; padding-inline: 0; }
  .story-step { padding: 40px 20px; }
  h1 { font-size: clamp(50px, 13vw, 72px); }
  .story-panel .hero-lede { font-size: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  h2 { font-size: 32px; }
  .section { padding-block: 56px; }
  .contact-email { font-size: clamp(18px, 5.4vw, 26px); }
  .footer-inner { flex-wrap: wrap; gap: 8px 20px; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header { position: static; }
  .skip-link, nav, .hero-actions, .site-footer .text-link { display: none; }
  .product-story { display: block; background: #fff; }
  .story-visual { position: static; height: auto; }
  .story-visual img { height: auto; object-fit: contain; }
  .story-step { min-height: 0; padding: 24px 0; }
  .story-panel { width: 100%; margin: 0; box-shadow: none; }
  .shell { width: 100%; }
  .section { padding-block: 24px; }
  a { text-decoration: underline; }
}
