@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --paper: #f7fafb;
  --paper-2: #edf4f7;
  --ink: #061927;
  --ink-2: #14344a;
  --muted: #5d7180;
  --line: #d6e3e8;
  --blue: #084878;
  --brass: #d87830;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid rgba(8, 72, 120, 0.14);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  width: 270px;
  flex: 0 0 auto;
}

.logo-image {
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.menu a:hover,
.menu a.active {
  color: var(--brass);
}

.nav-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(8, 72, 120, 0.26);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: transparent;
}

.nav-action:hover {
  border-color: var(--blue);
  background: rgba(8, 72, 120, 0.06);
  color: var(--blue);
}

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 25, 39, 0.94), rgba(8, 72, 120, 0.38)),
    var(--hero-image) center / cover no-repeat;
}

.hero-grid {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 88px 0 108px;
}

.hero-grid > * {
  min-width: 0;
}

.page-hero,
.page-hero .hero-grid {
  min-height: 500px;
}

.eyebrow {
  margin: 0 0 24px;
  color: #ffb36f;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: 86px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.page-hero h1 {
  max-width: 900px;
  font-size: 68px;
}

.lead {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 28px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.btn.dark {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn.light {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.btn:hover {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--white);
}

.section {
  padding: 104px 0;
  border-bottom: 1px solid rgba(8, 72, 120, 0.12);
}

.page-main > .section:first-child {
  padding-top: 72px;
}

.section[id] {
  scroll-margin-top: 96px;
}

.section.soft {
  background: var(--paper-2);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
  border-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 54px;
}

.label {
  margin: 0;
  color: var(--brass);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  margin: 14px 0 0;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section.dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.photo {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #d6e3e8;
}

.photo img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.statement {
  margin: 0;
  font-size: 30px;
  line-height: 1.36;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.person-card,
.contact-card {
  min-width: 0;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.card:hover {
  border-color: rgba(216, 120, 48, 0.42);
}

.card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3,
.person-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
}

.card p,
.person-card p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 22px;
  margin-top: 34px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  min-height: 160px;
  padding: 28px;
  background: var(--paper);
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  line-height: 1.5;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 312px);
  gap: 24px;
  align-items: start;
  justify-content: start;
}

.team-section .wrap {
  width: min(1320px, calc(100% - 40px));
}

.person-card {
  min-height: 0;
  padding: 0;
  width: 312px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
  border: 0;
}

.portrait {
  height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 72, 120, 0.14), rgba(216, 120, 48, 0.16)),
    #e8f1f4;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.portrait.photo {
  width: 312px;
  max-width: 100%;
  min-height: 0;
  height: 420px;
  aspect-ratio: auto;
  padding: 0;
  background: #d6e3e8;
  overflow: hidden;
  border-radius: 0 0 34px 0;
}

.portrait.photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.person-card h3 {
  margin-top: 16px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.22;
}

.person-card p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: start;
}

.contact-card {
  padding: 34px;
}

.smart-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.smart-link {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.smart-link:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  box-shadow: 0 16px 34px rgba(8, 72, 120, 0.1);
}

.contact-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid rgba(8, 72, 120, 0.12);
  color: var(--blue);
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.smart-link span:not(.contact-icon) {
  color: var(--brass);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.smart-link strong {
  margin-top: 32px;
  display: block;
  max-width: 260px;
  font-size: 30px;
  line-height: 1.15;
}

.smart-link small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid .btn {
  width: max-content;
  margin-top: 18px;
}

.footer {
  padding: 52px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .menu { display: none; }
  .hero,
  .hero-grid { min-height: 640px; }
  .hero::before { opacity: 0.76; }
  h1 { font-size: 64px; }
  .page-hero h1 { font-size: 54px; }
  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .metrics,
  .cards,
  .team-grid,
  .smart-links {
    grid-template-columns: 1fr;
  }
  .portrait { height: 560px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1200px); }
  .topbar,
  .nav { min-height: 66px; }
  .logo { width: 188px; }
  .nav-action { display: none; }
  .hero,
  .hero-grid,
  .page-hero,
  .page-hero .hero-grid {
    min-height: 560px;
  }
  .hero-grid { padding: 58px 0 76px; }
  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
  .lead {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  h2,
  .section-copy,
  .card p,
  .smart-link strong,
  .smart-link small {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .actions {
    width: min(100%, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .section { padding: 72px 0; }
  .page-main > .section:first-child { padding-top: 42px; }
  .section[id] { scroll-margin-top: 78px; }
  h2 { font-size: 30px; }
  .card,
  .contact-card,
  .smart-link { padding: 24px; }
  .card h3,
  .person-card h3,
  .smart-link strong { font-size: 22px; }
  .portrait { height: 410px; }
  .statement { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
