:root {
  --gold: #c5a15a;
  --navy: #1c2a44;
  --ink: #242b33;
  --muted: #5c6570;
  --paper: #f6efe4;
  --white: #ffffff;
  --line: #d9d0c3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.outline-btn,
.gold-btn,
.navy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.outline-btn {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.45rem 1rem;
}

.gold-btn {
  background: var(--gold);
  color: #fff;
}

.navy-btn {
  background: var(--navy);
  color: #fff;
}

.hero {
  min-height: 86vh;
  background:
    linear-gradient(90deg, rgba(246, 239, 228, 0.94) 0%, rgba(246, 239, 228, 0.72) 42%, rgba(246, 239, 228, 0.12) 70%),
    url("assets/hero.png") right center / cover no-repeat;
  padding: 4rem 1.25rem 5rem;
}

.hero-copy {
  max-width: 38rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin: 0 0 1.2rem;
}

.lede {
  font-family: "Libre Baskerville", serif;
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.thanks,
.contact-band,
.site-footer {
  padding: 4.5rem 1.25rem;
  text-align: center;
}

.thanks {
  background: var(--navy);
  color: #cfd6df;
}

.thanks h2,
.contact-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
}

.thanks p {
  max-width: 42rem;
  margin: 0.85rem auto;
  line-height: 1.7;
}

.contact-band {
  background: var(--paper);
}

.contact-band h2,
.contact-band p,
.eyebrow {
  color: var(--ink);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-band p,
.site-footer p {
  max-width: 40rem;
  margin: 0.7rem auto 1.2rem;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  background: #111;
  color: #9aa3ad;
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 46rem;
  margin: 0.85rem auto;
}

.site-footer .copyright {
  color: #c5ccd3;
  margin-bottom: 1.25rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.55);
}

.modal.is-closed,
.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(40rem, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.6rem;
  position: relative;
}

.modal-card.compact {
  width: min(28rem, 100%);
}

.icon-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

form,
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

label,
legend {
  font-weight: 600;
  display: grid;
  gap: 0.4rem;
}

.check {
  font-weight: 500;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.8rem;
  border: 1px solid #111;
  border-radius: 8px;
}

.check input {
  width: auto;
  margin-top: 0.2rem;
}

.name-row {
  display: grid;
  gap: 0.6rem;
}

.req {
  color: #b42318;
}

.form-intro,
.form-error {
  color: var(--muted);
}

.form-error {
  color: #b42318;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (min-width: 860px) {
  .hero {
    padding-left: 6vw;
  }

  .name-row {
    grid-template-columns: 1fr 1fr;
  }
}
