/* Three Home chapters in native flow; the shared engine owns its six photos. */
.home-page .home-narrative {
  --home-narrative-pad-start: clamp(32px, 5vh, 56px);
  --home-narrative-pad-end: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: var(--home-narrative-pad-start) var(--home-narrative-pad-end);
  color: var(--ink);
}
.home-page .home-narrative h1 { font-size: clamp(2.6rem, 4.8vw, 4.5rem); line-height: 1.13; max-inline-size: 16em; }
.home-narrative__lead { margin: 28px 0 0; max-width: 31em; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.8; text-wrap: pretty; }
.home-narrative__introduction, .home-project-teaser__copy { min-width: 0; }
/* Four small, original line studies add scale without another set of cards. */
.home-practice { width: min(100%, 360px); justify-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; list-style: none; margin: 0; padding: 12px 0 28px; }
.home-practice__item { display: grid; justify-items: center; gap: 8px; min-width: 0; color: #56574f; font-size: .8rem; line-height: 1.5; text-align: center; }
.home-practice__item:nth-child(even) { translate: 0 22px; }
.home-practice__item svg { width: clamp(76px, 9vw, 120px); max-width: 100%; height: auto; overflow: visible; transition: transform .45s cubic-bezier(.22, .7, .28, 1); }
.home-practice__line { fill: none; stroke: #242523; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-practice__wash { fill: #1257e50a; stroke: none; }
.home-practice__line .home-practice__wash { stroke: #242523; }
.home-practice__accent { stroke: var(--blue); }
.home-project-teaser { margin-block: 32px clamp(64px, 8vw, 112px); background: var(--home-paper, #f3f0e8); color: var(--ink); }
.home-project-teaser__inner { width: min(100%, 1440px); margin-inline: auto; padding: clamp(64px, 8vw, 112px) var(--scene-gutter); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 32px clamp(40px, 7vw, 100px); }
.home-project-teaser .home-eyebrow { color: var(--blue); }
.home-project-teaser h2 { margin: 0 0 26px; max-inline-size: 14em; font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1.16; letter-spacing: -.045em; font-weight: 550; }
.home-project-teaser__body { max-width: 31em; margin: 0; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.8; color: #565f6e; text-wrap: pretty; }
.home-project-teaser__fold { display: block; width: min(100%, 440px); height: auto; justify-self: center; overflow: visible; }
.home-fold__back { fill: #f8faff; stroke: #7c94ba; stroke-width: 1; }
.home-fold__edge { fill: none; stroke: #a5b5d0; stroke-width: 1; }
.home-fold__face { fill: #dce5f3; stroke: #a5b5d0; stroke-width: 1; }
.home-fold__side { fill: #b6c8e4; stroke: #92aacd; stroke-width: 1; }
.home-fold__leaf { fill: var(--blue); stroke: #0a36a8; stroke-width: 1; transform-box: fill-box; transform-origin: 50% 80%; transition: transform .7s cubic-bezier(.22, .7, .28, 1); }
.home-fold__crease { fill: none; stroke: #8babf0; stroke-width: 1; }
.home-fold__trail { fill: none; stroke: #a5b5d0; stroke-width: 1; stroke-linecap: round; }
.home-eyebrow { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0 0 24px; font-size: .8rem; font-weight: 500; line-height: 1.5; letter-spacing: .025em; }
.home-eyebrow > :last-child { color: #686961; }
.home-editorial-flow { position: relative; background: var(--home-paper, #f3f0e8); color: #242523; }
/* Enter through the already solid lower field, rather than following an empty
   viewport. This is ordinary document flow; the heading never becomes sticky. */
.home-takeover[data-takeover-ready]:not([data-story-flow]) + .home-editorial-flow {
  margin-block-start: calc(var(--home-intro-overlap, 0px) * -1);
}
.home-journey-preface {
  width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--scene-gutter);
}
.home-inline-link { display: inline-flex; align-items: baseline; gap: .7em; width: fit-content; max-width: 100%; min-height: 32px; color: inherit; font-size: .95rem; font-weight: 550; line-height: 1.6; text-decoration: none; background: transparent; border: 0; border-radius: 0; padding: 0; }
.home-inline-link > span:first-child { text-decoration: underline; text-decoration-color: #24252340; text-underline-offset: .28em; }
.home-inline-link:hover { color: var(--blue); }
.home-inline-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.home-spatial { position: relative; overflow-anchor: none; }
.home-journey-preface { padding-block: 32px clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0 clamp(40px, 7vw, 100px); align-items: end; }
.home-journey-preface .home-eyebrow { grid-column: 1 / -1; }
.home-journey-preface h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 550; line-height: 1.22; letter-spacing: -.04em; }
.home-journey-preface__aside { min-width: 0; }
.home-journey-preface__aside p { margin: 16px 0 0; max-width: 29em; color: #56574f; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.8; text-wrap: pretty; }
.home-journey-preface__path { display: block; width: 180px; max-width: 60%; height: auto; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.home-journey-preface__path circle { fill: var(--blue); stroke: none; }
html.home-spatial-pending .home-spatial .spatial-world { visibility: hidden; }
html.home-spatial-pending .home-spatial .spatial-journey { height: 1020svh; padding: 0; }
html.home-spatial-pending .home-spatial .spatial-viewport { position: sticky; top: 0; width: 100%; height: 100svh; overflow: hidden; background: #f3f0e8; }
.home-spatial.spatial-pending .spatial-journey, .home-spatial.spatial-active .spatial-journey { height: var(--spatial-journey-height, 1020svh); }
.home-spatial .spatial-tools, .home-spatial .spatial-cue { display: none; }
.home-continuation {
  width: 100%; padding-inline: max(var(--scene-gutter), calc((100vw - 1440px) / 2 + var(--scene-gutter)));
  min-block-size: 100svh; background: #f5f3ed;
  padding-block: clamp(96px, 14svh, 160px);
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
}
.home-continuation__invitation { min-width: 0; max-inline-size: 1040px; }
.home-continuation h2 { margin: 0 0 28px; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1.14; letter-spacing: -.045em; font-weight: 550; text-wrap: balance; }
.home-join-lead { margin: 0; max-width: 34em; color: #56574f; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.8; text-wrap: pretty; }
.home-continuation .home-contact-trigger { margin-top: 32px; min-height: 52px; padding-inline: 28px; border-radius: 28px; }
.home-join-schedule { margin: 36px 0 0; max-width: 38em; color: #686961; font-size: .95rem; line-height: 1.8; text-wrap: pretty; }
@media (max-width: 1000px) {
  .home-page .home-narrative { --home-narrative-pad-end: 48px; gap: 32px; grid-template-columns: minmax(0, 1fr); }
  .home-page .home-narrative h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
  .home-narrative__lead { margin-top: 20px; }
  .home-practice { justify-self: start; width: min(100%, 540px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 24px; }
  .home-practice__item:nth-child(even) { translate: none; }
}
@media (max-width: 900px) {
  .home-project-teaser__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; }
}
@media (max-width: 680px) {
  .home-project-teaser__inner, .home-journey-preface { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-project-teaser__fold { width: min(76%, 320px); justify-self: end; }
  .home-project-teaser h2 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .home-journey-preface .home-eyebrow { margin-bottom: 0; }
  .home-journey-preface__path { width: 140px; }
  .home-journey-preface__aside p { margin-top: 12px; }
  .home-practice { gap: 10px; }
  .home-practice__item svg { width: min(100%, 80px); }
  .home-practice__item { font-size: .7rem; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-practice__item:hover svg { transform: translateY(-5px) rotate(-3deg); }
  .home-project-teaser:hover .home-fold__leaf { transform: translateY(-7px) rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-practice__item svg, .home-fold__leaf { transition: none; }
}
