/* PP Ventures / Step 2. Progressive presentation; no external dependencies. */
html { scroll-padding-top: calc(7rem + env(safe-area-inset-top, 0px)); }
body.pp-home, body.pp-interior {
  --paper: var(--ds-bg); --white: var(--ds-surface); --ink: var(--ds-ink);
  --muted: var(--ds-muted); --accent: var(--ds-accent); --line: var(--ds-line);
  --dark: #102b27; --sage: var(--ds-soft); --max: 1240px; --serif: var(--ds-font);
  background: var(--ds-bg); color: var(--ds-ink); font-family: var(--ds-font);
  font-weight: 400; font-size: var(--ds-text-base); line-height: 1.7;
}
body.pp-home :is(h1, h2, h3), body.pp-interior :is(h1, h2, h3) {
  font-family: var(--ds-font); font-weight: 550; color: inherit;
  letter-spacing: -.055em; text-wrap: balance;
}
body.pp-home h2, body.pp-interior h2 { font-size: var(--ds-title); line-height: 1.09; }
body.pp-home h3, body.pp-interior h3 { font-size: var(--ds-title-sm); line-height: 1.23; letter-spacing: -.035em; }
body.pp-home h2 em, body.pp-interior :is(h1, h2) em { font-weight: inherit; font-style: normal; color: var(--ds-accent); }
body.pp-home p, body.pp-interior p { font-weight: 400; }
body .wrap { width: min(calc(100% - 64px), var(--max)); }
body .section, body.pp-interior .section { padding-block: var(--ds-space-6); }
body.pp-interior .block { padding-block: var(--ds-space-5); }
body.pp-interior .block.first { padding-top: 1.5rem; }
body .section-heading { gap: var(--ds-space-5); margin-bottom: var(--ds-space-5); }
body.pp-home :is(.section-heading > p, .section-copy, .lede), body.pp-interior :is(.section-copy, .lede) {
  color: var(--ds-muted); line-height: 1.8;
}
body.pp-home :is(.eyebrow, .technical-label), body.pp-interior :is(.eyebrow, .technical-label) {
  color: var(--ds-muted); letter-spacing: .08em; font-weight: 600;
}
body.pp-home .eyebrow { margin-bottom: 1.25rem; }
body.pp-home .status-dot { width: 8px; height: 8px; flex-basis: 8px; background: #65b68b; box-shadow: 0 0 0 4px #65b68b20; }
body.pp-home :is(.fine-print, .closing-note), body.pp-interior :is(.fine-print, .closing-note) { color: var(--ds-muted); }
body :is(p, li, label, input, select, textarea, figcaption) { overflow-wrap: anywhere; }
/* This deliberately outranks earlier page-specific !important microcopy. */
body.pp-home :is(p:not(.hero-statement), a, button, label, input, select, textarea, small, legend, li, figcaption, .eyebrow, .technical-label, .component-top, .component-foot, .phase-status, .plan-caption, .room-label, .room-state, .log-status, .footer-bottom, .product-bar) { font-size: 1rem !important; }
body :is(a, button, summary, input, select, textarea) { min-height: 44px; min-width: 44px; }
body :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--ds-focus) !important; outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--ds-surface);
}
body .skip-link { border-radius: var(--ds-radius-sm); background: var(--ds-surface); color: var(--ds-ink); }
body.pp-home .btn, body.pp-interior .btn {
  min-height: 52px; padding: .875rem 1.4rem; border-radius: 999px;
  gap: 1.5rem; line-height: 1.5; font-weight: 600; letter-spacing: -.015em;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s var(--ds-ease);
}
body.pp-home .btn-primary, body.pp-interior .btn-primary, body.pp-interior .article .btn-primary {
  background: var(--ds-accent); color: var(--ds-on-accent); border: 1px solid var(--ds-accent);
}
body.pp-home .btn-primary:hover, body.pp-interior .btn-primary:hover {
  background: var(--ds-ink); color: var(--ds-bg); border-color: var(--ds-ink); box-shadow: var(--ds-shadow);
}
body.pp-home :is(.btn-secondary, .btn-ghost), body.pp-interior .btn-ghost {
  background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line);
}
body.pp-home :is(.btn-secondary, .btn-ghost):hover { background: var(--ds-soft); border-color: var(--ds-accent); }
body.pp-home .text-link, body.pp-interior .text-link { color: var(--ds-accent); font-weight: 600; gap: 1rem; }
body .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
/* A stable outer header keeps the document in place while its contents shrink. */
body.pp-home .site-header, body.pp-interior .site-header {
  position: sticky; top: 0; z-index: 60; height: calc(92px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: transparent;
  border-bottom: 0; color: var(--ds-ink); backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* Blur belongs to this sibling surface, never an ancestor of the fixed menu. */
body.pp-home .site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ds-glass); border-bottom: 1px solid var(--ds-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform-origin: center top; transition: transform .3s var(--ds-ease), box-shadow .3s;
}
body .site-header > .wrap { height: 100%; }
body.pp-home .site-header nav { min-height: 0; height: 92px; padding-block: 12px; gap: 2rem; flex-wrap: nowrap; transition: height .3s var(--ds-ease), padding .3s var(--ds-ease); }
body.pp-home .brand { font-weight: 650; font-size: 1.1rem !important; gap: .7rem; letter-spacing: -.04em; flex-shrink: 0; }
body.pp-home .brand-symbol { width: 44px; height: 38px; filter: none; transition: transform .3s var(--ds-ease); }
body.pp-home .brand small { display: block; font-weight: 400; color: var(--ds-muted); letter-spacing: 0; line-height: 1.4; }
body.pp-home .nav-links { gap: 1.75rem; align-items: center; }
body.pp-home .nav-links > a { color: var(--ds-muted); min-height: 44px; font-weight: 500; }
body.pp-home .nav-links > a:hover, body.pp-home .nav-links > a[aria-current=page] { color: var(--ds-accent); }
body.pp-home .nav-links .btn { min-height: 48px; background: var(--ds-ink); color: var(--ds-bg); border-color: var(--ds-ink); padding: .65rem 1.25rem; }
body.pp-home .nav-links .btn:hover { color: var(--ds-on-accent); background: var(--ds-accent); border-color: var(--ds-accent); }
body.pp-home .nav-toggle { border: 1px solid var(--ds-line); border-radius: 999px; background: var(--ds-surface); color: var(--ds-ink); padding: .5rem .9rem; min-height: 44px; }
body.pp-home .site-header.is-scrolled { box-shadow: none; }
body.pp-home .site-header.is-scrolled::before { transform: scaleY(.826087); box-shadow: var(--ds-shadow); }
body.pp-home .site-header.is-scrolled .brand-symbol { transform: scale(.85); }
body.pp-home .site-header.is-scrolled nav { height: 76px; padding-block: 10px; }
.page-progress, body.pp-home .scroll-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 80; background: var(--ds-accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
/* The home scene is existing artwork, with a small mesh of light over it. */
body.pp-home .engineering-hero {
  position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 0;
  min-height: 0; background: #102d29; color: #f4f9ee; border-radius: 0 0 var(--ds-radius-lg) var(--ds-radius-lg);
}
body.pp-home .engineering-hero > .wrap {
  position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 0 3rem;
  padding-block: clamp(3rem, 6vw, 6rem); align-items: center;
}
body.pp-home .hero-backdrop { z-index: -4; opacity: .33; object-position: right center; filter: saturate(.8) brightness(.7); }
body.pp-home .hero-atmosphere { z-index: -3; background: linear-gradient(100deg, #102d29 5%, #102d29e8 42%, #102d2930 100%); }
body.pp-home .engineering-hero::before {
  content: ''; position: absolute; z-index: -2; inset: -35%; pointer-events: none;
  background: radial-gradient(ellipse at 70% 35%, #b9df982e, transparent 38%), radial-gradient(ellipse at 35% 85%, #2a9e8b40, transparent 45%), radial-gradient(ellipse at 85% 80%, #b6a77822, transparent 30%);
  transform: rotate(-7deg); animation: aurora-settle 4.5s var(--ds-ease) both;
}
body.pp-home .engineering-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .15;
  background-image: linear-gradient(#e8ffea22 1px, transparent 1px), linear-gradient(90deg, #e8ffea22 1px, transparent 1px);
  background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent, #000);
}
body.pp-home .hero-kicker { grid-column: 1 / -1; display: flex; gap: 1.5rem; margin-bottom: 2.25rem; align-items: center; }
body.pp-home .hero-kicker .eyebrow { margin: 0; color: #d3e9d8; }
body.pp-home .hero-kicker .technical-label { color: #c7ddcf; border: 1px solid #8eb19e70; border-radius: 999px; max-width: none; padding: .35rem .85rem; margin: 0; }
body.pp-home .engineering-hero h1 { grid-column: 1; font-size: var(--ds-display); line-height: .99; letter-spacing: -.075em; margin: 0 0 1.5rem; max-width: 11ch; color: #f4f9ee; font-weight: 550; }
body.pp-home .engineering-hero h1 em { color: #bce4bc; font-weight: inherit; font-style: normal; }
body.pp-home .hero-statement { grid-column: 1; font-size: var(--ds-text-lg); line-height: 1.45; max-width: 29ch; color: #d5e7d9; letter-spacing: -.02em; }
body.pp-home .hero-bottom { grid-column: 1; display: flex; flex-direction: column; gap: 1.5rem; margin: 1.5rem 0 0; padding: 0; background: none; }
body.pp-home .hero-bottom > p { color: #d5e7d9 !important; max-width: 46ch; margin: 0; }
body.pp-home .hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
body.pp-home .hero-actions .btn { flex: 0 1 auto; padding: .9rem 1.25rem; gap: 1rem; }
body.pp-home .hero-actions .btn-primary { background: #c4e8b7; color: #153a2d; border-color: #c4e8b7; }
body.pp-home .hero-actions .btn-secondary { background: #163b32; color: #f4f9ee; border-color: #8eb19e; }
body.pp-home .hero-actions .btn:hover { background: #eff9e8; color: #153a2d; border-color: #eff9e8; }
body.pp-home .engineering-hero .text-link { color: #deefdb; }
body.pp-home .refresh-hero-visual {
  grid-column: 2; grid-row: 2 / 5; margin: 0; align-self: center; padding: 1.25rem;
  background: #15352dcc; border: 1px solid #9dc6a861; border-radius: var(--ds-radius);
  box-shadow: 0 30px 100px #04171150; transform: rotate(2deg); backdrop-filter: blur(10px);
}
body.pp-home .refresh-hero-visual img { width: 100%; height: auto; aspect-ratio: 1400 / 820; object-fit: contain; }
body.pp-home .refresh-hero-visual figcaption { color: #d3e6d6; border-top: 1px solid #8aa89566; margin-top: 1rem; padding-top: 1rem; }
@keyframes aurora-settle { from { transform: translate3d(-3%, 3%, 0) rotate(-15deg) scale(1.08); } to { transform: translate3d(0, 0, 0) rotate(-7deg) scale(1); } }
/* Capability rail: readable static list before enhancement; pause always works. */
body .capability-marquee { position: relative; padding-block: 1.15rem; background: var(--ds-soft); border-bottom: 1px solid var(--ds-line); overflow: hidden; }
body .capability-track { display: flex; width: max-content; max-width: 100%; }
body .capability-group { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-inline: 2rem; }
body .capability-group[aria-hidden=true] { display: none; }
body .capability-group > span { display: inline-flex; align-items: center; gap: 1rem; white-space: nowrap; color: var(--ds-ink); font-weight: 500; }
body .capability-group > span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-accent); }
body .capability-marquee.motion-enabled .capability-track { max-width: none; animation: capability-drift 36s linear infinite; }
body .capability-marquee.motion-enabled .capability-group { flex-wrap: nowrap; }
body .capability-marquee.motion-enabled .capability-group[aria-hidden=true] { display: flex; }
body .capability-marquee:is(.is-paused, :hover, :focus-within) .capability-track { animation-play-state: paused; }
body .marquee-toggle { position: relative; min-height: 44px; margin: .75rem 2rem 0; padding: .35rem 1rem; border: 1px solid var(--ds-line); border-radius: 999px; color: var(--ds-ink); background: var(--ds-surface); }
@keyframes capability-drift { to { transform: translateX(-50%); } }
/* Product evidence and hardware form an elevated, unequal grid. */
body.pp-home .engineering-proof, body.pp-home .engineering-system, body.pp-home .engineering-roadmap { background: var(--ds-bg); color: var(--ds-ink); }
body.pp-home .engineering-proof { padding-top: var(--ds-space-6); }
body.pp-home .engineering-proof :is(em, .section-heading > p) { color: var(--ds-muted); }
body.pp-home .product { background: var(--ds-soft); color: var(--ds-ink); }
body.pp-home .product-controls { display: flex; flex-wrap: wrap; gap: .5rem; padding: .5rem; border: 1px solid var(--ds-line); border-radius: var(--ds-radius) var(--ds-radius) 0 0; background: var(--ds-surface); margin-bottom: 0; }
body.pp-home .product-controls button { flex: 1 1 180px; border: 1px solid transparent; border-radius: var(--ds-radius-sm); background: transparent; color: var(--ds-muted); padding: .85rem 1rem; min-height: 54px; gap: .75rem; font-weight: 500; }
body.pp-home .product-controls button span { color: inherit; }
body.pp-home .product-controls button:is([aria-pressed=true], [aria-selected=true]) { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-bg); }
body.pp-home .product-controls button:is([aria-pressed=true], [aria-selected=true]) span { color: inherit; }
body.pp-home .product-frame { border: 1px solid var(--ds-line); border-top: 0; border-radius: 0 0 var(--ds-radius) var(--ds-radius); background: var(--ds-surface); padding: 1rem 1rem 0; overflow: hidden; box-shadow: var(--ds-shadow); }
body.pp-home .product-bar, body.pp-home .product-frame figcaption { color: var(--ds-muted); }
body.pp-home .product-frame figcaption { padding: 1.25rem .4rem; }
body.pp-home .product-frame img { border-radius: var(--ds-radius-sm); }
body.pp-home .proof-note { grid-template-columns: .8fr 1.7fr auto; gap: 2rem; border-color: var(--ds-line); }
body.pp-home .proof-note :is(p, .eyebrow) { color: var(--ds-muted); }
body.pp-home .proof-note .text-link { color: var(--ds-accent); }
body.pp-home .system-stage { margin: 0 0 2rem; padding: 1rem; border-radius: var(--ds-radius); background: #13242a; width: auto; }
body.pp-home .system-stage figcaption { color: #d5e3dc; border-color: #688479; margin: 0 1rem; flex-wrap: wrap; }
body.pp-home .system-components.bento-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; perspective: 1200px; }
body.pp-home .bento-card {
  position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ds-surface); color: var(--ds-ink);
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow);
  transition: transform .3s var(--ds-ease), box-shadow .3s var(--ds-ease), border-color .3s;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
body.pp-home .bento-card:nth-child(2) { background: var(--ds-soft); }
body.pp-home .bento-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
body.pp-home .bento-card .component-top { color: var(--ds-muted); border-color: var(--ds-line); flex-wrap: wrap; gap: .5rem; }
body.pp-home .bento-card .component-foot { color: var(--ds-muted); border-color: var(--ds-line); }
body.pp-home .bento-card .component-art { background: radial-gradient(ellipse, #45655d22, transparent 70%); border-radius: var(--ds-radius-sm); }
body.pp-home .bento-card h3 { font-size: var(--ds-title-sm); margin-block: .75rem 1rem; }
body.pp-home .bento-card > p { color: var(--ds-muted); max-width: 45ch; margin-bottom: 1.5rem; }
body.pp-home .bento-card .feature-icon { display: block; width: 44px; height: 44px; padding: 9px; border-radius: 13px; background: var(--ds-soft); color: var(--ds-accent); }
body.pp-home .bento-card:last-child .feature-icon { grid-column: 1; }
body.pp-home .bento-card:last-child .component-art { grid-column: 2; grid-row: 2 / 6; }
body.pp-home .system-note { margin-top: 2rem; gap: 2rem; }
body.pp-home .system-note > p { color: var(--ds-muted); }
body.pp-home .development-rows { border: 0; }
body.pp-home .development-rows article { gap: 2rem; padding: 2rem 0; border-color: var(--ds-line); }
body.pp-home .development-rows p { color: var(--ds-muted); }
body.pp-home :is(.phase-index, .phase-status) { color: var(--ds-accent); }
body.pp-home .phase-status { border: 1px solid var(--ds-line); border-radius: 999px; padding: .35rem .75rem; align-self: start; justify-self: start; }
@media (hover: hover) and (pointer: fine) { body.pp-home .bento-card:hover { border-color: var(--ds-accent); box-shadow: var(--ds-shadow-raised); } }
/* An accessible dark demo island keeps the floor-plan states legible. */
body.pp-home .demo-section { background: var(--ds-bg); color: #eaf4ee; padding-block: var(--ds-space-6); }
body.pp-home .demo-section .home-demo { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid #46655a; border-radius: var(--ds-radius-lg); background: #132b2b; box-shadow: var(--ds-shadow); }
body.pp-home .demo-section .demo-heading { gap: 2rem; }
body.pp-home .demo-section .demo-heading h2 { font-size: var(--ds-title); color: #f0f6ee; }
body.pp-home .demo-section .demo-heading h2 em { color: #bce4bc; }
body.pp-home .demo-section :is(.eyebrow, .demo-preset-label, .demo-heading > p) { color: #c7ddd1 !important; }
body.pp-home .demo-section a { color: #bde7ce; text-decoration: underline; text-underline-offset: .2em; }
body.pp-home .demo-scenes { flex-wrap: wrap; gap: .5rem; }
body.pp-home .demo-scenes button { flex: 1 1 90px; color: #d2e7da; background: #1b3935; border: 1px solid #6b9381; border-radius: 999px; padding: .65rem 1rem; min-height: 48px; }
body.pp-home .demo-scenes button[aria-pressed=true] { color: #133528; background: #c4e8b7; border-color: #c4e8b7; }
body.pp-home .demo-section .plan-panel { background: #193932; border-color: #557d6b; border-radius: var(--ds-radius); }
body.pp-home .demo-section .floor-plan { background: #112c27; border-color: #708e7e; }
body.pp-home .demo-section .demo-room { border-color: #6b8878; border-radius: 8px; background: #244b40; color: #f3f7ef; }
body.pp-home .demo-section .demo-room[data-lit=true] { background: #665533; }
body.pp-home .demo-section fieldset.demo-controls { background: #19352f; border-color: #537564; border-radius: var(--ds-radius); }
body.pp-home .demo-section .demo-controls small { color: #bcd5c5; }
body.pp-home .demo-section :is(.verification-panel h3, .demo-log-heading h3) { color: #eaf4ee; }
body.pp-home .demo-section .demo-controls input[type=checkbox]:checked { background: #c4e8b7; }
body.pp-home .demo-section .connection-note { background: #294e45; color: #e5f1e6; }
body.pp-home .demo-section .connection-note[data-offline=true] { background: #423922; color: #ffe5ae; }
body.pp-home .demo-section .verification-panel { border-radius: var(--ds-radius); }
body.pp-home .demo-section .demo-log li { border-color: #4f7062; }
body.pp-home .demo-section .demo-log li p { color: #d1e3d7; }
body.pp-home .demo-section .demo-log .log-status { color: #c4e8b7; }
body.pp-home .demo-section :is(button, input, a):focus-visible { outline-color: #b8f2e0 !important; box-shadow: 0 0 0 2px #132b2b; }
/* Every interior page shares the same visual rhythm, including policy pages. */
body.pp-interior .page-head { padding-block: var(--ds-space-6) var(--ds-space-5); background: radial-gradient(ellipse at 100% 0, var(--ds-soft), transparent 70%); border-bottom: 0; overflow: hidden; }
body.pp-interior .page-head::before { opacity: .07; filter: grayscale(1); }
body.pp-interior .page-head h1 { font-size: clamp(2.75rem, 1.6rem + 4vw, 5.4rem); font-weight: 550; line-height: 1.04; max-width: 16ch; margin-bottom: 1.5rem; }
body.pp-interior .page-head p:not(.eyebrow), body.pp-interior .page-head .eyebrow { color: var(--ds-muted); }
body.pp-interior .page-head p:not(.eyebrow) { max-width: 52ch; }
body.pp-interior .alternate, body.pp-interior .architecture-section { background: var(--ds-soft); border-color: var(--ds-line); }
body.pp-interior :is(.solution-row, .story-grid) { gap: var(--ds-space-5); }
body.pp-interior :is(.solution-row h2, .story-copy h2) { font-size: var(--ds-title); font-weight: 550; }
body.pp-interior :is(.detail-list article, .hearth-parts article, .hearth-roadmap li, .contact-next li) { border-color: var(--ds-line); }
body.pp-interior :is(.detail-list p, .step p, .story-copy > p:not(.eyebrow), .hearth-parts p, .hearth-roadmap p, .contact-next p, .direct-email, .contact-intro .lede) { color: var(--ds-muted); }
body.pp-interior :is(.detail-list h3, .step h3, .step h2) { font-size: var(--ds-title-sm); font-weight: 550; }
body.pp-interior :is(.finder, .layer-panel, .hearth-map, .form-panel, .card) { background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); }
body.pp-interior :is(.finder-result, .map-hub, .map-parts > div, .article .callout, .hearth-boundary) { background: var(--ds-soft); color: var(--ds-ink); border-color: var(--ds-line); border-radius: var(--ds-radius-sm); }
body.pp-interior :is(.finder-result > p, .layer-panel > p:not(.eyebrow):not(.fine-print), .layer-example p, .card p, .map-hub p, .map-parts > div > span:last-child) { color: var(--ds-muted); }
body.pp-interior :is(.layer-example, .layer-options, .layer-options button) { border-color: var(--ds-line); }
body.pp-interior .layer-options button { color: var(--ds-ink); border-radius: var(--ds-radius-sm); gap: 1rem; }
body.pp-interior .layer-options button > span:first-child { color: var(--ds-muted); }
body.pp-interior .layer-options button[aria-pressed=true] { background: var(--ds-accent); color: var(--ds-on-accent); }
body.pp-interior .layer-options button[aria-pressed=true] > span { color: inherit; }
body.pp-interior :is(.choice-row button, .interest-fieldset .choice-row button) { border: 1px solid var(--ds-line); border-radius: 999px; background: var(--ds-surface); color: var(--ds-ink); padding: .65rem 1rem; }
body.pp-interior :is(.choice-row button, .interest-fieldset .choice-row button)[aria-pressed=true] { background: var(--ds-accent); color: var(--ds-on-accent); border-color: var(--ds-accent); }
body.pp-interior :is(.part-status, .stage-label, .map-number, .layer-example > span) { color: var(--ds-accent); font-weight: 500; }
body.pp-interior .story-photo { border-radius: var(--ds-radius); overflow: hidden; border-color: var(--ds-line); }
body.pp-interior .story-photo figcaption { color: var(--ds-muted); background: var(--ds-surface); padding: 1rem; }
body.pp-interior .outcome { padding: 1.5rem; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: var(--ds-surface); }
body.pp-interior .outcome p { color: var(--ds-muted); }
body.pp-interior .post-card { padding: 2rem; transition: box-shadow .2s, border-color .2s, transform .3s var(--ds-ease); }
body.pp-interior .post-card:hover { background: var(--ds-surface); border-color: var(--ds-accent); box-shadow: var(--ds-shadow-raised); transform: translateY(-4px); }
body .post-card h2 { font-weight: 550; line-height: 1.17; }
body.pp-interior :is(.tag, .badge) { border: 1px solid var(--ds-line); border-radius: 999px; padding: .3rem .75rem; background: var(--ds-soft); color: var(--ds-accent); }
body.pp-interior .post-card .more { color: var(--ds-accent); }
body.pp-interior .band { background: var(--ds-soft); color: var(--ds-ink); border-color: var(--ds-line); padding-block: var(--ds-space-6); }
body.pp-interior .band p { color: var(--ds-muted); }
/* Process steps keep their reading order while the line links each decision. */
body.pp-interior .process-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
body.pp-interior .process-step { position: relative; border: 0; padding: 1.5rem; border-radius: var(--ds-radius); background: var(--ds-surface); box-shadow: var(--ds-shadow); }
body.pp-interior .process-step::before { content: ''; position: absolute; height: 2px; left: 3rem; right: -1.5rem; top: 3rem; background: var(--ds-line); }
body.pp-interior .process-step:last-child::before { right: 3rem; }
body.pp-interior .process-step p { color: var(--ds-muted); }
@media (min-width: 801px) {
  body.pp-interior .process-step:nth-child(3n)::before { right: 3rem; }
}
body.pp-interior .process-step .step-number { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 2rem; border: 1px solid var(--ds-line); border-radius: 50%; background: var(--ds-soft); color: var(--ds-accent); font-weight: 600; }
/* Contact fields and their request/error states retain their existing behavior. */
body.pp-interior .contact-section { padding-block: var(--ds-space-6); background: radial-gradient(ellipse at 0 10%, var(--ds-soft), transparent 65%); }
body.pp-interior .contact-grid { gap: var(--ds-space-5); }
body.pp-interior .contact-intro h1 { font-size: clamp(2.75rem, 1.7rem + 3.5vw, 5rem); font-weight: 550; }
body.pp-interior .form-panel { padding: clamp(1.25rem, 3vw, 2.5rem); }
body.pp-interior .form-panel h2 { font-size: clamp(2rem, 2.8vw, 3rem); }
body.pp-interior :is(.field label, .interest-fieldset legend) { color: var(--ds-ink); font-weight: 500; }
body.pp-interior :is(.field label span, .form-panel .fine-print) { color: var(--ds-muted); }
body.pp-interior :is(input, textarea, select) { color: var(--ds-ink); background: var(--ds-bg); border: 1px solid var(--ds-muted); border-radius: var(--ds-radius-sm); padding: .9rem 1rem; caret-color: var(--ds-ink); }
body.pp-interior input:-webkit-autofill { box-shadow: 0 0 0 1000px var(--ds-soft) inset; -webkit-text-fill-color: var(--ds-ink); caret-color: var(--ds-ink); }
body.pp-interior :is(input, textarea)::placeholder { color: var(--ds-muted); opacity: 1; }
body.pp-interior .form-note, body.pp-interior .form-note[data-state=pending] { color: var(--ds-accent); }
body.pp-interior .form-note[data-state=error], body :is(.field-error, #formErrors) { color: var(--ds-error); }
body.pp-interior :is(.direct-email a, .contact-next li > span) { color: var(--ds-accent); }
body.pp-interior #form-success .success-mark { background: var(--ds-soft); border-color: var(--ds-accent); color: var(--ds-accent); }
body.pp-interior #form-success p { color: var(--ds-muted); }
/* Field notes and policies: measured reading width and generous rhythm. */
body.pp-interior .article { max-width: 800px; font-size: var(--ds-text-base); }
body.pp-interior .article h1 { color: var(--ds-ink); font-size: clamp(2.55rem, 1.8rem + 3vw, 4.75rem); font-weight: 550; line-height: 1.08; margin-block: 1.5rem 2rem; }
body.pp-interior .article h2 { color: var(--ds-ink); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem); font-weight: 550; margin-block: 3rem 1.25rem; }
body.pp-interior .article h3 { color: var(--ds-ink); }
body.pp-interior .article :is(p, li, .src, .kicker, .meta) { color: var(--ds-muted); line-height: 1.85; }
body.pp-interior .article strong { color: var(--ds-ink); font-weight: 650; }
body.pp-interior .article :is(.backlink, a:not(.btn)) { color: var(--ds-accent); }
body.pp-interior .article .callout { border-left: 3px solid var(--ds-accent); padding: 1.5rem; margin-block: 2rem; }
body.pp-interior .article .callout p { color: var(--ds-ink); }
body.pp-interior .endcta { border-color: var(--ds-line); padding-top: 2rem; }
body.pp-interior .article details, body.pp-interior details.supporting-detail, body details.spatial-optional { background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-sm); margin: 0 0 .75rem; padding: 0; box-shadow: var(--ds-shadow); }
body.pp-interior .article summary, body.pp-interior details.supporting-detail summary, body details.spatial-optional > summary {
  position: relative; list-style: none; padding: 1.25rem 3.75rem 1.25rem 1.5rem; min-height: 68px; color: var(--ds-ink); font-size: 1.0625rem; font-weight: 550; line-height: 1.6; cursor: pointer;
}
body summary::-webkit-details-marker { display: none; }
body.pp-interior .article summary::after, body.pp-interior details.supporting-detail summary::after, body details.spatial-optional > summary::after { content: '+'; position: absolute; right: 1.5rem; top: 1.25rem; font-size: 1.5rem; line-height: 1.2; color: var(--ds-accent); transition: transform .2s; }
body.pp-interior .article details[open] > summary::after, body.pp-interior details.supporting-detail[open] > summary::after, body details.spatial-optional[open] > summary::after { transform: rotate(45deg); }
body.pp-interior .article details p, body.pp-interior details.supporting-detail p { color: var(--ds-muted); padding: 0 1.5rem 1.5rem; margin: 0; }
body.pp-interior details.supporting-detail summary span, body details.spatial-optional > summary > span { display: none; }
body details.spatial-optional { margin: 0 auto; width: min(calc(100% - 64px), 1240px); overflow: hidden; }
/* Quiet closing panels and a shared, high-contrast footer. */
body.pp-home .engineering-close, body.pp-interior .closing { background: #173b31; color: #edf6e9; padding-block: var(--ds-space-6); border-color: #365e4e; }
body.pp-home .engineering-close h2, body.pp-interior .closing h2 { font-size: clamp(2.75rem, 2rem + 3vw, 5rem); color: #edf6e9; }
body.pp-home .engineering-close h2 em, body.pp-interior .closing em { color: #c4e8b7; }
body.pp-home .engineering-close :is(.eyebrow, .technical-label), body.pp-interior .closing :is(.eyebrow, .closing-note) { color: #c3dcc9; }
body.pp-home .engineering-close .closing-bottom > p, body.pp-interior .closing p:not(.eyebrow) { color: #d1e3d5; }
body.pp-home .engineering-close .btn, body.pp-interior .closing .btn { color: #163b2b; background: #c4e8b7; border-color: #c4e8b7; }
body.pp-home .engineering-close .text-link { color: #d8f1d0; }
body.pp-home .site-footer { background: var(--ds-bg); color: var(--ds-ink); padding-block: var(--ds-space-5) 1.5rem; }
body.pp-home .footer-top { gap: 3rem; padding-bottom: 2rem; }
body.pp-home .footer-top p { font-size: clamp(1.6rem, 2.5vw, 2.5rem) !important; font-weight: 500; line-height: 1.15; letter-spacing: -.05em; margin-top: 1.5rem; color: var(--ds-ink); }
body.pp-home .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 3rem; }
body.pp-home .footer-links a { color: var(--ds-muted); min-height: 44px; }
body.pp-home .footer-links a:hover { color: var(--ds-accent); text-decoration: underline; text-underline-offset: .2em; }
body.pp-home .footer-wordmark { border-color: var(--ds-line); color: var(--ds-soft); font-size: clamp(4rem, 15vw, 12rem); line-height: .9; letter-spacing: -.075em; font-weight: 650; padding-block: 1.5rem; }
body.pp-home :is(.trust-footer, .footer-bottom) { color: var(--ds-muted); border-color: var(--ds-line); }
body.pp-home .trust-footer { padding-block: 1.5rem; }
body.pp-home .trust-footer a { text-decoration: underline; text-underline-offset: .2em; }
body.pp-home .footer-bottom { gap: 1rem; flex-wrap: wrap; }
body.pp-home .footer-bottom a { color: var(--ds-accent); }
body.pp-interior .hero:not(.home-hero) { background: var(--ds-soft); color: var(--ds-ink); padding-block: var(--ds-space-6); }
body.pp-interior .hero :is(h1, .grad) { color: var(--ds-ink); }
body.pp-interior .hero .lede { color: var(--ds-muted); }
body.pp-interior .trust-copy { border-top: 1px solid var(--ds-line); }
body .preview-dialog { background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow-raised); }
body .dialog-header button { color: var(--ds-ink); background: var(--ds-soft); border-color: var(--ds-line); border-radius: 999px; padding-inline: 1rem; }
/* Motion never changes document geometry, and plain content stays visible. */
body .reveal-ready { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .65s var(--ds-ease), transform .65s var(--ds-ease); }
body .reveal-ready.is-revealed { opacity: 1; transform: none; }
body.pp-home .tilt-card.is-revealed { transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
body .mobile-cta { display: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@supports (animation-timeline: scroll()) {
  .page-progress, body.pp-home .scroll-progress { animation: reading-progress linear both; animation-timeline: scroll(root); }
  @keyframes reading-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-color-scheme: dark) {
  body.pp-home .brand-symbol { filter: brightness(0) invert(1); }
  body.pp-interior .page-head::before { opacity: .16; }
}
@media (max-width: 1100px) {
  body.pp-home .nav-links { gap: 1rem; }
  body.pp-home .engineering-hero > .wrap { gap: 0 2rem; }
  body.pp-home .hero-kicker { flex-wrap: wrap; gap: .75rem; }
  body.pp-home .engineering-hero h1 { font-size: clamp(3.3rem, 7.2vw, 5.2rem); }
  body.pp-home .proof-note { grid-template-columns: 1fr 2fr; }
  body.pp-home .proof-note > a { grid-column: 2; justify-self: start; }
}
/* Keep the expanded navigation in its modal menu until all links fit. */
@media (max-width: 1200px) {
  html { scroll-padding-top: calc(6rem + env(safe-area-inset-top, 0px)); }
  body.pp-home .site-header { height: calc(80px + env(safe-area-inset-top, 0px)); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.pp-home .site-header nav { height: 80px; padding-block: .5rem; gap: 1rem; }
  body.pp-home .site-header.is-scrolled::before { transform: scaleY(.85); }
  body.pp-home .site-header.is-scrolled nav { height: 68px; padding-block: 6px; }
  body.menu-open .site-header::before { transform: none; }
  body.menu-open .site-header nav { height: 80px; padding-block: .5rem; }
  body.pp-home .brand { max-width: calc(100% - 105px); }
  body.pp-home .brand-symbol { width: 34px; height: 32px; }
  body.pp-home .brand small { font-size: 1rem !important; }
  body.pp-home .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; margin-left: auto; }
  body.pp-home .nav-links { position: static; width: 100%; flex-direction: column; align-items: stretch; gap: .5rem; padding: 1rem 0; background: var(--ds-surface); }
  body.pp-home .site-header nav:has(.nav-toggle[hidden]) { flex-wrap: wrap; height: auto; }
  body.pp-home .site-header:has(.nav-toggle[hidden]) { position: relative; height: auto; }
  body.js .site-header nav { flex-wrap: nowrap; }
  body.js .nav-links, html.js body.pp-home .nav-links { position: fixed; inset: calc(80px + env(safe-area-inset-top, 0px)) 0 0; width: 100%; max-height: calc(100vh - 80px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px)); overflow-y: auto; padding: 2rem max(1.5rem, env(safe-area-inset-right, 0px)) max(2rem, env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px)); overscroll-behavior-y: contain; border: 0; border-radius: var(--ds-radius) var(--ds-radius) 0 0; background: var(--ds-bg); box-shadow: 0 30px 60px #0002; justify-content: flex-start; }
  html.js body.pp-home .nav-links:not(.is-open) { display: none; }
  html.js body.pp-home .nav-links.is-open { display: flex; }
  body.pp-home .nav-links > a { min-height: 68px; padding: 1rem; font-size: clamp(1.25rem, 4vw, 2rem) !important; border-bottom: 1px solid var(--ds-line); }
  body.pp-home .nav-links > .btn { margin-top: 1rem; width: 100%; min-height: 56px; font-size: 1.125rem !important; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 800px) {
  body .wrap, body.pp-home .wrap { width: min(calc(100% - 32px), var(--max)); }
  html:has(.mobile-cta) { scroll-padding-bottom: calc(var(--mobile-cta-space, 9rem) + 1rem); }
  body:has(.mobile-cta) { padding-bottom: var(--mobile-cta-space, 9rem); }
  body.pp-home .engineering-hero > .wrap { grid-template-columns: 1fr; padding-block: 2.25rem; }
  body.pp-home .hero-kicker { grid-column: 1; display: block; margin-bottom: 1.5rem; }
  body.pp-home .hero-kicker .eyebrow { margin-bottom: .75rem; }
  body.pp-home .hero-kicker .technical-label { display: inline-block; padding: .35rem .7rem; max-width: 100%; }
  body.pp-home .engineering-hero h1 { font-size: clamp(3.3rem, 9vw, 5.5rem); margin-bottom: 1rem; max-width: 12ch; }
  body.pp-home .hero-statement { font-size: 1.25rem; max-width: 34ch; }
  body.pp-home .hero-bottom { margin-top: 1.25rem; gap: 1rem; }
  body.pp-home .hero-actions { order: 0; display: flex; flex-wrap: wrap; width: 100%; gap: .75rem; }
  body.pp-home .hero-actions .btn { flex: 1 1 180px; padding: .85rem 1rem; }
  body.pp-home .hero-actions .btn:first-child { flex-basis: 180px; }
  body.pp-home .refresh-hero-visual { grid-column: 1; grid-row: auto; max-width: 620px; margin-top: 2.5rem; padding: 1rem; transform: none; }
  body.pp-home .hero-backdrop { object-position: 70% center; opacity: .22; }
  body.pp-home .hero-atmosphere { background: linear-gradient(110deg, #102d29f0, #102d29b0); }
  body .capability-group { padding-inline: 1rem; gap: .75rem 1.5rem; }
  body .marquee-toggle { margin-inline: 1rem; }
  body.pp-home .system-components.bento-grid { grid-template-columns: 1fr; }
  body.pp-home .bento-card:last-child { grid-column: auto; display: flex; }
  body.pp-home .bento-card:last-child .component-art { align-self: stretch; margin: 0 0 1rem; }
  body.pp-home .bento-card:last-child .component-top { display: flex; flex-wrap: wrap; gap: .5rem; }
  body.pp-home .bento-card:last-child h3 { margin-top: .75rem; }
  body.pp-home .development-rows article { grid-template-columns: 32px 1fr; gap: 1rem; }
  body.pp-home .development-rows .phase-status { grid-column: 2; }
  body.pp-interior .process-timeline { grid-template-columns: 1fr; gap: 1rem; }
  body.pp-interior .process-step { padding: 1.5rem 1.5rem 1.5rem 6rem; }
  body.pp-interior .process-step .step-number { position: absolute; left: 1.25rem; top: 1.5rem; width: 48px; height: 48px; }
  body.pp-interior .process-step::before { left: 2.75rem; top: 3rem; width: 2px; height: calc(100% + 1rem); right: auto; }
  body.pp-interior .process-step:last-child::before { display: none; }
  body.pp-home .product-controls button { flex-basis: 140px; }
  body.pp-home .proof-note { grid-template-columns: 1fr; gap: 1rem; }
  body.pp-home .proof-note > a { grid-column: auto; }
  body.pp-home .footer-links { grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; }
  body.pp-home .footer-top { flex-direction: column; gap: 2rem; }
  body.pp-home .footer-bottom > span:nth-child(2) { order: 0; flex-basis: auto; }
  body .mobile-cta { display: flex; flex-direction: column; align-items: center; gap: .35rem; position: fixed; z-index: 50; bottom: 0; inset-inline: 0; justify-content: center; padding: .75rem max(1rem, env(safe-area-inset-right, 0px)) calc(.75rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--ds-line); background: var(--ds-glass); backdrop-filter: blur(16px); box-shadow: 0 -6px 30px #12352512; }
  body .mobile-cta-note { color: var(--ds-muted); }
  body .mobile-cta a { width: min(100%, 540px); min-height: 48px; justify-content: center; border: 1px solid var(--ds-accent); border-radius: 999px; padding: .65rem 1rem; background: var(--ds-accent); color: var(--ds-on-accent); font-weight: 650; gap: 1.5rem; }
  body.menu-open .mobile-cta { visibility: hidden; }

  body details.spatial-optional { width: calc(100% - 32px); }
}
@media (max-width: 600px) {
  body.pp-interior :is(.page-head h1, .contact-intro h1) { font-size: clamp(2.75rem, 10vw, 3.8rem); }
  body.pp-interior .article h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  body.pp-home .hero-kicker .technical-label { border-radius: 12px; }
  body.pp-home .hero-actions .btn { flex-basis: 100%; }
  body.pp-home .hero-actions .btn:first-child { flex-basis: 100%; }
  body.pp-home .hero-actions .text-link { width: auto; margin-top: .15rem; }
  body.pp-home .refresh-hero-visual { margin-top: 2rem; }
  body.pp-home .product-controls { gap: .35rem; }
  body.pp-home .product-controls button { flex-basis: 100%; padding: .75rem; flex-direction: row; align-items: center; justify-content: flex-start; }
  body.pp-home .product-frame { padding: .5rem .5rem 0; }
  body.pp-home .product-frame figcaption { padding: 1rem .5rem; }
  body.pp-home .demo-section .home-demo { padding: 1.25rem; border-radius: var(--ds-radius); }
  body.pp-home .demo-section .plan-panel { padding: .75rem; }
  body.pp-home .demo-section .floor-plan { grid-template-rows: 210px 210px auto; }
  body.pp-home .demo-section .demo-log-heading { gap: .75rem; flex-wrap: wrap; }
  body.pp-interior :is(.finder, .finder-result, .layer-panel, .card, .hearth-map) { padding: 1.25rem; }
  body.pp-interior .process-step { padding: 1.25rem 1.25rem 1.25rem 5.5rem; }
  body.pp-interior .layer-options { grid-template-columns: 1fr; }
  body.pp-interior .layer-options button { min-height: 56px; }
  body.pp-interior .article summary, body.pp-interior details.supporting-detail summary { padding-left: 1.25rem; }
  body.pp-interior .article details p, body.pp-interior details.supporting-detail p { padding-inline: 1.25rem; }
  body.pp-home .footer-links { grid-template-columns: 1fr; }
  body.pp-home .site-footer .brand small { display: none; }
  body.pp-home .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  body .reveal-ready, body .reveal-ready.is-revealed { opacity: 1; transform: none; }
  body.pp-home .bento-card, body.pp-home .tilt-card.is-revealed, body.pp-interior .post-card:hover { transform: none; }
  body .capability-track { animation: none; transform: none; width: auto; max-width: 100%; }
  body .capability-marquee .capability-group { flex-wrap: wrap; }
  body .capability-marquee .capability-group[aria-hidden=true] { display: none; }
  .page-progress, body.pp-home .scroll-progress { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Step 4: intrinsic sizing, safe-area gutters and tablet forms.
   Scroll space follows the measured CTA, including wrapped labels and zoom. */
body .wrap { max-width: calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); }
body .trust-copy .wrap { max-width: min(850px, calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)))); }
body :is(.wrap, .contact-grid, .demo-layout, .rooms-layout, .package-cards, .section-heading, .footer-top) > * { min-width: 0; }
body :is(h1, h2, h3, a, button, summary) { overflow-wrap: anywhere; }
body :is(button, .btn, input, textarea, select) { max-width: 100%; }
body :is(input, textarea, select) { font-size: max(1rem, 16px) !important; scroll-margin-block: calc(7rem + env(safe-area-inset-top, 0px)) calc(var(--mobile-cta-space, 0px) + 1rem); }
body .preview-dialog { max-width: calc(100% - 2rem); max-height: calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: auto; }
@media (max-width: 900px) {
  body.pp-interior .contact-grid, body.pp-home .demo-layout { grid-template-columns: minmax(0, 1fr); }
  body.pp-interior :is(.contact-intro, .contact-grid > .form-panel, .contact-follow-up) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 800px) {
  body.pp-home .brand { flex-shrink: 1; gap: .5rem; min-width: 0; }
  body.pp-home .brand > span { min-width: 0; }
  body.pp-home .brand small { font-size: 1rem !important; }
  body.pp-home .nav-toggle { flex-shrink: 0; }
  body .mobile-cta-note { text-align: center; }
  body :is(.footer-links, .footer-bottom) a { max-width: 100%; }
}
