@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --marine: #005775;
  --marine-deep: #003f55;
  --sky: #38c3e3;
  --sun: #ff9600;
  --sand: #f7f3e4;
  --paper: #fffdf7;
  --ink: #17323b;
  --muted: #62767d;
  --line: #d9ddd6;
  --danger: #9f2f23;
  --shadow: 0 18px 45px rgb(0 46 62 / 14%);
  --display: "Cinzel", Georgia, serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--sun);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: white;
  background: var(--marine);
}

.button-primary:hover {
  background: var(--marine-deep);
}

.button-sun {
  color: #352000;
  background: var(--sun);
}

.button-sun:hover {
  background: #ffac32;
}

.button-quiet {
  color: var(--marine);
  border-color: color-mix(in srgb, var(--marine), transparent 55%);
  background: transparent;
}

.button-danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger), transparent 55%);
  background: transparent;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--marine);
  background: var(--sand);
  font-size: 1.7rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  min-height: 1.4em;
  margin: 0;
  color: var(--danger);
}

.notice {
  min-height: 1.5em;
  margin: 0.5rem 0;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--marine);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}
