:root {
  --navy: #091c35;
  --navy-soft: #14304f;
  --ink: #1c1915;
  --stone: #f4f0e8;
  --stone-deep: #e4dccf;
  --cream: #fbf8f3;
  --gold: #8c6d2e;
  --gold-line: #c4a35a;
  --notice: #f3ead3;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Candara, Georgia, serif;
  line-height: 1.55;
}

a {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold-line);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--cream);
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  background: var(--navy);
  color: var(--cream);
}

.header-inner,
.page {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand span {
  display: block;
  color: var(--gold-line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.page {
  padding: 2rem 0 3rem;
}

.hero,
.panel {
  background: var(--stone);
  border: 1px solid var(--stone-deep);
  border-top: 4px solid var(--gold-line);
  padding: 1.5rem;
}

h1,
h2 {
  font-family: Georgia, "Palatino Linotype", serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.lede,
.notice,
.services li {
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border: 2px solid var(--navy);
  font-weight: 700;
}

.button.secondary,
button.secondary {
  background: transparent;
  color: var(--navy);
}

button,
input[type="submit"] {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  width: auto;
  padding: 0.7rem 1rem;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
}

button:disabled,
input[type="submit"]:disabled {
  cursor: not-allowed;
  border-color: var(--navy-soft);
  background: var(--stone-deep);
  color: var(--navy-soft);
}

.g-recaptcha {
  max-width: 100%;
  margin-top: 0.25rem;
  overflow-x: auto;
}

@media (max-width: 24rem) {
  .panel:has(.g-recaptcha) {
    padding-inline: 0.75rem;
  }

  .g-recaptcha {
    overflow-x: visible;
  }
}

.services {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1rem;
}

.notice {
  background: var(--notice);
  border: 1px solid var(--gold-line);
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}

.optional {
  font-weight: 500;
  color: var(--navy-soft);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--navy-soft);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.7rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--stone-deep);
  color: var(--navy-soft);
  padding: 1rem 0 2rem;
}

@media (min-width: 48rem) {
  .hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem;
  }

  .services {
    margin-top: 0;
  }
}
