:root {
  --navy: #02032f;
  --navy-soft: #111942;
  --gold: #c8a875;
  --gold-light: #dabb87;
  --sky: #96c7dd;
  --white: #f8f7f3;
  --max: 1180px;
  --progress: 0%;
  --nav-tilt: 0deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--navy); }
body { margin: 0; overflow-x: hidden; background: var(--navy); color: var(--white); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; background: var(--gold); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 180; top: 0; left: 0; width: 100%; height: 2px; }
.scroll-progress span { display: block; width: var(--progress); height: 100%; background: var(--gold-light); box-shadow: 0 0 12px var(--gold); }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 50%; width: min(var(--max), calc(100% - 72px)); height: 92px;
  display: flex; align-items: center; justify-content: space-between; color: var(--navy);
  transform: translateX(-50%) perspective(900px) rotateX(var(--nav-tilt)); transform-origin: top center;
  transition: width .35s ease, height .35s ease, color .35s ease, background .35s ease, box-shadow .35s ease;
}
.site-header::after { content: ""; position: absolute; left: 205px; right: 0; bottom: 20px; height: 1px; background: rgba(3,5,47,.16); }
.site-header.is-scrolled { width: 100%; height: 66px; padding: 0 max(36px, calc((100% - var(--max))/2)); color: var(--white); background: rgba(2,3,47,.9); box-shadow: 0 14px 45px rgba(0,0,20,.22); backdrop-filter: blur(18px); }
.site-header.is-scrolled::after { display: none; }
.brand { position: relative; display: flex; flex-direction: column; align-items: center; width: 150px; color: inherit; line-height: 1; }
.brand-peaks { height: 20px; color: var(--gold); font: 700 24px/.65 Georgia, serif; letter-spacing: -.28em; transform: translateX(-3px) scaleX(1.35); }
.brand-copy { display: flex; flex-direction: column; align-items: center; }
.brand-copy b { font: 500 34px/.9 Georgia, serif; letter-spacing: .04em; }
.brand-copy small { margin-top: 5px; font-size: 8px; letter-spacing: .23em; }
.top-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); padding-bottom: 20px; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-header.is-scrolled .top-nav { padding-bottom: 0; }
.top-nav a { position: relative; padding: 8px 0;  font-size: 1.4em;}
.top-nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease, left .25s ease; }
.top-nav a:hover::after, .top-nav a:focus-visible::after { left: 0; width: 100%; }

.hero { position: relative; min-height: 980px; overflow: hidden; color: var(--navy); isolation: isolate; }
.hero-image { position: absolute; z-index: -3; inset: -40px 0 0; width: 100%; height: calc(100% + 80px); object-fit: cover; object-position: center 48%; transform: translate3d(0, var(--image-shift, 0), 0) scale(1.04); will-change: transform; }
.hero-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(167,210,228,.55) 0%, rgba(218,231,231,.66) 25%, rgba(41,65,97,.2) 50%, rgba(2,3,47,.88) 72%, var(--navy) 100%); }
.hero-content { width: min(var(--max), calc(100% - 116px)); margin: 0 auto; padding-top: 250px; }
.hero-content h1 { margin: 0; color: #654b32; font-family: "Arial Narrow", Impact, Arial, sans-serif; font-size: clamp(42px, 4.5vw, 68px); font-weight: 700; line-height: .86; letter-spacing: -.025em; text-transform: uppercase; }
.hero-content p { max-width: 650px; margin: 28px 0 24px; color: #11153b; font-size: 15px; line-height: 1.65; }
.gold-button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 7px; background: var(--gold); color: var(--navy); font-family: "Arial Narrow", Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(56,43,28,.14); transition: transform .25s ease, background .25s ease; }
.gold-button:hover, .gold-button:focus-visible { transform: translateY(-3px) translateZ(12px); background: var(--gold-light); }
.area-panel { position: absolute; inset: auto 0 0; min-height: 455px; color: var(--gold); }
.section-shell { width: min(var(--max), calc(100% - 116px)); margin: 0 auto; }
.area-title, .articles-title { margin: 0; font-family: "Arial Narrow", Impact, Arial, sans-serif; font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; text-align: center; text-transform: uppercase; }
.area-title { padding-top: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; margin-top: 72px; perspective: 1000px; }
.service-item { position: relative; transform-style: preserve-3d; transition: transform .2s ease; }
.service-index { display: block; margin-bottom: 8px; color: rgba(218,187,135,.36); font: 400 9px Georgia, serif; letter-spacing: .14em; }
.service-item h3 { min-height: 58px; margin: 0 0 20px; font-family: "Arial Narrow", Impact, Arial, sans-serif; font-size: clamp(22px, 2.1vw, 31px); line-height: .9; text-transform: uppercase; }
.service-item p { margin: 0; color: rgba(218,187,135,.84); font-size: 11px; line-height: 1.35; }

.about-section { position: relative; min-height: 500px; overflow: visible; background: var(--gold); color: var(--white); }
.about-shell { position: relative; width: min(var(--max), calc(100% - 116px)); min-height: 500px; margin: 0 auto; }
.about-copy { width: 62%; padding-top: 75px; }
.about-copy h2 { margin: 0 0 25px; font: 400 clamp(30px, 3vw, 44px)/1 Georgia, serif; letter-spacing: .015em; text-transform: uppercase; }
.about-copy h3 { margin: 0; font: 400 clamp(24px, 2.5vw, 38px)/1 Georgia, serif; text-transform: uppercase; }
.about-copy p { max-width: 700px; margin: 45px 0 32px; font-size: 14px; line-height: 1.35; text-transform: uppercase; }
.about-actions { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.about-actions a { margin-right: auto; }
.portrait-wrap { position: absolute; z-index: 3; right: 0; top: -128px; width: 40%; height: 628px; transform: translate3d(0, var(--anti-y, 0), 0); will-change: transform; pointer-events: none; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.articles-section { min-height: 790px; padding: 105px 0 110px; background: var(--navy); color: var(--gold); }
.articles-title { margin-bottom: 70px; }
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 70px 55px; }
.article-item { position: relative; min-height: 150px; padding-right: 8px; }
.article-icon { display: block; margin-bottom: 22px; color: var(--gold); font-size: 42px; font-weight: 300; line-height: .7; }
.article-item a { font-family: "Arial Narrow", Arial, sans-serif; font-size: 15px; font-weight: 800; line-height: 1.55; text-transform: uppercase; transition: color .2s ease; }
.article-item a:hover { color: var(--white); }
.article-item small { position: absolute; right: 6px; top: 0; color: rgba(200,168,117,.28); font: 400 9px Georgia, serif; }

.future-section { position: relative; min-height: 395px; overflow: hidden; }
.future-section > img { position: absolute; inset: -45px 0; width: 100%; height: calc(100% + 90px); object-fit: cover; object-position: center 55%; transform: translate3d(0, var(--image-shift, 0), 0) scale(1.03); will-change: transform; }
.future-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent 60%); }
.future-copy { position: absolute; z-index: 2; left: max(58px, calc((100% - var(--max))/2)); top: 56%; padding: 14px 18px; background: rgba(218,187,135,.93); color: var(--navy); font-family: "Arial Narrow", Arial, sans-serif; font-size: 16px; line-height: 1.35; text-transform: uppercase; box-shadow: 0 15px 40px rgba(2,3,47,.12); }

.site-footer { min-height: 180px; display: grid; grid-template-columns: 180px 1fr auto auto; align-items: center; gap: 38px; padding: 28px max(58px, calc((100% - var(--max))/2)); background: var(--navy); color: var(--gold); }
.footer-brand { transform: scale(.72); transform-origin: left center; }
.site-footer p { margin: 0; font-size: 10px; line-height: 1.45; text-transform: uppercase; }
.footer-social { display: flex; gap: 20px; font-size: 14px; font-weight: 700; }
.to-top { font: 400 50px/1 Georgia, serif; transition: transform .25s ease; }
.to-top:hover { transform: translateY(-5px); }

.reveal { opacity: 0; transform: perspective(900px) translate3d(0, 35px, -30px) rotateX(3deg); transform-origin: center bottom; transition: opacity .7s ease, transform .85s cubic-bezier(.18,.75,.22,1); }
.reveal.is-visible { opacity: 1; transform: perspective(900px) translate3d(0,0,0) rotateX(0); }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 50px); }
  .site-header::after { left: 165px; }
  .brand { width: 125px; }
  .brand-copy b { font-size: 28px; }
  .top-nav { gap: 16px; font-size: 9px; }
  .service-grid { gap: 24px; }
  .about-copy { width: 60%; }
  .about-copy p { font-size: 12px; }
  .articles-grid { gap: 55px 35px; }
  .article-item a { font-size: 13px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 64px; }
  .site-header, .site-header.is-scrolled { width: 100%; height: 64px; padding: 0 18px; background: rgba(2,3,47,.9); color: var(--white); transform: none; }
  .site-header::after { display: none; }
  .brand { width: 110px; align-items: flex-start; }
  .brand-peaks { display: none; }
  .brand-copy { align-items: flex-start; }
  .brand-copy b { font-size: 24px; }
  .brand-copy small { font-size: 6px; }
  .top-nav { justify-content: flex-start; gap: 18px; width: calc(100% - 125px); padding: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .hero { min-height: 1160px; }
  .hero-content { width: calc(100% - 36px); padding-top: 160px; }
  .hero-content h1 { font-size: 46px; }
  .hero-content p { font-size: 13px; }
  .area-panel { min-height: 650px; }
  .section-shell { width: calc(100% - 36px); }
  .area-title { font-size: 36px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 24px; margin-top: 55px; }
  .service-item h3 { min-height: 42px; font-size: 22px; }
  .service-item p { font-size: 10px; }
  .about-section, .about-shell { min-height: 700px; }
  .about-shell { width: 100%; }
  .about-copy { position: relative; z-index: 4; width: 100%; padding: 52px 20px 0; }
  .about-copy h2 { font-size: 30px; }
  .about-copy h3 { max-width: 80%; font-size: 24px; }
  .about-copy p { width: 64%; margin-top: 30px; font-size: 10px; }
  .about-actions { width: 55%; }
  .portrait-wrap { right: -20%; top: 92px; width: 76%; height: 608px; opacity: .9; }
  .articles-section { padding: 75px 0; }
  .articles-title { margin-bottom: 55px; font-size: 38px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 28px; }
  .article-item { min-height: 175px; }
  .article-item a { font-size: 12px; }
  .future-section { min-height: 340px; }
  .future-copy { left: 20px; top: 58%; font-size: 13px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 22px; min-height: 220px; padding: 32px 20px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .footer-social { display: none; }
  .to-top { grid-column: 2; grid-row: 1; }
}

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