:root {
  --bg: #f8f7f3;
  --ink: #171717;
  --muted: #55575a;
  --line: #d8d6d0;
  --accent: #0a2b55;
  --max: 1440px;
  --pad: clamp(28px, 5vw, 88px);
  --font: "Inter", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: var(--pad);
}

.site-header {
  min-height: 136px;
  display: flex;
  align-items: center;
}
.header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.brand-mark { width: 38px; height: 82px; object-fit: contain; }
.brand-name {
  font-size: 23px;
  letter-spacing: .22em;
  white-space: nowrap;
  font-weight: 400;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
}
.header-actions a { text-decoration: none; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .01em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
  gap: clamp(48px, 8vw, 128px);
  min-height: 610px;
  align-items: center;
  padding-block: clamp(62px, 7vh, 98px) 72px;
}
.hero-copy { max-width: 880px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .12em;
}
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
}
.intro {
  margin: 34px 0 0;
  max-width: 760px;
  color: #2c2d2f;
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.55;
}
.expertise {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
}
.expertise li {
  display: flex;
  align-items: center;
}
.expertise li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 20px;
  background: #9a9da2;
  margin-inline: 24px;
}
.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-mark img {
  width: min(100%, 230px);
  max-height: 470px;
  object-fit: contain;
}

.contact-section {
  border-top: 1px solid var(--line);
  padding-block: 48px 54px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-name {
  margin: 0 0 5px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 720;
}
.contact-role {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 17px;
}
.contact-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-links a:hover { text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 30px;
  font-size: 14px;
  color: #333;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a { text-decoration: none; }

.legal-page {
  min-height: 64vh;
  padding-block: 64px 100px;
}
.legal-wrap { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 40px;
}
.legal-page h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}
.legal-page p,
.legal-page li {
  font-size: 17px;
  line-height: 1.65;
}
.legal-page ul { padding-left: 22px; }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(10, 43, 85, .06);
}
.not-found {
  min-height: 62vh;
  display: grid;
  align-content: center;
  max-width: 760px;
  padding-block: 70px;
}
.not-found h1 { margin-bottom: 22px; }
.not-found p { font-size: 20px; line-height: 1.55; }
.not-found .button { margin-top: 18px; width: fit-content; }

@media (max-width: 820px) {
  :root { --pad: 30px; }
  .site-header { min-height: 112px; }
  .brand { gap: 14px; }
  .brand-mark { width: 31px; height: 68px; }
  .brand-name { font-size: 19px; letter-spacing: .18em; }
  .header-actions .linkedin-top { display: none; }
  .button { min-height: 44px; padding-inline: 20px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    padding-block: 62px 64px;
  }
  .hero-mark { display: none; }
  .eyebrow { font-size: 15px; margin-bottom: 28px; }
  h1 {
    font-size: clamp(43px, 12vw, 60px);
    line-height: 1.04;
  }
  .intro {
    margin-top: 34px;
    font-size: 19px;
    line-height: 1.58;
  }
  .expertise {
    margin-top: 38px;
    display: block;
    font-size: 19px;
  }
  .expertise li {
    padding: 17px 10px;
    border-bottom: 1px solid var(--line);
  }
  .expertise li:first-child { border-top: 1px solid var(--line); }
  .expertise li:not(:last-child)::after { display: none; }

  .contact-section { padding-block: 38px 44px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-name { font-size: 27px; }
  .contact-links { font-size: 18px; }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 13px;
  }
  .legal-page { padding-block: 52px 80px; }
}

@media (max-width: 420px) {
  :root { --pad: 24px; }
  .brand-name { font-size: 17px; letter-spacing: .14em; }
  .header-actions .button { padding-inline: 16px; }
  h1 { font-size: 42px; }
}

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