:root {
  --ink: #0e1116;
  --ink-soft: #181f29;
  --parchment: #14181f;
  --parchment-deep: #1c222c;
  --brass: #c6952f;
  --brass-bright: #dcae4a;
  --wine: #d98e97;
  --text-on-ink: #ece6d8;
  --text-dark: #ece6d8;

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
h1 em { font-style: italic; font-weight: 500; color: var(--brass); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.9em;
}

.section-dark .eyebrow { color: var(--brass-bright); }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(236, 230, 216, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  margin-left: 28px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.nav a:hover { border-color: var(--brass); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-ink);
  padding-top: 90px;
}

.staff {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.staff svg { width: 100%; height: 100%; }
.staff line { stroke: var(--brass); stroke-width: 1; opacity: 0.35; }

.hero-content {
  position: relative;
  padding: 110px 28px 130px;
}

.lede {
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(237, 230, 212, 0.85);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--brass);
  color: var(--text-dark);
}

.btn-primary:hover { background: var(--brass-bright); }

.btn-outline {
  background: transparent;
  border-color: var(--brass-bright);
  color: var(--text-on-ink);
  width: 100%;
  margin-bottom: 14px;
}

.btn-outline:hover { background: rgba(220, 174, 74, 0.12); }

/* Sections */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--text-on-ink); }
.section-dark h2 { color: var(--text-on-ink); }

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.about-grid, .book-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.staff-divider svg { width: 100%; height: auto; }
.staff-divider line { stroke: var(--wine); stroke-width: 1; opacity: 0.5; }
.staff-divider .note { fill: var(--wine); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.card {
  background: var(--ink-soft);
  border: 1px solid rgba(198, 149, 47, 0.25);
  border-radius: 4px;
  padding: 28px;
}

.card-highlight {
  border-color: var(--brass-bright);
  border-width: 2px;
}

.card-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass-bright);
  margin-bottom: 0.6em;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.4em;
}

.card-price-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(237, 230, 212, 0.6);
}

/* Gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--parchment-deep);
  border-radius: 4px;
  display: block;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.video-grid video {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.muted { color: rgba(236, 230, 216, 0.55); }
.section-dark .muted { color: rgba(237, 230, 212, 0.65); }

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}

.optional { color: rgba(237, 230, 212, 0.55); font-size: 0.85em; }

input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 3px;
  border: 1px solid rgba(198, 149, 47, 0.4);
  background: rgba(243, 236, 221, 0.06);
  color: var(--text-on-ink);
}

input::placeholder, textarea::placeholder { color: rgba(237, 230, 212, 0.4); }

input:focus, textarea:focus, .btn:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 2px;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 1.2em;
}

.pay-panel {
  background: var(--ink-soft);
  border: 1px solid rgba(198, 149, 47, 0.25);
  border-radius: 4px;
  padding: 28px;
  align-self: start;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(28, 36, 49, 0.6);
}

/* Responsive */
@media (max-width: 760px) {
  .about-grid, .book-grid, .cards, .bio-grid {
    grid-template-columns: 1fr;
  }
  .nav a { margin-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
