/* Public design contract: forest, ivory, sage. Local font files and the
   existing functional page components remain in place. */
:root {
  --palette-paper:#f6f4ef; --palette-surface:#fffdf9;
  --palette-ink:#20382f; --palette-muted:#53665c;
  --palette-primary:#235642; --palette-deep:#163c31;
  --palette-primary-soft:#e9eee5; --palette-line:#d5ddd1;
  --palette-warm:#e9d7b8; --palette-warm-ink:#584324;
  --forest:var(--palette-primary); --forest-deep:var(--palette-deep);
  --ivory:var(--palette-paper); --sage:var(--palette-primary-soft);
  --home-ink:var(--palette-ink); --home-muted:var(--palette-muted);
  --home-rule:var(--palette-line); --surface:var(--palette-surface);
  --soft:var(--palette-primary-soft); --brass:#5a705a; --brass-light:#d4e0c9;
  --control-edge:#7b8f7f; --focus:#32735a;
  --glass-light:#fffdf9f5; --glass-dark:#163c31ed;
  --glass-shadow:0 12px 32px -24px #163c3133;
  --type-display:clamp(2.5rem,5vw,4.5rem);
  --type-page:clamp(2.125rem,3.6vw,3.5rem);
  --type-section:clamp(1.875rem,3vw,2.75rem);
  --type-card:clamp(1.25rem,1.7vw,1.5rem);
  --radius-card:16px; --radius-control:10px;
  --section-space:88px;
}
body { background:var(--palette-paper); color:var(--palette-ink); }
::selection { background:#cfddc7; color:#163c31; }
h1,h2,h3,h4 { letter-spacing:-.035em; font-weight:500; }
p { line-height:1.65; }
.eyebrow { color:var(--palette-muted); font-size:.8125rem; letter-spacing:.09em; line-height:1.5; }
.section-heading { align-items:start; }
.section-heading>p { max-width:40ch; }
.experience-page h1,.services-page .services-hero-copy h1,.about-page .profile-intro h1 { font-size:var(--type-page); line-height:1.15; letter-spacing:-.04em; text-wrap:balance; }
.experience-page .section h2,.home-editorial .section h2,.services-page .page-next h2,.about-page .page-next h2 { font-size:var(--type-section); line-height:1.2; letter-spacing:-.035em; }
.services-hero-copy h1 em,.device-guide-intro h1 em { color:#5a705a; }
.services-lead,.profile-lead { font-size:1.125rem; }
.text-link { color:var(--palette-primary); text-decoration-color:#91a18e; text-underline-offset:5px; }
.text-link:hover { color:#163c31; text-decoration-color:currentColor; }
.button,.nav-cta { min-height:50px; border-radius:var(--radius-control); background:var(--palette-primary); color:#fffdf9; font-size:1rem; font-weight:600; box-shadow:none; }
.button:not(:disabled):hover,.nav-cta:hover { background:#163c31; color:#fffdf9; transform:none; box-shadow:none; }
.modern-nav { padding:15px 0; gap:22px; border:0; border-bottom:1px solid var(--palette-line); border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.experience-page .modern-nav { margin-top:12px; }
.modern-nav .brand b { font-size:1.0625rem; letter-spacing:-.025em; }
.modern-nav .brand small { color:var(--palette-muted); }
.modern-nav nav>a:not(.nav-cta) { border-radius:8px; color:#435c4e; font-size:.9375rem; }
.modern-nav nav>a[aria-current=page],.modern-nav nav>a:not(.nav-cta):hover { color:var(--palette-primary); background:var(--palette-primary-soft); }
.modern-nav .nav-cta { border-radius:var(--radius-control); min-height:46px; }
.modern-nav .menu-toggle:not([hidden]) { border-radius:var(--radius-control); background:var(--palette-primary-soft); color:var(--palette-deep); border-color:var(--palette-line); }
.modern-nav .menu-toggle:not([hidden]):focus-visible { outline-color:var(--focus); }
.modern-nav:has(nav.is-open) { background:var(--palette-paper); }
.hero .modern-nav,.home-editorial .hero .modern-nav,.home-editorial .hero .modern-nav:has(nav.is-open) { background:transparent; box-shadow:none; border:0; border-bottom:1px solid #f6f4ef38; backdrop-filter:none; -webkit-backdrop-filter:none; }
.hero .modern-nav .brand small,.hero .modern-nav nav>a:not(.nav-cta) { color:#edf1e8; }
.hero .modern-nav nav>a[aria-current=page],.hero .modern-nav nav>a:not(.nav-cta):hover { background:#ffffff12; color:#fffdf9; }
.hero .modern-nav .menu-toggle:not([hidden]) { background:#ffffff10; border-color:#ffffff40; color:#fffdf9; }
.hero .modern-nav .nav-cta,.hero .button { background:var(--palette-paper); color:var(--palette-deep); }
.hero .modern-nav .nav-cta:hover,.hero .button:not(:disabled):hover { background:#fff; color:#163c31; }
.breadcrumbs { color:var(--palette-muted); font-size:.875rem; }
.services-page-nav,.portfolio-nav,.device-guide-nav { background:transparent; border:0; border-block:1px solid var(--palette-line); border-radius:0; box-shadow:none; padding:12px 0; gap:8px 28px; }
.services-page-nav a,.portfolio-nav a,.device-guide-nav a { color:var(--palette-muted); font-size:.9375rem; }
.services-page-nav a:hover,.portfolio-nav a:hover,.device-guide-nav a:hover { color:var(--palette-primary); background:transparent; }
/* A quieter frame lets the home and the promise do the work. */
.home-editorial .hero { margin:16px; border-radius:20px; min-height:clamp(660px,82svh,800px); padding-top:0; padding-bottom:32px; }
.home-editorial .hero-main { padding:58px 0 20px; }
.home-editorial .hero-content { max-width:810px; }
.home-editorial .hero-description,.home-editorial .hero-actions,.home-editorial .hero-location { animation:none; }
.home-editorial .hero h1 { font-size:var(--type-display); max-width:20ch; line-height:1.1; letter-spacing:-.045em; }
.home-editorial .hero-title-opening,.home-editorial .hero-title-main { display:block; }
.home-editorial .hero-title-main { color:#d7e3cd; }
.home-editorial .hero-eyebrow { color:#e4eadc; letter-spacing:.12em; margin-bottom:24px; }
.home-editorial .hero-description { max-width:47ch; font-size:1.125rem; line-height:1.65; color:#f0f1e9; margin:24px 0 14px; }
.home-editorial .hero-start { color:#d7e3cd; margin-bottom:26px; font-size:1rem; }
.home-editorial .hero-shade { background:linear-gradient(90deg,#102b25f0 0%,#102b25c2 40%,#102b2530 78%),linear-gradient(0deg,#102b2599,transparent 70%); }
.home-editorial .hero-photo,.home-editorial .hero-film { filter:saturate(.88); object-position:center 49%; }
.home-editorial .hero-demo-link { border-radius:var(--radius-control); background:#163c3133; border-color:#f6f4ef80; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; color:#fffdf9; }
.home-editorial .hero-demo-link:hover { background:#ffffff16; color:#fff; }
.home-editorial .hero-meta { max-width:580px; margin-top:26px; }
.home-editorial .hero-location { color:#e2eadb; }
.home-editorial .hero-media-tools button { border-radius:8px; background:#163c3155; border-color:#ffffff4d; color:#edf1e8; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.home-editorial .home-signature { padding-block:34px; }
.home-editorial .home-signature-copy { font-size:clamp(1.25rem,2vw,1.75rem); max-width:48ch; }
.home-editorial .home-signature-copy span { display:inline; }
.home-editorial .home-everyday,.home-editorial .home-projects,.home-editorial .about-compact { padding-block:80px; }
.home-editorial .everyday-intro h2 { max-width:22ch; }
.home-editorial .everyday-intro { display:block; }
.home-editorial .everyday-philosophy { padding-top:32px; }
.home-editorial .everyday-explore { grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:clamp(32px,4.5vw,64px); align-items:center; }
.home-editorial .everyday-visual { min-height:440px; border-radius:var(--radius-card); }
.home-editorial .everyday-visual figcaption { inset:auto 0 0; border:0; border-radius:0; box-shadow:none; background:linear-gradient(transparent,#163c31f0); padding:64px 28px 28px; }
.home-editorial .everyday-visual figcaption>span { color:#d7e3cd; }
.home-editorial .everyday-controls { border-radius:var(--radius-card); box-shadow:none; }
.everyday-intro>p,.automation-panel>p,.home-fineprint,.everyday-local-note,.explore-label,.automation-example>span,.everyday-local-note .ui-icon { color:var(--palette-muted); }
.automation-example>p { color:#435c4e; }
.home-editorial .automation-tabs { border:0; gap:8px; margin-bottom:28px; }
.home-editorial .automation-tabs button { border:1px solid var(--palette-line); border-radius:8px; background:var(--palette-surface); min-height:54px; padding:12px; color:#435c4e; font-size:.9375rem; }
.home-editorial .automation-tabs button:hover { background:var(--palette-primary-soft); }
.home-editorial .automation-tabs button[aria-selected=true] { border:1px solid var(--palette-primary); background:var(--palette-primary); color:#fffdf9; font-weight:500; }
.home-editorial .automation-panel { min-height:130px; }
.home-editorial .automation-panel h3 { font-size:var(--type-card); line-height:1.35; }
.home-editorial .automation-example { border-left-color:#9bad8f; }
.home-editorial .home-principles { margin-top:48px; gap:28px; }
.home-editorial .home-principles article { border-color:#a6b69c; }
.home-editorial .home-principles h3 { font-size:1.1875rem; font-weight:600; }
.home-editorial .home-principles p { font-size:1rem; }
.home-editorial .home-local-qualification { font-size:.875rem; }
.home-editorial .routine-section { padding-block:80px; background:var(--palette-deep); }
.routine-tabs,.routine-tabs button,.routine-tabs::before { border-radius:var(--radius-control); }
.routine-tabs::before { background:var(--palette-paper); border-color:var(--palette-paper); box-shadow:none; }
.routine-tabs button[aria-selected=true] { color:var(--palette-deep); }
.routine-tabs button { color:#e1e9d9; }
.home-editorial .routine-room,.home-editorial .routine-dashboard { border-radius:var(--radius-card); }
.routine-dashboard { border-color:var(--palette-line); background:var(--palette-surface); }
.routine-heading .eyebrow,.routine-heading>p,.routine-image-caption,.routine-footer>p { color:#dce7d5; }
.routine-kicker,.routine-readouts .ui-icon { color:var(--palette-muted); }
.routine-replay,.routine-reset { color:var(--palette-primary); border-color:var(--control-edge); border-radius:8px; }
.routine-replay:hover,.routine-reset:hover { background:var(--palette-primary-soft); }
.routine-footer .button,.routine-footer .button:not(:disabled):hover { background:var(--palette-paper); color:var(--palette-deep); }
.home-editorial .home-project-feature { gap:40px; padding:36px 40px; align-items:center; background:var(--palette-paper); border:1px solid var(--palette-line); border-radius:var(--radius-card); }
.home-editorial .home-project-hardware { margin:0; min-width:0; text-align:center; }
.home-editorial .home-project-hardware img { display:block; width:100%; height:220px; object-fit:contain; }
.home-editorial .home-project-hardware figcaption { font-size:.875rem; color:var(--palette-muted); margin-top:12px; }
.home-editorial .home-project-tail { justify-content:flex-end; }
.home-editorial .home-project-secondary { grid-template-columns:minmax(0,1fr) 24px; }
.home-editorial .routine-heading { display:block; margin-bottom:28px; }
.home-editorial .routine-example { align-items:center; }
.home-editorial .routine-preview-actions { justify-content:flex-end; }
.home-editorial .routine-footer { justify-content:flex-end; }
.home-project-story .eyebrow,.home-project-number,.home-project-secondary .ui-icon,.home-project-story>p:not(.eyebrow),.home-project-equipment figcaption,.home-project-secondary small,.home-editorial .steps p { color:var(--palette-muted); }
.home-editorial .home-project-practice { border-radius:var(--radius-card); background:var(--palette-primary-soft); }
.home-editorial .process { padding-block:72px; background:var(--palette-paper); border-top:1px solid var(--palette-line); }
.home-editorial .steps article { border-color:#a6b69c; }
.home-editorial .steps article>span { color:var(--palette-primary); font-size:.9375rem; font-weight:600; font-variant-numeric:tabular-nums; }
.home-editorial .steps h3 { font-size:1.25rem; }
.home-editorial .portrait,.about-page .portrait,.services-hero-photo img { border-radius:var(--radius-card); box-shadow:none; }
.home-editorial .about-compact,.about-page .foundations,.about-page .about-practice { background:var(--palette-primary-soft); }
.home-editorial .about-intro { font-size:1.5rem; line-height:1.45; color:var(--palette-primary); }
.home-editorial .contact { padding-block:80px; background:var(--palette-deep); }
.homepage.home-editorial .contact {
  align-items:start;
  gap:clamp(24px,4.5vw,68px);
  background:#204639;
}
.home-editorial .contact-intro>.eyebrow,.home-editorial .contact-next .eyebrow,.home-editorial .contact-intro>p:not(.eyebrow),.home-editorial .contact-next>p,.home-editorial .contact-region span { color:#dce7d5; }
.home-editorial #inquiry-form { background:var(--palette-surface); padding:36px; border-radius:var(--radius-card); --focus:#32735a; }
#inquiry-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]),#inquiry-form select,#inquiry-form textarea { background:#f7f8f2; border-color:var(--control-edge); border-radius:8px; color:var(--palette-ink); font-size:1rem; }
#inquiry-form input:not([type=radio]):not([type=checkbox]):focus,#inquiry-form textarea:focus { border-color:var(--focus); box-shadow:0 0 0 3px #32735a20; }
#inquiry-form :is(input,textarea)[aria-invalid=true]:not([type=radio]):not([type=checkbox]):not([type=hidden]) { border-color:#9a4735; background:#fff7f1; }
#inquiry-form .reply-options { background:var(--palette-primary-soft); border-color:var(--control-edge); }
#inquiry-form .reply-options,#inquiry-form .reply-options label>span { border-radius:8px; }
#inquiry-form .reply-options label>span { color:var(--palette-muted); }
#inquiry-form .reply-options input:checked+span { background:var(--palette-primary); color:#fffdf9; border-color:var(--palette-primary); }
#inquiry-form .interest-options label>span { border-radius:8px; background:var(--palette-surface); color:var(--palette-ink); }
#inquiry-form .interest-options input:checked+span { background:var(--palette-primary); color:#fffdf9; }
#inquiry-form .form-submit-row .button { border-radius:var(--radius-control); }
#inquiry-form .form-submit-row .button:not(:disabled):hover { background:var(--palette-deep); }
#inquiry-form .form-privacy,#inquiry-form .form-required-note { font-size:.875rem; color:var(--palette-muted); }
/* Services and evidence share the same materials and readable supporting type. */
.services-page .service-no { color:var(--palette-primary); background:var(--palette-primary-soft); border-color:var(--palette-line); border-radius:8px; }
.services-page .service-detail>div,.handover-document { background:var(--palette-primary-soft); border-color:#a6b69c; }
.services-page .service-detail>p,.services-page .service-detail>div p { font-size:1rem; }
.services-page .service-short { font-size:.9375rem; }
.services-page .starting-options article,.services-page .scope-grid article,.lab-case,.project-card,.about-page .credential-grid article,.about-page .recognition-card { background:var(--palette-surface); border-color:var(--palette-line); border-radius:var(--radius-card); box-shadow:none; }
.services-page .starting-options article:hover { background:var(--palette-surface); border-color:#839687; box-shadow:none; }
.services-page .starting-options article>span,.services-page .starting-options ul { color:var(--palette-muted); }
.services-page .starting-options p,.services-page .scope-grid p { font-size:1rem; }
.services-page .services-security,.page-next { background:var(--palette-deep); }
.services-page .service-scope { background:var(--palette-primary-soft); }
.services-page .services-security .security-principles p,.page-next p:not(.eyebrow),.about-page .page-next p:not(.eyebrow) { color:#dce7d5; }
.page-next .button,.services-page .page-next .button,.about-page .page-next .button { background:var(--palette-paper); color:var(--palette-deep); }
.page-next .text-link,.about-page .page-next .text-link { color:#edf1e8; }
.about-page .research-content .research-relevance { border-color:#a6b69c; color:#435c4e; }
.about-page .recognition-heading h2 { font-size:1.75rem; }
.project-kind,.project-context,.project-outcome,.scope-note { color:var(--palette-muted); }
.lab-summary,.project-card .project-visual { background:var(--palette-primary-soft); }
.lab-story { background:var(--palette-surface); }
.lab-foundation,.lab-details { background:var(--palette-primary-soft); border-color:var(--palette-line); }
.lab-foundation figcaption span,.lab-hardware>span { font-size:.875rem; color:var(--palette-muted); }
.project-case { background:var(--palette-surface); border-color:var(--palette-line); border-radius:var(--radius-card); }
.about-page .research-source { border-radius:8px; }
/* The device browser is a reading surface, not a tiny dashboard. */
.devices-page .experience-intro { padding-top:20px; }
.device-guide-intro { grid-template-columns:minmax(0,1fr) minmax(210px,.35fr); align-items:end; }
.device-guide-intro h1 { font-size:clamp(1.875rem,3vw,2.75rem); max-width:27ch; line-height:1.2; }
.device-guide-intro .eyebrow { font-size:.8125rem; margin-bottom:12px; }
.device-guide-intro>p { font-size:1rem; color:var(--palette-muted); }
.device-category-nav { background:var(--palette-primary-soft); border:1px solid var(--palette-line); border-radius:12px; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.device-category-nav a { border-radius:8px; color:#435c4e; font-size:.875rem; padding-inline:12px; }
.device-category-nav a[aria-selected=true],.device-category-nav a[aria-selected=true]:hover { background:var(--palette-primary); color:#fffdf9; box-shadow:none; }
.device-category-nav a:hover { background:#d7e3cd; color:var(--palette-deep); }
.device-category-scene { border-radius:20px; border-color:var(--palette-line); background:var(--palette-deep); box-shadow:none; }
.device-scene-shade { background:linear-gradient(90deg,#102b25ed 0%,#102b25bd 36%,#102b2530 75%),linear-gradient(0deg,#102b2599,transparent 60%); }
.device-category-scene .category-label,.device-category-scene .category-label>span:first-child,.device-category-story .eyebrow { color:#d7e3cd; font-size:.8125rem; }
.device-category-story h2 { font-size:clamp(2rem,3vw,2.75rem); }
.device-category-story>p:not(.eyebrow) { color:#edf1e8; font-size:1.0625rem; }
.device-category-story .category-range { color:#dce7d5!important; font-size:.875rem!important; }
.device-category-scene .device-gallery { background:var(--palette-surface); border-color:var(--palette-line); border-radius:var(--radius-card); box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.device-category-scene .device-stage { background:#f0f2eb; border-radius:10px; }
.device-category-scene .device-slide h4 { font-size:1.25rem; color:var(--palette-ink); }
.device-category-scene .device-slide figcaption p { font-size:.9375rem; color:var(--palette-muted); }
.device-category-scene .device-slide figcaption { min-height:104px; }
.device-category-scene .gallery-controls button,.device-category-more { background:var(--palette-primary-soft); color:var(--palette-primary); border-color:var(--palette-line); box-shadow:none; }
.device-category-scene .gallery-controls button:hover { background:#d7e3cd; border-color:var(--control-edge); color:var(--palette-deep); }
.device-category-scene .gallery-count,.device-category-scene .gallery-count>span { color:var(--palette-muted); }
.device-category-scene .gallery-controls .gallery-play { font-size:.875rem; }
.device-category-scene .gallery-thumbnail { background:#f7f8f2; border-color:var(--palette-line); border-radius:8px; }
.device-category-scene .gallery-thumbnail[aria-current=true] { background:var(--palette-primary-soft); border-color:var(--palette-primary); box-shadow:inset 0 0 0 1px var(--palette-primary); }
.device-category-scene .gallery-thumbnails { scrollbar-color:#9bad8f transparent; }
.devices-page .device-guide-footnote,.device-category-notes .device-category-details { font-size:.875rem; }
.devices-page .device-personal-selection .button { background:var(--palette-paper); color:var(--palette-deep); }
.devices-page .device-personal-selection p:not(.eyebrow) { color:#dce7d5; }
/* Demo controls keep their three distinct themes; unify only the outer chrome. */
.demo-page>.modern-nav { border-radius:0; margin-top:8px; padding-block:12px; }
.demo-page .design-switcher,.demo-page .view-switcher,.demo-page .daylight-controls { background:var(--palette-primary-soft); border-color:var(--palette-line); border-radius:10px; box-shadow:none; }
.demo-page .design-switcher button,.demo-page .view-switcher button,.demo-page .daylight-controls button { border-radius:8px; color:var(--palette-primary); }
.demo-page .design-switcher button[aria-pressed=true] { background:var(--palette-surface); border-color:var(--palette-line); color:var(--palette-deep); }
.demo-page .view-switcher button[aria-pressed=true],.demo-page .daylight-controls button[aria-pressed=true] { background:var(--palette-primary); color:#fffdf9; }
.demo-page .demo-intro h1 { font-size:clamp(1.625rem,2.2vw,2rem); }
.site-footer { background:var(--palette-deep); border-color:#ffffff24; }
.site-footer .footer-label,.footer-identity [data-brand=descriptor],.site-footer .footer-area-note,.footer-bottom { color:#d4e0c9; }
.footer-name b,.site-footer .footer-local,.footer-links a { color:#f1f3e9; }
.back-to-top { background:var(--palette-deep); border-color:#9bad8f; box-shadow:0 6px 20px #163c3120; border-radius:12px; backdrop-filter:none; -webkit-backdrop-filter:none; }
.back-to-top::before { display:none; }
.back-to-top svg { filter:none; }
.back-to-top:hover { background:var(--palette-primary); border-color:#d7e3cd; }
.editorial-reveal,.editorial-reveal.is-waiting,.editorial-reveal.is-visible { opacity:1; transform:none; transition:none; }
@media(min-width:1600px) { .home-editorial .hero-content { max-width:850px; } }
@media(max-width:1100px) { .device-guide-intro { grid-template-columns:1fr; }.device-guide-intro>p { display:block; max-width:52ch; }.device-guide-intro { gap:16px; } }
@media(max-width:800px) {
  :root { --section-space:60px; }
  .home-editorial .hero { min-height:0; }
  .home-editorial .hero-main { padding-top:40px; }
  .home-editorial .everyday-explore { grid-template-columns:1fr; gap:28px; }
  .home-editorial .everyday-visual { min-height:0; aspect-ratio:16/10; }
  .home-editorial .everyday-philosophy { padding-top:0; }
  .home-editorial .home-everyday,.home-editorial .home-projects,.home-editorial .about-compact,.home-editorial .contact { padding-block:60px; }
}
@media(max-width:600px) {
  :root { --type-display:clamp(2.125rem,9.2vw,2.75rem); --type-page:clamp(2rem,8vw,2.5rem); --type-section:clamp(1.75rem,7.3vw,2.125rem); --section-space:52px; }
  .modern-nav { padding-block:12px; gap:12px; }
  .modern-nav .brand b { font-size:.9375rem; }
  .experience-page .modern-nav { margin-top:8px; }
  .home-editorial .hero { margin:8px; border-radius:16px; padding-top:0; padding-bottom:24px; }
  .home-editorial .hero-main { padding-top:30px; }
  .home-editorial .hero h1 { font-size:clamp(1.875rem,8.2vw,2.25rem); max-width:none; line-height:1.16; text-wrap:balance; }
  .home-editorial .hero-eyebrow { font-size:.75rem; letter-spacing:.07em; margin-bottom:20px; }
  .home-editorial .hero-description { font-size:1rem; margin:20px 0 24px; }
  .home-editorial .hero-shade { background:linear-gradient(90deg,#102b25eb,#102b25a6),linear-gradient(0deg,#102b2599,transparent 65%); }
  .home-editorial .hero-meta { gap:8px; }
  .home-editorial .hero-location { font-size:.8125rem; }
  .home-editorial .hero-media-tools>span { font-size:.75rem; }
  .home-editorial .hero-media-tools button { border-radius:8px; }
  .home-editorial .home-signature { padding-block:26px; }
  .home-editorial .home-signature-copy { max-width:28ch; line-height:1.5; }
  .home-editorial .home-everyday,.home-editorial .home-projects,.home-editorial .about-compact,.home-editorial .contact,.home-editorial .routine-section { padding-block:52px; }
  .home-editorial .everyday-visual { aspect-ratio:5/4; }
  .home-editorial .automation-tabs { gap:8px; }
  .home-editorial .automation-tabs button { font-size:.875rem; padding:10px; min-height:58px; }
  .home-editorial .automation-tabs .ui-icon { width:20px; height:20px; }
  .home-editorial .automation-panel { min-height:0; }
  .home-editorial .home-principles { margin-top:36px; }
  .home-editorial .home-project-feature { gap:24px; padding:24px; }
  .home-editorial .home-project-hardware img { height:170px; }
  .home-editorial .process { padding-block:48px; }
  .home-editorial .about-intro { font-size:1.375rem; }
  .home-editorial #inquiry-form { padding:24px 20px; }
  .services-page .services-hero-copy h1 { text-wrap:pretty; }
  .device-guide-intro h1 { font-size:1.875rem; }
  .device-guide-intro>p { display:none; }
  .device-guide-intro .eyebrow { font-size:.75rem; }
  .device-category-nav { border-radius:10px; }
  .device-category-nav a { font-size:.875rem; }
  .device-category-more { border-radius:8px; background:var(--palette-primary-soft); box-shadow:-8px 0 10px 3px var(--palette-primary-soft); }
  .device-category-scene { border-radius:var(--radius-card); }
  .device-scene-shade { background:linear-gradient(180deg,#102b25ed,#102b2599 50%,#102b2540); }
  .device-category-story h2 { font-size:1.75rem; }
  .device-category-story>p:not(.eyebrow) { font-size:.9375rem; }
  .device-category-scene .category-label,.device-category-scene .category-label>span:first-child { font-size:.75rem; }
  .device-category-scene .device-slide h4 { font-size:1.125rem; }
  .device-category-scene .device-slide figcaption p { font-size:.875rem; }
  .device-category-scene .device-slide figcaption { min-height:92px; }
  .device-category-scene .device-stage { height:160px; }
}
@media(prefers-reduced-transparency:reduce) {
  .modern-nav { background:var(--palette-paper)!important; }
  .home-editorial .hero .modern-nav { background:var(--palette-deep)!important; }
  .back-to-top { background:var(--palette-deep)!important; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.button,.nav-cta,.routine-tabs::before { transition:none; } }

/* Editorial refinement: a shared rhythm, fewer nested surfaces, real content. */
:root { --type-page:clamp(2.4rem,4.6vw,4.25rem); --type-section:clamp(1.875rem,3.15vw,2.8rem); --radius-card:12px; --radius-control:8px; }
h1,h2,h3,h4 { text-wrap:pretty; }
.experience-page .section h2,.home-editorial .section h2 { letter-spacing:-.025em; }
h3,h4 { letter-spacing:-.02em; }
.experience-page .section { scroll-margin-top:28px; }
.experience-page .experience-intro { padding-block:56px 40px; }
.experience-page .section-heading { margin-bottom:40px; gap:32px; }
.experience-page .section-heading>h2 { max-width:22ch; flex:1; }
.experience-page .section-heading>p { margin:0; max-width:40ch; color:var(--palette-muted); }
.modern-nav nav>a[aria-current=page]:not(.nav-cta) { background:transparent; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:8px; }
@media(max-width:1200px) {
  .modern-nav nav.is-open>a[aria-current=page]:not(.nav-cta) { background:var(--palette-primary-soft); text-decoration:none; }
  .hero .modern-nav nav.is-open>a[aria-current=page]:not(.nav-cta) { background:#ffffff16; }
}
.home-editorial .hero h1 { letter-spacing:-.035em; }
.home-editorial .hero-main { padding-top:70px; }
.home-editorial .hero-content { max-width:800px; }
.home-editorial .hero-description { margin-block:28px; max-width:43ch; }
.home-editorial .hero-meta { margin-top:24px; }
.home-editorial .hero h1,.home-editorial .hero-actions { animation:none; }
.home-editorial .home-everyday { padding-top:96px; }
.home-editorial .home-project-hardware img { height:250px; }
.home-editorial .home-principles h3 { font-size:1.125rem; }
.services-page .services-intro { padding-block:48px 0; }
.services-hero-photo { margin:0; }
.services-hero-photo img { aspect-ratio:4/3; border:0; border-radius:12px; }
.services-page .services-overview { padding-top:80px; }
.services-page .service-no { border:0; background:transparent; width:30px; }
.services-page .service summary { grid-template-columns:30px minmax(0,1fr) 24px; gap:5px 18px; padding-inline:16px; }
.services-page .service-detail { padding-left:64px; }
.services-page .services-security .section-heading { margin-bottom:44px; }
.services-page .services-security .security-principles h3 { font-size:1.375rem; }
.services-page .services-security .security-principles p { max-width:33ch; line-height:1.65; }
.services-page .starting-options { gap:0; border-top:1px solid var(--palette-line); }
.services-page .starting-options article { border:0; border-radius:0; background:transparent; padding:32px 30px 0; }
.services-page .starting-options article:first-child { padding-left:0; }
.services-page .starting-options article+article { border-left:1px solid var(--palette-line); }
.services-page .starting-options article:hover { background:transparent; }
.services-page .starting-options h3 { margin:0 0 18px; min-height:0; font-size:1.45rem; }
.services-page .starting-options p { min-height:0; margin:0; max-width:32ch; color:var(--palette-muted); }
.services-page .handover-sample { margin-top:0; border-radius:0; border-inline:0; }
.services-page .handover-sample>summary { padding-inline:28px; }
.services-page .scope-note { margin-top:24px; max-width:78ch; font-size:.875rem; }
.services-page .service-scope .section-heading>p { max-width:46ch; }
.page-next { gap:36px; }
.page-next>h2 { margin:0; max-width:23ch; color:var(--palette-paper); }
.about-page .profile-intro { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
.about-page .profile-intro p { max-width:48ch; }
.about-page .profile-intro .profile-lead { font-size:1.35rem; color:var(--palette-ink); }
.about-page .portrait { max-width:360px; }
.profile-community-link { display:inline-flex; margin-top:24px; padding-block:8px; min-height:44px; }
.about-page .foundation-grid h3 { font-size:1.5rem; margin-bottom:16px; }
.about-page .foundation-grid article>p { max-width:33ch; }
.about-page .foundation-label { display:block; font-size:.8125rem; letter-spacing:0; min-height:0; margin:22px 0 0; }
.about-page .research-paper { grid-template-columns:80px minmax(0,1fr) auto; gap:32px; padding-block:32px; }
.about-page .research-year time { font-size:1.5rem; }
.about-page .research-content h3 { font-size:1.35rem; }
.about-page .research-content>p { max-width:54ch; font-size:1rem; }
.about-page .research-footer { justify-content:flex-end; }
.about-page .research-recognition { margin-top:36px; border-block:1px solid var(--palette-line); padding:0; }
.recognition-disclosure>summary { display:flex; justify-content:space-between; gap:24px; padding:22px 0; font-size:1.125rem; cursor:pointer; list-style:none; }
.recognition-disclosure>summary::-webkit-details-marker { display:none; }
.recognition-disclosure[open]>summary>span { transform:rotate(45deg); }
.recognition-disclosure .recognition-grid { padding-bottom:28px; }
.about-page .credential-grid article { border-radius:0; border:0; border-top:1px solid var(--palette-line); background:transparent; padding:24px 0; }
.about-page .credential-kind { font-size:.75rem; letter-spacing:.025em; }
.about-page .credential-grid h3 { font-size:1.125rem; line-height:1.45; }
.about-page .credential-preview { background:var(--palette-surface); border-radius:6px; margin-top:20px; }
.about-page .about-practice { padding-block:64px; }
.projects-page .projects { padding-top:0; }
.lab-case { overflow:hidden; }
.lab-story { padding:40px; }
.lab-story h2 { margin:22px 0; font-size:2rem!important; }
.lab-work-summary { max-width:43ch; margin-top:24px; color:var(--palette-muted); }
.lab-foundation { padding:32px; }
.project-case { padding:32px; }
.project-case>h3 { margin-top:24px; }
.project-case .project-tags { gap:8px; }
/* Device browsing: the product is the focal point, with manual controls only. */
.devices-page .device-guide-section { padding-top:0; }
.devices-page .device-guide-intro h1 { font-size:clamp(2rem,3.4vw,3rem); line-height:1.12; letter-spacing:-.03em; }
.device-category-nav { border-inline:0; border-radius:0; border-color:var(--palette-line); background:transparent; gap:2px; padding:8px 0; }
.device-category-nav a { border-radius:6px; padding-inline:14px; }
.device-category-scene { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:32px; padding:40px; min-height:0; border-radius:12px; border:0; background:var(--palette-primary-soft); color:var(--palette-ink); --focus:var(--palette-primary); }
.device-category-scene .device-category-heading { justify-content:center; padding:0; }
.device-category-story h2 { color:var(--palette-ink); font-size:2.5rem; letter-spacing:-.025em; }
.device-category-story>p:not(.eyebrow) { color:var(--palette-muted); max-width:26ch; }
.device-category-scene .device-gallery { border:0; border-radius:8px; background:var(--palette-surface); padding:16px; }
.device-category-scene .device-stage { height:250px; background:var(--palette-surface); }
.device-category-scene .device-stage>img { filter:none; }
.device-category-scene .device-slide figcaption { padding:16px 16px 8px; min-height:100px; }
.device-category-scene .gallery-controls { justify-content:flex-end; }
.device-category-scene .gallery-controls button { background:transparent; border-color:var(--palette-line); }
.device-category-scene .gallery-thumbnail { background:transparent; }
.device-personal-selection { align-items:center; gap:40px; }
.device-personal-selection>h2 { max-width:24ch; }
.device-personal-selection>.button { justify-self:end; }
.device-image-notice { padding-block:20px 32px; }
.device-image-notice summary { min-height:44px; cursor:pointer; }
.privacy-page .legal-intro>p { max-width:62ch; }
.privacy-page .privacy-document { max-width:760px; }
.privacy-page .privacy-document p { font-size:1rem; line-height:1.8; }
.demo-page .lighting-tools { justify-content:flex-end; }
@media(max-width:900px) {
  .device-category-scene { padding:28px; gap:24px; }
  .device-category-story h2 { font-size:2rem; }
  .device-category-scene .device-stage { height:210px; }
  .about-page .research-paper { grid-template-columns:64px minmax(0,1fr); gap:20px; }
  .about-page .research-source { grid-column:2; justify-self:start; }
}
@media(max-width:760px) {
  .experience-page .experience-intro,.services-page .services-intro { padding-top:32px; }
  .experience-page .section-heading { margin-bottom:28px; gap:20px; }
  .experience-page .section-heading>h2,.experience-page .section-heading>p { max-width:none; }
  .home-editorial .hero-main { padding-top:48px; }
  .home-editorial .home-everyday { padding-top:56px; }
  .services-page .services-overview { padding-top:48px; }
  .services-page .service summary { grid-template-columns:26px minmax(0,1fr) 24px; gap:6px 12px; }
  .services-page .service-detail { padding-inline:54px 16px; }
  .services-page .handover-sample>summary { padding-inline:20px; }
  .services-page .starting-options { gap:0; }
  .services-page .starting-options article,.services-page .starting-options article:first-child { padding:24px 0; }
  .services-page .starting-options article+article { border-left:0; border-top:1px solid var(--palette-line); }
  .services-page .starting-options p { max-width:none; }
  .services-page .starting-options h3 { margin-bottom:12px; }
  .page-next { align-items:flex-start; }
  .about-page .profile-intro { grid-template-columns:1fr; }
  .about-page .profile-intro .profile-lead { font-size:1.125rem; }
  .about-page .portrait { max-width:300px; }
  .about-page .research-paper { grid-template-columns:1fr; gap:12px; }
  .about-page .research-source { grid-column:1; }
  .about-page .research-year time { font-size:1rem; }
  .about-page .foundation-label { margin-top:14px; }
  .about-page .about-practice { padding-block:48px; }
  .lab-story,.lab-foundation,.project-case { padding:24px; }
  .lab-story h2 { font-size:1.625rem!important; }
  .device-category-scene { grid-template-columns:1fr; padding:24px; gap:24px; }
  .device-category-story h2 { font-size:1.75rem; margin-bottom:12px; }
  .device-category-story>p:not(.eyebrow) { max-width:40ch; font-size:1rem; }
  .device-category-scene .device-gallery { padding:8px; }
  .device-category-scene .device-stage { height:200px; }
  .device-category-scene .device-slide figcaption { padding:12px 10px 8px; min-height:108px; }
  .device-category-scene .gallery-controls { padding-inline:8px; }
  .device-category-scene .gallery-thumbnails { padding-inline:8px; }
  .device-category-more { background:var(--palette-primary-soft); border-radius:6px; right:0; top:9px; }
  .device-personal-selection>.button { justify-self:start; }
}
@media(max-width:380px) {
  .device-category-scene { padding:18px; }
  .device-category-scene .device-stage { height:170px; }
  .home-editorial .hero h1 { font-size:2.125rem; }
}
