:root {
  --bg: #090908;
  --bg-soft: #0f0f0d;
  --panel: #131310;
  --panel-2: #181814;
  --text: #f4f0e8;
  --muted: #a6a29a;
  --line: rgba(255,255,255,.10);
  --line-gold: rgba(215,180,106,.28);
  --gold: #d7b46a;
  --gold-bright: #f0d9a5;
  --gold-deep: #9f7b3d;
  --max: 1240px;
  --header: 56px;
  --ratio: 1.618;
  --ease: cubic-bezier(.22,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 80% -8%, rgba(197,154,76,.09), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
::selection { background: rgba(215,180,106,.32); color: #fff; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled,
.site-header.menu-active {
  background: rgba(8,8,7,.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.brand-mark { color: var(--gold); font-size: 9px; letter-spacing: .08em; }
.desktop-nav { display: flex; gap: 28px; align-items: center; }
.desktop-nav a,
.nav-contact {
  color: #cbc7bd;
  font-size: 12px;
  letter-spacing: .06em;
  transition: color .2s ease;
}
.desktop-nav a:hover, .nav-contact:hover { color: #fff; }
.nav-contact { justify-self: end; display: inline-flex; align-items: center; gap: 9px; }
.nav-contact .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(215,180,106,.75); }
.menu-toggle { display: none; background: none; color: white; border: 0; padding: 8px 0 8px 12px; }
.menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.menu-active .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-active .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero-media,
.hero-shade,
.hero-grid { position: absolute; inset: 0; z-index: -3; }
.hero-media {
  background-image: url('../images/hero-golden1618.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  will-change: transform;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,7,6,.84) 0%, rgba(7,7,6,.62) 30%, rgba(7,7,6,.15) 60%, rgba(7,7,6,.12) 100%),
    linear-gradient(180deg, rgba(8,8,7,.35) 0%, rgba(8,8,7,.08) 45%, rgba(8,8,7,.88) 100%);
}
.hero-grid {
  z-index: -1;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to right, #000, transparent 62%);
}
.hero-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: calc(var(--header) + 110px) 0 74px;
}
.hero-copy { max-width: 780px; }
.eyebrow {
  margin: 0 0 24px;
  color: #c8b893;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(56px, 8vw, 118px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 430;
  max-width: 970px;
}
h1 .accent { color: var(--gold-bright); }
.hero-lede {
  max-width: 660px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  color: #c9c5bb;
  letter-spacing: -.015em;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .07em;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.38); }
.button.primary { color: #11100d; border-color: var(--gold-bright); background: var(--gold-bright); }
.button.primary:hover { background: #fae8bd; }
.button.ghost { background: rgba(0,0,0,.14); backdrop-filter: blur(10px); }
.hero-meta {
  margin-top: 72px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  color: #8e8a82;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta i { width: 3px; height: 3px; background: #726955; border-radius: 50%; }

.section { padding: 130px 0; position: relative; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section-kicker { color: var(--gold); font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 24px; }
.section-title {
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 430;
  max-width: 980px;
  margin-bottom: 28px;
}
.section-intro { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.68; }

.ratio-section { overflow: hidden; }
.ratio-layout {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 8vw;
  align-items: center;
}
.ratio-visual {
  position: relative;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e0c;
}
.ratio-visual img { width: 100%; height: 100%; object-fit: cover; }
.ratio-visual::after { content:''; position:absolute; inset:0; border:1px solid rgba(215,180,106,.08); pointer-events:none; }
.ratio-number { font-size: clamp(58px, 8vw, 120px); letter-spacing: -.075em; font-weight: 350; line-height: .9; margin-bottom: 24px; }
.ratio-number sup { color: var(--gold); font-size: .22em; letter-spacing: .06em; vertical-align: top; top: .35em; position: relative; }
.ratio-copy p { color: var(--muted); line-height: 1.75; font-size: 16px; }
.fine-rule { height: 1px; background: linear-gradient(90deg, var(--gold), rgba(215,180,106,0)); margin: 32px 0; }

.capabilities { background: #0b0b0a; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap-card { min-height: 320px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: rgba(255,255,255,.008); transition: background .35s ease; }
.cap-card:hover { background: rgba(215,180,106,.035); }
.cap-num { color: #746f65; font-size: 10px; letter-spacing: .16em; margin-bottom: 70px; }
.cap-card h3 { font-weight: 450; font-size: 28px; letter-spacing: -.035em; margin-bottom: 14px; }
.cap-card p { color: var(--muted); max-width: 460px; line-height: 1.7; font-size: 15px; }
.cap-arrow { position: absolute; right: 34px; top: 34px; color: #766b50; font-size: 18px; transition: transform .3s var(--ease), color .3s ease; }
.cap-card:hover .cap-arrow { transform: translate(3px,-3px); color: var(--gold-bright); }

.media-split { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 720px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.media-panel { position: relative; overflow: hidden; min-height: 560px; }
.media-panel img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; transition: transform 1s var(--ease); }
.media-split:hover .media-panel img { transform: scale(1.025); }
.media-panel::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, transparent 50%, rgba(9,9,8,.24)); }
.content-panel { display:flex; flex-direction:column; justify-content:center; padding: clamp(54px, 7vw, 110px); background: #0d0d0b; }
.content-panel h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; font-weight: 430; letter-spacing: -.052em; }
.content-panel p { color: var(--muted); line-height: 1.74; font-size: 17px; max-width: 520px; }
.inline-link { margin-top: 22px; display:inline-flex; align-items:center; gap:10px; color:#e9e4da; font-size:12px; letter-spacing:.08em; width: fit-content; border-bottom:1px solid var(--line-gold); padding-bottom:7px; }

.approach { overflow: hidden; }
.approach-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border:1px solid var(--line); margin-top: 64px; }
.step { background: var(--bg); padding: 42px; min-height: 330px; }
.step-index { color: var(--gold); font-size:10px; letter-spacing:.18em; margin-bottom:86px; }
.step h3 { font-size: 26px; letter-spacing:-.035em; font-weight:450; }
.step p { color:var(--muted); line-height:1.72; font-size:15px; }

.manifesto {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-bg { position:absolute; inset:0; background:url('../images/transformation.webp') center/cover no-repeat; }
.manifesto-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(8,8,7,.95) 0%, rgba(8,8,7,.83) 40%, rgba(8,8,7,.28) 100%), linear-gradient(0deg, rgba(8,8,7,.78), transparent 44%); }
.manifesto .container { position:relative; z-index:2; }
.manifesto-copy { max-width:720px; }
.manifesto-copy h2 { font-size:clamp(48px,6vw,88px); line-height:.98; letter-spacing:-.06em; font-weight:420; }
.manifesto-copy p { max-width:600px; color:#c7c1b5; font-size:18px; line-height:1.7; }

.principles { display:grid; grid-template-columns: 1fr 1.618fr; gap:8vw; align-items:start; }
.principles-title { position: sticky; top: 100px; }
.principle-list { border-top:1px solid var(--line); }
.principle { display:grid; grid-template-columns:50px 1fr; gap:20px; padding:34px 0; border-bottom:1px solid var(--line); }
.principle span { color:#777168; font-size:11px; }
.principle h3 { font-size:24px; font-weight:450; letter-spacing:-.03em; margin-bottom:10px; }
.principle p { color:var(--muted); line-height:1.68; margin:0; }

.cta { padding: 140px 0; position:relative; overflow:hidden; }
.cta::before { content:''; position:absolute; inset:0; background:url('../images/golden-ratio-bg.webp') center/cover no-repeat; opacity:.34; }
.cta::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,8,7,.96), rgba(8,8,7,.56)); }
.cta .container { position:relative; z-index:2; }
.cta h2 { font-size:clamp(54px,7vw,102px); line-height:.94; letter-spacing:-.065em; font-weight:420; max-width:920px; }
.cta p { color:#c7c2b7; font-size:18px; line-height:1.65; max-width:650px; }

.site-footer { border-top:1px solid var(--line); background:#070706; }
.footer-main { width:min(calc(100% - 40px), var(--max)); margin:0 auto; padding:68px 0 44px; display:grid; grid-template-columns:1.618fr 1fr 1fr; gap:60px; }
.footer-brand .brand { margin-bottom:20px; }
.footer-brand p { color:#7f7a71; font-size:13px; line-height:1.7; max-width:360px; }
.footer-col h4 { font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:#6f695f; margin:0 0 18px; }
.footer-col a { display:block; width:fit-content; color:#aaa59b; font-size:13px; margin:0 0 12px; }
.footer-col a:hover { color:#fff; }
.footer-bottom { width:min(calc(100% - 40px), var(--max)); margin:0 auto; min-height:58px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; color:#625e56; font-size:10px; letter-spacing:.09em; text-transform:uppercase; }

.page-hero { padding: calc(var(--header) + 130px) 0 100px; min-height: 520px; display:flex; align-items:flex-end; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.page-hero::before { content:''; position:absolute; inset:0; background:url('../images/golden-network.webp') 70% 42%/cover no-repeat; opacity:.32; }
.page-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,8,7,.97), rgba(8,8,7,.36)); }
.page-hero .container { position:relative; z-index:2; }
.page-hero h1 { font-size:clamp(56px,8vw,105px); max-width:1000px; }
.page-hero p { color:#bbb6ab; max-width:700px; font-size:18px; line-height:1.7; }
.service-list { border-top:1px solid var(--line); }
.service-row { display:grid; grid-template-columns:90px 1fr 1fr; gap:40px; padding:42px 0; border-bottom:1px solid var(--line); align-items:start; }
.service-row .index { color:var(--gold); font-size:11px; letter-spacing:.15em; }
.service-row h3 { font-size:30px; letter-spacing:-.04em; font-weight:450; }
.service-row p { color:var(--muted); line-height:1.7; margin:0; }

.contact-shell { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.contact-form { display:grid; gap:16px; }
.field { display:grid; gap:8px; }
.field label { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#807a70; }
.field input, .field textarea { width:100%; border:1px solid var(--line); background:#0d0d0b; color:#f3efe7; padding:15px 16px; outline:none; transition:border-color .2s ease; }
.field input:focus, .field textarea:focus { border-color:rgba(215,180,106,.6); }
.field textarea { min-height:150px; resize:vertical; }
.form-note { color:#706c64; font-size:12px; line-height:1.6; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 900px) {
  .nav-shell { grid-template-columns:1fr auto; }
  .desktop-nav, .nav-contact { display:none; }
  .menu-toggle { display:block; justify-self:end; cursor:pointer; }
  .mobile-menu { display:block; position:fixed; inset:var(--header) 0 0 0; z-index:90; background:rgba(7,7,6,.98); transform:translateY(-12px); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease; padding:48px 20px; }
  .menu-active + .mobile-menu, .mobile-menu.open { opacity:1; transform:none; pointer-events:auto; }
  .mobile-menu a { display:block; font-size:34px; letter-spacing:-.04em; padding:15px 0; border-bottom:1px solid var(--line); }
  .ratio-layout, .media-split, .principles, .contact-shell { grid-template-columns:1fr; }
  .capability-grid { grid-template-columns:1fr; }
  .approach-grid { grid-template-columns:1fr; }
  .media-panel { min-height:500px; }
  .principles-title { position:static; }
  .footer-main { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .service-row { grid-template-columns:45px 1fr; }
  .service-row p { grid-column:2; }
}

@media (max-width: 620px) {
  :root { --header: 52px; }
  .nav-shell, .container, .hero-inner, .footer-main, .footer-bottom { width:min(calc(100% - 28px), var(--max)); }
  .brand { letter-spacing:.16em; }
  .hero-inner { padding-bottom:42px; }
  h1 { font-size:clamp(50px,16vw,76px); }
  .hero-shade { background:linear-gradient(90deg, rgba(7,7,6,.9), rgba(7,7,6,.45)), linear-gradient(180deg, rgba(8,8,7,.3), rgba(8,8,7,.9)); }
  .hero-media { background-position:61% center; }
  .hero-meta { margin-top:48px; gap:16px 22px; }
  .section { padding:88px 0; }
  .ratio-layout { gap:54px; }
  .cap-card { padding:28px; min-height:270px; }
  .cap-num { margin-bottom:52px; }
  .content-panel { padding:58px 24px; }
  .media-panel { min-height:420px; }
  .step { padding:30px; min-height:280px; }
  .step-index { margin-bottom:60px; }
  .manifesto { min-height:650px; }
  .cta { padding:100px 0; }
  .footer-main { grid-template-columns:1fr; gap:34px; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { align-items:flex-start; flex-direction:column; justify-content:center; padding:18px 0; }
  .service-row { grid-template-columns:1fr; gap:12px; }
  .service-row p { grid-column:auto; }
}

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