:root {
  --navy: #0d1b25;
  --navy-2: #10242e;
  --deep: #17353c;
  --deep-green: #1f625e;
  --ivory: #f6f4ee;
  --ivory-2: #efede5;
  --soft: #e7e3d8;
  --white: #fffefb;
  --ink: #20313a;
  --muted: #5f7077;
  --mint: #73d1c1;
  --gold: #d8bc8c;
  --gold-2: #e2c894;
  --rule: #d7d5cb;
  --card: #fbfaf6;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --content: 1260px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
::selection { background: #c8b087; color: #12232d; }
.content-width { width: min(var(--content), calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -70px; left: 12px; background: white; color: #091925; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,254,250,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(35,49,58,.08);
  transition: box-shadow .22s ease, background .22s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(12,28,37,.08); }
.header-inner {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: none;
}
.brand-text {
  display: inline-grid;
  grid-template-columns: max-content;
  min-width: 0;
}
.brand-name {
  font-size: clamp(2rem, 2.3vw, 2.65rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 740;
  color: #134c56;
}
.brand-sub {
  grid-column: 1;
  width: 100%;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: #49636e;
  font-weight: 700;
  margin-top: 6px;
}
.brand-sub-letters {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
}
.brand-sub-letters > span { display: inline-block; }
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-tagline {
  padding: 10px 14px;
  border: 1px solid rgba(41,84,88,.18);
  border-radius: 999px;
  background: rgba(115,209,193,.08);
  font-size: 13px;
  letter-spacing: .03em;
  color: #35555f;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a {
  font-size: 15px;
  color: #30464e;
  font-weight: 600;
}
.site-nav > a:hover { color: #0c6f68; }
.nav-contact {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(31,98,94,.35);
  background: white;
}
.nav-contact:hover {
  color: white;
  background: #163a41;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px 0 10px 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: #27444c;
  transition: transform .22s, opacity .22s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.hero {
  color: #f7f4eb;
  background: radial-gradient(circle at 85% 25%, rgba(115,209,193,.16), transparent 28%), linear-gradient(128deg, #0d1b25 0%, #10242e 60%, #102e35 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(340px,.9fr);
  gap: 44px;
  align-items: center;
  min-height: 720px;
  padding: 88px 0 86px;
}
.section-kicker {
  margin: 0 0 18px;
  color: #4a686c;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.section-kicker-light { color: #bed3cf; }
.hero .section-kicker { color: #c7d8d0; }
.hero h1,
h2,
h3,
p { margin-top: 0; }
.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.07em;
  font-weight: 670;
  max-width: 820px;
}
.hero h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-lede {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.45;
  color: #f3eee2;
  margin-bottom: 14px;
}
.hero-description {
  max-width: 640px;
  color: #c5d0d0;
  font-size: 1.06rem;
  line-height: 1.82;
  margin-bottom: 34px;
}
.hero-description strong { color: #fff8ed; font-weight: 700; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-gold {
  background: var(--gold);
  color: #10252e;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.button-gold:hover { background: var(--gold-2); }
.text-link {
  color: #f3efe3;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(243,239,227,.45);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--gold); border-color: currentColor; }
.hero-location {
  margin: 34px 0 0;
  font-size: 15px;
  color: #a7b6b6;
}
.hero-panel-card {
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(216,188,140,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
}
.panel-eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.panel-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.panel-item:first-of-type { border-top: 0; padding-top: 0; }
.panel-item:last-child { padding-bottom: 0; }
.panel-item h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fbf8f0;
}
.panel-item p {
  margin: 0;
  color: #c9d3d0;
  font-size: 1rem;
  line-height: 1.72;
}

.statement-band {
  background: #e9e7de;
  border-top: 1px solid rgba(33,49,58,.05);
  border-bottom: 1px solid rgba(33,49,58,.07);
}
.statement-band-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
}
.statement-large {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.22;
  letter-spacing: -.045em;
  color: #20313a;
}
.statement-large em {
  color: #215f5a;
  font-family: var(--serif);
  font-style: italic;
}
.statement-small {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #56686e;
}

.section { padding: 108px 0; }
.section-light { background: var(--ivory); }
.section-soft { background: var(--soft); }
.section-dark {
  color: #f7f4ea;
  background: linear-gradient(180deg, #10222d 0%, #14313a 100%);
}
.section-dark p { color: #c0cfcc; }
.section-dark h2 { color: #f6f1e6; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px, 470px);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-intro {
  font-size: 1.05rem;
  color: #5f7077;
  margin: 0;
}
h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -.06em;
  font-weight: 630;
  color: #1f3038;
}
h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  line-height: 1.22;
  letter-spacing: -.035em;
  font-weight: 640;
  color: #22353d;
}
.body-large {
  font-size: 1.16rem;
  line-height: 1.78;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--card);
  border: 1px solid rgba(33,49,58,.09);
  border-radius: 22px;
  padding: 28px 28px 26px;
  box-shadow: 0 10px 28px rgba(20,36,46,.04);
}
.service-number {
  margin: 0 0 18px;
  color: #1d6d68;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}
.service-card p {
  margin-bottom: 14px;
  color: #5c6c73;
  font-size: 1rem;
  line-height: 1.78;
}
.service-output {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(33,49,58,.08);
  color: #344a52 !important;
  font-size: 1rem !important;
}
.service-output strong { color: #1a3138; }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}
.steps-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  overflow: hidden;
}
.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 16px;
  padding: 24px 26px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.step-item:first-child { border-top: 0; }
.step-number {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
}
.step-item h3 { color: #fbf7ef; margin-bottom: 8px; font-size: 1.45rem; }
.step-item p { margin: 0; color: #c0cfcc; font-size: 1rem; line-height: 1.72; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case-card {
  background: #fbfaf6;
  border: 1px solid rgba(33,49,58,.08);
  border-radius: 20px;
  padding: 28px;
}
.case-card p {
  margin: 0;
  color: #5d6e74;
  font-size: 1rem;
  line-height: 1.78;
}

.note-box {
  margin-top: 26px;
  padding: 22px 24px;
  border-left: 4px solid #b89964;
  background: rgba(255,255,255,.55);
  border-radius: 12px;
}
.note-box p { margin: 0; color: #4e5f65; }

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.credential-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f9f7f1;
  border: 1px solid rgba(33,49,58,.09);
  color: #34525b;
  font-size: .96rem;
  font-weight: 600;
}

.contact-section {
  color: #f6f3ea;
  background: radial-gradient(circle at 85% 18%, rgba(115,209,193,.12), transparent 24%), linear-gradient(135deg,#0d1b25 0%,#10242e 62%,#12323b 100%);
  padding: 110px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  gap: 56px;
  align-items: center;
}
.contact-section p { color: #c7d2d0; }
.contact-section h2 { color: #f7f2e7; }
.contact-card {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(216,188,140,.26);
  box-shadow: 0 18px 54px rgba(0,0,0,.18);
}
.contact-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.contact-email {
  display: inline-block;
  color: #fffaf0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 650;
  word-break: break-word;
}
.contact-email:hover { color: var(--gold); }
.contact-meta {
  margin: 18px 0 26px;
  font-size: 1rem;
  color: #a9bbba !important;
}

.footer {
  background: #fbfaf6;
  border-top: 1px solid rgba(33,49,58,.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 38px 0 28px;
}
.brand-footer .brand-mark { width: 56px; height: 56px; }
.footer-branding p {
  margin: 10px 0 0 70px;
  color: #607078;
  font-size: .98rem;
}
.back-top {
  font-size: .98rem;
  font-weight: 700;
  color: #1d6d68;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(33,49,58,.08);
  padding: 20px 0 30px;
  color: #6a7a80;
  font-size: .92rem;
}
.footer-bottom p { margin: 0; max-width: 680px; text-align: right; }

.not-found-page { min-height: 100vh; background: var(--ivory); }
.not-found {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 28px;
}
.not-found h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  margin-bottom: 20px;
}

@media (max-width: 1180px) {
  .header-tagline { display: none; }
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: #fffefb;
    border-top: 1px solid rgba(33,49,58,.08);
    box-shadow: 0 18px 40px rgba(12,28,37,.08);
    padding: 14px 28px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(33,49,58,.07);
  }
  .site-nav > a:last-child { border-bottom: 0; }
  .nav-contact { text-align: center; margin-top: 12px; }
  .hero-inner,
  .section-heading,
  .split-layout,
  .contact-layout,
  .statement-band-inner { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .section-heading { gap: 18px; }
}

@media (max-width: 900px) {
  .services-grid,
  .case-grid { grid-template-columns: 1fr; }
  .contact-card { max-width: 720px; }
}

@media (max-width: 720px) {
  .content-width { width: calc(100% - 36px); }
  html { scroll-padding-top: 86px; }
  .header-inner { min-height: 78px; gap: 16px; }
  .brand { gap: 10px; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-name { font-size: 1.8rem; }
  .brand-sub { font-size: .84rem; margin-top: 4px; }
  .hero-inner { padding: 56px 0 62px; gap: 28px; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 4.1rem); }
  .hero-lede { font-size: 1.18rem; }
  .hero-description,
  .statement-small,
  .section-intro,
  .service-card p,
  .case-card p,
  .step-item p,
  .contact-meta,
  .contact-section p,
  .note-box p,
  .footer-bottom,
  .footer-branding p,
  .credential-list span {
    font-size: 1rem;
  }
  .panel-item h2,
  .step-item h3,
  h3 { font-size: 1.34rem; }
  .statement-band-inner { padding: 34px 0; gap: 18px; }
  .section { padding: 80px 0; }
  h2 { font-size: clamp(2rem, 9vw, 3.25rem); }
  .service-card,
  .case-card,
  .hero-panel-card,
  .contact-card { padding: 24px; }
  .step-item { grid-template-columns: 50px 1fr; padding: 20px 22px; }
  .body-large { font-size: 1.06rem; }
  .contact-section { padding: 84px 0; }
  .contact-email { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .footer-inner,
  .footer-bottom {
    display: block;
  }
  .footer-branding p { margin-left: 60px; }
  .back-top { display: inline-block; margin-top: 18px; }
  .footer-bottom p { text-align: left; margin-top: 10px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.6rem; }
  .brand-sub { font-size: .76rem; }
  .section-kicker,
  .panel-eyebrow,
  .contact-label,
  .service-number { font-size: 12px; }
  .button { width: 100%; }
  .hero-actions { align-items: stretch; }
  .text-link { width: max-content; }
  .footer-branding p { margin-left: 0; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Readable forensic positioning: deliberately not microtype. */
.hero-specialty {
  display: block;
  color: #e5d1ad;
  margin: 0 0 28px;
  max-width: 39rem;
  font-size: clamp(1.13rem, 1.55vw, 1.4rem);
  font-weight: 670;
  line-height: 1.48;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .hero-specialty {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 31rem;
    margin-bottom: 24px;
  }
}
