:root {
  --navy: #102a43;
  --navy-deep: #081d30;
  --paper: #f5f1e8;
  --white: #fffdf8;
  --teal: #2b7a78;
  --teal-light: #83b5b1;
  --copper: #c57a44;
  --ink: #183044;
  --muted: #60717f;
  --line: rgba(16, 42, 67, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  align-items: center;
  background: rgba(245, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 86px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(24px, 5vw, 80px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand { align-items: center; display: inline-flex; gap: 14px; }
.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  width: 42px;
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
nav { align-items: center; display: flex; gap: clamp(18px, 2.5vw, 38px); }
nav a { font-size: 13px; font-weight: 650; }
nav a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta { background: var(--navy); color: var(--white); padding: 11px 20px; }

.hero {
  background: var(--navy-deep);
  color: var(--white);
  display: grid;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 126px) 64px;
  position: relative;
}
.hero-grid {
  background-image: linear-gradient(rgba(131,181,177,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(131,181,177,.12) 1px, transparent 1px);
  background-size: 84px 84px;
  height: 82%;
  mask-image: linear-gradient(to left, black, transparent);
  pointer-events: none;
  position: absolute;
  right: -5%;
  top: 0;
  transform: skewX(-12deg);
  width: 65%;
}
.hero::after {
  border: 1px solid rgba(131,181,177,.42);
  content: "";
  height: 420px;
  position: absolute;
  right: 8vw;
  top: 16%;
  transform: rotate(45deg);
  width: 420px;
}
.hero-copy { max-width: 920px; position: relative; z-index: 2; }
.eyebrow { color: var(--teal-light); font-size: 12px; font-weight: 800; letter-spacing: .2em; margin: 0 0 28px; }
.eyebrow.dark { color: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(55px, 8vw, 118px); font-weight: 520; letter-spacing: -.065em; line-height: .92; margin-bottom: 40px; }
h1 span { color: var(--teal-light); display: block; }
.hero-lead { color: rgba(255,253,248,.76); font-size: clamp(18px, 1.8vw, 25px); line-height: 1.55; max-width: 760px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 32px; margin-top: 42px; }
.button { border: 0; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 800; justify-content: center; letter-spacing: .04em; padding: 16px 25px; }
.button.primary { background: var(--copper); color: var(--white); }
.button.light { background: var(--paper); color: var(--navy); margin-top: 24px; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.4); font-size: 14px; padding-bottom: 4px; }
.text-link span { color: var(--copper); margin-left: 8px; }
.hero-proof { align-self: end; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; position: relative; z-index: 2; }
.hero-proof > div { align-items: center; border-right: 1px solid rgba(255,255,255,.18); display: flex; gap: 18px; padding: 28px clamp(10px,2vw,32px); }
.hero-proof > div:first-child { padding-left: 0; }
.hero-proof strong { color: var(--teal-light); font-size: 28px; }
.hero-proof span { color: rgba(255,255,255,.64); font-size: 12px; max-width: 150px; }

.section { padding: clamp(84px,10vw,148px) clamp(24px,8vw,126px); }
.section-heading { align-items: end; display: grid; gap: 8vw; grid-template-columns: 1.2fr .8fr; margin-bottom: 64px; }
h2 { color: var(--navy); font-size: clamp(42px,5vw,72px); font-weight: 520; letter-spacing: -.045em; line-height: 1; }
.section-heading > p { color: var(--muted); font-size: 17px; margin-bottom: 5px; }
.service-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.service-card { border-right: 1px solid var(--line); min-height: 370px; padding: 32px clamp(22px,3vw,42px) 28px; }
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card > span { color: var(--copper); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { color: var(--navy); font-size: 26px; font-weight: 600; line-height: 1.18; margin: 65px 0 20px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card a { color: var(--teal); display: inline-block; font-size: 13px; font-weight: 800; margin-top: 18px; }

.expertise { background: var(--navy); color: var(--white); display: grid; gap: 10vw; grid-template-columns: .8fr 1.2fr; padding: clamp(84px,10vw,148px) clamp(24px,8vw,126px); }
.expertise h2 { color: var(--white); }
.expertise-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 560px; }
.expertise-list { border-top: 1px solid rgba(255,255,255,.18); list-style: none; margin: 0; padding: 0; }
.expertise-list li { align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); display: flex; font-size: clamp(18px,2vw,27px); gap: 24px; padding: 19px 0; }
.expertise-list span { color: var(--teal-light); font-size: 11px; letter-spacing: .14em; }

.about { display: grid; gap: 10vw; grid-template-columns: .85fr 1.15fr; }
.about-intro { align-self: start; position: sticky; top: 130px; }
.about-lead { color: var(--navy); font-size: 22px; font-weight: 560; line-height: 1.45; }
.about-intro > p:not(.eyebrow):not(.about-lead) { color: var(--muted); }
.certification { border-left: 3px solid var(--copper); display: flex; flex-direction: column; margin-top: 36px; padding-left: 20px; }
.certification span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.certification strong { font-size: 14px; margin-top: 4px; }
.timeline article { border-top: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: 100px 1fr; padding: 34px 0 40px; }
.timeline article:last-child { border-bottom: 1px solid var(--line); }
.period { color: var(--copper); font-size: 12px; font-weight: 800; }
.timeline h3 { color: var(--navy); font-size: 24px; margin-bottom: 2px; }
.timeline strong { color: var(--teal); font-size: 13px; }
.timeline p { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

.contact { background: var(--navy-deep); color: var(--white); display: grid; gap: 10vw; grid-template-columns: .85fr 1.15fr; padding: clamp(84px,10vw,148px) clamp(24px,8vw,126px); }
.contact h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 18px; max-width: 520px; }
.contact-details { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; }
.contact-details a { font-size: 17px; font-weight: 650; }
address { color: rgba(255,255,255,.56); font-size: 14px; font-style: normal; margin-top: 16px; }
.contact-form { background: var(--paper); color: var(--navy); padding: clamp(26px,4vw,54px); }
.field-row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.contact-form label { display: block; margin-bottom: 22px; }
.contact-form label span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }
.contact-form input, .contact-form textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(16,42,67,.4); border-radius: 0; color: var(--navy); outline: none; padding: 10px 0; resize: vertical; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 2px 0 var(--teal); }
.button.submit { background: var(--copper); color: var(--white); margin-top: 8px; }
.contact-form small { color: var(--muted); display: block; font-size: 11px; line-height: 1.5; margin-top: 16px; }

footer { align-items: center; background: var(--paper); display: flex; justify-content: space-between; padding: 32px clamp(24px,5vw,80px); }
.footer-meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 22px; }
.footer-meta a { color: var(--navy); font-weight: 700; }

.legal-page { background: var(--paper); min-height: 100vh; }
.legal-header { position: static; }
.legal-main { margin: 0 auto; max-width: 920px; padding: clamp(70px, 9vw, 120px) 24px; }
.legal-main h1 { color: var(--navy); font-size: clamp(48px, 7vw, 82px); margin-bottom: 28px; }
.legal-intro { color: var(--muted); font-size: 19px; max-width: 760px; }
.legal-summary { background: var(--navy); color: var(--white); display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 48px 0 66px; }
.legal-summary div { background: var(--navy-deep); padding: 24px; }
.legal-summary strong { color: var(--teal-light); display: block; font-size: 12px; letter-spacing: .12em; margin-bottom: 7px; text-transform: uppercase; }
.legal-summary span { color: rgba(255,255,255,.78); font-size: 14px; }
.legal-section { border-top: 1px solid var(--line); padding: 34px 0; }
.legal-section h2 { font-size: clamp(27px, 3vw, 38px); margin-bottom: 18px; }
.legal-section h3 { color: var(--navy); font-size: 18px; margin: 28px 0 10px; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { color: var(--ink); font-style: normal; }
.legal-back { margin-top: 38px; }

.service-page { background: var(--paper); min-height: 100vh; }
.service-page .site-header { position: sticky; }
.service-hero { background: var(--navy-deep); color: var(--white); padding: clamp(76px, 10vw, 132px) clamp(24px, 8vw, 126px); }
.service-hero-inner { max-width: 1000px; }
.service-hero h1 { font-size: clamp(50px, 7vw, 94px); margin-bottom: 32px; }
.service-hero h1 span { display: block; }
.service-hero-lead { color: rgba(255,255,255,.76); font-size: clamp(19px, 2vw, 25px); max-width: 780px; }
.service-content { margin: 0 auto; max-width: 1180px; padding: clamp(72px, 9vw, 120px) 24px; }
.service-content h2 { font-size: clamp(36px, 4vw, 58px); }
.service-intro { display: grid; gap: 7vw; grid-template-columns: 1.15fr .85fr; margin-bottom: 72px; }
.service-intro > p { color: var(--muted); font-size: 18px; }
.detail-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 80px; }
.detail-card { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 34px 30px 38px 0; }
.detail-card + .detail-card { padding-left: 30px; }
.detail-card h3 { color: var(--navy); font-size: 22px; }
.detail-card p { color: var(--muted); font-size: 15px; }
.process { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 70px); }
.process h2 { color: var(--white); }
.process-list { counter-reset: steps; display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 38px 0 0; padding: 0; }
.process-list li { border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.72); padding: 24px 24px 0 0; }
.process-list strong { color: var(--teal-light); display: block; font-size: 17px; margin-bottom: 8px; }
.service-cta { align-items: center; display: flex; gap: 32px; justify-content: space-between; padding: 72px 0 0; }
.service-cta p { color: var(--muted); font-size: 18px; margin: 0; max-width: 680px; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero::after { height: 250px; opacity: .55; right: -18%; top: 25%; width: 250px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div, .hero-proof > div:first-child { border-bottom: 1px solid rgba(255,255,255,.18); border-right: 0; padding-left: 0; }
  .section-heading, .expertise, .about, .contact { gap: 55px; grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); min-height: auto; }
  .service-card h3 { margin-top: 35px; }
  .about-intro { position: static; }
}

@media (max-width: 600px) {
  .site-header { height: 74px; }
  .brand-mark { width: 37px; }
  .brand strong { font-size: 13px; }
  .nav-cta { padding: 9px 13px; }
  .hero { min-height: calc(100vh - 74px); padding-top: 80px; }
  h1 { font-size: clamp(50px,15vw,74px); }
  .field-row { grid-template-columns: 1fr; }
  .timeline article { gap: 12px; grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .legal-summary { grid-template-columns: 1fr; }
  .service-intro, .detail-grid, .process-list { grid-template-columns: 1fr; }
  .detail-card, .detail-card + .detail-card { border-right: 0; padding-left: 0; }
  .service-cta { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
