:root {
  --ink: #10202a;
  --navy: #082f45;
  --navy-deep: #052433;
  --gold: #d9b451;
  --paper: #f3f0e8;
  --white: #fffdf8;
  --line: rgba(16, 32, 42, 0.18);
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.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-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 86px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 2rem; padding: 0 clamp(1.25rem, 4vw, 4.5rem); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.15); transition: background .3s ease, height .3s ease; }
.site-header.scrolled { height: 70px; background: rgba(5,36,51,.96); backdrop-filter: blur(14px); }
.brand { width: 170px; background: var(--white); padding: 5px 10px; text-decoration: none; }
.brand img { width: 100%; }
.site-nav { justify-self: center; display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.site-nav a { position: relative; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--gold); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta { display: flex; align-items: center; gap: .75rem; color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.header-cta svg, .button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-button { display: none; }

.hero { position: relative; min-height: 800px; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 28vw); align-items: end; gap: 5vw; padding: 10rem clamp(1.25rem, 7vw, 8rem) 7vh; color: var(--white); background: radial-gradient(circle at 78% 18%, #174f69 0, transparent 34%), linear-gradient(125deg, var(--navy) 0 52%, var(--navy-deep) 52%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hero-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 45%); }
.hero-structure { position: absolute; top: 12%; right: -5%; width: min(53vw, 820px); height: 66%; opacity: .2; }
.hero-structure svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem; color: rgba(255,255,255,.65); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { color: var(--gold); }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #5f6a70; }
.hero h1, .section h2 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 { max-width: 820px; font-size: clamp(4.3rem, 8.3vw, 9rem); line-height: .78; }
.hero h1 em, .section h2 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 670px; margin: 2rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2.2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 54px; padding: .85rem 1.4rem; border: 1px solid transparent; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-gold { background: var(--gold); color: var(--ink); }
.text-link { padding: .5rem 0; color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.35); }
.text-link span { margin-left: .5rem; color: var(--gold); }
.hero-note { position: relative; z-index: 2; align-self: center; border-left: 1px solid rgba(255,255,255,.25); padding: 1.4rem 0 1.4rem 2rem; }
.note-number { color: var(--gold); font-family: var(--display); font-size: 1rem; letter-spacing: .15em; }
.hero-note p { margin: .8rem 0 0; font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2.3rem); font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.hero-stamp { position: absolute; z-index: 2; right: 4vw; bottom: 4vh; width: 120px; animation: rotate 25s linear infinite; }
.hero-stamp text { fill: rgba(255,255,255,.7); font-family: var(--body); font-size: 8.2px; font-weight: 700; letter-spacing: 1.35px; }
.stamp-mark { fill: none; stroke: var(--gold); stroke-width: 1; }
@keyframes rotate { to { transform: rotate(360deg); } }

.standards { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 3rem; min-height: 150px; padding: 2rem clamp(1.25rem, 7vw, 8rem); background: var(--white); border-bottom: 1px solid var(--line); }
.standards > p { margin: 0; color: #778087; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.standard-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.standard-list div { display: flex; align-items: center; gap: 1rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.standard-list img { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.standard-list span { color: #5d676d; font-size: .75rem; font-weight: 600; line-height: 1.5; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section-label { display: flex; align-items: center; gap: 1rem; color: #6d767c; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-label span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-size: .9rem; }
.section-label.light { color: rgba(255,255,255,.55); }
.section-label.light span { color: var(--gold); border-color: rgba(255,255,255,.2); }
.section h2 { font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .85; }

.about { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(400px, 1.35fr) minmax(280px, .8fr); gap: 3rem 4vw; background: var(--paper); }
.about-heading { grid-column: 2 / -1; }
.about-copy { grid-column: 2; max-width: 700px; color: #4d5a61; font-size: 1.03rem; line-height: 1.85; }
.about-copy p:first-child { margin-top: 0; color: var(--ink); font-size: 1.22rem; font-weight: 600; }
.metrics { grid-column: 3; display: grid; }
.metrics article { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.metrics strong { color: var(--navy); font-family: var(--display); font-size: 2.8rem; line-height: 1; }
.metrics span { color: #687278; font-size: .72rem; line-height: 1.5; }
.manifesto { grid-column: 1 / -1; position: relative; margin: 4rem 0 0; padding: 3rem 8vw; border: 1px solid var(--line); color: var(--navy); font-family: var(--display); font-size: clamp(2rem, 4vw, 4.3rem); font-weight: 600; line-height: 1.05; text-align: center; text-transform: uppercase; }
.manifesto > span { position: absolute; top: -1.7rem; left: 3vw; color: var(--gold); font-size: 5rem; background: var(--paper); padding: 0 1rem; }

.services { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(500px, 1.4fr); gap: 6vw; color: var(--white); background: var(--navy-deep); }
.services-intro { position: sticky; top: 120px; align-self: start; }
.services-intro .eyebrow { margin-top: 3rem; }
.services-intro h2 { font-size: clamp(3.8rem, 6vw, 6.5rem); }
.services-intro > p:last-child { max-width: 420px; color: rgba(255,255,255,.65); line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1px; background: rgba(255,255,255,.16); }
.service-card { min-height: 360px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.7rem); background: #0b3a50; transition: background .25s ease; }
.service-card:hover { background: #10475f; }
.service-card.featured { grid-column: 1 / -1; min-height: 450px; background: var(--white); color: var(--ink); }
.service-top { display: flex; justify-content: space-between; margin-bottom: auto; color: var(--gold); font-family: var(--display); font-size: .9rem; font-weight: 700; letter-spacing: .15em; }
.service-card.featured .service-top { color: var(--navy); }
.service-card h3 { max-width: 650px; margin: 3rem 0 1rem; font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.service-card p, .service-card li { color: rgba(255,255,255,.66); font-size: .83rem; line-height: 1.65; }
.service-card.featured p, .service-card.featured li { color: #5d676d; }
.service-card ul { columns: 2; gap: 2rem; padding-left: 1rem; }
.service-card a:not(.button) { display: flex; justify-content: space-between; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.service-card.featured a:not(.button) { color: var(--navy); border-color: var(--line); }
.service-card a span { color: var(--gold); font-size: 1.1rem; }
.service-cta { justify-content: flex-end; background: var(--gold); color: var(--ink); }
.service-cta:hover { background: #e4c66f; }
.service-cta p { color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.service-cta h3 { margin-top: 1rem; }
.button-outline { align-self: flex-start; border-color: var(--ink); color: var(--ink); }

.process { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(420px, 1fr); gap: 8vw; background: var(--white); }
.process-heading .eyebrow { margin-top: 4rem; }
.process-heading h2 { font-size: clamp(4rem, 6vw, 6.5rem); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--gold); font-family: var(--display); font-weight: 700; }
.process-list h3 { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 600; text-transform: uppercase; }
.process-list p { max-width: 460px; margin: .6rem 0 0; color: #637077; font-size: .85rem; line-height: 1.7; }

.clients { background: var(--paper); border-top: 1px solid var(--line); }
.clients h2 { max-width: 1000px; }
.client-logos { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 1px; margin-top: 5rem; background: var(--line); border: 1px solid var(--line); }
.client-logos img { width: 100%; height: 180px; padding: 2.5rem; object-fit: contain; background: var(--white); filter: grayscale(1); transition: filter .25s ease; }
.client-logos img:hover { filter: grayscale(0); }

.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 5rem; min-height: 560px; color: var(--white); background: var(--navy); }
.contact-mark { position: absolute; right: -2vw; bottom: -14vw; color: rgba(255,255,255,.035); font-family: var(--display); font-size: 45vw; font-weight: 800; line-height: .7; }
.contact-copy, .contact-actions { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(4rem, 7vw, 7.5rem); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.contact-actions > a:last-child { color: rgba(255,255,255,.72); font-size: .9rem; text-underline-offset: .4rem; }

.site-footer { min-height: 160px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 3rem; padding: 2rem clamp(1.25rem, 7vw, 8rem); background: #041b27; color: rgba(255,255,255,.5); font-size: .72rem; }
.site-footer img { width: 170px; padding: 5px 10px; background: var(--white); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 180px 1fr auto; }
  .site-nav { gap: 1.2rem; }
  .header-cta { display: none; }
  .about { grid-template-columns: 150px 1fr; }
  .about-heading { grid-column: 2; }
  .about-copy { grid-column: 2; }
  .metrics { grid-column: 2; }
  .services { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .process { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; grid-template-columns: 1fr auto; padding-inline: 1rem; background: rgba(5,36,51,.92); }
  .brand { width: 148px; }
  .menu-button { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 1px; background: var(--white); transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 70px 0 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; background: var(--navy-deep); transform: translateX(100%); transition: transform .3s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-family: var(--display); font-size: 2.2rem; }
  .hero { min-height: 760px; height: auto; grid-template-columns: 1fr; align-content: end; padding: 9rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-lead { font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-note { display: none; }
  .hero-stamp { width: 90px; right: 1rem; bottom: 1rem; }
  .hero-structure { width: 100%; height: 45%; top: 12%; right: -20%; }
  .standards { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem; }
  .standard-list { grid-template-columns: 1fr; }
  .standard-list div { padding: 1rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 5rem; }
  .section h2 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .about { grid-template-columns: 1fr; }
  .about-heading, .about-copy, .metrics { grid-column: 1; }
  .about-heading { margin-top: 1rem; }
  .metrics article { grid-template-columns: 76px 1fr; }
  .manifesto { padding: 3rem 1rem; font-size: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: 1; }
  .service-card { min-height: 330px; }
  .service-card ul { columns: 1; }
  .process-list li { grid-template-columns: 45px 1fr; }
  .client-logos { grid-template-columns: 1fr; margin-top: 3rem; }
  .client-logos img { height: 140px; }
  .contact { grid-template-columns: 1fr; gap: 3rem; min-height: 650px; }
  .contact-actions .button { width: 100%; font-size: .68rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding-block: 3rem; }
}

@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; }
}
