:root {
  --navy: #0e365b;
  --gold: #b7914f;
  --ivory: #f5f1e8;
  --ink: #24384e;
  --muted: #5f676d;
  --line: rgba(36,56,78,.18);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ivory); }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
}
a { color: inherit; }
button, input { font: inherit; }
.page { min-height: 100vh; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -90px;
  z-index: 40;
  background: #fff;
  color: #000;
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }
.hidden-field, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.hero {
  position: relative;
  background: #ebe4d7;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1448 / 1086;
  object-fit: cover;
}
.overlay-form {
  position: absolute;
  left: 4.35%;
  top: 74.5%;
  width: 23.7%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  row-gap: 12px;
}
.overlay-form input,
.overlay-form button {
  appearance: none;
  -webkit-appearance: none;
  height: 45px;
  border: none;
  background: transparent;
}
.overlay-form input {
  color: #5f676d;
  padding: 0 16px;
  font-size: 16px;
  line-height: 45px;
}
.overlay-form button {
  cursor: pointer;
}
.overlay-form input:focus-visible,
.overlay-form button:focus-visible {
  outline: 2px solid rgba(14,54,91,.55);
  outline-offset: 2px;
}
.mobile-panel { display: none; }
.footer {
  padding: 18px 22px 30px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thanks-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f4ec 0%, #ece3d6 100%);
}
.thanks-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.thanks-card {
  width: min(100%, 700px);
  padding: 46px 30px;
  text-align: center;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(36,56,78,.10);
  box-shadow: 0 18px 45px rgba(56,50,41,.08);
}
.thanks-bird {
  width: min(160px, 36vw);
  display: block;
  margin: 0 auto 16px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.thanks-card h1,
.mobile-panel h1 {
  margin: 0;
  font-family: Didot, "Bodoni MT", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}
.thanks-card h1 {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 16px;
}
.thanks-card p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
}
.contact-line { margin-top: 14px !important; }
.contact-line a { text-decoration: underline; text-underline-offset: 3px; }
.return-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(36,56,78,.45);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .overlay-form { display: none; }
  .mobile-panel {
    display: block;
    padding: 30px 20px 38px;
    background: var(--ivory);
  }
  .mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }
  .mobile-bird {
    width: 72px;
    height: auto;
  }
  .mobile-panel h1 {
    font-size: clamp(48px, 14vw, 86px);
    margin-bottom: 16px;
  }
  .deck {
    margin: 0;
    color: #415467;
    font-size: 18px;
    line-height: 1.58;
    max-width: 680px;
  }
  .offering-list {
    margin: 18px 0 0;
    color: var(--navy);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.8;
  }
  .coming {
    margin: 24px 0 10px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
  }
  .subcopy {
    margin: 0 0 24px;
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
  }
  .mobile-form { max-width: 560px; }
  .mobile-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mobile-form input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.78);
    padding: 0 16px;
    color: var(--ink);
    font-size: 16px;
  }
  .mobile-form button {
    width: 100%;
    height: 54px;
    margin-top: 12px;
    border: none;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .privacy {
    margin-top: 10px;
    font-size: 12px;
    color: var(--gold);
  }
}
