:root {
  --ink: #17201f;
  --muted: #5e6d69;
  --green-950: #082a27;
  --green-900: #0d3531;
  --green-800: #134740;
  --green-700: #1b5b50;
  --gold: #d7b56d;
  --gold-light: #ecd59f;
  --cream: #f5f1e8;
  --paper: #ffffff;
  --line: #dfe7e3;
  --shadow: 0 22px 70px rgba(6, 35, 31, 0.14);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
  --header-h: 78px;
}

* { 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;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--green-950); }

.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 31, 29, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(7, 31, 29, .97); box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border: 1px solid rgba(215,181,109,.65);
  display: grid; place-items: center; border-radius: 50%;
  color: var(--gold); font-family: Georgia, serif; font-size: 22px;
}
.brand-copy { display: grid; line-height: 1; gap: 5px; letter-spacing: .18em; }
.brand-copy strong { font-size: 15px; font-weight: 800; }
.brand-copy small { font-size: 8px; color: var(--gold-light); letter-spacing: .32em; }
.primary-nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.85); font-size: 14px; }
.primary-nav > a { transition: color .2s ease; }
.primary-nav > a:hover, .primary-nav > a:focus-visible { color: var(--gold-light); }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(215,181,109,.55); border-radius: 999px; }
.nav-portal-link { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; color: var(--gold-light); border: 1px solid rgba(255,255,255,.14); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display:block; width:25px; height:2px; margin:5px 0; background:#fff; transition:.2s ease; }

.hero { min-height: 760px; background: var(--green-950); }
.slider { position: relative; min-height: 760px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-image { position: absolute; inset: 0; background: url('/assets/chris-aduwari-florach.webp') 88% 47% / min(36vw,490px) auto no-repeat; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,31,28,.98) 0%, rgba(5,31,28,.93) 39%, rgba(5,31,28,.48) 65%, rgba(5,31,28,.28) 100%),
    linear-gradient(0deg, rgba(5,31,28,.6), transparent 42%);
}
.hero-content { position: relative; z-index: 3; padding-top: var(--header-h); color: #fff; }
.hero-content > * { max-width: 650px; }
.hero-content-narrow > * { max-width: 710px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 800; color: var(--gold); }
.hero h1, .hero h2 { margin: 18px 0 18px; font-family: Georgia, 'Times New Roman', serif; line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.hero h1 { font-size: clamp(54px, 7vw, 96px); }
.hero h2 { font-size: clamp(46px, 6.2vw, 82px); max-width: 780px; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.78); max-width: 610px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--green-950); background: var(--gold); box-shadow: 0 14px 35px rgba(215,181,109,.15); }
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 18px 40px rgba(215,181,109,.23); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.05); }
.btn-ghost:hover { background: rgba(255,255,255,.11); }

.abstract-grid, .abstract-ledger { position: absolute; inset: 0; }
.abstract-grid {
  background:
    radial-gradient(circle at 82% 35%, rgba(215,181,109,.24), transparent 25%),
    linear-gradient(130deg, #0c302c 0%, #0c3d36 48%, #082623 100%);
}
.abstract-grid::before {
  content:""; position:absolute; inset:0; opacity:.17;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(900px) rotateX(58deg) translateY(22%);
  transform-origin: bottom;
}
.abstract-ledger {
  background:
    linear-gradient(110deg, rgba(8,42,39,.98), rgba(16,74,64,.9)),
    radial-gradient(circle at 75% 20%, rgba(215,181,109,.24), transparent 30%);
}
.abstract-ledger::before, .abstract-ledger::after {
  content:""; position:absolute; right:8vw; border:1px solid rgba(236,213,159,.24); border-radius:26px; transform:rotate(-4deg);
}
.abstract-ledger::before { width:440px; height:250px; top:22%; box-shadow:0 28px 0 -1px rgba(255,255,255,.03), 0 56px 0 -1px rgba(255,255,255,.025); }
.abstract-ledger::after { width:360px; height:170px; top:41%; right:14vw; }
.slider-controls { position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items:center; gap:12px; }
.slider-arrow { width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.06); color:#fff; }
.slider-arrow:hover { border-color: var(--gold); color: var(--gold); }
.slider-dots { display:flex; gap:7px; align-items:center; }
.dot { width:9px; height:9px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.35); transition:.2s ease; }
.dot.is-active { width:28px; background:var(--gold); }

.section { padding: 104px 0; scroll-margin-top: var(--header-h); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.center { text-align:center; margin-left:auto; margin-right:auto; }
.section h2 { margin: 12px 0 16px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 5vw, 61px); line-height: 1.06; font-weight:500; letter-spacing:-.025em; color: var(--green-950); }
.section-heading p, .section-copy p { color: var(--muted); font-size: 17px; }
.split-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items:center; }
.about-media { display:block; width:100%; max-width:540px; margin-inline:auto; }
.office-card { margin:0; max-width:540px; margin:0 auto; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow:hidden; border:1px solid var(--line); }
.office-card img { width:100%; aspect-ratio: 5 / 4; object-fit:cover; object-position:center 48%; display:block; }
.office-card figcaption { padding:12px 14px; font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--green-800); background:#f8fbf9; }
.credential-row { display:flex; gap:10px; flex-wrap:wrap; margin:28px 0; }
.credential-row span { font-size:12px; font-weight:800; padding:8px 11px; background:var(--cream); border-radius:999px; color:var(--green-800); }
.text-link { display:inline-flex; gap:10px; color:var(--green-800); font-weight:800; border-bottom:1px solid var(--gold); padding-bottom:4px; }

.services { background:#f7faf8; }
.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px; min-height:240px; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform:translateY(-6px); box-shadow:0 22px 48px rgba(17,72,63,.1); border-color:rgba(215,181,109,.8); }
.card-number { color:var(--gold); font-size:12px; font-weight:900; letter-spacing:.15em; }
.service-card h3 { margin:34px 0 10px; font-family:Georgia,serif; font-size:24px; color:var(--green-950); }
.service-card p { margin:0; color:var(--muted); font-size:15px; }

.industries { background:var(--green-950); color:#fff; }
.industries .section-kicker { color:var(--gold); }
.industries h2 { color:#fff; }
.industries .section-heading p { color:rgba(255,255,255,.68); }
.industry-list { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.13); border-left:1px solid rgba(255,255,255,.13); }
.industry-list div { padding:32px; border-right:1px solid rgba(255,255,255,.13); border-bottom:1px solid rgba(255,255,255,.13); min-height:150px; }
.industry-list strong { display:block; font-family:Georgia,serif; font-size:22px; font-weight:500; margin-bottom:8px; }
.industry-list span { color:rgba(255,255,255,.62); font-size:14px; }

.why-us { background:var(--cream); }
.why-grid { align-items:stretch; }
.check-list { list-style:none; padding:0; margin:30px 0 0; display:grid; gap:15px; }
.check-list li { position:relative; padding-left:34px; color:#354541; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:var(--green-800); color:#fff; font-size:12px; font-weight:900; }
.stats-panel { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.stat-card { min-height:190px; padding:25px; border-radius:20px; background:var(--green-900); color:#fff; display:flex; flex-direction:column; justify-content:flex-end; border:1px solid rgba(255,255,255,.08); }
.stat-card:nth-child(2), .stat-card:nth-child(3) { background:#fff; color:var(--green-950); border-color:var(--line); }
.stat-card strong { font-family:Georgia,serif; font-size:36px; font-weight:500; line-height:1; }
.stat-card span { margin-top:9px; font-size:13px; text-transform:uppercase; letter-spacing:.12em; color:var(--gold); font-weight:800; }
.stat-card:nth-child(2) span, .stat-card:nth-child(3) span { color:var(--green-700); }

.process-grid { list-style:none; padding:0; margin:45px 0 0; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.process-grid li { padding:0 28px 0 0; min-height:230px; border-top:1px solid var(--line); position:relative; }
.process-grid li::after { content:""; position:absolute; top:-4px; left:0; width:8px; height:8px; border-radius:50%; background:var(--gold); }
.process-grid li:not(:last-child) { margin-right:22px; }
.process-grid li > span { display:inline-block; margin-top:26px; color:var(--gold); font-weight:900; letter-spacing:.15em; }
.process-grid h3 { margin:22px 0 8px; font-family:Georgia,serif; font-size:25px; color:var(--green-950); }
.process-grid p { color:var(--muted); font-size:15px; margin:0; }

.contact { background:#0a2d2a; color:#fff; }
.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:start; }
.contact h2 { color:#fff; }
.contact-copy > p { color:rgba(255,255,255,.68); font-size:17px; }
.service-location { margin:24px 0; padding:16px 20px; border-left:3px solid var(--gold); background:rgba(215,181,109,.09); border-radius:0 12px 12px 0; line-height:1.9; color:rgba(255,255,255,.88) !important; font-size:15px !important; }
.service-location strong { color:var(--gold-light); }
.contact-details { margin-top:36px; display:grid; gap:14px; }
.contact-details a { display:block; padding:17px 18px; border-left:2px solid var(--gold); background:rgba(255,255,255,.04); border-radius:0 12px 12px 0; }
.contact-details span { display:block; color:rgba(255,255,255,.55); font-size:11px; text-transform:uppercase; letter-spacing:.15em; }
.contact-details strong { display:block; margin-top:3px; font-weight:700; overflow-wrap:anywhere; }
.contact-form { background:#fff; color:var(--ink); padding:32px; border-radius:22px; box-shadow:0 26px 70px rgba(0,0,0,.24); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form .field-group { display:block; margin-bottom:15px; }
.contact-form .field-label { display:block; font-size:12px; font-weight:800; color:#43524e; margin-bottom:7px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form [data-select-trigger] {
  width:100%; border:1px solid #d8e1de; border-radius:10px; background:#fbfdfc; padding:12px 13px; color:var(--ink); outline:none; transition:border-color .2s ease, box-shadow .2s ease; font-size: 14px;
}
.contact-form textarea { resize:vertical; min-height:128px; }
.contact-form input:focus, .contact-form textarea:focus { border-color:var(--green-700); box-shadow:0 0 0 4px rgba(27,91,80,.10); }
.contact-form .invalid { border-color:#ae3d31 !important; box-shadow:0 0 0 4px rgba(174,61,49,.08); }
.contact-form [data-select-menu] { background:#fff; border:1px solid #d8e1de; border-radius:12px; padding:6px; box-shadow:0 18px 40px rgba(6,35,31,.14); }
.contact-form [data-select-option] { display:flex; align-items:center; justify-content:space-between; width:100%; border:0; background:transparent; padding:9px 12px; border-radius:8px; text-align:left; font-size:14px; color:var(--ink); }
.contact-form [data-select-option]:hover { background:#f4f8f6; }
.consent-row { display:flex !important; align-items:flex-start; gap:9px; margin-bottom:16px; }
.consent-row input { width:17px !important; height:17px; margin-top:3px; accent-color:var(--green-800); }
.consent-row span { margin:0 !important; font-size:12px !important; font-weight:600 !important; color:var(--muted) !important; }
.full { width:100%; border:0; }
.form-status { min-height:22px; margin:12px 0 0; font-size:13px; font-weight:700; color:var(--green-700); }

.site-footer { background:#061f1d; color:#fff; padding:54px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .7fr 1fr; gap:40px; align-items:start; }
.footer-brand { margin-bottom:14px; }
.site-footer p { margin:0; color:rgba(255,255,255,.52); font-family:Georgia,serif; font-style:italic; }
.footer-links, .footer-contact { display:grid; gap:10px; color:rgba(255,255,255,.72); font-size:14px; }
.footer-contact a { overflow-wrap:anywhere; }
.footer-links a:hover, .footer-contact a:hover { color:var(--gold-light); }
.footer-bottom { margin-top:38px; padding-top:18px; border-top:1px solid rgba(255,255,255,.09); display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.42); }
.back-to-top { position:fixed; right:20px; bottom:20px; z-index:50; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:var(--green-900); color:#fff; box-shadow:0 12px 30px rgba(0,0,0,.2); opacity:0; visibility:hidden; transform:translateY(10px); transition:.2s ease; }
.back-to-top.is-visible { opacity:1; visibility:visible; transform:none; }

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

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-toggle { display:block; }
  .primary-nav { position:absolute; top:70px; left:0; right:0; background:#082a27; display:grid; gap:0; padding:10px 20px 20px; transform:translateY(-12px); opacity:0; visibility:hidden; transition:.2s ease; border-top:1px solid rgba(255,255,255,.08); }
  .primary-nav.is-open { transform:none; opacity:1; visibility:visible; }
  .primary-nav > a { padding:12px 8px; border-bottom:1px solid rgba(255,255,255,.07); }
  .nav-cta, .nav-portal-link { margin-top:8px; text-align:center; }
  .split-grid, .contact-grid { grid-template-columns:1fr; gap:48px; }
  .about-media { max-width:680px; }
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .industry-list { grid-template-columns:repeat(2,1fr); }
  .process-grid { grid-template-columns:repeat(2,1fr); gap:34px 0; }
  .hero-image { background-position: 88% 40%; background-size: 420px auto; opacity:.64; }
  .hero-overlay { background:linear-gradient(90deg, rgba(5,31,28,.98), rgba(5,31,28,.78) 75%, rgba(5,31,28,.6)); }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .brand-copy strong { font-size:13px; }
  .brand-copy small { font-size:7px; }
  .brand-mark { width:36px; height:36px; }
  .hero, .slider { min-height: 720px; }
  .hero-content { padding-top:90px; padding-bottom:90px; align-self:flex-end; }
  .hero-image { background-position:50% 15%; background-size: min(68vw,330px) auto; }
  .hero-overlay { background:linear-gradient(0deg, rgba(5,31,28,.99) 15%, rgba(5,31,28,.84) 56%, rgba(5,31,28,.4) 100%); }
  .about-media { max-width:420px; }
  .about-media .office-card { max-width:420px; margin-inline:auto; }
  .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero h2 { font-size: clamp(42px, 12vw, 58px); }
  .hero p { font-size:16px; }
  .slider-controls { bottom:18px; }
  .section { padding:76px 0; }
  .section h2 { font-size: clamp(36px, 11vw, 49px); }
  .card-grid, .industry-list, .stats-panel, .process-grid, .footer-grid, .form-row { grid-template-columns:1fr; }
  .service-card { min-height:auto; }
  .industry-list { border-left:0; }
  .industry-list div { border-left:1px solid rgba(255,255,255,.13); }
  .process-grid li:not(:last-child) { margin-right:0; }
  .contact-form { padding:22px; }
  .footer-bottom { flex-direction:column; }
}

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