/* Homepage and shared header/footer from the approved homepage. */
.home-pilot {
  --gutter: clamp(20px, 4.583333vw, 88px);
  --gap: 16px;
  --home-radius: 20px;
  --home-outline: #b6ddeb;
  background-image: none;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.home-pilot .wrap { max-width: 1744px; width: calc(100% - var(--gutter) * 2); }
.site-shell .site-header { min-height: 84px; border: 0; }
.site-shell .brand img { width: 132px; height: 44px; }
.site-shell .brand span { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.site-shell .site-header nav { gap: 32px; }
.site-shell .site-header nav a { font-size: 16px; font-weight: 500; }
.site-shell .site-header nav .contact-link { background: var(--turquoise-ocean); color: white; min-width: 148px; padding: 7px 24px; line-height: 22px; justify-content: center; }
.site-shell .site-header nav .contact-link:hover { background: var(--blue); }
.home-pilot .intro { min-height: 344px; padding: 48px 40px; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: var(--space-group); }
.home-pilot .intro > div:not(.home-feature) { position: relative; z-index: 2; grid-column: 1; }
.home-pilot .intro h1 { color: var(--blue); font-size: clamp(2.6rem,3.75vw,4.5rem); line-height: 1.028; letter-spacing: -.0278em; }
.home-pilot .intro .intro-subtitle { margin-top: 12px; }
.home-pilot .intro-invitation { position: relative; z-index: 2; grid-column: 1; justify-self: start; align-self: center; padding: 12px 28px; border-radius: 27px; background: var(--blue); color: white; font-size: 16px; text-decoration: none; line-height: 20px; }
.home-pilot .intro-invitation:hover { background: var(--ink); }
.home-pilot .intro::before { display: none; }
.home-pilot .intro::after { display: none; }
.home-feature { position: absolute; inset: 0 0 0 34%; pointer-events: none; }
.home-feature picture { display: block; height: 100%; overflow: hidden; border-radius: 0 32px 32px 0; mask-image: linear-gradient(to right, transparent, #000 42%); }
.home-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-feature .home-feature-label { position: absolute; bottom: 24px; right: 25px; width: 236px; height: 74px; max-width: calc(100% - 24px); padding: 14px 22px; border-radius: 20px; background: var(--paper); display: grid; grid-template-columns: 1fr 20px; align-content: center; column-gap: 14px; color: var(--ink); text-decoration: none; pointer-events: auto; }
.home-feature-label small { font-size: 12px; line-height: 14px; }
.home-feature-label strong { font-size: 15px; line-height: 18px; font-weight: 500; }
.home-feature-label .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 20px; height: 20px; }
.home-pilot .gallery { position: relative; margin-top: var(--space-item); display: grid; grid-template-columns: 2.053fr 1fr 1fr; grid-template-rows: repeat(2,auto); gap: 16px; }
:is(.home-pilot, .related) .project-card { position: relative; overflow: hidden; border-radius: var(--home-radius); isolation: isolate; }
.home-pilot .gallery .lead { grid-row: span 2; }
.home-pilot .gallery .project-card:last-child { margin: 0; }
:is(.home-pilot, .related) .art { aspect-ratio: 422 / 236; border-radius: inherit; height: 100%; }
.home-pilot .lead .art { aspect-ratio: auto; }
:is(.home-pilot, .related) .art::after { content: ''; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent 15%,rgba(1,44,80,.58)); mask-image: linear-gradient(transparent,black 85%); opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
:is(.home-pilot, .related) .project-caption { position: absolute; z-index: 1; inset: auto 14px 14px 20px; padding: 0; gap: 12px; align-items: end; color: white; pointer-events: none; }
:is(.home-pilot, .related) .project-caption > div { display: flex; flex-direction: column-reverse; gap: 2px; }
:is(.home-pilot, .related) .project-caption :is(h2,h3) { font: 400 20px/1.2 var(--display); letter-spacing: -.02em; }
:is(.home-pilot, .related) .project-card:hover .project-caption :is(h2,h3) { text-decoration: none; }
:is(.home-pilot, .related) .project-caption { text-shadow: 0 1px 3px rgba(1,44,80,.7); }
:is(.home-pilot, .related) .project-discipline { color: white; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; margin: 0; }
:is(.home-pilot, .related) .project-caption time { color: white; font-size: 12px; }
:is(.home-pilot, .related) .project-caption { opacity: 0; transition: opacity .25s var(--ease); }
:is(.home-pilot, .related) .project-card:is(:hover,:focus-visible) .art::after,
:is(.home-pilot, .related) .project-card:is(:hover,:focus-visible) .project-caption { opacity: 1; transform: none; }
.home-pilot .gallery .project-card[hidden] { display: none; }
.home-pilot .gallery.is-filtered { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; }
.home-pilot .gallery.is-filtered .lead { grid-row: auto; grid-column: auto; }
.home-pilot .gallery.is-filtered .lead .art { aspect-ratio: 422 / 236; }
.home-filters { margin-top: var(--space-item); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-filters[hidden] { display: none; }
.home-filters > div { display: flex; gap: 12px; flex-wrap: wrap; }
.home-filters button { min-width: 96px; min-height: 36px; padding: 8px 16px; border: 1px solid var(--home-outline); border-radius: 18px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 18px; }
.home-filters button[aria-pressed="true"] { background: var(--turquoise-ocean); color: white; border-color: var(--turquoise-ocean); }
.home-filters button:hover { border-color: var(--blue); }
.home-filters p { font-size: 13px; white-space: nowrap; }
.site-shell .home-footer { margin-top: 16px; padding: 20px 28px; background: white; border-radius: 32px 32px 0 0; }
.home-footer-main, .home-footer-details { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-signature { display: flex; align-items: center; gap: 22px; text-decoration: none; }
.home-signature img { object-fit: contain; }
.home-signature span:first-of-type { font: 400 16px/1.2 var(--display); color: var(--blue); }
.home-footer-contact { padding: 7px 26px; min-height: 36px; line-height: 22px; border-radius: 27px; background: var(--turquoise-ocean); color: white; text-decoration: none; }
.home-footer-contact:hover { background: var(--blue); }
.home-footer-details { margin-top: var(--space-group); flex-wrap: wrap; font-size: 13px; }
.home-footer-details nav { display: flex; flex-wrap: wrap; gap: 24px; }
:is(.home-pilot, .related) .project-card:focus-visible { outline-offset: 4px; }
.site-shell .site-footer { padding-top: 24px; }
@media (max-width: 1100px) {
  .home-pilot { background-size: 150% auto; background-position: center 200px; }
  .home-pilot .intro { padding-inline: 0; }
  .home-pilot .intro h1 { font-size: clamp(2.25rem, 4.4vw, 3rem); }
  .home-pilot .gallery { grid-template-columns: 1fr 1fr; }
  .home-pilot .gallery .lead { grid-row: auto; grid-column: 1 / -1; }
  .home-pilot .lead .art { aspect-ratio: 867 / 489; }
  :is(.home-pilot, .related) .project-caption :is(h2,h3) { font-size: 18px; }
}
@media (max-width: 720px) {
  .home-pilot { background-size: auto 1080px; background-position: center 450px; }
  .site-shell .brand span { display: none; }
  .site-shell .brand img { width: 108px; }
  .site-shell .site-header nav { gap: 16px; }
  .site-shell .site-header nav a { font-size: 14px; }
  .site-shell .site-header nav .contact-link { min-width: 0; padding-inline: 18px; }
  .home-pilot .intro { display: flex; flex-direction: column; align-items: start; min-height: auto; padding-block: var(--space-block); gap: 24px; }
  .home-pilot .intro h1 { font-size: clamp(2.3rem,7.8vw,3.5rem); }
  .home-pilot .intro-invitation { align-self: start; flex: none; }
  .home-pilot .intro::after { display: none; }
  .home-feature { display: none; }
  .home-pilot .gallery { margin-top: var(--space-item); grid-template-columns: 1fr; }
  .home-pilot .gallery .lead { grid-column: auto; }
  :is(.home-pilot, .related) .art { aspect-ratio: 1.6; }
  .home-pilot .gallery.is-filtered { grid-template-columns: 1fr; }
  .home-filters { align-items: end; }
  .home-filters > div { gap: 8px; }
  .home-filters button { min-width: 70px; min-height: 44px; padding-inline: 12px; }
  .home-footer-main, .home-signature { flex-wrap: wrap; gap: 14px; }
  .site-shell .home-footer { padding-inline: 20px; }
}
@media (hover: none) {
  :is(.home-pilot, .related) .project-card .art::after, :is(.home-pilot, .related) .project-caption { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.home-pilot, .related) .project-caption, :is(.home-pilot, .related) .art::after { transition: none; transform: none; }
  .home-feature img { transition: none; }
  .home-feature:hover img { transform: none; }
}

/* Shared typographic roles: display, discipline, running text and controls. */
.site-shell { --label-size: var(--type-label); --body-size: var(--type-body); }
.site-shell .intro-subtitle, .site-shell .project-discipline { font-family: var(--text); font-size: var(--label-size); font-weight: 700; letter-spacing: .095em; text-transform: uppercase; color: var(--turquoise-ocean); }
.site-shell .contact-heading h1, .site-shell .not-found-page h1 { color: var(--blue); font-family: var(--display); font-weight: 400; }
.site-shell .site-header nav a, .site-shell .home-footer-contact { font-size: .875rem; font-weight: 500; }
.site-shell .home-footer-contact { display: inline-flex; align-items: center; justify-content: center; }
:is(.home-pilot, .related) .project-caption .project-discipline { color: white; font: 700 .75rem/1.5 var(--text); letter-spacing: .095em; text-transform: uppercase; }
@media (max-width:720px) { .site-shell .site-header nav .contact-link { min-height: 36px; padding-block: 7px; } }

/* Contact follows the project pages' restrained editorial hierarchy. */
.contact main { position: relative; isolation: isolate; overflow: clip; }
.contact main::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: -100px; bottom: 80px; width: 280px; height: 340px; background: url('/assets/plant-1.svg') center / contain no-repeat; opacity: .09; transform: rotate(18deg); }
.contact-page { grid-template-columns: minmax(0, .95fr) minmax(0, 1.9fr); gap: clamp(40px, 6vw, 100px); padding-block: 48px 64px; }
.contact-heading h1 { font-size: clamp(2.5rem, 3.55vw, 4.4rem); line-height: 1.04; margin-bottom: 40px; }
.contact-heading .email-link { font-size: 1rem; line-height: 1.7; gap: 10px; }
.contact-heading nav { border-top: 1px solid var(--pale); margin-top: 32px; padding-top: 24px; font-size: .875rem; gap: 14px 24px; }
.contact-heading nav a { color: var(--blue); }
.contact-form { padding: 20px 24px; border-radius: 16px; background: transparent; }
.contact .form-alternative { font-size: .8125rem; line-height: 1.6; }
@media(max-width:760px) {
 .contact-page { grid-template-columns: 1fr; padding-block: 32px 40px; gap: 40px; }
 .contact-heading h1 { margin-bottom: 28px; }
 .contact-form { padding: 12px; }
 .contact main::before { width: 220px; height: 280px; opacity: .06; }
}

.home-pilot main { position: relative; isolation: isolate; overflow: clip; }
.home-pilot main::before, .home-pilot main::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 280px; height: 340px; opacity: .08; background: center / contain no-repeat; }
.home-pilot main::before { top: 40px; right: -100px; background-image: url('/assets/plant-3.svg'); }
.home-pilot main::after { bottom: 0; left: -100px; background-image: url('/assets/plant-5.svg'); }
@media(max-width:760px) { .home-pilot main::before, .home-pilot main::after { width:220px; height:280px; opacity:.06; } }

/* Main content occupies a viewport; the footer follows after a clear pause. */
.home-pilot main { min-height: calc(100svh - 84px); padding-bottom: var(--space-footer); }
.home-pilot .intro { margin-bottom: var(--space-block); }
.home-pilot .intro-invitation { margin-top: 0; }
.site-shell .home-footer { margin-top: 0; }
.contact .home-footer { margin-top: var(--space-footer); }
.home-feature-label:focus-visible, .home-feature-label:hover { outline: 2px solid var(--blue); outline-offset: 4px; }
/* The visible contact pills stay slim; their hit areas reach 44 px. */
.home-footer-contact { position: relative; }
.site-shell .site-header nav .contact-link::before,
.home-footer-contact::before { content: ''; position: absolute; inset: -4px 0; border-radius: inherit; }
.home-footer-details nav a, .home-footer-details > a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-heading nav a { display: inline-flex; align-items: center; min-height: 44px; }
/* Blend the blur across the whole layer, never against a hard horizontal edge. */
.home-pilot .gallery .art::before {
 content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none;
 backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
 mask-image: linear-gradient(to bottom, transparent 12%, rgba(0,0,0,.08) 32%, rgba(0,0,0,.4) 58%, black 100%);
 -webkit-mask-image: linear-gradient(to bottom, transparent 12%, rgba(0,0,0,.08) 32%, rgba(0,0,0,.4) 58%, black 100%);
 opacity: 0; transition: opacity .25s var(--ease);
}
.home-pilot .gallery .art::after {
 z-index: 2; inset: 0; mask-image: none;
 background: linear-gradient(to bottom, transparent 12%, rgba(1,44,80,.06) 35%, rgba(1,44,80,.26) 65%, rgba(1,44,80,.72) 100%);
}
.home-pilot .gallery .project-caption { z-index: 3; text-shadow: 0 5px 14px rgba(1,44,80,.35); }
.home-pilot .gallery .project-card:is(:hover,:focus-visible) .art::before { opacity: 1; }
.home-pilot .gallery.scroll-overlays .project-card .art::before,
.home-pilot .gallery.scroll-overlays .project-card .art::after,
.home-pilot .gallery.scroll-overlays .project-card .project-caption { opacity: 0; }
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .art::before,
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .art::after,
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .project-caption { opacity: 1; }
.home-pilot .gallery.scroll-overlays .project-card:not(.is-scroll-active) .art::before,
.home-pilot .gallery.scroll-overlays .project-card:not(.is-scroll-active) .art::after,
.home-pilot .gallery.scroll-overlays .project-card:not(.is-scroll-active) .project-caption { transition: none; }
.home-pilot .gallery.scroll-overlays .project-card:hover .art img { transform: none; filter: none; }
/* A deliberate reveal, including when a scroll-selected card first appears. */
@keyframes project-overlay-arrive {
 from { opacity: 0; }
 to { opacity: 1; }
}
@keyframes project-caption-arrive {
 from { opacity: 0; transform: translateY(6px); }
 to { opacity: 1; transform: translateY(0); }
}
.home-pilot .gallery:not(.scroll-overlays) .project-card:is(:hover,:focus-visible) .art::before,
.home-pilot .gallery:not(.scroll-overlays) .project-card:is(:hover,:focus-visible) .art::after,
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .art::before,
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .art::after {
 animation: project-overlay-arrive .55s cubic-bezier(.22,.61,.36,1) both;
}
.home-pilot .gallery:not(.scroll-overlays) .project-card:is(:hover,:focus-visible) .project-caption,
.home-pilot .gallery.scroll-overlays .project-card.is-scroll-active .project-caption {
 animation: project-caption-arrive .5s cubic-bezier(.22,.61,.36,1) .06s both;
}
@media (prefers-reduced-motion: reduce) {
 .home-pilot .gallery .art::before { transition: none; }
 .home-pilot .gallery .project-card .art::before,
 .home-pilot .gallery .project-card .art::after,
 .home-pilot .gallery .project-card .project-caption { animation: none; }
}
@media (max-width: 380px) {
 .site-shell .brand img { width: 90px; }
 .site-shell .site-header nav { gap: 12px; }
 .site-shell .site-header nav a { font-size: .8125rem; white-space: nowrap; }
 .site-shell .site-header nav .contact-link { padding-inline: 12px; }
}
