/* Shared product primitives. Photography and page-specific compositions remain intact. */
:root {
  --product-header-height: 84px;
  --site-header-height: var(--product-header-height);
  --header: var(--product-header-height);
  --product-accent: #d34450;
  --product-focus: #ff6978;
  --product-control-radius: 12px;
  --product-card-radius: 24px;
  --product-space: 8px;
  --product-fast: 160ms;
  --product-transition: 220ms;
}
html { scroll-padding-top: calc(var(--product-header-height) + 24px); }
/* Clip sideways decoration without creating a body scroll container that defeats sticky navigation. */
html, body, body.garage-v2 { overflow-x: clip; }
body, body.garage-v2 { overflow-y: visible; }
body { text-rendering: optimizeLegibility; }
/* Footer markup supplies intrinsic dimensions; preserve that ratio when its width is reduced. */
.footer img { height: auto; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--product-focus); outline-offset: 4px;
}
:where(button, input, select, textarea) { font: inherit; }
:where(button, summary, select) { touch-action: manipulation; }
:where(p, li) { overflow-wrap: break-word; }
:where(.eco-card, .route-card, .home-discovery-card, .source-box, .journey-links a) {
  border-radius: var(--product-card-radius);
}
:where(.eco-card, .route-card, .home-discovery-card, .journey-links a) {
  transition: transform var(--product-transition) ease, border-color var(--product-transition) ease, box-shadow var(--product-transition) ease;
}
@media (hover: hover) and (pointer: fine) {
  :where(.route-card, .home-discovery-card, .journey-links a):hover {
    transform: translateY(-3px); box-shadow: 0 14px 35px rgb(12 18 24 / 10%);
  }
}
.product-header {
  position: sticky; top: 0; z-index: 80; min-height: var(--product-header-height);
  background: rgb(12 16 21 / 97%); color: #f4f5f7;
  border-bottom: 1px solid #30363e; backdrop-filter: blur(16px);
}
.product-header-inner {
  width: min(100% - 64px, 1440px); min-height: var(--product-header-height); margin-inline: auto;
  display: flex; gap: 24px; align-items: center;
}
.product-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.product-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.product-brand-copy { display: grid; gap: 4px; }
.product-brand-copy strong { font-size: 23px; line-height: 1; letter-spacing: -.07em; }
.product-brand-copy em { font-style: normal; color: #ff7380; }
.product-brand-copy small { font-size: 9px; letter-spacing: .12em; color: #aeb7c4; }
.product-desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.product-desktop-nav a { font-size: 14px; font-weight: 600; line-height: 1.3; padding-block: 12px; color: #cbd1da; border-bottom: 2px solid transparent; transition: color var(--product-fast), border-color var(--product-fast); }
.product-desktop-nav a:hover { color: #fff; }
.product-desktop-nav a[aria-current] { color: #fff; border-bottom-color: var(--product-accent); }
.product-saved { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #454e5b; border-radius: var(--product-control-radius); padding: 10px 12px; font-size: 12px; white-space: nowrap; }
.product-saved span { display: inline-grid; place-items: center; min-width: 20px; min-height: 20px; border-radius: 5px; background: #343c48; color: #fff; font-variant-numeric: tabular-nums; }
.product-talk { padding: 12px 16px; min-height: 44px; border-radius: var(--product-control-radius); background: #f5f6f7; color: #12161c; font-size: 13px; font-weight: 750; white-space: nowrap; transition: background var(--product-fast); }
.product-talk:hover { background: #e3e7ec; }
.product-menu { display: none; }
.product-header a:focus-visible, .product-header summary:focus-visible { outline-color: #ff8a95; }
.site-progress{position:relative;z-index:30;border-bottom:1px solid #d6dbe0;background:#eef1f3;color:#17202a;font-size:13px}
.site-progress summary{box-sizing:border-box;display:flex;align-items:center;gap:14px;width:min(100% - 64px,1440px);min-height:60px;margin:auto;cursor:pointer;list-style:none}
.site-progress summary::-webkit-details-marker{display:none}
.site-progress summary img{width:64px;height:auto;flex:none;object-fit:contain}
.site-progress-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;line-height:1.35}
.site-progress-title strong{font-weight:850;letter-spacing:-.02em}
.site-progress-title small{font-size:12px;color:#566473}
.site-progress-disclosure{margin-left:auto;font-size:10px;font-weight:800;letter-spacing:.11em;color:#7a3842}
.site-progress[open] .site-progress-disclosure:after{content:' −'}
.site-progress:not([open]) .site-progress-disclosure:after{content:' +'}
.site-progress-body{width:min(100% - 64px,1440px);margin:auto;padding:0 0 16px 78px}
.site-progress-body p{max-width:780px;margin:0;color:#53606c;line-height:1.55}
.site-progress-body a{font-weight:800;color:#9d2633;text-decoration:underline;text-underline-offset:3px}
.progress-closed .site-progress-body{display:none}
.site-progress.is-entrance summary img{animation:kei-arrive .7s cubic-bezier(.17,.78,.28,1.04) both}
@keyframes kei-arrive{from{opacity:0;transform:translateX(-50px) rotate(-5deg)}to{opacity:1;transform:none}}
.product-home .hero-content { padding-top: clamp(72px,8vw,112px); padding-bottom: 96px; }
.product-home .hero h1 { font-size: clamp(3.3rem,7.8vw,7.6rem); line-height: 1.01; letter-spacing: -.065em; }
.product-home .hero-description { max-width: 660px; }
.product-home .hero-actions { gap: 24px; }
.product-home .hero-actions .pill-button { min-height: 52px; }
.product-home .hero-kicker { font-size: 19px; line-height: 1.5; }
.home-shortlist{padding:clamp(70px,9vw,138px) 0;background:#e8edf0;color:#111820}
.home-shortlist-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:24px 8%;align-items:end;margin-bottom:clamp(34px,5vw,68px)}
.home-shortlist-head .section-label{grid-column:1/-1;margin:0;color:#a82f3b}
.home-shortlist h2{margin:0;font-size:clamp(3.6rem,7.5vw,8rem);line-height:.91;letter-spacing:-.075em}
.home-shortlist h2 span{color:#687680}
.home-shortlist-head>p:last-child{max-width:520px;margin:0 0 5px;color:#4c5864;font-size:clamp(1rem,1.4vw,1.25rem);line-height:1.6}
.home-shortlist-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px}
.home-shortlist-card{display:flex;flex-direction:column;min-height:370px;padding:clamp(25px,3vw,40px);border-radius:26px;background:#fff;border:1px solid #d4dce2;box-shadow:0 18px 48px rgba(19,32,42,.06)}
.home-shortlist-card.family{background:radial-gradient(circle at 90% 12%,rgba(210,75,86,.27),transparent 38%),#121a23;border-color:#354452;color:#f8f9fb}
.home-shortlist-card small{color:#a52d39;font-size:11px;font-weight:850;letter-spacing:.15em}
.home-shortlist-card.family small{color:#ff929d}
.home-shortlist-card h3{margin:auto 0 16px;font-size:clamp(2.2rem,3.4vw,4rem);line-height:.98;letter-spacing:-.065em}
.home-shortlist-card p{margin:0;max-width:450px;color:#54616d;font-size:15px;line-height:1.6}
.home-shortlist-card.family p{color:#c3cbd4}
.home-shortlist-card a{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;margin-top:28px;padding-top:13px;border-top:1px solid #cbd4db;font-size:13px;font-weight:850}
.home-shortlist-card.family a{border-color:#43515f}
.home-shortlist-card a span{font-size:18px;transition:transform .2s ease}
.home-shortlist-card a:hover span{transform:translate(3px,-3px)}
.home-shortlist-evidence{max-width:920px;margin-top:25px;color:#596571;font-size:13px;line-height:1.6}
.home-shortlist-evidence summary{width:max-content;max-width:100%;min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.home-shortlist-evidence p{margin:4px 0 0}
.home-shortlist-evidence a{text-decoration:underline;text-underline-offset:3px;color:#962c37}
.product-workspace { background: #11161d; color: #f5f7f9; border-block: 1px solid #303843; padding-block: 24px; }
.product-workspace-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.product-workspace-copy { display: flex; align-items: center; gap: 24px; }
.product-workspace-copy small { color: #aeb8c6; letter-spacing: .12em; font-weight: 750; font-size: 11px; }
.product-workspace-copy p { margin: 0; color: #d1d8e2; font-size: 14px; line-height: 1.5; }
.product-workspace-copy strong { color: #fff; }
.product-workspace-links { display: flex; gap: 24px; flex-shrink: 0; font-size: 13px; font-weight: 700; }
.product-workspace-links a { border-bottom: 1px solid #77818f; padding-block: 8px; }
.product-research-note { color: #737b86; font-size: 13px; line-height: 1.6; }
.legal-footer{margin-top:28px;padding:22px 0 6px;border-top:1px solid rgba(115,129,141,.32)}
.legal-footer p{max-width:1100px;margin:0;color:#65717c;font-size:12px;line-height:1.7}
.legal-footer strong{font-weight:800}
.legal-footer a{text-decoration:underline;text-underline-offset:3px}
.site-footer .legal-footer p{color:#c1c8d0}
.model-bridge-note { max-width: 620px; margin-top: 12px; color: #c5cdd5; font-size: 13px; line-height: 1.55; }
.contact-routes { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 32px; }
.contact-route { border: 1px solid #424b58; border-radius: var(--product-card-radius); padding: 26px; background: #181e26; }
.contact-route p { color: #c8d0dc; line-height: 1.6; font-size: 15px; }
.contact-route h2 { margin: 12px 0; font-size: clamp(1.6rem,3vw,2.4rem); letter-spacing: -.04em; line-height: 1.15; }
.contact-route small { font-size: 11px; letter-spacing: .12em; font-weight: 750; color: #ff9ea8; }
.contact-route .eco-btn { margin-top: 12px; }
.contact-route-secondary { background: transparent; }
.contact-route ul { margin: 18px 0 0; padding-left: 20px; color: #c8d0dc; line-height: 1.8; font-size: 14px; }
.guide-path { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; padding: 20px 24px; border: 1px solid #d7dce3; border-radius: var(--product-card-radius); font-size: 14px; background: #f6f7f9; }
.guide-path p { margin: 0 auto 0 0; color: #596270; line-height: 1.6; }
.guide-path a { font-weight: 750; border-bottom: 1px solid #ac3440; padding-block: 6px; }
@media (max-width: 1090px) {
  .product-desktop-nav { display: none; }
  .home-shortlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-shortlist-card.family{grid-column:1/-1;min-height:300px}
  .product-saved { margin-left: auto; }
  .product-menu { display: block; }
  .product-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #454e5b; border-radius: var(--product-control-radius); cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; }
  .product-menu summary::-webkit-details-marker { display: none; }
  .product-menu[open] summary { border-color: #ff6978; color: #ff9ea8; }
  .product-mobile-nav { position: absolute; top: calc(var(--product-header-height) - 1px); left: 0; right: 0; max-height: calc(100dvh - var(--product-header-height)); overflow-y: auto; background: #11161d; border-bottom: 1px solid #454e5b; padding: 16px 24px 24px; display: grid; }
  .product-mobile-nav a { padding: 15px 12px; font-size: 16px; border-bottom: 1px solid #333c48; color: #e6eaf0; }
  .product-mobile-nav a[aria-current] { color: #ff9ea8; }
  .product-mobile-nav small { padding: 18px 12px 0; color: #aeb8c6; font-size: 12px; line-height: 1.6; }
}
@media (max-width: 700px) {
  :root { --product-header-height: 72px; }
  .product-header-inner { width: calc(100% - 32px); gap: 12px; }
  .product-brand img { width: 38px; height: 38px; }
  .product-brand-copy strong { font-size: 21px; }
  .product-brand-copy small { display: none; }
  .product-talk { display: none; }
  .product-saved { font-size: 0; padding: 8px; }
  .product-saved span { font-size: 12px; }
  .product-saved:before { content: 'Saved'; font-size: 11px; }
  .site-progress summary,.site-progress-body{width:calc(100% - 32px)}
  .site-progress summary{min-height:56px;gap:10px}
  .site-progress summary img{width:54px}
  .site-progress-title{display:grid;gap:1px}
  .site-progress-title small{font-size:11px}
  .site-progress-body{padding:0 0 14px 64px}
  .product-workspace-inner, .product-workspace-copy { align-items: flex-start; flex-direction: column; gap: 12px; }
  .product-workspace-links { width: 100%; justify-content: space-between; }
  .product-home .hero h1 { font-size: clamp(3rem,12vw,4.4rem); }
  .product-home .hero-content { padding-top: 70px; padding-bottom: 96px; }
  .home-shortlist-head,.home-shortlist-grid{grid-template-columns:1fr}
  .home-shortlist h2{font-size:clamp(3.4rem,13vw,5.4rem)}
  .home-shortlist-card,.home-shortlist-card.family{grid-column:auto;min-height:330px}
  .contact-routes { grid-template-columns: 1fr; }
  .contact-route { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion-ready .eco-reveal-item, .reveal, [data-fly] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .site-progress.is-entrance summary img{animation:none!important}
}
