:root {
  --black: #05070a;
  --black-2: #0a0d12;
  --black-3: #11151c;
  --ink: #121820;
  --paper: #f4f2ed;
  --paper-2: #e7e2d8;
  --white: #ffffff;
  --muted: #a4abb4;
  --muted-dark: #626974;
  --gold: #c9a45d;
  --gold-light: #ead39a;
  --line: rgba(255,255,255,.13);
  --max: 1240px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: var(--header);
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled { height: 70px; background: rgba(5,7,10,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(201,164,93,.7); clip-path: polygon(50% 0, 94% 18%, 88% 76%, 50% 100%, 12% 76%, 6% 18%); background: rgba(0,0,0,.45); }
.brand-mark span { font-family: Georgia, serif; font-size: 24px; color: var(--gold-light); }
.brand-copy { display: grid; line-height: 1; gap: 6px; }
.brand-copy strong { font-size: 15px; letter-spacing: .25em; }
.brand-copy small { font-size: 9px; letter-spacing: .17em; color: var(--gold-light); }
.nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .08em; }
.nav a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.header-cta { padding: 12px 18px; border: 1px solid rgba(201,164,93,.7); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s; }
.header-cta:hover, .header-cta:focus-visible { background: var(--gold); color: #090b0f; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; background: var(--black); color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: -3%; background-image: url("assets/pantheon-hero.png"); background-size: cover; background-position: center 42%; transform: scale(1.045); animation: heroDrift 15s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,5,8,.96) 0%, rgba(3,5,8,.82) 34%, rgba(3,5,8,.22) 66%, rgba(3,5,8,.38) 100%), linear-gradient(0deg, rgba(3,5,8,.86), transparent 42%); }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,#000,transparent 74%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,93,.17), transparent 66%); left: var(--glow-x, 64%); top: var(--glow-y, 36%); transform: translate(-50%,-50%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(690px, calc(100% - 48px)); margin: 88px max(24px, calc((100vw - var(--max)) / 2)) 145px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #866b3a; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 740px; font-size: clamp(4rem, 7.2vw, 7.2rem); text-shadow: 0 10px 40px rgba(0,0,0,.35); }
h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-copy { max-width: 600px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #090b0f; }
.button-gold:hover, .button-gold:focus-visible { background: var(--gold-light); }
.text-link { font-size: 13px; color: rgba(255,255,255,.76); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; }
.hero-status { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; min-height: 104px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid rgba(255,255,255,.18); }
.hero-status > div { padding: 22px 26px; display: grid; align-content: center; gap: 3px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-status > div:last-child { border-right: 0; }
.hero-status small { color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .16em; }
.hero-status strong { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #53c98d; box-shadow: 0 0 0 5px rgba(83,201,141,.12); position: absolute; }
.hero-status > div:first-child small, .hero-status > div:first-child strong { margin-left: 20px; }
.scroll-cue { position: absolute; z-index: 2; right: 24px; bottom: 132px; margin: 0; color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { display: inline-block; height: 34px; border-left: 1px solid rgba(255,255,255,.3); margin: 0 0 10px 4px; }

.section { position: relative; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 150px 0; }
.section-number { position: absolute; top: 76px; right: 0; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: rgba(17,24,32,.06); }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.intro h2, .standard h2, .engagements h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.intro-copy { padding-top: 35px; color: var(--muted-dark); }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-size: 1.22rem; line-height: 1.6; }
.signature { margin-top: 42px; display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(17,24,32,.14); }
.signature > span { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--ink); font-family: Georgia, serif; font-size: 24px; }
.signature div { display: grid; }
.signature small { color: var(--muted-dark); font-size: 12px; }

.section-dark { background: var(--black-2); color: #fff; padding: 140px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: end; margin-bottom: 64px; }
.section-heading h2, .credentials h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; position: relative; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.035), transparent); transition: background .3s ease, transform .3s ease; }
.service-card:hover { background: linear-gradient(150deg, rgba(201,164,93,.12), rgba(255,255,255,.02)); transform: translateY(-5px); }
.card-index { position: absolute; top: 22px; right: 22px; color: rgba(255,255,255,.23); font-family: Georgia, serif; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 36px 0 42px; border: 1px solid rgba(201,164,93,.6); color: var(--gold-light); font-size: 21px; transform: rotate(45deg); }
.service-icon::first-letter { transform: rotate(-45deg); }
.service-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.service-card p { color: var(--muted); font-size: 14px; }
.service-card ul { margin: 28px 0 0; padding: 0; list-style: none; color: #d8dde4; font-size: 13px; }
.service-card li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.service-card li::before { content: "—"; color: var(--gold); margin-right: 9px; }

.standard { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9vw; align-items: start; }
.standard-copy { position: sticky; top: 120px; }
.standard-copy > p:last-child { max-width: 520px; margin-top: 30px; color: var(--muted-dark); }
.principles { border-top: 1px solid rgba(17,24,32,.18); }
.principle { display: grid; grid-template-columns: 50px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid rgba(17,24,32,.18); }
.principle > span { color: #8a6e3a; font-family: Georgia, serif; }
.principle h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.principle p { margin: 0; color: var(--muted-dark); font-size: 14px; }

.credentials { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.credential-panel > p:not(.eyebrow) { color: var(--muted); max-width: 540px; }
.verification-note { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: 13px; }
.credential-list { border-top: 1px solid var(--line); }
.credential-list > div { display: grid; grid-template-columns: 44px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.credential-list span { grid-row: 1 / 3; color: var(--gold); font-family: Georgia, serif; }
.credential-list strong { font-family: Georgia, serif; font-weight: 400; font-size: 1.25rem; }
.credential-list small { color: var(--muted); }

.engagements { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; }
.engagement-flow { border-top: 1px solid rgba(17,24,32,.18); }
.flow-step { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid rgba(17,24,32,.18); }
.flow-step > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #a88a51; color: #7d6333; font-size: 12px; }
.flow-step strong { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.flow-step p { margin: 5px 0 0; color: var(--muted-dark); font-size: 14px; }

.contact { min-height: 600px; position: relative; display: grid; place-items: center; padding: 110px 24px; overflow: hidden; background: #06080b; color: #fff; text-align: center; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(201,164,93,.22); border-radius: 50%; }
.contact::after { content: ""; position: absolute; width: 760px; height: 760px; border: 1px solid rgba(201,164,93,.1); border-radius: 50%; }
.contact-lines { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.25) 50%, transparent 50.1%), linear-gradient(0deg, transparent 49.9%, rgba(255,255,255,.2) 50%, transparent 50.1%); }
.contact-content { position: relative; z-index: 2; max-width: 890px; display: grid; justify-items: center; }
.contact h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.contact p:not(.eyebrow) { max-width: 600px; color: var(--muted); margin: 28px auto; }
.button.large { min-height: 60px; padding: 0 30px; }
.contact small { margin-top: 18px; color: rgba(255,255,255,.48); }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 30px; padding: 40px max(24px, calc((100vw - var(--max)) / 2)); background: #030406; color: rgba(255,255,255,.43); border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.footer-brand { color: #fff; }
.mobile-contact { display: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes heroDrift { from { transform: scale(1.045) translate3d(0,0,0); } to { transform: scale(1.085) translate3d(-1.2%, -.6%,0); } }

@media (max-width: 980px) {
  .nav { display: none; }
  .intro, .standard, .credentials, .engagements { grid-template-columns: 1fr; gap: 56px; }
  .standard-copy { position: static; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 680px) {
  :root { --header: 70px; }
  .site-header { padding: 0 18px; }
  .brand-mark { width: 35px; height: 40px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 8px; }
  .header-cta { display: none; }
  .hero { min-height: 860px; align-items: end; }
  .hero-image { inset: 0; background-position: 63% center; animation-duration: 18s; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,5,8,.99) 0%, rgba(3,5,8,.9) 42%, rgba(3,5,8,.12) 78%), linear-gradient(90deg, rgba(3,5,8,.65), transparent); }
  .hero-grid { background-size: 48px 48px; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 218px; }
  h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .text-link { align-self: flex-start; }
  .hero-status { margin: 0 18px; grid-template-columns: 1fr; min-height: 175px; }
  .hero-status > div { min-height: 54px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-status > div:last-child { border-bottom: 0; }
  .scroll-cue { display: none; }
  .section { width: calc(100% - 36px); padding: 100px 0; }
  .section-number { top: 42px; font-size: 4rem; }
  .intro-copy { padding-top: 0; }
  .section-dark { padding: 96px 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px 24px 32px; }
  .service-icon { margin: 24px 0 30px; }
  .contact { min-height: 640px; }
  .contact h2 { font-size: 3.2rem; }
  footer { padding-bottom: 105px; }
  .mobile-contact { position: fixed; z-index: 40; display: flex; justify-content: space-between; align-items: center; bottom: 14px; left: 14px; right: 14px; min-height: 58px; padding: 0 20px; background: var(--gold); color: #07090c; box-shadow: 0 14px 35px rgba(0,0,0,.35); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
}

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