@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --dark: #111;
  --text: #2b2b2b;
  --muted: #666;
  --line: #e5e5e5;
  --gold: #e2c20d;
  --gold-text: #8a7400; /* gold that passes contrast on white */
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 "Inter", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Montserrat", system-ui, sans-serif; line-height: 1.25; }
h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: .9rem;
  background: var(--gold);
}
.center { text-align: center; }
.center h2::after { margin-inline: auto; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: #faf8f2; }
.lead { font-size: 1.15rem; max-width: 46rem; }
.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: .5rem 1rem; background: #fff; color: #000; }

/* Header: sticky everywhere, transparent over the home hero, solid once scrolled (see main.js) */
html { scroll-padding-top: 6rem; }
.site-header { position: sticky; top: 0; z-index: 10; background-color: var(--dark); color: #fff; transition: background-color .5s ease-in-out; }
.site-header--overlay { position: fixed; inset: 0 0 auto; background-color: transparent; background-image: linear-gradient(to bottom, rgba(0, 0, 0, .2), transparent); }
.site-header.is-scrolled { background-color: rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; transition: padding .5s ease-in-out; }
.is-scrolled .header-inner { padding-block: .5rem; }
.header-logo { transition: opacity .2s; }
.header-logo:hover { opacity: .7; }
.header-logo img { width: 64px; height: 64px; transition: width .5s ease-in-out, height .5s ease-in-out; }
.is-scrolled .header-logo img { width: 52px; height: 52px; }
.nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav a { text-decoration: none; font-weight: 500; padding-block: .25rem; border-bottom: 1px solid transparent; transition: border-color .2s ease, opacity .2s ease; }
.nav a:hover { border-bottom-color: rgba(255, 255, 255, .8); opacity: .8; }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-content { position: relative; z-index: 1; padding: 7rem 1.25rem 4rem; animation: hero-in .8s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(-1.5rem); } }
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 1;
  width: 3.5rem;
  height: 1.5rem;
  overflow: hidden;
  opacity: .5;
  transform: translateX(-50%);
  animation: pulsate 1.5s ease-out infinite;
}
.scroll-down::before { content: ""; position: absolute; left: 15px; bottom: 10px; width: 30px; height: 30px; border: 2px solid #fff; transform: rotate(45deg); }
.scroll-down:hover { opacity: 1; animation: none; }
@keyframes pulsate { 0% { opacity: .5; } 50% { opacity: 1; } 100% { opacity: .3; } }
.hero h1 { margin: 0; }
.hero-brand { display: block; font-family: "Inter", sans-serif; font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 700; letter-spacing: -.01em; }
.hero-sub { display: block; margin-top: .75rem; font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.hero-sub::before { content: ""; display: block; width: 16rem; max-width: 60%; height: 1px; margin: 1.25rem auto; background: rgba(255, 255, 255, .5); }
.hero-tagline { margin: 1rem 0 2rem; font-size: 1.15rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font: 600 .9rem/1 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* Cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.card h3 { margin: 0 0 .5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.card p { margin: 0; }

/* CTA band */
.cta { background: var(--dark); color: #fff; }

/* Pages */
.page-title { padding-block: 3rem 0; }
.page-title h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.2rem; }
.prose h2::after { display: none; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-form label, .contact-form legend { display: block; margin-bottom: .35rem; font-weight: 500; }
.contact-form input:not([type="radio"]), .contact-form textarea {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: .75rem;
  border: 1px solid #bbb;
  font: inherit;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; }
.contact-form fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.radios label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { padding: 1rem; margin: 0 0 1.5rem; border-left: 4px solid; }
.form-status--ok { border-color: #2e7d32; background: #edf7ee; }
.form-status--error { border-color: #c62828; background: #fdecea; }
.cf-turnstile { margin-bottom: 1rem; }
.contact-aside address { font-style: normal; }
.contact-aside a { color: var(--gold-text); }

/* Footer */
.site-footer { background: var(--dark); color: #bbb; font-size: .98rem; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-grid p { margin: 0 0 .35rem; }
.footer-grid address { font-style: normal; }
.footer-name { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; border-top: 1px solid #2a2a2a; font-size: .9rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
