/* Must and Shall — brand system */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --ink: #0f1c24;
  --ink-soft: #2a3d4a;
  --paper: #e8eef2;
  --mist: #c5d4de;
  --steel: #3d6b7a;
  --accent: #0d6e6e;
  --accent-deep: #094f4f;
  --highlight: #d4a84b;
  --white: #f7fafb;
  --danger: #8b2e2e;
  --radius: 2px;
  --max: 68rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow-soft: 0 24px 60px rgba(15, 28, 36, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 110, 110, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(212, 168, 75, 0.14), transparent 50%),
    linear-gradient(165deg, #dfe8ee 0%, var(--paper) 40%, #d3dde5 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(247, 250, 251, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 28, 36, 0.08);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(15, 28, 36, 0.78) 0%, rgba(13, 110, 110, 0.45) 55%, rgba(15, 28, 36, 0.65) 100%),
    url("../assets/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0f1c24, #3d6b7a);
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(15, 28, 36, 0.75) 0%, transparent 55%);
}

.hero__content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  animation: rise 0.9s ease-out both;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: rgba(247, 250, 251, 0.92);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--highlight);
  color: var(--ink);
}

.btn--primary:hover {
  background: #e0b85c;
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(247, 250, 251, 0.65);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--solid {
  background: var(--accent);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
  animation: rise 0.8s ease-out both;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

.section__lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose p {
  margin: 0 0 1.1rem;
  max-width: 46rem;
}

.prose ol {
  margin: 0;
  padding-left: 1.2rem;
  max-width: 46rem;
}

.prose li {
  margin-bottom: 0.75rem;
}

.prose li::marker {
  color: var(--accent);
  font-weight: 700;
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem) 1rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  animation: rise 0.7s ease-out both;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.input,
.textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(15, 28, 36, 0.18);
  border-radius: var(--radius);
  background: rgba(247, 250, 251, 0.9);
  font: inherit;
  color: var(--ink);
}

.input:focus,
.textarea:focus {
  outline: 2px solid rgba(13, 110, 110, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status[data-state="ok"] {
  color: var(--accent-deep);
}

.form-status[data-state="err"] {
  color: var(--danger);
}

.turnstile-wrap {
  margin-top: 0.25rem;
}

.site-footer {
  margin-top: auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid rgba(15, 28, 36, 0.1);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.site-footer strong {
  font-family: var(--font-display);
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media,
  .hero__content,
  .section,
  .page-hero {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
