:root {
  --site-bg: #101010;
  --site-bg-secondary: #131313;
  --site-surface: #111;
  --site-surface-elevated: #171717;
  --site-border: #292929;
  --site-text: #f5f5f3;
  --site-muted: #929292;
  --site-accent: #f5d90a;
}

html { scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-page { background: var(--site-bg); color: var(--site-text); }
.site-page.menu-open { overflow: hidden; }
.site-shell { width: min(calc(100% - 80px), 1600px); margin-inline: auto; }
.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; background: rgba(12,12,12,.88); border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(18px); }
.site-header-inner { height: 84px; display: flex; align-items: center; gap: 38px; }
.site-wordmark { width: 58px; height: 64px; flex: none; display: grid; place-items: center; }
.site-wordmark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.site-menu-wordmark { width: 220px; height: 64px; justify-items: start; overflow: hidden; }
.site-menu-wordmark img { width: 100%; object-position: left center; }
.site-eyebrow, .site-section-header .site-eyebrow { color: var(--site-accent); }
.site-navigation { margin-left: auto; }
.site-navigation > nav { display: flex; align-items: stretch; gap: clamp(20px, 2.2vw, 42px); }
.site-navigation > nav a { position: relative; display: grid; min-height: 84px; place-items: center; color: #c8c6c5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .54rem; font-weight: 650; letter-spacing: .06em; }
.site-navigation > nav a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--site-accent); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.site-navigation > nav a:hover, .site-navigation > nav a.is-active { color: var(--site-accent); }
.site-navigation > nav a:hover::after, .site-navigation > nav a.is-active::after { transform: scaleX(1); }
.studio-panel-link { min-width: 106px; min-height: 39px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 2px; background: var(--site-accent); color: #080808; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .53rem; font-weight: 800; letter-spacing: .08em; }
.studio-panel-link:hover { background: #ffe41b; }
.site-menu-toggle, .site-menu-footer { display: none; }
.site-section { padding-top: clamp(135px, 12vw, 210px); padding-bottom: clamp(125px, 11vw, 190px); }
.site-eyebrow { margin: 0 0 20px; font-size: .59rem; font-weight: 750; letter-spacing: .21em; }
.yellow-rule { width: 46px; height: 2px; display: block; background: var(--site-accent); }
.site-section-header { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(70px, 8vw, 120px); }
.site-section-header > div { grid-column: 1 / span 3; }
.site-section-header h1, .site-section-header h2 { grid-column: 4 / span 8; margin: 0; font-size: clamp(3.8rem, 6.8vw, 7.2rem); font-weight: 650; letter-spacing: -.065em; line-height: .9; }
.site-section-header h1 span, .site-section-header h2 span, .master-final-cta h2 span { color: var(--site-accent); }
.site-arrow-link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 22px; border-bottom: 1px solid #575755; font-size: .62rem; font-weight: 700; letter-spacing: .06em; transition: border-color .2s, color .2s; }
.site-arrow-link:hover { border-color: var(--site-accent); color: var(--site-accent); }
.site-footer { padding: 82px 0 72px; border-top: 1px solid var(--site-border); background: #0e0e0e; }
.site-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.site-footer .site-wordmark { margin-bottom: 28px; }
.site-footer p { margin: 0 0 28px; color: #aaa8a5; font-size: .66rem; line-height: 1.65; }
.site-footer small { display: block; color: #44ddc1; font-size: .56rem; letter-spacing: .02em; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 28px; padding-top: 8px; color: #c8c6c5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .52rem; letter-spacing: .04em; }
.site-footer nav a:hover { color: var(--site-text); }
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-photo-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
[data-photo-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .site-shell { width: min(calc(100% - 56px), 1600px); }
  .site-header-inner { gap: 24px; }
  .site-navigation > nav { gap: 19px; }
  .studio-panel-link { padding-inline: 12px; }
}

@media (max-width: 800px) {
  .site-shell { width: min(calc(100% - 40px), 1600px); }
  .site-header-inner { height: 68px; justify-content: space-between; }
  .site-header .site-wordmark { width: 47px; height: 56px; }
  .site-header .site-menu-wordmark { width: 168px; height: 56px; }
  .site-menu-toggle { min-width: 52px; min-height: 44px; display: inline-grid; padding: 0; place-items: center; border: 0; background: transparent; color: var(--site-text); font-size: .58rem; font-weight: 750; letter-spacing: .12em; cursor: pointer; }
  .studio-panel-link { display: none; }
  .site-navigation { position: absolute; z-index: -1; top: 68px; right: 0; left: 0; height: calc(100vh - 68px); display: flex; visibility: hidden; flex-direction: column; margin: 0; padding: 46px 20px 30px; background: #101010; opacity: 0; pointer-events: none; transition: opacity .22s, visibility .22s; }
  .site-navigation.is-open { z-index: 45; visibility: visible; opacity: 1; pointer-events: auto; }
  .site-navigation > nav { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .site-navigation > nav a { min-height: 63px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--site-border); font-size: clamp(1.2rem, 5vw, 1.75rem); font-weight: 550; letter-spacing: -.02em; }
  .site-navigation > nav a::after { right: auto; width: 38px; height: 2px; }
  .site-menu-footer { display: flex; justify-content: space-between; margin-top: auto; color: var(--site-muted); font-size: .61rem; }
  .site-section { padding-top: 105px; padding-bottom: 100px; }
  .site-section-header { display: block; margin-bottom: 60px; }
  .site-section-header h1, .site-section-header h2 { margin-top: 42px; font-size: clamp(3.1rem, 13vw, 5rem); }
  .site-footer { padding-top: 58px; }
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid var(--site-border); }
}

@media (max-width: 430px) {
  .site-shell { width: min(calc(100% - 32px), 1600px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-photo-reveal] { opacity: 1; transform: none; }
}
