@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Light Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("./assets/the-seasons/The Seasons Bold Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #050505;
  --panel: rgba(10, 10, 10, 0.88);
  --text: #f2ede4;
  --muted: #c9bda4;
  --gold: #d1ab62;
  --gold-deep: #9f7932;
  --border: rgba(209, 171, 98, 0.26);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(209, 171, 98, 0.22), transparent 34%),
    linear-gradient(180deg, #0d0d0d 0%, var(--bg) 100%);
}

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

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px 64px;
  gap: 34px;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.brand h2 {
  margin: 0;
  text-align: center;
  font-family: "The Seasons", "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.card {
  width: min(100%, 560px);
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.logo-mark {
  width: min(100%, 360px);
  margin: 0 auto;
}

.wordmark {
  width: min(100%, 360px);
  margin: 0 auto;
}

.thanks-header .logo-mark {
  width: min(100%, 200px);
  margin: 0 auto;
}

.thanks-header .wordmark {
  width: min(100%, 200px);
  margin: 0 auto;
}

h1 {
  margin: 0 0 24px;
  text-align: center;
  font-family: "The Seasons", "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.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;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.page-thanks {
  gap: 28px;
}

.thanks-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  width: min(100%, 980px);
  padding: 44px 56px;
}

.thanks-title {
  margin: 0;
  text-align: center;
  font-family: "The Seasons", "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.85vw, 2rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-family: "The Seasons", "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  font-size: 0.92rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(242, 237, 228, 0.45);
}

textarea {
  min-height: 0;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(209, 171, 98, 0.2);
  border-color: rgba(209, 171, 98, 0.6);
}

button {
  margin-top: 0;
  padding: 15px 18px;
  border: 1px solid var(--gold-deep);
  border-radius: 0;
  background: linear-gradient(135deg, var(--gold) 0%, #f2d48d 100%);
  color: #17120a;
  font-family: "The Seasons", "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 30px rgba(159, 121, 50, 0.25);
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(159, 121, 50, 0.34);
}

@media (max-width: 640px) {
  .page {
    padding: 32px 16px 40px;
    gap: 24px;
  }

  .card {
    padding: 24px 18px;
  }

  .thanks-card {
    width: min(100%, 100%);
    padding: 28px 20px;
  }

  .logo-mark {
    width: min(100%, 240px);
  }

  .wordmark {
    width: min(100%, 300px);
  }

  .brand h2 {
    max-width: 24ch;
    font-size: clamp(1rem, 4.6vw, 1.25rem);
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
