@font-face {
  font-family: "Open Sans Local";
  src: url("fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Local";
  src: url("fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1f355e;
  --blue-deep: #071e3d;
  --copper: #b87333;
  --copper-dark: #9b5a25;
  --ink: #182238;
  --muted: #627084;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e3e5ea;
  --shadow: 0 24px 70px rgba(7, 30, 61, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Open Sans Local", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 53, 94, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 53, 94, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(31, 53, 94, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--blue-deep);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--blue-deep);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name {
  display: grid;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 19px;
  line-height: 1.05;
}

.brand-name span {
  color: var(--copper);
  font-size: 15px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(184, 115, 51, 0.12);
}

.main-nav .nav-cta {
  background: var(--blue-deep);
  color: var(--white);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero,
.section,
.experience,
.quote-section,
.contact-section,
.about-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 0;
  padding: clamp(48px, 6vw, 72px) 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 6vw, 70px);
}

h2 {
  font-size: clamp(31px, 4vw, 52px);
}

h3 {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: #27334b;
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--blue-deep);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--blue-deep);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--blue-deep);
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 18px 28px 28px;
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero-portrait {
  width: 100%;
  height: clamp(150px, 13vw, 180px);
  object-fit: cover;
  object-position: center 25%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.metric {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.trust-band div {
  padding: 34px clamp(22px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.icon {
  display: block;
  color: var(--copper);
  font-size: 34px;
  line-height: 1;
}

.trust-band strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.split > div > p:not(.section-kicker),
.three-columns p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.about-points article {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 30, 61, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 6px;
  font-size: 24px;
}

.service-card p,
.about-points p {
  margin: 0;
  color: var(--muted);
}

.experience {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(32px, 6vw, 70px);
  padding: clamp(44px, 7vw, 74px);
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.experience h2 {
  color: var(--white);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  position: relative;
  padding-left: 28px;
}

.check-grid li::before,
.plain-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.three-columns article {
  padding-top: 10px;
  border-top: 2px solid var(--copper);
}

.three-columns h2 {
  font-size: clamp(25px, 2.6vw, 34px);
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plain-list li {
  position: relative;
  padding-left: 26px;
}

.quote-section {
  padding: 0 0 clamp(70px, 9vw, 110px);
}

blockquote {
  margin: 0;
  padding: clamp(34px, 6vw, 58px);
  background: var(--white);
  border-left: 5px solid var(--copper);
  box-shadow: 0 18px 42px rgba(7, 30, 61, 0.08);
}

blockquote p {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
}

cite {
  display: block;
  margin-top: 20px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  padding: clamp(54px, 7vw, 86px) 0 clamp(70px, 9vw, 110px);
}

.contact-section p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 9px;
  padding: 30px;
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 25px;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--white);
}

.contact-card a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(62px, 8vw, 108px) 0 clamp(44px, 7vw, 80px);
}

.about-image-wrap {
  position: relative;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 54%;
  height: 54%;
  border-right: 3px solid var(--copper);
  border-bottom: 3px solid var(--copper);
  z-index: -1;
}

.about-image-wrap img {
  aspect-ratio: 1;
  object-fit: cover;
}

.about-intro p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.about-points {
  display: grid;
  gap: 18px;
}

.about-points article {
  min-height: auto;
}

.about-experience {
  margin-top: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-deep);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-content {
  padding: clamp(28px, 5vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 30, 61, 0.08);
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(620px, calc(100% - 36px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-notice p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-notice button {
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--blue-deep);
  color: var(--white);
  font: 700 14px var(--sans);
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .experience,
  .contact-section,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-panel,
  .contact-card {
    width: min(100%, 560px);
  }

  .trust-band,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .about-image-wrap {
    width: min(100%, 430px);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding: 12px 20px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-name span {
    font-size: 13px;
  }

  .nav-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(31, 53, 94, 0.22);
    border-radius: 6px;
  }

  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue-deep);
  }

  .nav-button span {
    position: relative;
  }

  .nav-button span::before,
  .nav-button span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-button span::before {
    top: -7px;
  }

  .nav-button span::after {
    top: 7px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .hero,
  .section,
  .experience,
  .quote-section,
  .contact-section,
  .about-hero {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-list,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .experience {
    padding: 34px 24px;
  }

  .contact-section {
    padding-bottom: 70px;
  }

  .about-image-wrap::after {
    display: none;
  }

  .site-footer {
    display: grid;
  }

  .cookie-notice {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-name span {
    font-size: 12px;
  }

  .service-card,
  .contact-card {
    padding: 22px;
  }
}
