:root {
  --navy: #071426;
  --navy-2: #0b1d33;
  --ink: #172231;
  --slate: #607083;
  --line: #d6dee7;
  --mist: #eef3f7;
  --paper: #f8fafc;
  --white: #ffffff;
  --cobalt: #3b82f6;
  --cobalt-dark: #2161c7;
  --cobalt-soft: #dceaff;
  --silver: #a8b6c4;
  --max: 1240px;
  --shadow: 0 18px 55px rgba(8, 22, 40, .09);
  --radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--cobalt); color: var(--white); }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--cobalt); color: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 20px; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { max-width: 880px; }
.muted { color: var(--slate); }
.eyebrow, .section-kicker, .meta-label { font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: var(--cobalt-soft); }
.section-kicker { color: var(--cobalt-dark); display: flex; align-items: center; gap: 10px; }
.section-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-kicker.light { color: #a7c6f6; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,250,252,.93); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; backdrop-filter: blur(16px); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 22px rgba(8,22,40,.05); background: rgba(248,250,252,.98); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 225px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: var(--white); background: var(--navy); position: relative; overflow: hidden; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 18px; height: 2px; background: var(--cobalt); transform: rotate(45deg); }
.brand-mark::before { left: 2px; top: 12px; }
.brand-mark::after { right: 2px; bottom: 12px; }
.brand-text { font-size: 12px; font-weight: 800; line-height: 1.15; letter-spacing: .08em; }
.brand-sub { display: block; color: var(--slate); font-size: 9px; font-weight: 600; letter-spacing: .13em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 700; color: #4f6072; }
.nav-links a { padding: 30px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--cobalt); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--navy); }
.menu-toggle span { display: block; width: 23px; height: 2px; background: currentColor; margin: 4px; transition: transform .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; font-size: 12px; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--cobalt); }
.button.primary:hover { background: var(--cobalt-dark); }
.button.ghost { color: var(--navy); border-color: var(--line); background: rgba(255,255,255,.35); }
.button.ghost:hover { border-color: var(--cobalt); color: var(--cobalt-dark); }
.button.dark { color: var(--white); background: var(--navy); }
.button.dark:hover { background: var(--navy-2); }

.hero { background: var(--navy); color: var(--white); min-height: 650px; display: grid; align-items: stretch; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,38,.96) 0%, rgba(7,20,38,.78) 38%, rgba(7,20,38,.08) 100%); pointer-events: none; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .77; }
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 132px 0 108px; display: flex; align-items: flex-end; }
.hero-copy { max-width: 690px; }
.hero h1 { margin: 22px 0; font-size: clamp(44px, 7vw, 88px); line-height: .96; letter-spacing: -.065em; max-width: 760px; }
.hero p { max-width: 585px; color: #c7d4e1; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button.ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(7,20,38,.2); }
.hero .button.ghost:hover { border-color: var(--white); }
.hero-index { position: absolute; right: 0; bottom: 34px; color: rgba(255,255,255,.2); font: 700 120px/1 ui-monospace, monospace; letter-spacing: -.12em; }

.page-hero { background: var(--navy); color: var(--white); padding: 94px 0 100px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 45vw; height: 45vw; right: -18vw; top: -25vw; border: 1px solid rgba(85,144,228,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(85,144,228,.04), 0 0 0 160px rgba(85,144,228,.03); }
.page-hero h1 { position: relative; max-width: 850px; margin: 20px 0 0; font-size: clamp(43px, 7vw, 82px); line-height: .98; letter-spacing: -.065em; }
.page-hero p { position: relative; max-width: 650px; color: #becddd; font-size: 19px; line-height: 1.6; margin: 24px 0 0; }

.section { padding: 112px 0; }
.section.tight { padding: 78px 0; }
.section.dark { background: var(--navy); color: var(--white); }
.section.mist { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.section-head h2 { max-width: 660px; margin: 12px 0 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.02; letter-spacing: -.055em; }
.section-head p { max-width: 410px; color: var(--slate); margin: 0; line-height: 1.7; }
.dark .section-head p { color: #aebdcd; }
.section-intro { max-width: 810px; font-size: 20px; line-height: 1.7; color: #4e6072; }
.lead-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 84px; align-items: start; }
.lead-grid h2 { margin: 12px 0 0; font-size: clamp(32px, 4.4vw, 58px); line-height: .99; letter-spacing: -.06em; }
.lead-copy { font-size: 19px; line-height: 1.78; color: #536476; }
.lead-copy p:first-child { margin-top: 0; }
.rule { border-top: 1px solid var(--line); }
.dark .rule { border-color: rgba(210,225,242,.19); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); padding: 30px 24px 32px; min-height: 260px; position: relative; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.service-card:hover { z-index: 1; transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.service-number, .step-number { color: var(--cobalt-dark); font: 700 13px/1 ui-monospace, monospace; letter-spacing: .1em; }
.service-card h3 { margin: 65px 0 15px; font-size: 21px; letter-spacing: -.03em; }
.service-card p { color: var(--slate); line-height: 1.65; font-size: 15px; margin: 0; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; border-top: 1px solid rgba(210,225,242,.2); }
.capability { padding: 25px 0 28px; border-bottom: 1px solid rgba(210,225,242,.2); }
.capability h3 { margin: 0 0 9px; font-size: 17px; text-transform: capitalize; }
.capability p { color: #aebdcd; line-height: 1.6; font-size: 14px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--cobalt); }
.step::after { content: ''; position: absolute; top: -7px; right: 0; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--cobalt); border-radius: 50%; }
.step h3 { font-size: 22px; margin: 23px 0 12px; letter-spacing: -.03em; }
.step p { color: var(--slate); line-height: 1.7; margin: 0; font-size: 15px; }
.dark .step p { color: #aebdcd; }
.dark .step::after { background: var(--navy); }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 34px; }
.principle { padding: 28px 0; border-top: 1px solid var(--line); }
.principle h3 { margin: 0 0 13px; font-size: 18px; }
.principle p { color: var(--slate); line-height: 1.65; margin: 0; font-size: 15px; }

.company-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(210,225,242,.22); }
.company-panel > div { padding: 32px; }
.company-panel > div + div { border-left: 1px solid rgba(210,225,242,.22); }
.meta-label { color: var(--cobalt); margin-bottom: 12px; }
.company-panel p { margin: 0; color: #c9d5e1; line-height: 1.65; }
.company-panel strong { color: var(--white); }

.cta-band { background: var(--cobalt); color: var(--white); padding: 72px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { margin: 0 0 9px; font-size: clamp(30px, 4vw, 49px); letter-spacing: -.05em; }
.cta-band p { margin: 0; color: #deebff; line-height: 1.6; }
.cta-band .button { background: var(--white); color: var(--navy); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .65fr); gap: 88px; align-items: start; }
.content-layout .sticky-note { position: sticky; top: 115px; }
.sticky-note { border-top: 3px solid var(--cobalt); padding-top: 20px; }
.sticky-note p { color: var(--slate); line-height: 1.7; font-size: 15px; margin: 0 0 18px; }
.long-copy h2 { font-size: 30px; letter-spacing: -.045em; margin: 0 0 17px; }
.long-copy h3 { font-size: 22px; letter-spacing: -.03em; margin: 44px 0 12px; }
.long-copy p { color: #536476; line-height: 1.8; font-size: 17px; margin: 0 0 18px; }
.long-copy .section-kicker { margin-bottom: 22px; }

.numbered-list { display: grid; gap: 0; }
.numbered-item { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.numbered-item:last-child { border-bottom: 1px solid var(--line); }
.numbered-item .step-number { padding-top: 6px; }
.numbered-item h2 { margin: 0 0 13px; font-size: 25px; letter-spacing: -.035em; }
.numbered-item p { color: var(--slate); line-height: 1.75; margin: 0; }

.capability-list { display: grid; gap: 0; }
.capability-row { display: grid; grid-template-columns: 230px 1fr; gap: 34px; border-top: 1px solid var(--line); padding: 28px 0; }
.capability-row:last-child { border-bottom: 1px solid var(--line); }
.capability-row h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.capability-row p { margin: 0; color: var(--slate); line-height: 1.75; }

.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: start; }
.form-intro h2 { margin: 15px 0 18px; font-size: clamp(31px, 4vw, 52px); line-height: 1; letter-spacing: -.055em; }
.form-intro p { color: var(--slate); line-height: 1.75; }
.office-card { background: var(--navy); color: var(--white); padding: 28px; margin-top: 36px; }
.office-card .meta-label { color: #9cc2fc; }
.office-card p { color: #c1cfdd; margin: 0; line-height: 1.7; }
.enquiry-form { background: var(--white); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 0; padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c84b5c; }
.field-error { min-height: 14px; color: #b3263d; font-size: 11px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.form-note { color: var(--slate); font-size: 12px; line-height: 1.5; }
.form-success { background: #e7f5ec; color: #1e623a; border-left: 3px solid #3c9c5c; padding: 14px 16px; margin-top: 18px; line-height: 1.55; font-size: 14px; }

.site-footer { background: #04101f; color: var(--white); padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .95fr 1.1fr; gap: 42px; padding-bottom: 56px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-sub { color: #8fa2b6; }
.footer-description { color: #99aabd; line-height: 1.7; font-size: 14px; max-width: 290px; }
.footer-title { color: #d9e6f3; font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; color: #94a7ba; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-address { color: #94a7ba; line-height: 1.65; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-top: 20px; border-top: 1px solid rgba(210,225,242,.14); color: #788da2; font-size: 11px; }
.footer-bottom span:last-child { text-align: right; }

.not-found { padding: 120px 0; min-height: 55vh; }
.not-found h1 { font-size: clamp(42px, 7vw, 82px); letter-spacing: -.06em; margin: 18px 0; }

.reveal { animation: reveal .7s both; }
@keyframes reveal { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }

@media (max-width: 980px) {
  .container, .hero-content { width: min(calc(100% - 40px), var(--max)); }
  .nav-links { gap: 14px; }
  .nav-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .principles { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout, .form-shell { gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container, .hero-content { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { height: 70px; }
  .brand { min-width: 0; }
  .brand-text { font-size: 10px; }
  .brand-sub { font-size: 8px; }
  .nav-links { display: none; position: fixed; inset: 70px 0 0; z-index: 45; background: var(--navy); padding: 34px 24px; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { color: #c9d6e2; padding: 18px 0; border-bottom: 1px solid rgba(210,225,242,.14); font-size: 16px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 640px; }
  .hero-content { padding: 108px 0 70px; }
  .hero h1 { font-size: clamp(44px, 14vw, 68px); }
  .hero-index { font-size: 70px; bottom: 22px; }
  .page-hero { padding: 74px 0 78px; }
  .page-hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .section { padding: 78px 0; }
  .section.tight { padding: 56px 0; }
  .section-head, .lead-grid, .content-layout, .form-shell, .cta-band .inner { display: block; }
  .section-head p { margin-top: 22px; }
  .lead-grid > * + * { margin-top: 34px; }
  .service-grid, .capability-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { margin-top: 38px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .company-panel { grid-template-columns: 1fr; }
  .company-panel > div + div { border-left: 0; border-top: 1px solid rgba(210,225,242,.22); }
  .cta-band .button { margin-top: 25px; }
  .content-layout .sticky-note { position: static; margin-bottom: 48px; }
  .capability-row, .numbered-item { grid-template-columns: 1fr; gap: 10px; }
  .form-shell > * + * { margin-top: 46px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .enquiry-form { padding: 22px; }
  .form-actions { display: block; }
  .form-note { margin-top: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: block; line-height: 1.6; }
  .footer-bottom span:last-child { text-align: left; margin-top: 8px; }
}

@media (max-width: 380px) {
  .container, .hero-content { width: min(calc(100% - 24px), var(--max)); }
  .hero h1 { font-size: 43px; }
  .footer-grid { grid-template-columns: 1fr; }
}
