/* One complete opening, with three ways into the practice. */
.home-page { background: var(--bg); --home-header-height: 84px; }
.home-opening { --exit-progress: 0; height: calc(100svh - var(--home-header-height)); position: relative; isolation: isolate; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; margin: 0 auto; padding: 0 var(--gutter); overflow: clip; }
.ambient-scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; transform: translate3d(0, calc(var(--exit-progress) * 65px), 0) scale(calc(1 + var(--exit-progress) * .06)); transform-origin: 50% 70%; opacity: calc(1 - var(--exit-progress) * .7); }
.interaction-field { display: block; width: 100%; height: 100%; pointer-events: none; }
.scene-frost { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: blur(var(--scene-frost-blur, 56px)); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; mask-mode: alpha; }
.interaction-field[data-renderer="spatial-mesh-webgl2"] { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #0004 20%, #000 38%, #000 79%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #0004 20%, #000 38%, #000 79%, transparent 100%); }
.opening-meta, .table-heading, .section-heading, .scroll-invitation { display: flex; justify-content: space-between; gap: 24px; }
.opening-meta { padding-top: clamp(12px, 2vh, 22px); border-top: 1px solid var(--line); font: 9px/1.5 var(--mono); letter-spacing: .06em; color: var(--muted); }
.opening-heading { display: grid; grid-template-columns: 1fr 290px; align-items: start; gap: 40px; padding: clamp(18px, 3.5vh, 35px) 0 12px; transform: translate3d(0, calc(var(--exit-progress) * -32px), 0); opacity: calc(1 - var(--exit-progress) * 1.4); }
.opening-eyebrow { display: block; margin-bottom: 12px; font: 10px/1.3 var(--sans); color: var(--muted); letter-spacing: .1em; }
.opening-heading h1 { margin: 0; font: 300 clamp(26px, 2.35vw, 36px)/1.15 var(--sans); letter-spacing: -.035em; }
.opening-aside { font-size: 12px; line-height: 1.55; text-shadow: 0 1px 8px #000, 0 0 20px #000; }
.opening-aside p { margin: 0 0 12px; }
.opening-aside p:last-child { margin-bottom: 0; }
.opening-aside .quiet { color: #a7abb3; }
.quiet { color: var(--muted); }
.micro { font: 9px/1.5 var(--mono); letter-spacing: .07em; }
.card-table { display: flex; flex-direction: column; position: relative; min-height: 0; padding-top: 16px; }
.table-heading { align-items: center; color: #a8adb6; opacity: calc(1 - var(--exit-progress)); }
.direction-field { flex: 1 1 auto; position: relative; min-height: 0; user-select: none; -webkit-user-select: none; }
.hand { height: 100%; max-width: 1420px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4.5vw, 78px); padding: clamp(6px, 2vh, 20px) 0; transform: translate3d(0, calc(var(--exit-progress) * -65px), 0) scale(calc(1 - var(--exit-progress) * .07)); }
/* Keep direction artwork and photos crisp above the background-only frost. */
.idea-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-self: center; width: 100%; height: 100%; max-height: 410px; min-width: 0; min-height: 0; padding: 14px 18px 12px; color: #e4e6e9; text-align: left; cursor: pointer; -webkit-tap-highlight-color: #d5dce31a; }
.card-top { position: relative; z-index: 8; display: flex; justify-content: space-between; gap: 6px; align-items: center; font: 8px/1.4 var(--mono); letter-spacing: .04em; color: #c1c6ce; text-shadow: 0 1px 6px #08090b; }
.card-selection { font: 16px/1 var(--sans); opacity: .65; transition: opacity .3s, translate .3s; }
.observation-window { position: relative; display: block; flex: 1 1 auto; width: 100%; min-height: 0; }
.card-art { position: absolute; inset: 0; max-height: 290px; margin: auto; display: block; transition: opacity .4s ease, transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.specimen-art { display: block; width: 100%; height: 100%; color: currentColor; opacity: .9; filter: drop-shadow(0 1px 6px #08090b); }
.idea-card .specimen-art { color: #f1f3f6; opacity: 1; filter: drop-shadow(0 1px 4px #08090b) drop-shadow(0 0 1px #08090b); }
.card-name { position: relative; z-index: 8; display: block; padding-top: 12px; font: 400 clamp(20px, 1.9vw, 28px)/1.15 var(--sans); letter-spacing: -.035em; text-shadow: 0 1px 12px #08090b; }
.card-subtitle { position: relative; z-index: 8; display: block; margin-top: 7px; font: 10px/1.4 var(--sans); color: #b0b5bf; text-shadow: 0 1px 10px #08090b; }
.idea-card:focus-visible { outline: 1px solid #b5bdcc88; outline-offset: 3px; }
.idea-card[data-preview-open="true"] { z-index: 6; }
.idea-card[data-preview-open="true"] .card-art { opacity: 0; filter: blur(5px); transform: scale(.88); }
.idea-card[data-preview-open="true"] .card-selection { opacity: 1; translate: 3px -3px; }
.direction-preview { --photo-size: min(18vw, 24vh, 212px); position: absolute; z-index: 4; inset: 22px -8px 112px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.idea-card[data-preview-open="true"] .direction-preview { opacity: 1; visibility: visible; }
.direction-preview-stack { position: absolute; inset: 0; }
.preview-placeholder { display: none; }
.idea-card[data-preview-open="true"][data-preview-ready="false"] .card-art { opacity: .55; filter: blur(1px); transform: none; }
.direction-preview img { position: absolute; left: calc((100% - var(--photo-size)) / 2); top: calc((100% - var(--photo-size)) / 2 - 8px); width: var(--photo-size); height: var(--photo-size); aspect-ratio: 1; display: block; object-fit: cover; object-position: center; filter: grayscale(1) brightness(var(--preview-brightness, 1)) contrast(var(--preview-contrast, 1.05)); border: 0; box-shadow: 0 10px 35px -12px #000d; opacity: 0; transform: translate3d(0, 12px, 0) scale(.72); transition: transform .55s cubic-bezier(.2,.75,.2,1), opacity .3s; }
.direction-preview img[data-loaded="false"] { opacity: 0 !important; }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="0"] { z-index: 20; opacity: 1; transform: translate3d(0,0,0) rotate(-2deg); }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="1"] { z-index: 14; opacity: 1; transform: translate3d(-58px,-52px,0) rotate(-11deg) scale(.65); }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="2"] { z-index: 13; opacity: 1; transform: translate3d(80px,-35px,0) rotate(8deg) scale(.68); }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="3"] { z-index: 12; opacity: 1; transform: translate3d(60px,70px,0) rotate(12deg) scale(.67); }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="4"] { z-index: 11; opacity: 1; transform: translate3d(-65px,64px,0) rotate(-7deg) scale(.62); }
.idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="5"] { z-index: 10; opacity: 1; transform: translate3d(5px,-73px,0) rotate(2deg) scale(.56); }
.preview-count { position: absolute; z-index: 25; top: 20px; right: 8%; color: #d9dde4; font: 9px/1.4 var(--mono); letter-spacing: .1em; text-shadow: 0 1px 8px #000; }
.preview-caption { position: absolute; z-index: 25; left: 8%; right: 8%; bottom: -16px; font: 10px/1.4 var(--sans); color: #c7ccd5; text-shadow: 0 1px 8px #000; }
.scroll-invitation { padding: clamp(16px, 2.6vh, 26px) 0; align-items: center; border-bottom: 1px solid var(--line); }
.scroll-invitation > span:first-child { font: 9px/1.5 var(--mono); color: var(--muted); }
.scroll-invitation > span:last-child { display: flex; align-items: center; gap: 30px; font-size: 11px; }
.scroll-invitation > span:last-child > span { transition: translate .3s; }
.scroll-invitation:hover > span:last-child > span { translate: 0 4px; }
.home-scroll-ready .scroll-reveal-item { opacity: 0; transform: translate3d(0, 65px, 0) rotate(.7deg); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,.7,.2,1); }
.home-scroll-ready .scroll-reveal-item:nth-child(even) { transition-delay: .1s; }
.home-scroll-ready .scroll-reveal-item.is-revealed { opacity: 1; transform: none; }
.home-scroll-ready .featured-card .featured-image { clip-path: inset(10% 0 0); transition: clip-path 1.2s cubic-bezier(.16,.7,.2,1); }
.home-scroll-ready .featured-card.is-revealed .featured-image { clip-path: inset(0); }
.home-section { max-width: 1536px; margin: auto; padding: 96px var(--gutter); scroll-margin-top: 85px; }
.section-heading { align-items: end; margin-bottom: 40px; }
.section-number { display: block; margin-bottom: 22px; color: var(--muted); }
.section-heading h2, .home-about h2, .home-contact h2 { margin: 0; font: 400 clamp(34px, 4.2vw, 64px)/1.07 var(--display); letter-spacing: -.04em; }
.underlined-link { display: inline-flex; align-items: center; gap: 25px; padding: 10px 0; border-bottom: 1px solid var(--text); font-size: 11px; }
.underlined-link > span { transition: transform .2s; }
.underlined-link:hover > span { transform: translate(3px,-3px); }
.featured-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px 50px; }
.featured-card { display: block; min-width: 0; }
.featured-card:nth-child(even) { padding-top: 80px; }
.featured-image { position: relative; overflow: hidden; display: block; background: var(--soft); }
.featured-image img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1), filter .5s; }
.featured-card:nth-child(even) .featured-image img { aspect-ratio: 1.2; }
.featured-card:hover img { transform: scale(1.025); }
.featured-info { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; }
.featured-info h3 { margin: 0 0 6px; font: 400 25px/1.2 var(--display); letter-spacing: -.02em; }
.featured-info p { margin: 0; font-size: 10px; color: var(--muted); }
.featured-arrow { font-size: 19px; }
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.home-about-copy { padding-top: 36px; max-width: 540px; }
.home-about-copy p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; }
.home-about-copy .quiet { font-size: 13px; }
.research-link { margin-left: 24px; border-bottom-color: var(--line); }
.home-contact { border-top: 1px solid var(--line); padding-bottom: 100px; }
.home-contact > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 35px; }
.home-contact h2 { font-size: clamp(44px, 6.9vw, 100px); }
.home-contact h2 em { font-style: normal; font-weight: 300; color: #b2b6bf; }
.home-contact .underlined-link { font-size: 14px; margin-bottom: 8px; }


@media (hover: hover) and (pointer: fine) {
  .idea-card:hover .card-selection { opacity: 1; translate: 3px -3px; }
}
@media (max-width: 1100px) {
  .opening-heading { grid-template-columns: 1fr 250px; gap: 25px; }
  .hand { gap: 24px; }
  .idea-card { padding-left: 8px; padding-right: 8px; }
  .card-name { font-size: 22px; }
  .featured-grid { gap: 40px 28px; }
  .featured-card:nth-child(even) { padding-top: 55px; }
  .home-about { gap: 45px; }
}
@media (min-width: 761px) and (max-height: 650px) {
  .opening-meta { padding-top: 8px; font-size: 8px; }
  .opening-heading { padding-top: 12px; padding-bottom: 6px; }
  .opening-eyebrow { margin-bottom: 7px; font-size: 9px; }
  .opening-heading h1 { font-size: 25px; }
  .opening-aside { font-size: 11px; }
  .opening-aside p { margin-bottom: 6px; }
  .opening-aside p:last-child { display: none; }
  .card-table { padding-top: 6px; }
  .hand { padding: 5px 0; }
  .idea-card { padding-top: 5px; padding-bottom: 5px; }
  .card-name { padding-top: 5px; font-size: 21px; }
  .card-subtitle { margin-top: 4px; font-size: 9px; }
  .scroll-invitation { padding: 13px 0; }
  .direction-preview { inset: 12px -8px 90px; }
  .idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="1"] { transform: translate3d(-45px,-24px,0) rotate(-11deg) scale(.62); }
  .idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="2"] { transform: translate3d(54px,-20px,0) rotate(8deg) scale(.64); }
  .idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="3"] { transform: translate3d(40px,30px,0) rotate(12deg) scale(.62); }
  .idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="4"] { transform: translate3d(-46px,32px,0) rotate(-7deg) scale(.6); }
  .idea-card[data-preview-open="true"] .direction-preview img[data-preview-order="5"] { opacity: 0; }
}
@media (max-width: 760px) {
  .home-page { --home-header-height: 72px; }
  .opening-meta { padding-top: 12px; font-size: 7px; }
  .opening-meta > span:last-child { display: none; }
  .opening-heading { grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 10px; gap: 12px; }
  .opening-eyebrow { font-size: 9px; margin-bottom: 8px; }
  .opening-heading h1 { font-size: 25px; }
  .opening-aside { font-size: 10px; }
  .opening-aside p { margin: 0; }
  .opening-aside p:last-child { display: none; }
  .opening-aside br { display: none; }
  .card-table { padding-top: 10px; }
  .table-heading .micro { font-size: 7px; }
  .direction-hover-hint { display: none; }
  .hand { grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 0; padding: 6px 0; }
  .idea-card { display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto auto auto; column-gap: 18px; align-content: center; padding: 4px 0; max-height: none; }
  .scene-frost { --scene-frost-blur: 32px; }
  .card-top { grid-column: 2; grid-row: 1; font-size: 7px; }
  .observation-window { grid-column: 1; grid-row: 1/4; height: 85px; align-self: center; }
  .card-name { grid-column: 2; grid-row: 2; font-size: 20px; padding-top: 6px; }
  .card-subtitle { grid-column: 2; grid-row: 3; margin-top: 5px; font-size: 9px; }
  .direction-preview { display: none; }
  .idea-card[data-preview-open="true"] .card-art { opacity: 1; filter: none; transform: none; }
  .scroll-invitation { padding: 18px 0; gap: 12px; }
  .scroll-invitation > span:first-child { font-size: 7px; max-width: 140px; }
  .scroll-invitation > span:last-child { gap: 14px; font-size: 10px; }
  .home-section { padding-top: 58px; padding-bottom: 58px; }
  .section-heading { margin-bottom: 27px; gap: 20px; }
  .section-heading h2 { font-size: 33px; max-width: 230px; }
  .section-heading .underlined-link { font-size: 10px; gap: 10px; white-space: nowrap; }
  .section-number { font-size: 8px; margin-bottom: 16px; }
  .featured-grid { gap: 30px 20px; }
  .featured-card:nth-child(even) { padding-top: 35px; }
  .featured-info { gap: 8px; margin-top: 12px; }
  .featured-info h3 { font-size: 20px; }
  .featured-info p { font-size: 9px; }
  .home-about { grid-template-columns: 1fr; gap: 25px; }
  .home-about-copy { padding-top: 0; }
  .home-about-copy p { font-size: 15px; }
}
@media (max-width: 460px) {
  .featured-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-card:nth-child(even) { padding-top: 0; }
  .featured-card:nth-child(even) .featured-image img { aspect-ratio: 1.45; }
  .home-contact .underlined-link { font-size: 12px; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .opening-heading { padding-top: 10px; gap: 6px; }
  .opening-heading h1 { font-size: 22px; }
  .opening-aside { display: none; }
  .observation-window { height: 62px; }
  .idea-card { grid-template-columns: 70px 1fr; }
  .card-name { font-size: 18px; }
  .scroll-invitation { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-scene, .opening-heading, .hand { transform: none; opacity: 1; }
  .direction-preview, .direction-preview img, .card-selection, .card-art { transition: none; }
  .home-scroll-ready .scroll-reveal-item { opacity: 1; transform: none; transition: none; }
  .home-scroll-ready .featured-card .featured-image { clip-path: none; transition: none; }
  .featured-card:hover img { transform: none; }
}
