:root {
  color-scheme: light;
  font-family: "Helvetica Neue", system-ui, sans-serif;
  --ink: #142c45;
  --muted: #465e75;
  --strong: #172f4b;
  --strong-hover: #264969;
  --wash: #edf3fa;
  --line: #d2deec;
  --gold: #f1ce77;
  --white: #fff;
  --gutter: clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a, summary { text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #92611d; outline-offset: 5px; }

.wrap { width: min(100% - 2 * var(--gutter), 1220px); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 12px;
  padding: 9px 14px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row, .header-nav { display: flex; align-items: center; }
.header-row { justify-content: space-between; gap: 20px; padding-block: 10px; }
.header-nav { gap: clamp(12px, 2.2vw, 28px); }
.brand-logo {
  flex: none;
  width: clamp(80px, 8vw, 108px);
  background: var(--strong);
  border: 1px solid #3a4d65;
  border-radius: 12px;
  padding: 4px;
}
.contact-nav { font-weight: 700; text-decoration: none; }
.contact-nav:hover { text-decoration: underline; }

.language { position: relative; }
.language summary {
  min-height: 44px;
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: var(--white);
  padding: 0 10px;
}
.language summary::-webkit-details-marker { display: none; }
.language summary span { font-size: 1.13rem; }
.language summary::after {
  content: "";
  width: 7px;
  height: 7px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.language[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language ul {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 2;
  min-width: 174px;
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 13px 35px #142c4522;
}
.language a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 7px;
  text-decoration: none;
}
.language a:hover, .language a[aria-current] { background: var(--wash); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .66fr);
  align-items: center;
  gap: clamp(28px, 8vw, 134px);
  padding-block: clamp(50px, 7vw, 112px);
}
.eyebrow {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: .96;
  letter-spacing: -.085em;
  margin: 13px 0 18px;
}
.lead {
  max-width: 19ch;
  font-size: clamp(1.65rem, 3.15vw, 2.65rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.04em;
}
.intro-copy {
  max-width: 44ch;
  margin: 21px 0 29px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid var(--strong);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
}
.primary { color: var(--white); background: var(--strong); }
.primary span { color: var(--gold); }
.primary:hover { background: var(--strong-hover); }
.secondary:hover { background: var(--wash); }

.portrait {
  justify-self: end;
  width: min(100%, 350px);
  padding: 9px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.portrait img { border-radius: 8px; }

.credentials { color: var(--white); background: var(--strong); }
.credential-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 3vw, 42px);
  padding-block: 25px;
}
.credential-row p { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.credential-row p:first-child { color: #e1ebf7; font-weight: 650; }
.credential-row strong { font-size: 1.02rem; }
.credential-row a { color: var(--gold); }
.credential-row a:focus-visible { outline-color: var(--gold); }

.offer {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 105px);
  padding-block: clamp(54px, 8vw, 109px);
}
h2 {
  font-size: clamp(2.15rem, 4.1vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.065em;
}
.offer h2, .contact h2 { margin-top: 9px; }
.services { padding: 0; margin: 24px 0 0; list-style: none; }
.services li { padding-block: 14px; border-top: 1px solid var(--line); }
.services h3 { margin-bottom: 3px; font-size: 1.04rem; }
.services p { color: var(--muted); }
.photos {
  display: grid;
  /* Match the two portrait ratios to keep the row tight without cropping. */
  grid-template-columns: minmax(0, .837fr) minmax(0, .744fr);
  align-items: start;
  align-content: center;
  justify-self: center;
  width: min(100%, 425px);
  gap: 11px;
}
.photos img { border-radius: 8px; background: var(--wash); }
.photos img:first-child { grid-column: 1 / -1; }

.contact { background: var(--wash); border-block: 1px solid var(--line); }
.contact-row {
  padding-block: clamp(35px, 5vw, 67px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 42px;
}
.contact h2 + p { color: var(--muted); margin-top: 12px; max-width: 50ch; }
.contact-links { display: grid; gap: 8px; font-size: clamp(1.1rem, 2.2vw, 1.55rem); font-weight: 750; }
.contact-links a { overflow-wrap: anywhere; }

.footer-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-block: 24px; flex-wrap: wrap; }
.footer-row p { font-weight: 750; }
.footer-row span { color: var(--muted); font-weight: 500; }
.footer-row nav { display: flex; gap: 16px; flex-wrap: wrap; }

.legal-page { max-width: 750px; padding-block: 52px 72px; }
.legal-page h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.08; letter-spacing: -.06em; margin-block: 18px 30px; }
.legal-page h2 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.03em; margin-block: 25px 7px; }
.legal-page address { font-style: normal; margin-bottom: 12px; }
.legal-page p { overflow-wrap: anywhere; }
.back { font-weight: 700; }

@media (max-width: 820px) {
  .hero { gap: 25px; }
  .offer { gap: 28px; }
}
@media (max-width: 630px) {
  .header-row { flex-wrap: wrap; gap: 6px 14px; padding-block: 10px 12px; }
  .contact-nav { display: none; }
  .hero, .offer, .credential-row, .contact-row { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 35px; gap: 23px; }
  .portrait { justify-self: start; width: min(100%, 300px); }
  .credential-row { padding-block: 18px; }
  .credential-row p { gap: 3px 12px; }
}
