@font-face {
  font-family: "IBM Plex Mono";
  src: url("ibm-plex-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f6f4;
  --band: #e9eeef;
  --ink: #152b38;
  --muted: #425967;
  --blue: #0e587f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
.site-home { min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(100% - 2 * clamp(22px, 6.5vw, 96px), 1296px); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .65rem; background: white; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }

.masthead {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: clamp(545px, 72svh, 920px);
  background: #112433;
  color: #f9fbff;
}
.masthead::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(8 23 36 / .92) 1%, rgb(8 23 36 / .78) 31%, rgb(8 23 36 / .21) 70%, rgb(8 23 36 / .10)),
              linear-gradient(180deg, rgb(8 23 36 / .45), transparent 26%, transparent 76%, rgb(8 23 36 / .3));
}
.masthead :focus-visible { outline-color: #b3e3ff; }
.hero-picture { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% 55%; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 96px; }
.brand img { display: block; width: clamp(154px, 16vw, 202px); height: auto; }
.header-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 52px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #ecf5fa;
  color: #173444;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.header-link:hover { background: #fff; }
.footer a:hover { text-decoration: underline; }
.hero { display: flex; align-items: center; padding-block: clamp(39px, 6vw, 92px) clamp(65px, 8vw, 112px); }
.hero-copy { max-width: 680px; }
.location { margin: 0 0 20px; font-size: .83rem; color: var(--blue); }
.hero .location { color: #beebff; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 400 clamp(3.1rem, 6.5vw, 6.15rem)/.94 var(--serif); letter-spacing: -.057em; margin-bottom: 22px; }
.specialties { font-size: clamp(1.06rem, 1.6vw, 1.27rem); margin-bottom: 13px; }
.intro { max-width: 40ch; color: var(--muted); font-size: 1rem; line-height: 1.55; margin-bottom: 28px; }
.hero .intro { color: #dee8ef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  min-height: 47px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.button:hover { background: #0d4665; }
.hero .button:not(.button-glass) { background: #ecf6fb; color: #17394e; }
.hero .button:not(.button-glass):hover { background: #cfeafb; }
.button-glass { color: #f7fbff; background: rgb(20 48 66 / .82); }
.button-glass:hover { background: #24516c; }

.contact { position: relative; isolation: isolate; background: var(--band); scroll-margin-top: 12px; }
.contact-inner { position: relative; z-index: 1; pointer-events: none; }
.contact-content { width: 38%; padding-block: clamp(35px, 5vw, 74px); pointer-events: auto; }
.contact-content h2 { margin: 0 0 25px; font: 400 clamp(2.15rem, 4.2vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.045em; }
.contact-grid { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f9fbfb;
  color: var(--ink);
  text-decoration: none;
}
.contact-card:hover { background: #fff; box-shadow: 0 5px 18px rgb(21 43 56 / .07); }
.contact-icon { display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border-radius: 10px; background: #e4edf3; color: var(--blue); }
.contact-icon svg { display: block; width: 19px; height: 19px; }
.contact-text { display: grid; min-width: 0; gap: 4px; }
.contact-label { color: var(--muted); font-size: .8rem; }
.contact-value { font-size: clamp(.98rem, 1.33vw, 1.13rem); font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.contact-arrow { color: var(--blue); font-size: .88rem; }
.phone-number, .office-number { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.phone-number { letter-spacing: -.025em; }
.contact-map { position: absolute; inset: 0; isolation: isolate; background: #e3ebe2; }
.contact-map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--band), rgb(233 237 238 / .95) 22%, rgb(233 237 238 / .8) 37%, rgb(233 237 238 / .28) 52%, transparent 70%);
  pointer-events: none;
}
.map-link {
  position: absolute;
  z-index: 1;
  right: 52px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 18px rgb(21 43 56 / .14);
  font-size: .84rem;
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }
.footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 22px; color: var(--muted); font-size: .8rem; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.error-main { padding-block: clamp(44px, 12vw, 135px); min-height: 60vh; }
.error-main h1 { max-width: 18ch; }
.error-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

@media (max-width: 690px) {
  .header { min-height: 76px; gap: 12px; }
  .header-link { min-height: 46px; gap: .5rem; padding-inline: 13px; font-size: .9rem; }
  .masthead { min-height: min(610px, max(540px, 73svh)); }
  .masthead::after { background: linear-gradient(90deg, rgb(8 23 36 / .88), rgb(8 23 36 / .7) 58%, rgb(8 23 36 / .40)),
    linear-gradient(180deg, rgb(8 23 36 / .32), transparent 29%, transparent 62%, rgb(8 23 36 / .31)); }
  .hero { padding-block: 46px 64px; }
  .hero-picture img { object-position: 57% center; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 4.25rem); }
  .location { margin-bottom: 16px; }
  .intro { margin-bottom: 23px; }
  .contact-content { width: 100%; padding-block: 32px 23px; }
  .contact-content h2 { margin-bottom: 18px; }
  .contact-map { position: relative; min-height: 300px; }
  .contact-map::after { background: linear-gradient(180deg, var(--band), transparent 12%); }
}
@media (max-width: 450px) {
  .desktop-break { display: none; }
  .contact-card { gap: 11px; padding-inline: 12px; }
  .hero-actions .button { gap: 10px; padding-inline: 12px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
