:root {
  --navy: #061522;
  --navy-2: #071b2b;
  --cream: #f7f2ea;
  --white: #ffffff;
  --gold: #c99a4a;
  --gold-light: #e0bd72;
  --gold-dark: #8f6630;
  --line: rgba(201, 154, 74, 0.36);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Avenir Next", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.5;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 154, 74, 0.16), transparent 32%),
    radial-gradient(circle at 82% 84%, rgba(201, 154, 74, 0.10), transparent 30%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #04101a 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.feather-watermark {
  position: fixed;
  right: -180px;
  bottom: -160px;
  width: 620px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 6vw, 72px) 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.brand-image {
  width: clamp(120px, 15vw, 180px);
  height: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
}

h1 .gold {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}

.flourish {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 24px;
}

.flourish::before,
.flourish::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.flourish::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.flourish span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 74, 0.18);
}

.subtitle {
  max-width: 46ch;
  margin: 0 0 8px;
  color: rgba(247, 242, 234, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.form-row {
  display: flex;
  gap: 10px;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }
}

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

.form-privacy {
  margin: 14px 0 0;
  color: rgba(247, 242, 234, 0.42);
  font-size: 0.76rem;
}

.form-status {
  min-height: 1.2em;
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.form-status[data-state="error"] {
  color: #e2a3a3;
}

.contact-fallback {
  margin: clamp(28px, 4vw, 40px) 0 0;
  color: rgba(247, 242, 234, 0.5);
  font-size: 0.88rem;
}

.contact-fallback a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 189, 114, 0.4);
}

footer {
  margin-top: clamp(40px, 6vw, 64px);
  color: rgba(247, 242, 234, 0.36);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.message-panel {
  width: 100%;
  max-width: 560px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  text-align: left;
}

.message-panel h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  text-align: center;
}

.message-panel > p:first-of-type {
  margin: 0 0 22px;
  color: rgba(247, 242, 234, 0.7);
  font-size: 0.92rem;
  text-align: center;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-form .form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .message-form .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

.message-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.message-form label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(247, 242, 234, 0.86);
}

.label-optional {
  font-weight: 400;
  color: rgba(247, 242, 234, 0.44);
  text-transform: none;
  letter-spacing: 0;
}

.message-form input[type="text"],
.message-form input[type="email"],
.message-form input[type="tel"],
.message-form select,
.message-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(201, 154, 74, 0.4);
  border-radius: 10px;
  background: rgba(6, 21, 34, 0.55);
  color: var(--white);
  font: inherit;
  font-size: 0.94rem;
}

.message-form textarea {
  resize: vertical;
  min-height: 120px;
}

.message-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.message-form select option {
  color: #101010;
}

.message-form input[type="file"] {
  width: 100%;
  padding: 10px 0;
  color: rgba(247, 242, 234, 0.7);
  font-size: 0.86rem;
}

.message-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 74, 0.2);
}

.manuscript-fields {
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(201, 154, 74, 0.35);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manuscript-fields legend {
  padding: 0 6px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-submit {
  height: 50px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
