:root {
  color-scheme: light;
  --paper: #f3f0e9;
  --ink: #292d27;
  --muted: #64675e;
  --accent: #805c42;
  --rule: #d8d4c9;
  --surface: #f9f7f2;
  --display: Georgia, 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(24px, 5.2vw, 96px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body[data-theme='dark'] { color-scheme: dark; --paper: #2d332d; --ink: #f3f0e9; --muted: #c3c8ba; --accent: #d0b99a; --rule: #5a6353; --surface: #343c33; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { font: inherit; }
figure, p, h1, h2, h3, dl { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.masthead { position: absolute; top: 0; left: 0; right: 0; height: 108px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 2; }
.masthead::after { content: ''; position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand > img { width: 36px; height: 44px; }
body[data-theme='dark'] .brand > img { filter: brightness(0) invert(.94); }
.brand > span { display: flex; align-items: baseline; gap: 14px; font: 26px var(--display); letter-spacing: .07em; }
.brand small { font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.masthead-caption { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.slide { min-height: 100svh; padding: 150px var(--gutter) 120px; display: grid; align-items: center; position: relative; background: var(--paper); }
.slide-inner { width: 100%; max-width: 1440px; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
h1, h2 { font: 400 clamp(48px, 5.6vw, 96px)/1.04 var(--display); letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(60px, 6.6vw, 112px); }
.cover h1 { font-size: clamp(56px, 6vw, 96px); }
h3 { font: 400 clamp(30px, 3vw, 48px)/1.15 var(--display); letter-spacing: -.025em; }
.eyebrow { font: 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: var(--accent); margin-bottom: 26px; }
.lead { font-size: clamp(19px, 1.8vw, 29px); line-height: 1.55; color: var(--muted); max-width: 700px; margin-top: 32px; }
.quiet { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 34px; }
.cover-note { color: var(--accent); margin-top: 50px; }
.workshop-art img { width: 100%; }
figure figcaption { font: 10px/1.6 var(--mono); letter-spacing: .015em; color: var(--muted); }
.workshop-art figcaption { text-align: center; margin-top: 10px; }
.company-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.company-layout h2 { font-size: clamp(48px, 5.1vw, 84px); }
.cabinet-art { max-width: 450px; justify-self: center; }
.cabinet-art figcaption { text-align: center; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: clamp(40px, 6vh, 80px); }
.focus-grid article, .collaboration-grid article { border-top: 1px solid var(--rule); padding-top: 26px; }
.index { display: block; font: 11px/1.5 var(--mono); color: var(--accent); margin-bottom: 30px; }
.focus-grid h3 { margin-bottom: 26px; }
.focus-grid p, .collaboration-grid p { font-size: clamp(18px, 1.6vw, 25px); line-height: 1.5; color: var(--muted); }
.slide-source { color: var(--muted); font: 11px/1.6 var(--mono); margin-top: 38px; }
.project-list { margin-top: 40px; border-top: 1px solid var(--rule); }
.project-row { display: grid; grid-template-columns: 1fr 1fr .85fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--rule); padding: 23px 0; text-decoration: none; }
a.project-row:hover .project-name { color: var(--accent); }
.project-name { font: 34px/1.15 var(--display); letter-spacing: -.025em; }
.project-name small { display: block; font: 11px/1.5 var(--mono); color: var(--muted); margin-top: 9px; letter-spacing: 0; }
.project-detail { font-size: 18px; line-height: 1.5; color: var(--muted); }
.project-state { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--accent); }
.product-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 50px; align-items: center; }
.product-copy h2 { font-size: clamp(44px, 4.7vw, 77px); }
.product-copy .lead { font-size: clamp(18px, 1.6vw, 25px); max-width: 450px; }
.status-note { font-size: 13px; color: var(--accent); line-height: 1.5; margin-top: 28px; display: flex; gap: 9px; align-items: baseline; }
.status-dot { height: 5px; width: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.inline-link { display: inline-flex; align-items: center; gap: 22px; font-size: 14px; min-height: 44px; margin-top: 14px; text-decoration: underline; }
.product-figure { width: 100%; min-width: 0; }
.browser-bar { border: 1px solid var(--rule); border-bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; gap: 10px; font: 9px var(--mono); color: var(--muted); }
.browser-bar span:first-child { font-size: 7px; letter-spacing: 3px; }
.product-viewport { width: 100%; aspect-ratio: 1.72; overflow: hidden; background: #090d0d; border: 1px solid var(--rule); }
.product-viewport img { width: 100%; height: auto; }
.product-figure figcaption { margin-top: 14px; max-width: 540px; }
.collaboration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 48px; }
.collaboration-grid .index { margin-bottom: 24px; }
.collaboration-grid p { margin-top: 26px; }
.closing h2 { font-size: clamp(64px, 8vw, 130px); }
.closing-bottom { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--rule); }
.closing-bottom .lead { margin: 0; }
.contact-link { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; font-size: 23px; text-decoration: none; padding-block: 12px; }
.contact-link:hover { color: var(--accent); }
.contact-link small { grid-column: 1 / -1; font: 12px var(--mono); color: var(--accent); }
.references h2 { font-size: clamp(40px, 4.5vw, 72px); }
.reference-list { margin-top: 38px; }
.reference-list > div { display: grid; grid-template-columns: .85fr 1.6fr; gap: 24px; padding: 19px 0; border-top: 1px solid var(--rule); }
.reference-list dt { font: 25px var(--display); }
.reference-list dt a { text-decoration: none; }
.reference-list dt a:hover { color: var(--accent); }
.reference-list dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.is-presenting { overflow: hidden; }
.is-presenting .masthead { position: fixed; pointer-events: none; }
.is-presenting .brand { pointer-events: auto; }
.is-presenting .slide { height: 100svh; min-height: 0; overflow-y: auto; }
#deck:focus { outline: none; }
.presentation-footer { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: var(--gutter); right: var(--gutter); z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; pointer-events: none; }
.controls { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid var(--rule); border-radius: 32px; background: var(--surface); pointer-events: auto; }
.controls button { display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.controls button:hover:not(:disabled) { background: var(--rule); }
.controls button:disabled { color: var(--muted); opacity: .4; cursor: default; }
#position { font: 11px var(--mono); font-variant-numeric: tabular-nums; min-width: 70px; text-align: center; }
.control-divider { height: 18px; width: 1px; background: var(--rule); margin-inline: 3px; }
.keyboard-hint, .deck-label { font: 10px var(--mono); color: var(--muted); }
.keyboard-hint span { padding-inline: 8px; }
.deck-label { justify-self: end; }
.presentation-message { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 4; max-width: min(90vw, 520px); background: var(--surface); color: var(--ink); font-size: 13px; padding: 0; text-align: center; }
.presentation-message:not(:empty) { padding: 14px 20px; border: 1px solid var(--rule); }
.progress-track { display: none; }
.is-presenting .progress-track { display: block; height: 2px; background: var(--rule); position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; }
#progress { height: 100%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .is-presenting .active .slide-inner { animation: enter 200ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) {
  h1 { font-size: clamp(58px, 7vw, 82px); }
  .split, .product-layout { gap: 28px; }
  .product-layout { grid-template-columns: 1fr 1.1fr; }
  .brand > span { font-size: 23px; }
  .masthead-caption { font-size: 9px; }
  .keyboard-hint { visibility: hidden; }
  .project-name { font-size: 28px; }
  .project-detail { font-size: 16px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .masthead { height: 86px; }
  .brand > span { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 22px; }
  .brand small { font-size: 8px; }
  .masthead-caption { display: none; }
  .slide { padding: 118px var(--gutter) 118px; align-items: start; }
  .split, .company-layout, .product-layout { grid-template-columns: 1fr; gap: 28px; }
  h1, .cover h1 { font-size: clamp(48px, 9vw, 68px); }
  h2, .company-layout h2 { font-size: clamp(43px, 8vw, 62px); }
  .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .lead { font-size: 19px; margin-top: 24px; }
  .quiet { font-size: 13px; margin-top: 24px; }
  .cover-note { margin-top: 24px; }
  .workshop-art { width: 100%; max-width: 480px; margin-inline: auto; }
  .workshop-art figcaption, .cabinet-art figcaption { font-size: 9px; }
  .cabinet-art { width: 80%; max-width: 330px; }
  .focus-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .focus-grid article { display: grid; grid-template-columns: 28px 1fr; gap: 0 16px; padding-top: 18px; }
  .focus-grid .index { grid-row: 1 / span 2; margin-top: 4px; }
  .focus-grid h3 { font-size: 30px; margin-bottom: 14px; }
  .focus-grid h3 br { display: none; }
  .focus-grid p { grid-column: 2; font-size: 17px; }
  .project-row { grid-template-columns: 1fr; gap: 13px; padding-block: 20px; }
  .project-name { font-size: 30px; }
  .project-detail { font-size: 16px; }
  .project-state { font-size: 13px; }
  .slide-source { font-size: 10px; margin-top: 28px; }
  .product-copy h2 { font-size: clamp(44px, 8vw, 62px); }
  .product-copy .lead { font-size: 18px; }
  .status-note { font-size: 12px; margin-top: 24px; }
  .product-figure figcaption { font-size: 9px; }
  .browser-bar { font-size: 7px; padding: 10px; }
  .browser-bar span:first-child { display: none; }
  .collaboration-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 32px; }
  .collaboration-grid h3 br { display: none; }
  .collaboration-grid h3 { font-size: 32px; }
  .collaboration-grid p { font-size: 18px; margin-top: 20px; }
  .collaboration-grid .index { margin-bottom: 18px; }
  .closing h2 { font-size: clamp(54px, 11vw, 82px); }
  .closing-bottom { align-items: start; flex-direction: column; margin-top: 32px; gap: 26px; }
  .contact-link { font-size: 21px; width: 100%; }
  .reference-list > div { grid-template-columns: 1fr; gap: 10px; padding-block: 18px; }
  .reference-list dd { font-size: 16px; }
  .reference-list dt { font-size: 24px; }
  .references h2 { font-size: 41px; }
  .presentation-footer { display: flex; justify-content: center; left: 12px; right: 12px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .keyboard-hint, .deck-label { display: none; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .masthead { height: 80px; }
  .slide { padding-top: 112px; padding-bottom: 106px; }
  h1 { font-size: 78px; }
  h2 { font-size: 66px; }
  .closing h2 { font-size: 88px; }
  .eyebrow { margin-bottom: 20px; }
  .lead { margin-top: 24px; }
  .focus-grid { margin-top: 30px; }
  .index { margin-bottom: 20px; }
  .slide-source { margin-top: 26px; }
  .project-row { padding-block: 18px; }
}
@media print {
  @page { size: landscape; margin: 0; }
  body.is-presenting { overflow: visible; }
  .masthead, .presentation-footer, .presentation-message, .progress-track { display: none !important; }
  .slide, .is-presenting .slide, .is-presenting .slide[hidden] { display: grid !important; height: auto; min-height: 100vh; overflow: visible; break-after: page; padding: 56px; }
  .slide { --paper: #f3f0e9; --ink: #292d27; --muted: #64675e; --accent: #805c42; --rule: #d8d4c9; background: var(--paper); color: var(--ink); }
}
