/* ---------- Fonts ---------- */
@font-face {
  font-family: "Blacker Text";
  src: url("/assets/fonts/Blacker-Text-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Blacker Pro Display";
  src: url("/assets/fonts/Blacker-Pro-Display-Medium-Italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Blacker Pro Display Condensed";
  src: url("/assets/fonts/Blacker-Pro-Display-Condensed-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

/* ---------- Brand palette ---------- */
:root {
  --maroon: #381823;
  --maroon-deep: #30151e;
  --sky: #b5d3f2;
  --sky-deep: #a7c9e9;
  --pearl: #faf8ee;
  --greige: #c2bdb3;

  --serif: "Blacker Text", Georgia, "Times New Roman", serif;
  --display: "Blacker Pro Display", Georgia, serif;
  /* Articulat CF comes from Adobe Fonts (see index.html) */
  --sans: "articulat-cf", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--maroon-deep);
  color: var(--pearl);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(620px, calc(100svh - 92px)); /* hero + footer = one screen */
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  isolation: isolate;
  background-color: #735b61;
  background-image:
    linear-gradient(rgba(56, 24, 35, 0.66), rgba(56, 24, 35, 0.66)),
    url("/assets/img/hero.jpg");
  background-image:
    linear-gradient(rgba(56, 24, 35, 0.66), rgba(56, 24, 35, 0.66)),
    image-set(url("/assets/img/hero.webp") type("image/webp"), url("/assets/img/hero.jpg") type("image/jpeg"));
  background-position: center, 70% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 58px var(--gutter) 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav span { opacity: 0.9; white-space: nowrap; }

.brand {
  align-self: center;
  justify-self: center;
  text-align: center;
  color: var(--sky);
  padding: 48px 16px;
}
.brand h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 1.1;
}
.sign {
  display: block;
  width: clamp(44px, 3.9vw, 56px);
  margin: 28px auto 0;
  fill: var(--sky);
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 0 var(--gutter) 40px;
  font-size: 15px;
  line-height: 1.35;
}
.info p { margin: 0; max-width: 300px; }
.info address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  margin-bottom: -0.12em;
  color: var(--maroon);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 7.8vw, 128px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-deep);
  color: var(--greige);
  text-align: center;
  font-size: 12px;
  padding: 40px 16px 38px;
  line-height: 14px;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero { background-position: center, 77% center; }
  .nav {
    padding-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 11px;
  }
  .nav span:nth-child(n + 4) { display: none; }
  .info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .info address { align-items: center; }
}
