/* ==========================================================
   Marilyn Barr — Paranormal Romance Author
   Witchy midnight + strawberry + candlelight gold
   Site designed by Under the Cover Ink
   ========================================================== */

:root {
  --ink: #0d0a11;
  --ink-soft: #151019;
  --panel: #1c1420;
  --panel-edge: #2e2130;
  --berry: #e63e56;
  --berry-deep: #9c2038;
  --berry-glow: rgba(230, 62, 86, 0.35);
  --gold: #d9a95c;
  --gold-soft: rgba(217, 169, 92, 0.55);
  --cream: #f4ead9;
  --mist: #c9b6bb;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--berry); }

/* ---------- texture overlay ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 8%, rgba(156, 32, 56, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 30%, rgba(217, 169, 92, 0.07), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(70, 25, 60, 0.25), transparent 70%);
}

main, footer { position: relative; z-index: 1; }
header { position: relative; z-index: 100; }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.4rem;
  background: rgba(13, 10, 17, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 169, 92, 0.18);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav__brand img {
  height: 52px;
  width: auto;
  mix-blend-mode: screen;
}

.nav__brand span {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 0.3rem 0;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--berry));
  transition: right 0.3s ease;
}

.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 10, 17, 0.97);
    border-bottom: 1px solid rgba(217, 169, 92, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav__links.open { max-height: 480px; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a { display: block; padding: 0.9rem 0; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(46, 20, 42, 0.85), transparent 75%),
    var(--ink);
}

.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__stars span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0;
  animation: twinkle 5s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.75; transform: scale(1); }
}

.hero__logo {
  width: 190px;
  mix-blend-mode: screen;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 24px rgba(230, 62, 86, 0.35));
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.hero__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  color: var(--gold);
  margin-top: 0.8rem;
}

.hero__sub {
  max-width: 560px;
  color: var(--mist);
  margin-top: 1.1rem;
  font-size: 1rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.2rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--berry);
  color: var(--cream);
  background: linear-gradient(120deg, var(--berry-deep), var(--berry));
  box-shadow: 0 4px 22px var(--berry-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--berry-glow);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--gold-soft);
  color: var(--gold);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--cream);
  box-shadow: 0 4px 18px rgba(217, 169, 92, 0.25);
}

/* placeholder pills — content still being confirmed, not yet a real link */
.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
  border-style: dashed;
  font-style: italic;
  letter-spacing: 0.14em;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold-soft);
  color: var(--gold);
}

.btn--small { padding: 0.55rem 1.2rem; font-size: 0.72rem; }

/* ---------- sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section--tight { padding-top: 2.5rem; }

.section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section__intro { max-width: 680px; color: var(--mist); margin-bottom: 2.2rem; }

/* strawberry divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 480px;
  padding: 0.5rem 0 0;
}

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

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

.divider svg { width: 26px; height: 26px; }

/* ---------- page banner (subpages) ---------- */
.banner {
  position: relative;
  padding: 10rem 1.5rem 4.5rem;
  text-align: center;
  background-size: cover;
  background-position: center 35%;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,17,0.75) 0%, rgba(13,10,17,0.82) 60%, var(--ink) 100%);
}

.banner > * { position: relative; }

.banner h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.banner p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.6rem;
}

/* ---------- feature (big spotlight) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
}

.feature--flip { grid-template-columns: 1fr minmax(240px, 340px); }

.feature__cover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 60px var(--berry-glow);
  transform: rotate(-1.5deg);
  transition: transform 0.35s ease;
}

.feature--flip .feature__cover { transform: rotate(1.5deg); }

.feature__cover:hover { transform: rotate(0deg) scale(1.02); }

.feature__body h2, .feature__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.feature__body p { color: var(--mist); margin-bottom: 1rem; }

.feature__links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

@media (max-width: 760px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature__cover, .feature--flip .feature__cover { max-width: 280px; margin: 0 auto; }
  .feature--flip .feature__cover { order: -1; }
}

/* ---------- pills / chips ---------- */
.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  margin-bottom: 1rem;
}

.pill--berry { color: #ffb7c2; border-color: rgba(230, 62, 86, 0.55); }

.chip {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(217, 169, 92, 0.1);
  border: 1px solid rgba(217, 169, 92, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  margin: 0.15rem 0.25rem 0.15rem 0;
}

.chip--warn {
  color: #f0a7b2;
  background: rgba(230, 62, 86, 0.08);
  border-color: rgba(230, 62, 86, 0.3);
}

/* ---------- book grid ---------- */
.series-block { margin-bottom: 4rem; }

.series-block__head { margin-bottom: 1.8rem; }

.series-block__head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 600;
}

.series-block__head .order-note {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--berry);
}

.series-block__head p.series-desc { color: var(--mist); max-width: 720px; margin-top: 0.5rem; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem;
}

.book-card {
  background: linear-gradient(165deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(230, 62, 86, 0.15);
}

.book-card__coverwrap {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0a070d;
}

.book-card__coverwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.book-card:hover .book-card__coverwrap img { transform: scale(1.045); }

.book-card__body {
  padding: 1.1rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-card__series {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.3rem;
}

.book-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.book-card__desc {
  font-size: 0.9rem;
  color: var(--mist);
  flex: 1;
  margin-bottom: 0.9rem;
}

.book-card__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* placeholder card for missing covers */
.book-card--placeholder .book-card__coverwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(156, 32, 56, 0.35), transparent 70%),
    #120c15;
  border-bottom: 1px solid var(--panel-edge);
}

.book-card--placeholder .book-card__coverwrap svg { width: 54px; height: 54px; opacity: 0.9; }

.book-card--placeholder .book-card__coverwrap em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ---------- award strip ---------- */
.awards-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.2rem 1rem;
  background: linear-gradient(180deg, rgba(28, 20, 32, 0.6), rgba(13, 10, 17, 0));
  border-top: 1px solid rgba(217, 169, 92, 0.15);
  border-bottom: 1px solid rgba(217, 169, 92, 0.15);
}

.awards-strip figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  flex: 0 0 140px;
  text-align: center;
}

.awards-strip .award-imgwrap {
  height: 84px;
  width: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awards-strip img {
  max-height: 84px;
  max-width: 84px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.awards-strip figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.6rem;
  width: 100%;
}

/* ---------- newsletter / freebie band ---------- */
.band {
  position: relative;
  margin: 3rem 0;
  padding: 4.5rem 1.5rem;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(13,10,17,0.78) 18%, rgba(13,10,17,0.78) 82%, var(--ink) 100%);
}

.band > div { position: relative; max-width: 640px; margin: 0 auto; }

.band h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.band p { color: var(--cream); margin-bottom: 1.4rem; }

/* ---------- about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 3rem;
  align-items: start;
}

.about-grid img.portrait {
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(230, 62, 86, 0.18);
}

.about-grid .bio p { color: var(--mist); margin-bottom: 1.1rem; }

.about-grid .bio p strong, .about-grid .bio p em { color: var(--cream); }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img.portrait { max-width: 320px; margin: 0 auto; }
}

.quirks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
}

.quirks li {
  background: linear-gradient(165deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--mist);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.quirks li:hover { border-color: var(--gold-soft); transform: translateY(-3px); }

.quirks li span.q-icon { display: block; font-size: 1.3rem; margin-bottom: 0.35rem; }

/* ---------- award list ---------- */
.award-list { list-style: none; margin-top: 1rem; }

.award-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(217, 169, 92, 0.12);
  color: var(--mist);
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}

.award-list li::before { content: "✦"; color: var(--berry); flex-shrink: 0; }

.award-list li strong { color: var(--cream); font-weight: 500; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: linear-gradient(165deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 2rem;
}

.form-card label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.1rem 0 0.4rem;
}

.form-card input, .form-card textarea {
  width: 100%;
  background: rgba(13, 10, 17, 0.7);
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s ease;
}

.form-card input:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(230, 62, 86, 0.15);
}

.form-card button { margin-top: 1.5rem; cursor: pointer; }

.form-note {
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 1rem;
  font-style: italic;
}

.form-note--error { color: var(--berry); font-style: normal; }

.side-card {
  background: linear-gradient(165deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}

.side-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.side-card p { color: var(--mist); font-size: 0.95rem; margin-bottom: 1rem; }

/* ---------- social icons ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  transition: all 0.25s ease;
}

.socials a:hover {
  border-color: var(--berry);
  color: var(--berry);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--berry-glow);
}

.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- social rail (fixed left sidebar, wide viewports only) ---------- */
.social-rail {
  position: fixed;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 40;
}

.social-rail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  background: rgba(10, 7, 13, 0.6);
  transition: all 0.25s ease;
}

.social-rail a:hover {
  border-color: var(--berry);
  color: var(--berry);
  transform: translateX(4px);
  box-shadow: 0 6px 18px var(--berry-glow);
}

.social-rail svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 1200px) {
  .social-rail { display: none; }
}

/* ---------- footer ---------- */
footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(217, 169, 92, 0.18);
  background: linear-gradient(180deg, rgba(28, 20, 32, 0.4), #0a070d);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

footer .socials { justify-content: center; margin-bottom: 1.6rem; }

footer .foot-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

footer p.copy { font-size: 0.82rem; color: var(--mist); }

footer p.credit { font-size: 0.8rem; color: var(--mist); margin-top: 0.5rem; }

footer p.credit a { color: var(--gold); }
footer p.credit a:hover { color: var(--berry); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__stars span { animation: none; opacity: 0.4; }
}

/* ---------- 18+ note ---------- */
.notice {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(230, 62, 86, 0.35);
  border-radius: 10px;
  background: rgba(230, 62, 86, 0.06);
  font-size: 0.9rem;
  color: var(--mist);
  text-align: center;
}

/* ---------- wholesale page ---------- */
.wholesale-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 0 0 3rem;
}

.wholesale-terms__item {
  background: linear-gradient(165deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
}

.wholesale-terms__mark {
  color: var(--berry);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.wholesale-terms__item strong {
  font-family: var(--serif);
  color: var(--cream);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.wholesale-terms__item p {
  color: var(--mist);
  font-size: 0.88rem;
}

.wholesale-terms__item a { color: var(--gold); }
.wholesale-terms__item a:hover { color: var(--berry); }

.form-card .subsection-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin: 1.9rem 0 0.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(217, 169, 92, 0.15);
}

.form-card .subsection-label:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.form-card .subsection-note {
  font-size: 0.82rem;
  color: var(--mist);
  margin-top: -0.3rem;
  margin-bottom: 0.8rem;
}

.form-card .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1rem;
}

.form-card .form-row--three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 640px) {
  .form-card .form-row, .form-card .form-row--three { grid-template-columns: 1fr; }
}

.form-card select {
  width: 100%;
  background: rgba(13, 10, 17, 0.7);
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s ease;
}

.form-card select:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(230, 62, 86, 0.15);
}

.form-card .required { color: var(--berry); }
.form-card .optional { color: var(--mist); text-transform: none; letter-spacing: 0; font-size: 0.68rem; }

.form-card .agreement {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--mist);
  line-height: 1.5;
}

.form-card .agreement input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--berry);
}

.form-card .agreement strong { color: var(--cream); font-weight: 500; }

.form-success { text-align: center; padding: 3rem 1rem; }

.form-success h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.form-success p { color: var(--mist); max-width: 44ch; margin: 0 auto; }
