:root {
  --navy: #14243B;
  --ivory: #F4EBDD;
  --paper: #FAF9F6;
  --ink: #14243B;
  --muted: #65666A;
  --line: #D5D0C8;
  --gold: #B69A73;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
.page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 27px 24px 34px;
}
.brand-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
}
.brand-logo { display: block; width: min(78%, 450px); height: auto; object-fit: contain; }
.intro { text-align: center; margin: 0 auto 31px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 7vw, 53px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.intro-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 3.7vw, 23px);
  line-height: 1.45;
}
.intro-rule { display: block; width: 68px; height: 3px; margin: 23px auto 0; background: var(--navy); border-radius: 3px; }
.form-panel {
  padding: clamp(23px, 5vw, 38px);
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(20,36,59,.055);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(20,36,59,.035);
}
.field-group { margin: 0 0 27px; min-width: 0; }
label, legend {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}
label span:not(.optional), legend span { color: #8F7252; }
.optional { font-weight: 500; color: var(--muted); }
input[type="text"], textarea {
  display: block;
  width: 100%;
  border: 1.3px solid #BEBBB6;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input[type="text"] { height: 61px; padding: 0 19px; font-size: 17px; }
textarea { min-height: 145px; padding: 17px 19px; resize: vertical; font-size: 17px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #77777A; opacity: 1; }
input[type="text"]:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,36,59,.08); }
fieldset { padding: 0; border: 0; }
legend { margin-bottom: 11px; }
.star-picker { display: flex; align-items: center; gap: 8px; }
.star-choice {
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: #D4C8B7;
  font-size: 43px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.star-choice.is-active { color: var(--gold); }
.star-choice:active { transform: scale(.92); }
.star-choice:focus-visible, .submit-button:focus-visible { outline: 3px solid rgba(20,36,59,.35); outline-offset: 3px; }
.char-count { margin-top: 6px; text-align: right; color: #8A8986; font-size: 12px; }
.photo-group { margin-bottom: 27px; }
.upload-box {
  min-height: 139px;
  padding: 20px;
  border: 1.5px dashed #AAA8A3;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-align: center;
  color: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.upload-box:hover { border-color: var(--navy); background: rgba(20,36,59,.025); }
.upload-box svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload-box strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.upload-box span { color: var(--muted); font-size: 13px; font-weight: 400; }
.upload-box input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.photo-preview { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.photo-preview:empty { display: none; }
.photo-preview img { width: 68px; height: 68px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.submit-button {
  width: 100%; min-height: 66px; padding: 14px 20px;
  display: flex; justify-content: center; align-items: center; gap: 18px;
  border: 0; border-radius: 14px; background: var(--navy); color: #FFFDF9;
  font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 600;
  cursor: pointer; transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.submit-button:hover { background: #0E1B2D; }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { opacity: .62; cursor: wait; }
.submit-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-status { min-height: 22px; margin: 13px 0 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--muted); }
.form-status.success { color: #315F49; }
.form-status.error { color: #9A3434; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.bottom-note { margin: 22px 0 0; text-align: center; color: #8A8986; font-size: 12px; letter-spacing: .025em; }
@media (max-width: 520px) {
  .page-shell { padding: 19px 17px 26px; }
  .brand-header { min-height: 63px; margin-bottom: 36px; }
  .brand-logo { width: min(83%, 385px); }
  .intro { margin-bottom: 25px; }
  .eyebrow { font-size: 10px; margin-bottom: 11px; }
  h1 { font-size: clamp(33px, 8.8vw, 42px); }
  .intro-copy { font-size: 18px; margin-top: 11px; }
  .desktop-break { display: none; }
  .intro-rule { margin-top: 19px; }
  .form-panel { padding: 22px 18px 20px; border-radius: 20px; }
  .field-group { margin-bottom: 23px; }
  label, legend { font-size: 19px; margin-bottom: 9px; }
  input[type="text"] { height: 56px; font-size: 16px; padding: 0 15px; }
  textarea { min-height: 132px; font-size: 16px; padding: 14px 15px; }
  .star-choice { font-size: 39px; }
  .star-picker { gap: 7px; }
  .upload-box { min-height: 126px; }
  .submit-button { min-height: 61px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
