:root {
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --color-ink: #1e2730;
  --color-paper: #f3ecdd;
  --color-paper-2: #e7dcc0;
  --color-paper-3: #fbf6ea;
  --color-blue: #173660;
  --color-blue-deep: #102744;
  --color-blue-mid: #20487a;
  --color-gold: #a17a2f;
  --color-gold-bright: #d4b36a;
  --color-red: #8f281b;
  --color-red-dark: #6f1b12;
  --color-border: #c9ae77;
  --container: 1180px;
  --container-narrow: 960px;
  --shadow-soft: 0 20px 48px rgba(9, 18, 31, 0.18);
  --shadow-paper: 0 18px 34px rgba(17, 31, 53, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-blue-deep);
  font: 400 1rem/1.72 var(--font-body);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--container-narrow));
}

.site-shell {
  min-height: 100vh;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-large {
  min-height: 3.75rem;
  padding-inline: 1.75rem;
}

.button-primary {
  color: #fff4df;
  background: linear-gradient(180deg, #b43a29 0%, var(--color-red) 62%, var(--color-red-dark) 100%);
  border-color: #cb8a63;
  box-shadow: inset 0 0 0 1px rgba(255, 237, 204, 0.18), 0 8px 18px rgba(70, 20, 15, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #c74230 0%, #982a1d 62%, #741b13 100%);
}

.button-secondary {
  color: var(--color-blue-deep);
  background: linear-gradient(180deg, #fffaf0 0%, #ecdbb0 100%);
  border-color: #c9ab69;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 8px 18px rgba(120, 96, 40, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: linear-gradient(180deg, #fffdf6 0%, #efddb0 100%);
}

.section-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.decorative-title {
  position: relative;
  padding-inline: 1.2rem;
}

.decorative-title::before,
.decorative-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(4rem, 16vw, 11rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(161, 122, 47, 0.72), transparent);
}

.decorative-title::before {
  right: 100%;
}

.decorative-title::after {
  left: 100%;
}

.light {
  color: #f8f1df;
}

.paper-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 18%), var(--color-paper);
  color: #232d38;
}

.flash {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  padding: 0.95rem 1rem;
  border: 1px solid;
  text-align: center;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.94);
}

.flash-success {
  color: #164828;
  border-color: #4f9267;
}

.flash-error {
  color: #6d1d12;
  border-color: #b15b49;
}

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

@media (max-width: 700px) {
  .decorative-title::before,
  .decorative-title::after {
    display: none;
  }

  .button,
  .button-large {
    width: 100%;
  }
}
