/* Variant 6: emerald/gold/black palette (index.html) + sidebar nav (index-5) + arched cards (index-3) */

:root {
  --black: #0a0c0b;
  --panel: #0f1512;
  --emerald: #0d5c44;
  --emerald-deep: #073b2c;
  --gold: #cda449;
  --gold-bright: #e8c874;
  --cream: #f2ead9;
  --cream-dim: #cfc4a8;
  --sidebar-w: 220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
}

h1, h2, h3, .brand {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-weight: 600;
  margin: 0;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { border-bottom-color: var(--gold-bright); }

.layout { display: flex; min-height: 100vh; }

/* ---------------- Sidebar ---------------- */

.site-header {
  width: var(--sidebar-w);
  flex: none;
  background: var(--panel);
  border-right: 1px solid var(--emerald);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 26px;
}

.brand {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: 1.4rem;
  line-height: 1.3;
  display: block;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--emerald);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold-bright);
  margin: 0 7px;
}

nav.site-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

nav.site-nav a {
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

nav.site-nav a:hover {
  color: var(--gold-bright);
  border-left-color: var(--gold-bright);
}

main { flex: 1; min-width: 0; }
.wrap { max-width: 700px; margin: 0 auto; padding: 0 40px; }

/* ---------------- Deco ornaments ---------------- */

.deco-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 56px auto;
  max-width: 320px;
  color: var(--gold);
}

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

.deco-divider .diamond {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 90px 0 60px;
  background: var(--gold-bright);
}

.hero .eyebrow {
  font-family: "Cinzel", serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--emerald-deep);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.15;
  color: var(--black);
}

/* ---------------- Sections ---------------- */

section { padding: 20px 0 60px; }

.section-label {
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

section h2 { font-size: 1.9rem; margin-bottom: 30px; }

/* ---------------- Arched cards (from index-3) ---------------- */

.card {
  background: var(--panel);
  border: 1px solid var(--gold);
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  padding: 46px 34px 34px;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  height: 62px;
  border: 1px solid var(--gold);
  border-bottom: none;
  border-top-left-radius: 76px;
  border-top-right-radius: 76px;
  opacity: 0.5;
  pointer-events: none;
}

.card h3 { font-size: 1.4rem; margin-bottom: 6px; }

.venue {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn.ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold-bright);
}

.btn.ghost:hover {
  background: var(--gold-bright);
  color: var(--black);
}

.btn-disabled,
.btn-disabled:hover {
  color: var(--cream-dim);
  border: 1px solid var(--cream-dim);
  background: transparent;
  cursor: default;
}

.external-link {
  border-bottom: 1px dotted var(--gold) !important;
}
.external-link:hover {
  border-bottom-color: var(--gold-bright) !important;
}

.btn-external {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 27px;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold-bright);
  outline: 1px solid var(--emerald);
  outline-offset: 4px;
}

.btn-external:hover {
  background: var(--gold-bright);
  color: var(--black);
}

/* ---------------- Links grid ---------------- */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.link-card {
  display: block;
  border: 1px solid var(--emerald);
  padding: 22px 24px;
  text-align: center;
  background: var(--panel);
}

.link-card:hover { background: var(--emerald-deep); }

.link-card .label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.link-card .sub {
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-style: italic;
}

/* ---------------- About ---------------- */

.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 34px;
}

.author-photo {
  width: 160px;
  height: 160px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--gold);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
}

.about-text {
  max-width: 620px;
  color: var(--cream-dim);
}

@media (max-width: 560px) {
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------------- Contact form ---------------- */

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

.field label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--emerald);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  padding: 12px 14px;
}

.field input:focus,
.field textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.9rem; color: var(--cream-dim); }

.form-status {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  margin: 0;
}

.form-status:empty { display: none; }

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ---------------- Footer ---------------- */

footer {
  border-top: 1px solid var(--emerald);
  padding: 36px 40px;
  color: var(--cream-dim);
  font-size: 0.85rem;
}

footer .brand { font-size: 1rem; margin-bottom: 10px; display: block; }

@media (max-width: 800px) {
  .layout { flex-direction: column; }
  .site-header {
    width: 100%;
    height: auto;
    position: sticky;
    padding: 18px 24px;
    border-right: none;
    border-bottom: 1px solid var(--emerald);
  }
  .nav-toggle { display: flex; }
  nav.site-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 22px;
  }
  nav.site-nav a {
    padding: 12px 4px;
    border-left: none;
    border-bottom: 1px solid var(--emerald-deep);
  }
  nav.site-nav a:hover { border-left: none; }
  .site-header.nav-open nav.site-nav { display: flex; }
  .wrap { padding: 0 24px; }
  .card { padding: 40px 22px 24px; }
}
