.prototype {
  --paper:#faf9f5; --ink:#21211f; --muted:#53534d; --accent:#893a26;
  --action:var(--ink); --on-action:var(--paper); --rule:#d5d3c7;
  --panel:#f0efe9; --positive:#287451; --error:#972c21;
  --gutter:clamp(20px,4.9vw,80px); --display:"Geist","Segoe UI",sans-serif;
  color:var(--ink); background:var(--paper); font-size:16px; line-height:1.55;
  caret-color:var(--accent);
}
.wrap { width: min(100%,1690px); padding-inline:var(--gutter); margin-inline:auto; }
.site-header { position:relative; z-index:4; }
.header-row { display:flex; align-items:center; min-height:82px; gap:28px; }
.main-nav,.footer-row { display:flex; align-items:center; gap:30px; }
.main-nav { margin-left:auto; }
.main-nav a,.return-gallery,.footer-row > a:not(.wordmark) { font-size:.875rem; font-weight:510; }
.main-nav a:hover,.footer-row > a:hover { text-decoration:underline; text-underline-offset:5px; }
.return-gallery { display:inline-flex; align-items:center; gap:6px; border-left:1px solid var(--rule); padding-left:22px; }
.return-gallery:hover { color:var(--accent); }
.menu-mobile { display:none; }
.prototype h1,.prototype h2,.prototype h3 { font-family:var(--display); font-weight:550; }
.prototype h1 { font-size:clamp(3.35rem,5.65vw,6.05rem); line-height:.99; letter-spacing:-.043em; }
.prototype h1 em { font-style:normal; }
.prototype h2 { font-size:clamp(2.5rem,4.4vw,4.8rem); line-height:1.02; letter-spacing:-.04em; }
.prototype h3 { font-size:clamp(1.45rem,2.1vw,2.1rem); line-height:1.15; letter-spacing:-.033em; }
.prototype p { max-width:65ch; }
.cta { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:49px; max-width:100%; padding:12px 24px; border-radius:999px; background:var(--action); color:var(--on-action); font-size:.94rem; line-height:1.35; font-weight:590; text-align:center; transition:background-color .2s var(--ease), transform .2s var(--ease); }
.cta:hover { background:color-mix(in srgb,var(--action) 84%,var(--on-action)); transform:translateY(-1px); }
.hero-action { display:flex; align-items:flex-start; flex-direction:column; gap:8px; }
.hero-action small { color:var(--muted); font-size:.79rem; line-height:1.4; }
.section { padding-block:clamp(62px,7.5vw,114px); }
.section[id] { scroll-margin-top:16px; }
.section-intro { margin-bottom:clamp(26px,3.5vw,54px); }
.project-list { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,64px); }
.project-entry { min-width:0; }
.project-image { display:block; overflow:hidden; aspect-ratio:1.7; background:var(--panel); }
.project-image img { width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .35s var(--ease); }
.project-image:hover img { transform:scale(1.018); }
.project-body { padding-top:19px; }
.project-meta { margin:7px 0 0; font-size:.8rem; font-weight:570; color:var(--muted); }
.project-body p { margin:12px 0 14px; color:var(--muted); max-width:52ch; }
.services { background:var(--panel); }
.services-grid,.assessment-grid { display:grid; grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr); gap:clamp(28px,7vw,110px); }
.services-grid h2,.assessment-intro h2 { max-width:13ch; }
.service-list { border-top:1px solid var(--rule); }
.service-list article { padding:23px 0 26px; border-bottom:1px solid var(--rule); }
.service-list p { margin-top:11px; color:var(--muted); max-width:54ch; }
.assessment { border-top:1px solid var(--rule); }
.assessment-intro p { max-width:41ch; margin-top:21px; color:var(--muted); }
.assessment-form { display:grid; }
.assessment-form label,.review-start label { font-size:.91rem; font-weight:600; margin-bottom:7px; }
.assessment-form label span { display:inline-block; margin-left:7px; font-size:.8rem; color:var(--muted); font-weight:400; }
.assessment-form input,.assessment-form textarea,.review-start input { width:100%; min-width:0; background:var(--paper); color:var(--ink); border:1px solid var(--rule); padding:12px 14px; line-height:1.4; }
.assessment-form input,.review-start input { min-height:48px; }
.assessment-form input::placeholder,.assessment-form textarea::placeholder,.review-start input::placeholder { color:var(--muted); opacity:1; }
.assessment-form textarea { resize:vertical; min-height:78px; }
.assessment-form .cta { justify-self:start; margin:20px 0 0; }
.field-error { color:var(--error); font-size:.84rem; line-height:1.4; }
.assessment-form .field-error { min-height:20px; margin:3px 0 4px; }
.assessment-form [aria-invalid=true],.review-start [aria-invalid=true] { border-color:var(--error); }
.form-help { color:var(--muted); font-size:.82rem; margin-top:13px; }
.form-result { background:var(--panel); padding:clamp(22px,3.1vw,45px); }
.form-result dl { margin-block:22px; overflow-wrap:anywhere; }
.form-result dt { color:var(--muted); font-size:.83rem; margin-top:13px; }
.form-result dd { white-space:pre-wrap; }
.form-result button { margin-top:15px; }
.site-footer { border-top:1px solid var(--rule); }
.footer-row { min-height:100px; flex-wrap:wrap; padding-block:24px; }
.footer-row .wordmark { margin-right:auto; }
.footer-row > a:not(.wordmark) { display:flex; gap:4px; align-items:center; }
.scene-plate { width:100%; aspect-ratio:1.424; position:relative; isolation:isolate; }
.scene-poster,.scene-mount,.scene-mount canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.scene-poster { object-fit:contain; }
.scene-plate.is-live .scene-poster { visibility:hidden; }
@media(max-width:900px) {
  .prototype { --gutter:clamp(20px,4vw,40px); }
  .header-row { min-height:70px; gap:18px; }
  .main-nav,.footer-row { gap:20px; }
  .return-gallery { padding-left:14px; }
}
@media(max-width:690px) {
  .header-row { min-height:63px; justify-content:space-between; }
  .wordmark { font-size:27px; }
  .main-nav,.header-row > .return-gallery { display:none; }
  .menu-mobile { display:block; position:relative; }
  .menu-mobile summary { display:flex; align-items:center; gap:8px; padding:8px 0 8px 10px; list-style:none; font-size:.87rem; font-weight:550; }
  .menu-mobile summary::-webkit-details-marker { display:none; }
  .menu-mobile nav { position:absolute; right:0; z-index:8; background:var(--paper); min-width:185px; padding:6px; border:1px solid var(--rule); color:var(--ink); box-shadow:0 9px 22px #0002; }
  .menu-mobile nav a { display:flex; padding:10px 13px; border:0; }
  .menu-mobile nav a:hover { background:var(--panel); }
  .project-list,.services-grid,.assessment-grid { grid-template-columns:1fr; }
  .project-list { gap:36px; }
  .services-grid,.assessment-grid { gap:26px; }
  .project-body { padding-top:14px; }
  .footer-row { gap:16px; }
  .footer-row .wordmark { flex-basis:100%; }
  .prototype h1 { font-size:clamp(3.15rem,10.8vw,4.5rem); }
  .prototype h2 { font-size:clamp(2.5rem,8.5vw,3.5rem); }
}
