@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0e2841;
  --deep-blue: #1f5c8b;
  --steel-blue: #4a7fb5;
  --gold: #c9a84c;
  --off-white: #f4f6f9;
  --white: #ffffff;
  --pale-gray: #e8ecf2;
  --muted: #52657b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 0;
}

body {
  background: var(--white);
  color: var(--navy);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 66vh;
  border-bottom: 3px solid var(--gold);
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(32deg, transparent 0 76px, rgb(255 255 255 / 0.035) 77px 78px),
    repeating-linear-gradient(148deg, transparent 0 76px, rgb(74 127 181 / 0.075) 77px 78px);
  color: var(--white);
}

.hero__inner,
.contact__inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  min-height: 66vh;
  padding: 72px 0;
}

.hero__copy {
  min-width: 0;
}

.logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 48px;
}

.kicker,
.contact__label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 740px; 
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.contact {
  background: var(--off-white);
}

.contact__inner {
  padding: 64px 0 72px;
}

.contact__label {
  color: var(--steel-blue);
}

.contact__address {
  display: inline-block;
  border-bottom: 3px solid var(--gold);
  color: var(--deep-blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact__address:focus-visible,
.contact__address:hover,
.return-link:focus-visible,
.return-link:hover {
  color: var(--gold);
}

.contact__note {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
}

.footer {
  padding: 24px 32px;
  border-top: 1px solid var(--pale-gray);
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.hero--error {
  min-height: calc(100vh - 74px);
}

.hero--error .hero__inner {
  min-height: calc(100vh - 74px);
}

.return-link {
  display: inline-block;
  margin-top: 36px;
  border-bottom: 2px solid var(--gold);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 759px) {
  .hero__inner,
  .contact__inner {
    width: min(100% - 40px, 680px);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 48px 0 52px;
  }

  .logo {
    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero__mark {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .contact__inner {
    padding: 48px 0 56px;
  }

  .footer {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}
