:root {
  color-scheme: dark;
  --bg: #0e1418;
  --bg-raised: #131a20;
  --text: #e8ecef;
  --text-strong: #fff;
  --text-muted: #a9b3bb;
  --accent: #ff9b51;
  --accent-hi: #ffb864;
  --border: #2e3b45;
  --border-hi: #3c4b58;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 5px; }
.estate-case { min-height: 100vh; }
.estate-case__nav { position: sticky; z-index: 20; top: 0; min-height: 64px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); background: rgba(14, 20, 24, .92); backdrop-filter: blur(12px); }
.estate-case__nav a, .estate-case__footer { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; }
.estate-case__nav a:last-child { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.estate-case__nav span { color: var(--text-muted); }
.estate-case__hero { position: relative; isolation: isolate; width: min(1440px, 100%); min-height: clamp(660px, 58vw, 820px); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.estate-case__backdrop { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(82%, 1180px); overflow: hidden; }
.estate-case__backdrop::before { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(90deg, var(--bg) 0%, rgba(14, 20, 24, .94) 17%, rgba(14, 20, 24, .66) 39%, rgba(14, 20, 24, .15) 72%, transparent 100%), linear-gradient(0deg, rgba(14, 20, 24, .72), transparent 42%); }
.estate-case__backdrop img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% 48%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%); }
.estate-case__copy { position: relative; z-index: 2; width: min(760px, 68%); }
.estate-case__eyebrow, .estate-case__details > div > span, .estate-case__close > p { color: var(--accent); font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.estate-case__hero h1 { max-width: 900px; margin: 18px 0 16px; color: var(--text-strong); font-family: var(--font-display); font-size: clamp(3.25rem, 9vw, 7.5rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.estate-case__lede { max-width: 720px; margin: 0; color: var(--text-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.estate-case__actions { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.estate-case__primary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 6px; color: #1a0a00; background: var(--accent); font-weight: 700; transition: transform 180ms var(--ease-out), background 180ms var(--ease-out); }
.estate-case__primary:hover { transform: translateY(-2px); background: var(--accent-hi); }
.estate-case__actions > span { color: var(--text-muted); font-size: 16px; }
.estate-case__stage { position: relative; display: block; margin-top: clamp(32px, 5vw, 64px); aspect-ratio: 16 / 8.2; overflow: hidden; border: 1px solid var(--border-hi); border-radius: 12px; background: var(--bg-raised); }
.estate-case__stage::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(8,10,12,.88), transparent 28%, transparent 75%, rgba(8,10,12,.24)); pointer-events: none; }
.estate-case__stage iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.estate-case__stage-caption { position: absolute; z-index: 1; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 34px); left: clamp(16px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; }
.estate-case__stage-caption > span:last-child { color: var(--accent-hi); }
.estate-case__note { max-width: 850px; margin: 18px auto 0; color: var(--text-muted); font-size: 16px; text-align: center; }
.estate-case__process { width: min(1280px, 100%); margin: 0 auto; padding: clamp(54px, 7vw, 92px) var(--gutter); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 90px); border-top: 1px solid var(--border); }
.estate-case__process h2 { max-width: 14ch; margin: 14px 0 0; color: var(--text-strong); font: 400 clamp(2.7rem, 5vw, 4.4rem) / 1.05 var(--font-display); }
.estate-case__process-copy { align-self: center; }
.estate-case__process-copy p { max-width: 63ch; margin: 0; color: var(--text); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; }
.estate-case__process-copy p + p { margin-top: 20px; color: var(--text-muted); }
.estate-case__details { width: min(1280px, 100%); margin: 0 auto; padding: 36px var(--gutter) clamp(72px, 10vw, 132px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 58px); border-top: 1px solid var(--border); }
.estate-case__details h2, .estate-case__close h2 { margin: 18px 0 10px; color: var(--text-strong); font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.08; }
.estate-case__details p { margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.estate-case__close { padding: clamp(52px, 8vw, 96px) var(--gutter); text-align: center; border-top: 1px solid var(--border); background: var(--bg-raised); }
.estate-case__close h2 { max-width: 760px; margin: 16px auto 28px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.estate-case__footer { min-height: 72px; padding: 16px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text-muted); border-top: 1px solid var(--border); }
.estate-case__footer a:first-child { color: var(--text-strong); }
@media (max-width: 760px) {
  .estate-case__nav { min-height: 58px; }
  .estate-case__nav a, .estate-case__footer { font-size: 12px; }
  .estate-case__nav span { display: none; }
  .estate-case__hero { min-height: 0; padding-top: 310px; }
  .estate-case__backdrop { inset: 0 0 auto; width: 100%; height: 380px; }
  .estate-case__backdrop::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(14, 20, 24, .82) 22%, transparent 68%), linear-gradient(90deg, rgba(14, 20, 24, .34), transparent 80%); }
  .estate-case__backdrop img { object-position: 62% center; -webkit-mask-image: linear-gradient(180deg, #000 20%, #000 48%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, #000 48%, transparent 100%); }
  .estate-case__copy { width: 100%; }
  .estate-case__stage { aspect-ratio: 4 / 3; }
  .estate-case__stage-caption { align-items: flex-start; flex-direction: column; }
  .estate-case__process { grid-template-columns: 1fr; }
  .estate-case__details { grid-template-columns: 1fr; }
  .estate-case__footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .estate-case__primary { transition: none; } .estate-case__primary:hover { transform: none; } }
