/* Complete English homepage V1. Parent brand and shared site styles stay authoritative. */
.homepage-v1 .wrap { max-width: 1160px; }
.homepage-v1 .v1-section { background: var(--white); }
.homepage-v1 .v1-section h2 { margin-bottom: 32px; }
.v1-prose { max-width: 65ch; }
.v1-section-ending { margin-top: 40px; }
.v1-section-ending strong { font-size: 1.25rem; }
.v1-hero { padding: 56px 0 0; }
.v1-hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: end; }
.v1-hero-copy { padding-bottom: 56px; }
.homepage-v1 .v1-hero h1 { max-width: 23ch; font-size: clamp(2.2rem, 3.45vw, 3.25rem); line-height: 1.16; }
.homepage-v1 .v1-hero-copy > p { font-size: 1.0625rem; max-width: 58ch; }
.homepage-v1 .v1-hero-copy > p strong { font-weight: 600; }
.v1-hero-action { margin-top: 28px; }
.homepage-v1 .v1-hero-action p { font-size: .875rem; margin: 12px 0 0; color: var(--teal-light); }
.v1-hero-portrait { height: 640px; margin: 0; }
.v1-hero-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: saturate(.32); }
.v1-missing-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; }
.v1-missing-questions { padding: 4px 0 0 28px; border-left: 1px solid rgb(var(--navy-rgb) / .2); }
.homepage-v1 .v1-missing-questions p { font: 700 1.25rem/1.45 var(--font-display); margin-bottom: 24px; }
.production-path { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 24px 0; border-block: 1px solid rgb(var(--navy-rgb) / .17); font-size: .9375rem; }
.production-path span { flex: 1; }
.production-path .flow-arrow { width: 20px; color: var(--ink-soft); }
.homepage-v1 .v1-evidence { max-width: 65ch; margin: 40px 0 0; padding: 0; border: 0; font: 400 1.125rem/1.65 var(--font-body); color: var(--ink-soft); }
.homepage-v1 .v1-evidence strong { font-weight: 400; }
.homepage-v1 .v1-capabilities { background: var(--navy-deep); color: var(--white); }
.homepage-v1 .v1-capabilities h2 { max-width: 28ch; }
.v1-capability-rows { margin: 40px 0; }
.v1-capability-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 32px 0; border-top: 1px solid rgb(var(--white-rgb) / .22); }
.homepage-v1 .v1-capability-row > p { margin: 0; }
.capability-shift { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 20px; align-items: center; font-family: var(--font-display); line-height: 1.4; }
.capability-shift > span { font-size: 1.125rem; }
.capability-shift > strong { font-size: 1.25rem; color: var(--teal-light); }
.capability-shift .flow-arrow { color: var(--teal-light); }
.homepage-v1 .v1-capability-conclusion > p:has(> strong) { font: 700 1.75rem/1.3 var(--font-display); margin-top: 28px; }
.homepage-v1 .v1-keep { background: var(--paper); }
.v1-keep-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 76px; align-items: start; }
.v1-rule-column { padding-top: 8px; }
.design-rule { margin: 0 0 32px; padding: 32px; background: var(--white); border-top: 1px solid var(--teal); }
.design-rule figcaption { display: grid; gap: 6px; font-size: .8125rem; line-height: 1.5; color: var(--teal); letter-spacing: .06em; }
.design-rule figcaption span { color: var(--ink-soft); }
.homepage-v1 .design-rule blockquote { max-width: none; margin: 24px 0 0; padding: 0; border: 0; color: var(--navy); font: 700 1.5rem/1.5 var(--font-display); }
.homepage-v1 .v1-payoff { margin-top: 44px; font: 700 1.5rem/1.4 var(--font-display); }
.design-process { margin: 48px 0 0; }
.design-process ol { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; border-top: 1px solid var(--teal); }
.design-process li { position: relative; padding: 28px 20px 0 0; }
.design-process li:last-child { padding-right: 0; }
.design-process li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); position: absolute; left: 0; top: -4px; }
.design-process__name { display: block; color: var(--teal); font: 700 .9375rem/1.5 var(--font-display); margin-bottom: 14px; }
.homepage-v1 .design-process h3 { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 14px; text-wrap: initial; }
.homepage-v1 .design-process li p { font-size: .9375rem; line-height: 1.6; }
.homepage-v1 .design-process__assistance { margin: 28px 0 0; padding: 16px 0; border-top: 1px solid rgb(var(--teal-rgb) / .25); color: var(--teal); font-size: 1rem; }
.homepage-v1 .v1-routes { background: var(--paper-wash); }
.v1-routes .brief-link { color: var(--navy); }
.v1-routes .brief-link .flow-arrow { color: var(--teal); }
.v1-route-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 76px; margin-top: 48px; }
.v1-route-layout article { min-width: 0; scroll-margin-top: 40px; }
.v1-route-layout article + article { padding-left: 40px; border-left: 1px solid rgb(var(--navy-rgb) / .2); }
.homepage-v1 .v1-route-layout h3 { font-size: 1.55rem; margin-bottom: 20px; }
.v1-route-layout .button { margin-top: 16px; }
.v1-about-layout { display: grid; grid-template-columns: .65fr 1.5fr; gap: 76px; align-items: start; }
.v1-about-layout figure { margin-top: 8px; }
.v1-about-layout img { display: block; width: 100%; height: auto; border-radius: 10px; }
.homepage-v1 .v1-final { background: var(--navy-deep); color: var(--white); }
.v1-final .button { margin-top: 12px; }
.v1-final-secondary { margin-top: 32px; }
.homepage-v1 .v1-final-secondary p { margin-bottom: 0; }
.homepage-v1 .v1-final h2 { max-width: none; }
.homepage-v1 .button:hover { box-shadow: none; }
@media (max-width: 1050px) {
  .v1-hero-layout { grid-template-columns: 1.35fr 1fr; gap: 24px; }
  .v1-hero-portrait { height: 590px; }
  .v1-missing-layout, .v1-keep-layout, .v1-route-layout, .v1-about-layout { gap: 40px; }
  .v1-capability-row { gap: 32px; }
}
@media (max-width: 860px) {
  .v1-hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .v1-hero-copy { padding-bottom: 0; }
  .v1-hero-portrait { height: 390px; width: 100%; max-width: 400px; margin: 0 auto; }
  .homepage-v1 .v1-hero h1 { font-size: 2.25rem; }
  .v1-missing-layout, .v1-keep-layout { grid-template-columns: 1fr; gap: 28px; }
  .v1-missing-questions { padding-left: 0; border-left: 0; }
  .design-process ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--teal); }
  .design-process li { display: grid; grid-template-columns: 95px 1fr; column-gap: 24px; padding: 0 0 30px 24px; }
  .design-process li:last-child { padding: 0 0 0 24px; }
  .design-process li::before { top: 7px; left: -4px; }
  .design-process__name { grid-row: span 2; }
  .homepage-v1 .design-process h3 { font-size: 1.125rem; margin-bottom: 8px; }
  .homepage-v1 .design-process li p { font-size: 1rem; }
  .v1-route-layout { gap: 30px; }
  .v1-route-layout article + article { padding-left: 24px; }
  .v1-about-layout { grid-template-columns: 180px 1fr; gap: 32px; }
}
@media (max-width: 650px) {
  .v1-hero { padding-top: 36px; }
  .v1-hero-layout { grid-template-columns: 1fr; gap: 0; }
  .v1-hero-copy { padding-bottom: 0; }
  .homepage-v1 .v1-hero h1 { font-size: 2rem; }
  .v1-hero-portrait { height: 390px; width: 100%; max-width: 340px; margin: 24px auto 0; }
  .homepage-v1 .v1-section h2 { margin-bottom: 24px; }
  .v1-capability-row { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .capability-shift { gap: 12px; }
  .capability-shift > span { font-size: 1rem; }
  .capability-shift > strong { font-size: 1.0625rem; }
  .v1-section-ending { margin-top: 32px; }
  .design-rule { padding: 24px; }
  .homepage-v1 .design-rule blockquote { font-size: 1.25rem; }
  .v1-route-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .v1-route-layout article + article { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgb(var(--navy-rgb) / .2); }
  .v1-about-layout { grid-template-columns: 1fr; gap: 24px; }
  .v1-about-layout figure { max-width: 160px; margin: 0; }
  .design-process li { grid-template-columns: 75px 1fr; column-gap: 18px; padding-left: 20px; }
  .production-path { gap: 8px; font-size: .875rem; }
  .production-path .flow-arrow { width: 16px; }
}
/* Sommie extends the existing open editorial layout and brand controls. */
.homepage-v1 .sommie-case { background: var(--paper); border-top: 1px solid rgb(var(--navy-rgb) / .16); }
.sommie-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 48px; margin-bottom: 48px; }
.homepage-v1 .sommie-intro h2 { max-width: 31ch; margin-bottom: 24px; }
.sommie-mascot { display: block; width: 100%; max-width: 300px; height: auto; justify-self: center; }
.sommie-overview { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.sommie-story { max-width: 65ch; }
.sommie-gallery { min-width: 0; }
.sommie-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.sommie-track::-webkit-scrollbar { display: none; }
.sommie-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.sommie-image-link { display: block; position: relative; background: var(--navy-deep); border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.sommie-image-link > img { display: block; width: 100%; aspect-ratio: 8 / 5; height: auto; object-fit: contain; }
.sommie-enlarge { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--white); color: var(--navy); font-size: .875rem; font-weight: 700; }
.sommie-enlarge svg, .sommie-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sommie-slide figcaption { margin-top: 16px; font: 700 1.125rem/1.45 var(--font-display); }
.sommie-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.sommie-toolbar[hidden] { display: none; }
.sommie-language-note { font-size: .875rem; color: var(--ink-soft); }
.sommie-navigation { display: flex; align-items: center; gap: 8px; flex: none; }
.sommie-control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid rgb(var(--navy-rgb) / .25); border-radius: 8px; background: var(--white); color: var(--navy); cursor: pointer; font: 700 1rem/1.4 var(--font-body); }
.sommie-control:hover { background: var(--paper-wash); border-color: var(--teal); }
.sommie-count { min-width: 42px; text-align: center; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.sommie-case :focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.sommie-principles { display: grid; grid-template-columns: 1fr; gap: 28px; list-style: disc; padding: 0 0 0 20px; margin: 0; }
.sommie-principles li { padding-left: 4px; }
.sommie-principles li { font-size: 1rem; line-height: 1.65; }
.sommie-principles strong { display: block; margin-bottom: 10px; font-family: var(--font-display); line-height: 1.5; }
.sommie-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sommie-dialog { width: min(1400px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 32px); padding: 20px; border: 0; border-radius: 10px; background: var(--white); color: var(--navy); }
.sommie-dialog::backdrop { background: rgb(var(--navy-rgb) / .88); }
.sommie-dialog-top, .sommie-dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sommie-dialog-top { margin-bottom: 16px; }
.sommie-dialog-top a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; font-size: .9375rem; }
.sommie-dialog-image { display: block; width: 100%; height: min(72dvh, 880px); object-fit: contain; background: var(--navy-deep); }
.sommie-dialog-bottom { margin-top: 16px; }
.homepage-v1 .sommie-dialog-bottom p { margin: 0; font-size: 1rem; font-weight: 700; }
@media (max-width: 860px) {
  .sommie-intro { gap: 28px; }
  .sommie-overview { grid-template-columns: 1fr; gap: 28px; }
  .sommie-principles { gap: 24px; }
}
@media (max-width: 650px) {
  .sommie-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .sommie-mascot { max-width: 180px; }
  .sommie-toolbar { flex-wrap: wrap; gap: 12px; }
  .sommie-language-note { flex: 1 1 120px; }
  .sommie-enlarge { top: 8px; right: 8px; padding: 6px 8px; }
  .sommie-dialog { width: calc(100vw - 16px); padding: 12px; }
  .sommie-dialog-image { height: 60dvh; }
  .sommie-dialog-bottom { flex-wrap: wrap; gap: 12px; }
}
/* The inherited nav needs this small adjustment on the 320px viewport. */
@media (max-width: 380px) {
  .english-brief:has(.homepage-v1) .nav { gap: 9px; }
  .english-brief:has(.homepage-v1) .language { gap: 6px; padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-v1 *, .homepage-v1 *::before { animation: none !important; transition: none !important; }
  .homepage-v1 .button:hover { transform: none; }
}
