:root {
  --limestone: #e8e2d7;
  --travertine: #d8c7ae;
  --granite: #575752;
  --basalt: #191918;
  --rosso: #642f35;
  --white: #f7f4ee;
  --line: rgba(25,25,24,.18);
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Baskerville, serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --page: min(1440px, calc(100vw - 40px));
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--limestone); }
body { margin: 0; color: var(--basalt); background: var(--limestone); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .94; letter-spacing: -.035em; }
:focus-visible { outline: 2px solid var(--rosso); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 16px; padding: 12px 18px; background: var(--white); transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--page); margin-inline: auto; }
.eyebrow { margin-bottom: 22px; color: var(--rosso); font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }

.detail-header { position: fixed; z-index: 20; inset: 0 0 auto; height: var(--header-h); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; padding: 0 max(20px, calc((100vw - 1440px) / 2)); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.28); transition: color .3s ease, background .3s ease, border-color .3s ease; }
.detail-header.is-scrolled, .detail-header.menu-visible { color: var(--basalt); background: rgba(232,226,215,.95); backdrop-filter: blur(18px); border-color: var(--line); }
.wordmark { width: max-content; font-family: var(--serif); font-size: 1.65rem; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }
.wordmark span { font-size: .72em; font-style: italic; text-transform: lowercase; }
.detail-nav { display: flex; gap: clamp(20px, 2.5vw, 42px); align-items: center; }
.detail-nav a, .language-switch a { font-size: .69rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.detail-nav a { position: relative; }
.detail-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .3s ease; }
.detail-nav a:hover::after { right: 0; }
.language-switch { display: flex; gap: 8px; padding-left: 24px; border-left: 1px solid currentColor; }
.language-switch a { opacity: .52; }
.language-switch a[aria-current='page'] { opacity: 1; }
.menu-toggle { display: none; color: inherit; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.menu-icon { width: 23px; display: grid; gap: 5px; }
.menu-icon i { height: 1px; background: currentColor; }

.detail-hero { position: relative; min-height: 720px; height: 92svh; overflow: hidden; color: var(--white); background: var(--basalt); }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,11,.72), rgba(12,12,11,.16) 70%), linear-gradient(0deg, rgba(12,12,11,.58), transparent 50%); }
.detail-hero-copy { position: absolute; z-index: 1; left: max(20px, calc((100vw - 1440px) / 2)); right: 20px; bottom: clamp(70px, 10vh, 110px); }
.detail-hero-copy .eyebrow { color: var(--travertine); }
.detail-hero h1 { max-width: 1060px; margin-bottom: 28px; font-size: clamp(4.6rem, 9.5vw, 10rem); text-wrap: balance; }
.detail-hero-copy > p:last-child { max-width: 630px; margin: 0; font-size: clamp(1rem, 1.5vw, 1.25rem); }

.detail-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 9vw, 150px); padding: 150px 0 170px; align-items: end; }
.detail-intro h2 { max-width: 920px; margin: 0; font-size: clamp(3.5rem, 7vw, 7.5rem); }
.detail-intro-copy { max-width: 520px; padding-bottom: 8px; }
.detail-intro-copy p { margin-bottom: 32px; color: var(--granite); }
.quiet-link { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--basalt); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.possibilities { padding-bottom: 170px; }
.section-label { padding: 22px 0; border-top: 1px solid var(--line); font-size: .67rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.possibility-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 520px 520px; gap: 16px; padding-top: 72px; }
.possibility-card { position: relative; margin: 0; overflow: hidden; color: var(--white); background: var(--basalt); }
.possibility-card:first-child { grid-row: 1 / 3; }
.possibility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.possibility-card:hover img { transform: scale(1.018); }
.possibility-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,11,.75), transparent 52%); }
.possibility-card figcaption { position: absolute; z-index: 1; left: clamp(22px, 3vw, 42px); right: clamp(22px, 3vw, 42px); bottom: clamp(24px, 3vw, 38px); }
.possibility-card h3 { margin-bottom: 12px; font-size: clamp(2.4rem, 4vw, 4.4rem); }
.possibility-card p { max-width: 440px; margin: 0; font-size: .83rem; opacity: .78; }
.hotspot-layer { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.material-hotspot { position: absolute; left: var(--hotspot-x); top: var(--hotspot-y); width: 34px; height: 34px; padding: 0; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(25,25,24,.35); color: white; cursor: pointer; pointer-events: auto; box-shadow: 0 0 0 8px rgba(255,255,255,.13); transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.material-hotspot span { position: absolute; inset: 50% auto auto 50%; width: 6px; height: 6px; transform: translate(-50%,-50%); border-radius: 50%; background: currentColor; }
.material-hotspot:hover, .material-hotspot[aria-expanded='true'] { transform: translate(-50%,-50%) scale(1.12); background: var(--rosso); box-shadow: 0 0 0 10px rgba(255,255,255,.2); }
.material-hotspot:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.material-popover { position: absolute; z-index: 5; right: 24px; top: 24px; width: min(360px,calc(100% - 48px)); padding: 28px; background: rgba(247,244,238,.97); color: var(--basalt); backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.material-popover h4 { margin: 18px 0 12px; font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 500; line-height: 1; }
.material-popover p { max-width: none; color: var(--granite); font-size: .92rem; opacity: 1; }
.material-popover-close { min-height: 36px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; font-size: .72rem; cursor: pointer; }
.possibility-card.has-open-hotspot figcaption { opacity: 0; pointer-events: none; }
.possibility-card figcaption { transition: opacity .25s ease; }

.material-break { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 760px; color: var(--white); background: var(--basalt); }
.material-break-image { min-height: 520px; }
.material-break-image img { width: 100%; height: 100%; object-fit: cover; }
.material-break-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 120px); }
.material-break-copy .eyebrow { color: var(--travertine); }
.material-break-copy h2 { margin-bottom: 38px; font-size: clamp(3.6rem, 6vw, 6.8rem); }
.material-break-copy p { max-width: 580px; color: rgba(255,255,255,.68); }

.next-projects { padding: 150px 0; }
.next-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 58px 0 70px; }
.next-heading h2 { max-width: 800px; margin: 0; font-size: clamp(3.3rem, 6vw, 6.5rem); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { position: relative; min-height: 460px; overflow: hidden; color: var(--white); }
.next-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.next-card:hover img { transform: scale(1.035); }
.next-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,11,.7), transparent 60%); }
.next-card span { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: end; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1; }
.next-card i, .next-card b { font-style: normal; font-weight: 500; }
.next-card b { font-family: var(--sans); font-size: 1rem; }

.detail-contact { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding: clamp(70px, 9vw, 130px) max(20px, calc((100vw - 1440px) / 2)); color: var(--white); background: var(--rosso); }
.detail-contact h2 { max-width: 920px; margin: 0; font-size: clamp(4rem, 8vw, 8.4rem); }
.detail-contact .eyebrow { color: rgba(255,255,255,.68); }
.contact-button { min-width: 260px; height: 58px; display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; padding: 0 22px; border: 1px solid rgba(255,255,255,.7); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .25s ease, background .25s ease; }
.contact-button:hover { color: var(--rosso); background: var(--white); }
.detail-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px max(20px, calc((100vw - 1440px) / 2)); background: var(--travertine); color: var(--granite); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 980px) {
  .detail-header { grid-template-columns: 1fr auto auto; }
  .detail-nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 25px; padding: 40px 20px 90px; color: var(--basalt); background: var(--limestone); opacity: 0; visibility: hidden; transform: translateY(-15px); transition: .25s ease; }
  .detail-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .detail-nav a { font-family: var(--serif); font-size: clamp(2.5rem, 8vw, 4.8rem); font-weight: 500; letter-spacing: -.03em; text-transform: none; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; }
  .detail-intro { grid-template-columns: 1fr; }
  .material-break { grid-template-columns: 1fr; }
  .material-break-image { min-height: 62vh; }
  .detail-contact { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 32px); --header-h: 70px; }
  .detail-header { padding-inline: 16px; gap: 16px; }
  .wordmark { font-size: 1.3rem; }
  .language-switch { gap: 6px; padding-left: 12px; }
  .language-switch a { font-size: .61rem; }
  .menu-toggle > span:first-child { display: none; }
  .detail-hero { min-height: 700px; height: 88svh; }
  .detail-hero::after { background: linear-gradient(0deg, rgba(12,12,11,.78), rgba(12,12,11,.06) 78%); }
  .detail-hero-copy { left: 16px; right: 16px; bottom: 60px; }
  .detail-hero h1 { font-size: clamp(4rem, 18vw, 5.7rem); }
  .detail-intro { padding: 100px 0 110px; }
  .detail-intro h2 { font-size: 3.8rem; }
  .possibilities { padding-bottom: 110px; }
  .possibility-grid { display: block; padding-top: 48px; }
  .possibility-card { min-height: 540px; margin-bottom: 12px; }
  .possibility-card:nth-child(n+2) { min-height: 420px; }
  .material-break-copy { padding: 74px 24px 88px; }
  .next-projects { padding: 100px 0; }
  .next-heading { display: block; padding: 46px 0 54px; }
  .next-grid { grid-template-columns: 1fr; }
  .next-card { min-height: 430px; }
  .detail-contact { padding: 80px 24px; }
  .detail-contact h2 { font-size: 4.2rem; }
  .contact-button { width: 100%; min-width: 0; }
  .detail-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
