:root {
  --ink: #08111e;
  --ink-2: #0d1a28;
  --petrol: #0d3a42;
  --petrol-2: #13545c;
  --aqua: #72d6cc;
  --gold: #c8ad78;
  --gold-2: #e2cfaa;
  --paper: #f4f6f4;
  --paper-2: #e8eeeb;
  --white: #fff;
  --muted: #637080;
  --line: rgba(11, 34, 48, .15);
  --dark-line: rgba(255, 255, 255, .14);
  --shadow: 0 30px 90px rgba(5, 15, 25, .12);
  --radius: 3px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol-2); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 99999; padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 18px; }

h1, h2, h3, h4 {
  margin: 0 0 .56em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); }
h2 { font-size: clamp(2.25rem, 4.7vw, 4.9rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.25em; }
.eyebrow, .micro-label, .kicker {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.micro-label { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(8, 17, 30, .94);
  color: var(--white);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { position: relative; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(114,214,204,.58); }
.brand-mark::before, .brand-mark::after, .brand-mark i::before, .brand-mark i::after { position: absolute; width: 6px; height: 6px; border-style: solid; border-color: var(--gold); content: ""; }
.brand-mark::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.brand-mark::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.brand-mark i::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.brand-mark i::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.brand-mark b { font-size: .82rem; letter-spacing: .16em; }
.brand-text { display: grid; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.1; }
.brand-text small { margin-top: 7px; color: #a8b5c0; font-family: Inter, sans-serif; font-size: .59rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.main-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.main-nav a { color: #dfe8eb; font-size: .86rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--aqua); }
.main-nav .nav-cta a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid var(--gold); color: var(--gold-2); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--dark-line); background: transparent; color: var(--white); }
.menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }
.menu-toggle em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.home-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 88px));
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(37, 148, 150, .25), transparent 31%),
    radial-gradient(circle at 91% 82%, rgba(200, 173, 120, .11), transparent 24%),
    linear-gradient(135deg, #07111d 0%, #091d2a 52%, #0b343b 100%);
  color: var(--white);
}
.home-hero::before {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(114,214,204,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,214,204,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 74%);
  content: "";
}
.home-hero::after {
  position: absolute;
  top: 14%;
  right: 7%;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(114,214,204,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(114,214,204,.025), 0 0 0 140px rgba(114,214,204,.018);
  content: "";
}
.hero-node { position: absolute; z-index: 1; width: 9px; height: 9px; border: 1px solid var(--aqua); border-radius: 50%; box-shadow: 0 0 22px var(--aqua); }
.hero-node--1 { top: 27%; right: 28%; }
.hero-node--2 { top: 61%; right: 13%; }
.hero-node--3 { right: 39%; bottom: 15%; border-color: var(--gold); box-shadow: 0 0 22px var(--gold); }
.home-hero__inner { position: relative; z-index: 2; display: grid; min-height: inherit; align-items: center; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(60px, 8vw, 130px); padding-block: 90px; }
.home-hero h1 { max-width: 930px; }
.home-hero h1 em { color: var(--aqua); font-style: normal; }
.hero-lead { max-width: 780px; color: #cbd7dc; font-size: clamp(1.1rem, 1.6vw, 1.36rem); line-height: 1.62; }
.hero-panel { position: relative; padding: 38px; border: 1px solid rgba(114,214,204,.25); background: rgba(6,17,27,.45); box-shadow: 0 34px 80px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.hero-panel::before { position: absolute; top: -1px; left: 36px; width: 62px; height: 2px; background: var(--gold); content: ""; }
.hero-panel h2 { font-size: clamp(1.7rem, 2.2vw, 2.35rem); }
.hero-panel ol { margin: 28px 0 0; padding: 0; counter-reset: route; list-style: none; }
.hero-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--dark-line); color: #d0dbe0; font-size: .92rem; }
.hero-panel li::before { color: var(--gold); font-size: .73rem; font-weight: 800; content: "0" counter(route); counter-increment: route; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: .86rem; font-weight: 750; letter-spacing: .025em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.035); color: var(--white); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn-dark { background: var(--ink); color: var(--white); }

.metrics { position: relative; z-index: 3; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); background: #081521; color: var(--white); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 145px; padding: 30px clamp(20px, 3vw, 42px); border-right: 1px solid var(--dark-line); }
.metric:first-child { border-left: 1px solid var(--dark-line); }
.metric b { display: block; margin-bottom: 8px; color: var(--gold-2); font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.metric span { color: #a7b6bf; font-size: .82rem; letter-spacing: .04em; }

.section { padding-block: clamp(78px, 10vw, 150px); }
.section--dark { background: var(--ink); color: var(--white); }
.section--petrol { background: var(--petrol); color: var(--white); }
.section--paper { background: var(--paper-2); }
.section-head { display: grid; align-items: end; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 70px; margin-bottom: clamp(44px, 7vw, 90px); }
.section-head > p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head > p, .section--petrol .section-head > p { color: #aebdc4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.64);
  box-shadow: 0 14px 50px rgba(7, 20, 32, .04);
}
.card::before { position: absolute; top: -1px; left: 34px; width: 52px; height: 2px; background: var(--petrol-2); content: ""; }
.section--dark .card, .section--petrol .card { border-color: var(--dark-line); background: rgba(255,255,255,.035); box-shadow: none; }
.section--dark .card::before, .section--petrol .card::before { background: var(--aqua); }
.card p { color: var(--muted); }
.section--dark .card p, .section--petrol .card p { color: #aebcc3; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--petrol-2); font-size: .83rem; font-weight: 800; letter-spacing: .035em; text-decoration: none; }
.section--dark .text-link, .section--petrol .text-link { color: var(--aqua); }

.portfolio-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.portfolio-strip a { min-height: 220px; padding: 28px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); color: var(--white); text-decoration: none; transition: background .2s ease; }
.portfolio-strip a:hover { background: rgba(114,214,204,.08); }
.portfolio-strip span { display: block; margin-bottom: 52px; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.portfolio-strip b { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; line-height: 1.15; }

.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.process-list strong { color: var(--petrol-2); font-size: .72rem; letter-spacing: .15em; }
.process-list h3 { margin-bottom: 8px; font-size: 1.55rem; }
.process-list p { margin: 0; color: var(--muted); }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(85px, 11vw, 150px); background: linear-gradient(130deg, var(--ink) 0%, #0a2531 62%, var(--petrol) 100%); color: var(--white); }
.page-hero--compact { padding-block: 80px; }
.signal-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(114,214,204,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(114,214,204,.14) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1040px; font-size: clamp(3rem, 6.6vw, 6.9rem); }
.page-lead { max-width: 860px; color: #c6d3d8; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.page-meta { margin: 26px 0 0; color: var(--gold-2); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 44px; color: #91a4af; font-size: .73rem; letter-spacing: .04em; }
.breadcrumbs a { color: #b8c7cc; text-decoration: none; }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(48px, 8vw, 110px); align-items: start; padding-block: clamp(70px, 9vw, 130px); }
.entry-content { max-width: 820px; font-size: 1.04rem; }
.entry-content > p:first-child { color: #344352; font-size: 1.22rem; line-height: 1.65; }
.entry-content h2 { margin-top: 1.5em; font-size: clamp(2rem, 4vw, 3.4rem); }
.entry-content h3 { margin-top: 1.6em; font-size: 1.65rem; }
.entry-content ul, .entry-content ol { margin: 1.4em 0; padding-left: 1.4em; }
.entry-content li { margin-bottom: .7em; }
.entry-content blockquote { margin: 2.2em 0; padding: 30px 34px; border-left: 2px solid var(--gold); background: var(--paper-2); font-family: Georgia, serif; font-size: 1.3rem; }
.entry-content table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: .9rem; }
.entry-content th, .entry-content td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--ink); color: var(--white); }
.entry-content .decision-panel, .entry-content .project-facts { margin: 36px 0; padding: 34px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.entry-content .decision-panel h2, .entry-content .project-facts h2 { margin-top: 0; font-size: 2rem; }
.entry-content .related-links { display: grid; gap: 10px; margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--line); }
.entry-content .related-links a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.sidebar { position: sticky; top: 120px; }
.side-card { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.side-card--dark { background: var(--ink-2); color: var(--white); box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.85rem; }
.side-card ul { margin: 24px 0 0; padding: 0; list-style: none; }
.side-card li { border-top: 1px solid var(--dark-line); }
.side-card a { display: block; padding: 13px 0; color: #dce8ea; font-size: .85rem; font-weight: 650; text-decoration: none; }
.side-card a:hover { color: var(--aqua); }

.risk-warning { margin-top: 60px; padding: clamp(26px, 4vw, 42px); border: 2px solid #161d25; background: #fff; color: #111821; font-size: .88rem; line-height: 1.55; }
.risk-warning__label { margin-bottom: 16px; color: #a02b24; font-size: .72rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.risk-warning p { margin-bottom: 13px; }
.risk-warning p:last-child { margin-bottom: 0; }
.risk-warning a { font-weight: 800; }

.form-card { margin: 34px 0; padding: clamp(26px, 4vw, 45px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #aab6bb; border-radius: 0; background: #fff; color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(114,214,204,.38); outline-offset: 2px; border-color: var(--petrol-2); }
.hp-field { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: .78rem; }
.success { margin-bottom: 22px; padding: 14px; border-left: 3px solid var(--petrol-2); background: #e6f1ee; }

.library-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.library-filters a { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-size: .78rem; font-weight: 700; text-decoration: none; }
.library-group { margin: 58px 0; }
.library-group > h2 { padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 2.5rem; }
.library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.library-item { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.library-item h3 { font-size: 1.35rem; }
.library-item p { color: var(--muted); font-size: .88rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { min-height: 310px; padding: 34px; border: 1px solid var(--line); background: var(--white); }
.project-card .status { color: var(--petrol-2); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-card p { color: var(--muted); }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { padding: 32px; border: 1px solid var(--line); background: var(--white); }
.post-card h2 { font-size: 1.65rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.navigation.pagination { margin-top: 50px; }

.cta-band { padding-block: clamp(62px, 8vw, 100px); background: var(--petrol); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; }
.cta-inner h2 { max-width: 900px; font-size: clamp(2.25rem, 4.8vw, 4.6rem); }
.cta-inner p:not(.micro-label) { max-width: 780px; color: #c2d2d5; }
.site-footer { padding-top: 75px; background: #050b12; color: #9eabb4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; padding-bottom: 60px; }
.footer-brand { margin-bottom: 18px; color: var(--white); font-family: Georgia, serif; font-size: 1.45rem; }
.footer-intro p { max-width: 420px; }
.company-data { color: #74838d; font-size: .76rem; }
.site-footer h3 { color: var(--gold-2); font-family: Inter, sans-serif; font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #aebbc3; font-size: .82rem; text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 25px 0 35px; border-top: 1px solid var(--dark-line); color: #6f7c85; font-size: .69rem; }

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

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; top: 88px; right: 0; bottom: 0; width: min(420px, 100%); padding: 30px; transform: translateX(105%); background: var(--ink); transition: transform .24s ease; }
  .main-nav.is-open { transform: none; }
  .main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--dark-line); }
  .main-nav a { display: block; padding: 15px 4px; }
  .main-nav .nav-cta a { margin-top: 18px; justify-content: center; }
  .home-hero__inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 620px; }
  .portfolio-strip { grid-template-columns: repeat(3, 1fr); }
  .content-shell { grid-template-columns: 1fr; }
  .entry-content { max-width: none; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 30px), var(--wrap)); }
  .brand-text { font-size: 1rem; }
  .brand-text small { display: none; }
  .home-hero { min-height: auto; }
  .home-hero__inner { padding-block: 72px; }
  .home-hero h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .hero-panel { padding: 28px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 1px solid var(--dark-line); }
  .section-head, .split, .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .card-grid, .insight-grid { grid-template-columns: 1fr; }
  .portfolio-strip { grid-template-columns: 1fr 1fr; }
  .library-grid, .project-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-text { font-size: .92rem; }
  .metric-grid, .portfolio-strip, .footer-grid { grid-template-columns: 1fr; }
  .metric { border-left: 1px solid var(--dark-line); }
  .button-row .btn { width: 100%; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .sidebar, .button-row { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .content-shell { display: block; padding: 0; }
  .page-hero { padding: 30px 0; background: #fff; color: #000; }
  .page-hero h1 { font-size: 30pt; }
}
