:root {
  --ink: #07111f;
  --ink-soft: #0c1a2a;
  --paper: #f4f4f1;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #5f6873;
  --accent: #e86832;
  --accent-2: #f29a62;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 10vw, 9rem);
}

* { 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.6;
  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; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -6rem; z-index: 1000;
  padding: .8rem 1rem; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.shell { width: min(100%, calc(var(--max) + 2 * var(--pad))); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { margin: 0 0 1.25rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; max-width: 13ch; font-size: clamp(3.1rem, 8vw, 7.9rem); font-weight: 560; letter-spacing: -.065em; line-height: .9; }
.h1-inner { margin: 0; max-width: 12ch; font-size: clamp(3rem, 7vw, 6.7rem); font-weight: 560; letter-spacing: -.06em; line-height: .94; }
.h2 { margin: 0; max-width: 14ch; font-size: clamp(2.25rem, 5vw, 4.8rem); font-weight: 560; letter-spacing: -.05em; line-height: 1; }
.h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.lead { max-width: 690px; margin: 1.75rem 0 0; color: #d7dee7; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55; }
.intro { max-width: 760px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.muted { color: var(--muted); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 84px;
  color: var(--white); border-bottom: 1px solid transparent;
  transition: background .25s ease, height .25s ease, border-color .25s ease;
}
.site-header.scrolled, .site-header.inner-header { height: 72px; background: rgba(7,17,31,.96); border-color: var(--line-dark); backdrop-filter: blur(18px); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.42); color: var(--accent-2); font-size: .72rem; font-weight: 800; letter-spacing: -.05em; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: .94rem; letter-spacing: .04em; }
.brand-copy span { color: #aeb9c7; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { position: relative; padding-block: .6rem; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .35rem; height: 1px; background: var(--accent); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: .75rem 1rem !important; border: 1px solid rgba(255,255,255,.4); }
.nav-cta:hover { border-color: var(--accent); background: var(--accent); }
.menu-toggle { display: none; padding: .6rem; border: 0; background: transparent; color: var(--white); }
.menu-toggle span { display: block; width: 1.55rem; height: 1px; margin: .36rem 0; background: currentColor; }

.hero {
  position: relative; min-height: 100svh; color: var(--white); background: var(--ink); overflow: hidden;
  display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,20,.96) 0%, rgba(3,10,20,.79) 38%, rgba(3,10,20,.2) 74%), linear-gradient(0deg, rgba(3,10,20,.86) 0%, transparent 55%); }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-content { position: relative; z-index: 2; padding-top: 10rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 52px; padding: .85rem 1.25rem; border: 1px solid var(--ink); font-size: .77rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; transition: .2s ease; }
.button::after { content: "↗"; font-size: 1rem; }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--white); }
.button-primary:hover { background: #f2763d; border-color: #f2763d; transform: translateY(-2px); }
.button-ghost { border-color: rgba(255,255,255,.42); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--accent); border-color: var(--accent); }
.hero-index { position: absolute; right: var(--pad); bottom: 2rem; z-index: 2; display: flex; gap: 1rem; align-items: center; color: #aeb9c7; font-size: .75rem; letter-spacing: .13em; }
.hero-index::before { content: ""; width: 4rem; height: 1px; background: var(--accent); }

.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head .eyebrow { margin-top: .55rem; }
.section-head .intro { margin-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: clamp(1.6rem, 4vw, 3.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-card:nth-child(2n) { border-right: 0; }
.service-card .number { display: block; margin-bottom: 4.5rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .12em; }
.service-card p { max-width: 52ch; margin: 1.2rem 0 0; color: var(--muted); }
.service-card .arrow { position: absolute; right: 2rem; top: 2rem; font-size: 1.25rem; transition: transform .2s ease; }
.service-card:hover { background: var(--white); }
.service-card:hover .arrow { transform: translate(4px,-4px); color: var(--accent); }

.process { color: var(--white); background: var(--ink); }
.process .section-head { border-bottom: 1px solid var(--line-dark); padding-bottom: 3rem; }
.process .intro { color: #aeb9c7; }
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); }
.process-step { position: relative; min-height: 220px; padding: 2rem 1.25rem 1.5rem 0; border-top: 1px solid var(--line-dark); }
.process-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.process-step::after { content: ""; position: absolute; top: 0; left: 9px; right: 0; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.process-step span { color: var(--accent-2); font-size: .73rem; letter-spacing: .14em; }
.process-step h3 { margin: 4.5rem 0 .65rem; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 560; }
.process-step p { margin: 0; color: #99a6b5; font-size: .93rem; }

.expertise-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.expertise-list { border-top: 1px solid var(--line); }
.expertise-item { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.expertise-item span:first-child { color: var(--accent); font-size: .72rem; font-weight: 750; }
.expertise-item strong { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 580; }
.expertise-item i { font-style: normal; color: var(--muted); }

.about-band { background: #dfe4e7; }
.about-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.about-quote { margin: 0; max-width: 18ch; font-size: clamp(2rem, 4.6vw, 4.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.06; }
.about-card { padding: 2rem; border-top: 1px solid var(--ink); }
.about-card h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.credentials { display: grid; gap: .35rem; margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; }
.placeholder-note { margin-top: 1.5rem; padding: 1rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.5); color: #4d5965; font-size: .88rem; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight { min-height: 285px; padding: 2rem; background: var(--paper); display: flex; flex-direction: column; }
.insight small { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.insight h3 { margin: auto 0 1.5rem; font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.14; letter-spacing: -.035em; }
.insight span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
.insight:hover { background: var(--white); }

.cta { padding-block: clamp(5rem, 10vw, 9rem); color: var(--white); background: var(--accent); }
.cta-row { display: grid; grid-template-columns: 1.5fr .5fr; gap: 2rem; align-items: end; }
.cta .h2 { max-width: 13ch; }
.cta p { max-width: 55ch; margin: 1.5rem 0 0; color: #fff1e7; }
.cta .button { justify-self: end; border-color: var(--white); }

.site-footer { color: #c2ccd7; background: #030a14; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; padding-block: 4rem; }
.footer-main h3 { color: var(--white); margin: 0 0 1rem; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-main p, .footer-main address { margin: 0; font-style: normal; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid var(--line-dark); color: #778697; font-size: .78rem; }

.inner-hero { min-height: 72vh; padding: 11rem 0 5rem; color: var(--white); background: var(--ink); display: grid; align-items: end; position: relative; overflow: hidden; }
.inner-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(135deg,#000,transparent 70%); }
.inner-hero .shell { position: relative; z-index: 2; }
.inner-hero .intro { color: #aeb9c7; }
.inner-hero .page-no { position: absolute; right: var(--pad); top: 9rem; color: var(--accent); font-size: .75rem; letter-spacing: .14em; }
.content-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.sticky-label { position: sticky; top: 7rem; align-self: start; }
.detail-list { border-top: 1px solid var(--line); }
.detail { padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.detail h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.7vw, 2.35rem); letter-spacing: -.04em; line-height: 1.1; }
.detail p { margin: 0; color: var(--muted); }
.detail ul { margin: 1.25rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.detail li + li { margin-top: .45rem; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 1.75rem 1.5rem 1.75rem 0; }
.fact strong { display: block; font-size: clamp(1.35rem, 3vw, 2.3rem); font-weight: 560; letter-spacing: -.04em; }
.fact span { color: var(--muted); font-size: .82rem; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-data { display: grid; gap: 1.6rem; }
.contact-data div { padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-data small { display: block; color: var(--muted); margin-bottom: .3rem; }
.contact-data a { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid #8e969e; border-radius: 0; background: transparent; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; }
.form-status { min-height: 1.5rem; color: #1b6b3c; font-size: .9rem; }
.legal { max-width: 780px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 3; }
  .nav-links { position: fixed; inset: 0; padding: 7rem var(--pad) 3rem; background: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; transform: translateX(100%); transition: transform .25s ease; font-size: clamp(1.6rem, 7vw, 3rem); letter-spacing: -.03em; text-transform: none; }
  .nav-links.open { transform: none; }
  .nav-cta { margin-top: 1rem; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
  .section-head, .expertise-wrap, .about-layout, .cta-row, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .section-head { gap: 1rem; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-step:last-child { grid-column: 1 / -1; }
  .cta .button { justify-self: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .sticky-label { position: static; }
}

@media (max-width: 640px) {
  .brand-copy span { display: none; }
  .display { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-media img { object-position: 68% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(3,10,20,.97), rgba(3,10,20,.55)), linear-gradient(0deg,rgba(3,10,20,.9),transparent 70%); }
  .hero-index { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; min-height: 290px; }
  .process-track { grid-template-columns: 1fr; }
  .process-step:last-child { grid-column: auto; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-main, .facts { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .inner-hero { min-height: 66vh; }
  .inner-hero .page-no { display: none; }
}
