@font-face {
  font-family: Barlow;
  src: url(assets/fonts/barlow-400.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/fonts/barlow-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(assets/fonts/barlow-condensed-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --yellow: #ffdf00;
  --blue: #092e91;
  --paper: #faf9f3;
  --ink: #18212b;
  --rule: #c8c8bc;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gutter: clamp(18px, 4.8vw, 72px);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.5 Barlow, Arial, sans-serif;
}
.wrap {
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; translate: 0 -150%; background: white; padding: 10px; z-index: 1; }
.skip:focus { translate: 8px 8px; }

:root { --navy: #092458; --yellow: #ffdf00; --paper: #fff; }
.wrap { max-width: 1160px; }
header, footer { background: var(--navy); color: white; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 10px; }
.logo { justify-self: start; }
.logo img { width: 128px; height: auto; }
nav, .legal-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
nav { gap: 4px; }
nav a { padding: 10px 16px; border-radius: 30px; }
nav a:hover { background: #28416d; }
nav a, .bar a, address a, footer a, .button { text-decoration: none; font-weight: 600; }
h1, h2, caption, figcaption { font-family: var(--display); }
h1, h2, p, figure { margin: 0; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1; color: var(--navy); }
.hero { display: grid; grid-template-columns: 44% 56%; background: var(--yellow); color: var(--navy); }
.hero-copy { align-self: center; padding: clamp(36px,5vw,84px) 28px clamp(36px,5vw,84px) max(var(--gutter),calc((100vw - 1160px) / 2)); }
h1 { font-size: clamp(4rem,7.7vw,8rem); line-height: .91; letter-spacing: -.035em; }
.hero-copy p { max-width: 32ch; margin: 20px 0 26px; font-size: clamp(1.1rem,1.6vw,1.4rem); }
.building { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.button { display: inline-block; padding: 12px 22px; border-radius: 30px; background: var(--navy); color: white; }
.button:hover { background: var(--blue); }
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; margin-top: 48px; padding: clamp(26px,4vw,56px); border-radius: 24px; background: #eff3fa; }
.visit h2 { font-size: clamp(2.5rem,4vw,3.7rem); }
address { font-style: normal; margin: 22px 0; display: grid; gap: 12px; }
address a { width: fit-content; }
address a:hover, footer a:hover, .board-link:hover { color: #315c95; }
table { width: 100%; border-collapse: collapse; }
caption { font-size: 1.75rem; line-height: 1.2; text-align: left; color: var(--navy); padding-bottom: 12px; }
th, td { padding: 8px 0; border-bottom: 1px solid #ced7e1; }
th { text-align: left; font-weight: 400; }
td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 8px; }
.visit table { font-size: 1rem; }
.visit th, .visit td { padding-block: 5px; }
.block { padding-block: clamp(52px,6vw,90px); }
.prices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,88px); margin-top: 28px; }
.prices + .prices { margin-top: 26px; }
.board-link { display: inline-block; margin-top: 24px; color: var(--blue); }
.owner { background: var(--navy); color: white; }
.owner-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px,7vw,100px); padding-block: 48px; }
.owner img { width: 100%; max-height: 460px; object-fit: contain; }
.owner h2 { color: white; }
.owner p { max-width: 36ch; margin-top: 20px; font-size: 1.25rem; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 28px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
figcaption { font-size: 1.4rem; color: var(--navy); margin-top: 8px; }
.cta { background: var(--yellow); text-align: center; padding-block: 54px; }
.cta p { margin: 14px auto 20px; }
.foot { padding-block: 30px; display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
.legal-links { gap: 20px; }
.foot p { flex-basis: 100%; font-size: 1rem; }
footer a:hover { color: var(--yellow); }
.float-call { position: fixed; right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); z-index: 3; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--navy); border: 2px solid var(--navy); box-shadow: 0 4px 16px #09245840; }
.float-call svg { width: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .float-call { animation: call-in .5s ease-out .35s backwards; }
  @keyframes call-in { from { transform: translateY(100px); opacity: 0; } }
}
.policy { max-width: 780px; padding-block: 64px; }
.policy h1 { font-size: 4rem; color: var(--navy); }
.policy h2 { font-size: 2rem; margin-top: 32px; }
.policy p { margin-top: 16px; }
@media (max-width: 760px) {
  .bar { display: flex; flex-direction: column; gap: 6px; }
  .logo img { width: 96px; }
  nav a { padding: 10px 8px; font-size: 1rem; }
  .hero, .visit, .owner-inner, .prices-grid, .gallery { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px var(--gutter); }
  .hero h1 br { display: none; }
  .building { aspect-ratio: 2/1; height: auto; }
  .visit { gap: 28px; margin-top: 28px; }
  .gallery { gap: 24px; }
  .owner img { max-height: 365px; }
  .foot { padding-bottom: 84px; }
}
