/* Open, image-led homepage. Shared typography and brand colors live in styles.css. */
.homepage { background: #fbfcf8; }
.homepage .section-wrap { width: min(1360px, calc(100% - 112px)); }
.landing-hero { position: relative; isolation: isolate; background: linear-gradient(110deg, #fbfcf8 10%, #f3f6ef 65%, #eaf0e7); overflow: clip; }
.hero-content { position: relative; z-index: 2; min-height: clamp(660px, 81svh, 890px); display: flex; align-items: center; padding-block: 94px 132px; }
.landing-hero .hero-copy { width: min(650px, 57%); }
.landing-hero h1 { font-size: clamp(4rem, 7.7vw, 8rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 600; margin-bottom: 2rem; }
.landing-hero .eyebrow { margin-bottom: 2rem; }
.landing-hero .hero-lede { max-width: 490px; font-size: 1.02rem; margin-bottom: 2.3rem; }
.landing-hero .button { background: transparent; color: var(--green); padding-inline: 1.4rem; }
.landing-hero .button:hover { background: var(--green); color: #fff; }
.hero-art { position: absolute; top: 0; right: -8%; width: 65%; height: 100%; z-index: 0; }
.assembly-art { width: 100%; height: 100%; display: block; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-image-wash { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(90deg, #fbfcf8 0%, #fbfcf8f5 32%, #fbfcf8b0 58%, #fbfcf800 100%); transition: opacity .6s; }
.landing-hero.has-media .hero-image-wash { opacity: 1; }
.hero-bottom { position: absolute; bottom: 32px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: 1rem; font-size: .67rem; font-weight: 600; color: var(--green); }
.scroll-cue > span:last-child { margin-left: .5rem; }
.scroll-line { width: 45px; height: 1px; background: var(--green); }
.hero-art-note { display: flex; align-items: center; justify-content: end; gap: 1rem; font-size: .55rem; color: var(--muted); }
.motion-toggle { font-family: var(--mono); font-size: .55rem; border: 1px solid #abbcad; background: #fbfcf8ec; color: var(--green); border-radius: 2px; padding: .6rem .8rem; min-height: 40px; }
.motion-toggle:hover { background: var(--green-soft); }
.motion-enabled .assembly-upper { animation: upper-float 7s ease-in-out infinite; }
.motion-enabled .assembly-middle { animation: middle-float 7s ease-in-out infinite; }
.is-motion-paused .ambient-motion { animation-play-state: paused; }
@keyframes upper-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes middle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.landing-capabilities { padding-block: 142px 150px; }
.open-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 5rem; margin-bottom: 74px; }
.open-section-heading h2 { font-size: clamp(2.35rem, 3.6vw, 3.9rem); font-weight: 600; margin-bottom: 0; }
.open-section-heading > p { max-width: 360px; color: var(--muted); font-size: .88rem; margin-bottom: .3rem; flex: 0 1 360px; }
.open-section-heading .eyebrow { margin-bottom: 1.5rem; }
.capability-explorer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7%; border-top: 1px solid var(--line); }
.capability-controls { display: flex; flex-direction: column; padding-top: 20px; }
.capability-controls button { display: flex; align-items: center; gap: 1.2rem; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); padding: 1.9rem 1.2rem 1.9rem 0; font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 600; letter-spacing: -.035em; transition: color .2s, padding .25s; min-height: 80px; }
.capability-controls button > span { font: 400 .6rem var(--mono); color: var(--sage); letter-spacing: .03em; margin-right: .25rem; }
.capability-controls button > i { font-style: normal; margin-left: auto; font-size: 1.3rem; opacity: .35; transform: rotate(-45deg); transition: transform .25s, opacity .25s; }
.capability-controls button[aria-selected="true"] { color: var(--green); padding-left: .6rem; }
.capability-controls button[aria-selected="true"] > i { transform: none; opacity: 1; }
.capability-controls button:hover { color: var(--green); }
.capability-stage { position: relative; padding: 45px 0 5px; min-width: 0; }
.capability-panel { position: relative; min-height: 335px; padding-right: 10%; }
.capability-panel:not([hidden]) { animation: panel-enter .38s ease both; }
.capability-panel .eyebrow { margin-bottom: 1.1rem; }
.capability-panel h3 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.12; font-weight: 600; position: relative; }
.capability-panel > p:not(.eyebrow) { position: relative; max-width: 490px; font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.panel-watermark { position: absolute; right: 0; top: -23px; font-size: clamp(8rem, 15vw, 14rem); font-weight: 500; letter-spacing: -.09em; color: #e7ede4; line-height: 1; z-index: -1; pointer-events: none; }
.capability-tags { margin: 0 0 2rem; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; }
.capability-tags li { font-family: var(--mono); font-size: .55rem; padding: .5rem .65rem; background: #eff4eb; border: 1px solid #dce5d9; color: var(--green); }
@keyframes panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.portfolio-section { background: #f0f3ed; padding-block: 115px 128px; }
.portfolio-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 5%; align-items: start; }
.portfolio-grid figure { margin: 0; min-width: 0; }
.portfolio-detail { padding-top: 85px; }
.photo-frame { position: relative; background: var(--green-soft); overflow: hidden; }
.photo-frame-wide { aspect-ratio: 16 / 10; }
.photo-frame-tall { aspect-ratio: 4 / 5; }
.photo-frame .media-fallback, .photo-frame .media-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-frame .media-fallback svg { width: 100%; height: 100%; display: block; }
.media-image { object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.has-media .media-image { opacity: 1; }
.photo-frame.has-media:hover .media-image { transform: scale(1.035); }
.photo-placeholder-label { position: absolute; left: 22px; bottom: 22px; font: 400 .55rem var(--mono); color: var(--green); padding: .65rem .9rem; background: #fbfcf8f2; }
.frame-plus { position: absolute; right: 22px; top: 16px; font-size: 1.5rem; color: #e2ece2; font-family: var(--mono); font-weight: 400; }
.photo-frame-tall .frame-plus { color: var(--green); }
.portfolio-grid figcaption { padding-top: 1.5rem; }
.portfolio-grid figcaption > span { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.portfolio-grid figcaption p { color: var(--muted); font-size: .77rem; margin: .5rem 0 0; max-width: 360px; }
.homepage .approach-inner { padding-block: 132px; }
.homepage .approach-copy h2 { font-weight: 600; }
.homepage .section-space { padding-block: 138px; }
.homepage .philosophy-body { gap: 9%; }
.homepage .philosophy-body h2 { font-weight: 600; }
.homepage .principles { margin-top: 3.5rem; border-top: 0; }
.homepage .site-cta { background: none; color: var(--ink); border-top: 1px solid var(--line); padding: 75px 0 35px; }
.homepage .site-cta .eyebrow { color: var(--green); }
.homepage .site-cta p:last-child { color: var(--muted); }
.homepage .site-cta h2 { font-weight: 600; font-size: clamp(2.2rem, 3.7vw, 3.8rem); }
.homepage .site-cta .button { background: var(--green); color: #fff; border-color: var(--green); }
.homepage .site-cta .button:hover { background: var(--green-deep); }
.homepage .cta-wrap { padding-bottom: 90px; }
@media (max-width: 1100px) {
  .homepage .section-wrap { width: calc(100% - 72px); }
  .landing-hero .hero-copy { width: 60%; }
  .hero-art { width: 67%; right: -12%; }
  .landing-hero .hero-lede { font-size: .92rem; max-width: 425px; }
  .hero-art-note { max-width: 45%; flex-wrap: wrap; gap: .5rem; }
  .open-section-heading { gap: 3rem; }
  .open-section-heading > p { max-width: 300px; }
  .capability-explorer { gap: 6%; }
  .capability-panel { padding-right: 0; }
}
@media (max-width: 800px) {
  .homepage .section-wrap { width: calc(100% - 48px); }
  .hero-content { min-height: 840px; display: block; padding-block: 54px 380px; }
  .landing-hero .hero-copy { width: 100%; max-width: 620px; }
  .landing-hero h1 { font-size: clamp(3.8rem, 10vw, 6rem); margin-bottom: 1.6rem; }
  .landing-hero .eyebrow { margin-bottom: 1.4rem; }
  .landing-hero .hero-lede { font-size: .95rem; }
  .hero-art { top: auto; bottom: 54px; right: -9%; width: 100%; height: 390px; }
  .hero-photo { object-position: 75% 70% !important; }
  .hero-image-wash { background: linear-gradient(180deg, #fbfcf8 0%, #fbfcf8f5 30%, #fbfcf880 58%, #fbfcf800 100%); }
  .hero-bottom { bottom: 20px; align-items: end; }
  .hero-art-note { font-size: .48rem; max-width: 45%; }
  .scroll-cue { font-size: .59rem; gap: .6rem; }
  .scroll-line { width: 22px; }
  .scroll-cue > span:last-child { margin-left: 0; }
  .motion-toggle { font-size: .5rem; padding: .5rem .65rem; }
  .landing-capabilities { padding-block: 86px 100px; }
  .open-section-heading { display: block; margin-bottom: 45px; }
  .open-section-heading h2 { font-size: clamp(2.2rem, 5.4vw, 3.1rem); }
  .open-section-heading > p { max-width: 540px; margin: 1.5rem 0 0; }
  .capability-explorer { grid-template-columns: 1fr; gap: 0; }
  .capability-controls { padding-top: 5px; }
  .capability-controls button { padding-block: 1.25rem; font-size: 1.5rem; min-height: 70px; }
  .capability-stage { padding-top: 35px; }
  .capability-panel { min-height: 310px; }
  .capability-panel h3 { font-size: 2.1rem; }
  .panel-watermark { right: 5%; font-size: 10rem; }
  .portfolio-section { padding-block: 85px 90px; }
  .portfolio-grid { gap: 5%; }
  .portfolio-detail { padding-top: 55px; }
  .photo-placeholder-label { font-size: .47rem; left: 13px; bottom: 13px; padding: .55rem .65rem; }
  .frame-plus { font-size: 1.1rem; right: 14px; top: 10px; }
  .portfolio-grid figcaption > span { font-size: .86rem; }
  .portfolio-grid figcaption p { font-size: .7rem; }
  .homepage .approach-inner, .homepage .section-space { padding-block: 90px; }
  .homepage .site-cta { padding-top: 54px; }
  .homepage .cta-wrap { padding-bottom: 65px; }
}
@media (max-width: 540px) {
  .homepage .section-wrap { width: calc(100% - 40px); }
  .hero-content { min-height: 780px; padding-top: 45px; padding-bottom: 365px; }
  .landing-hero h1 { font-size: clamp(3.6rem, 13.5vw, 5rem); }
  .landing-hero .eyebrow { font-size: .53rem; }
  .landing-hero .hero-lede { font-size: .86rem; }
  .landing-hero .button-row { gap: 1.3rem; }
  .landing-hero .button { gap: 1.2rem; font-size: .71rem; padding: .9rem 1rem; }
  .hero-art { width: 130%; right: -19%; height: 330px; bottom: 74px; }
  .hero-art-note { text-align: right; }
  .hero-art-note .media-placeholder-label { display: none; }
  .open-section-heading h2 { font-size: 2rem; }
  .open-section-heading > p { font-size: .82rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-detail { padding-top: 0; width: 85%; margin-left: auto !important; }
  .photo-frame-tall { aspect-ratio: 5 / 4; }
  .portfolio-grid figcaption > span { font-size: .98rem; }
  .portfolio-grid figcaption p { font-size: .77rem; }
  .photo-placeholder-label { font-size: .52rem; }
  .homepage .site-cta h2 { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-motion, .capability-panel { animation: none !important; }
  .media-image { transition: none; }
  .motion-toggle { display: none; }
}
