/* ============================================================
   HETAIRIX — Brand Style Sheet (v2 — pop & elegance)
   Locked May 2026.
   Colors: Tyrian #66023C / Zōge-iro #EFE4C4 / Seiji-iro #8FB09A
   Fonts:  Cormorant Garamond (display) / Inter (body)
   ============================================================ */

:root {
  --tyrian: #66023C;
  --tyrian-deep: #4a0029;
  --tyrian-soft: #8a1a55;
  --zoge: #EFE4C4;
  --zoge-deep: #E4D5AC;
  --zoge-cream: #F8F1DC;
  --seiji: #8FB09A;
  --seiji-deep: #6f9981;
  --seiji-pale: #B8CDB9;
  --gold: #C4A86A;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #C4B999;
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--zoge);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tyrian); text-decoration: none; transition: opacity 0.2s, color 0.2s; }
a:hover { opacity: 0.8; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  color: var(--tyrian);
  line-height: 1.1;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--seiji-deep); font-family: 'Inter', sans-serif; font-weight: 700; }
p { margin: 0 0 1em 0; max-width: 64ch; }
.lede { font-size: 1.35rem; line-height: 1.55; color: var(--ink); max-width: 56ch; font-weight: 400; }
em { font-style: italic; color: var(--tyrian); }
strong { font-weight: 600; color: var(--ink); }

.small-caps {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--seiji-deep);
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1400px; }
section { padding: 7rem 0; }
@media (max-width: 720px) { section { padding: 4rem 0; } .container { padding: 0 1.25rem; } }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--tyrian);
  color: var(--zoge);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(102, 2, 60, 0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.brand-wordmark {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--zoge);
  letter-spacing: 0.04em;
  font-style: italic;
}
.brand-wordmark a { color: var(--zoge); }
.brand-wordmark a:hover { color: var(--seiji-pale); opacity: 1; }
nav.primary { display: flex; gap: 2.2rem; align-items: center; }
nav.primary a {
  color: var(--zoge);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
nav.primary a:hover { color: var(--seiji-pale); opacity: 1; }
nav.primary a.active { color: var(--seiji-pale); }
nav.primary a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--seiji-pale); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--zoge);
  cursor: pointer;
}
@media (max-width: 820px) {
  nav.primary { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--tyrian); padding: 1.5rem 2rem 2rem; gap: 1.5rem; border-top: 1px solid var(--tyrian-soft); }
  nav.primary.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ============================================================
   HERO — Tyrian-dominant
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--tyrian) 0%, var(--tyrian-deep) 100%);
  color: var(--zoge);
  padding: 5rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--seiji) 0%, transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-medallion {
  max-width: 360px;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(239, 228, 196, 0.08);
  border: 3px solid var(--gold);
}
.hero h1 {
  color: var(--zoge);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--seiji-pale);
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero .rule {
  width: 100px;
  height: 2px;
  background: var(--gold);
  margin: 2rem auto;
}
.hero .lede {
  color: var(--zoge);
  opacity: 0.92;
  margin: 0 auto;
}
.hero .small-caps {
  color: var(--seiji-pale);
}

/* ============================================================
   SECTIONS — Color-blocked variants
   ============================================================ */
.section--ivory { background: var(--zoge); color: var(--ink); }
.section--cream { background: var(--zoge-cream); color: var(--ink); }
.section--tyrian { background: var(--tyrian); color: var(--zoge); }
.section--tyrian-deep { background: var(--tyrian-deep); color: var(--zoge); }
.section--celadon { background: var(--seiji); color: var(--ink); }
.section--celadon-pale { background: var(--seiji-pale); color: var(--ink); }

.section--tyrian h1, .section--tyrian h2, .section--tyrian h3,
.section--tyrian-deep h1, .section--tyrian-deep h2, .section--tyrian-deep h3 {
  color: var(--zoge);
}
.section--tyrian em, .section--tyrian-deep em { color: var(--seiji-pale); }
.section--tyrian a, .section--tyrian-deep a { color: var(--seiji-pale); }
.section--tyrian .small-caps, .section--tyrian-deep .small-caps { color: var(--gold); }
.section--celadon h1, .section--celadon h2, .section--celadon h3 { color: var(--tyrian-deep); }
.section--celadon-pale h1, .section--celadon-pale h2, .section--celadon-pale h3 { color: var(--tyrian); }

/* ---------- Section header ---------- */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--seiji-deep);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
.section--tyrian .section-eyebrow,
.section--tyrian-deep .section-eyebrow { color: var(--gold); }
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  color: var(--tyrian);
  max-width: 900px;
  margin: 4rem auto;
  line-height: 1.25;
  font-weight: 500;
}
.pull-quote::before { content: "“"; opacity: 0.3; font-size: 1.5em; vertical-align: -0.2em; margin-right: 0.05em; }
.pull-quote::after { content: "”"; opacity: 0.3; font-size: 1.5em; vertical-align: -0.4em; margin-left: 0.05em; }
.pull-quote .attribution {
  display: block;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: none;
}
.pull-quote .attribution::before { content: "— "; }
.section--tyrian .pull-quote, .section--tyrian-deep .pull-quote { color: var(--gold); }
.section--tyrian .pull-quote .attribution, .section--tyrian-deep .pull-quote .attribution { color: var(--seiji-pale); }

/* ============================================================
   CARDS — Bold ivory on Tyrian, or Tyrian-edged
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.card {
  background: var(--zoge-cream);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--tyrian);
  padding: 2.2rem 2rem;
  border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(102, 2, 60, 0.18);
  border-top-color: var(--seiji-deep);
}
.card .card-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--seiji-deep);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card h3 {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  color: var(--tyrian);
}
.card p { font-size: 0.98rem; line-height: 1.55; }
.card .card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.25rem;
  font-style: italic;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.card ul.samples { list-style: none; padding: 0; margin: 1rem 0 0; }
.card ul.samples li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.card ul.samples li:last-child { border-bottom: none; }

/* ============================================================
   DICTIONARY ENTRIES
   ============================================================ */
.dict-entry {
  border-left: 4px solid var(--tyrian);
  padding: 1.75rem 0 1.75rem 2rem;
  margin: 2.5rem 0;
  background: var(--zoge-cream);
  padding-right: 1.75rem;
  position: relative;
}
.dict-entry::before {
  content: "";
  position: absolute;
  left: -4px; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--tyrian) 0%, var(--seiji-deep) 100%);
}
.dict-headword {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tyrian);
  letter-spacing: 0.03em;
}
.dict-etymology {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  margin-left: 0.5em;
}
.dict-definition {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
}

/* ============================================================
   COLOR PALETTE DISPLAY (For the about/wunderkammer pages)
   ============================================================ */
.palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
@media (max-width: 720px) { .palette { grid-template-columns: 1fr; } }
.swatch {
  border: 1px solid var(--rule);
  background: var(--zoge-cream);
  overflow: hidden;
}
.swatch-color { height: 180px; display: block; }
.swatch-info { padding: 1.5rem; }
.swatch-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--tyrian);
  font-weight: 600;
  font-style: italic;
}
.swatch-hex {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}
.swatch-role {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ============================================================
   WAITLIST — Bold Tyrian card
   ============================================================ */
.waitlist {
  background: var(--tyrian);
  color: var(--zoge);
  border: 2px solid var(--gold);
  border-radius: 2px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 640px;
  margin: 4rem auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(102, 2, 60, 0.25);
}
.waitlist .small-caps { color: var(--gold); margin-bottom: 1rem; }
.waitlist h2 { color: var(--zoge); margin-bottom: 0.75rem; font-style: italic; }
.waitlist p { color: var(--zoge); opacity: 0.92; margin: 0 auto 1.75rem; max-width: 44ch; }
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}
@media (max-width: 540px) { .waitlist-form { flex-direction: column; } }
.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.95rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid rgba(239, 228, 196, 0.3);
  background: rgba(239, 228, 196, 0.95);
  border-radius: 2px;
  color: var(--ink);
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: -1px; background: var(--zoge); }
.waitlist-form button {
  background: var(--gold);
  color: var(--tyrian-deep);
  border: none;
  padding: 0.95rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.waitlist-form button:hover { background: var(--zoge); color: var(--tyrian); }
.waitlist-fineprint {
  font-size: 0.82rem;
  color: var(--seiji-pale);
  margin-top: 1.25rem;
  font-style: italic;
}

/* ============================================================
   TWO-COLUMN
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin: 4rem 0;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.two-col img { border-radius: 2px; box-shadow: 0 10px 40px rgba(102, 2, 60, 0.15); border: 1px solid var(--rule); }
.two-col--celadon-frame img { border: 4px solid var(--seiji); }
.two-col--gold-frame img { border: 4px solid var(--gold); }

/* ============================================================
   RULES & DIVIDERS
   ============================================================ */
.tyrian-rule {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tyrian), transparent);
  width: 100%;
  max-width: 200px;
  margin: 2.5rem auto;
}
.tyrian-rule--solid { background: var(--tyrian); height: 2px; max-width: 80px; }
.tyrian-rule--wide { background: var(--rule); height: 1px; max-width: 100%; margin: 3rem 0; }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn {
  display: inline-block;
  background: var(--tyrian);
  color: var(--zoge);
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--tyrian);
  border-radius: 2px;
  transition: all 0.2s;
}
.btn:hover { background: var(--tyrian-deep); border-color: var(--tyrian-deep); color: var(--zoge); opacity: 1; }
.btn--ghost { background: transparent; color: var(--tyrian); }
.btn--ghost:hover { background: var(--tyrian); color: var(--zoge); }
.btn--gold { background: var(--gold); color: var(--tyrian-deep); border-color: var(--gold); }
.btn--gold:hover { background: var(--tyrian); color: var(--gold); border-color: var(--tyrian); }
.section--tyrian .btn, .section--tyrian-deep .btn { background: var(--gold); border-color: var(--gold); color: var(--tyrian-deep); }
.section--tyrian .btn:hover, .section--tyrian-deep .btn:hover { background: var(--zoge); color: var(--tyrian); border-color: var(--zoge); }

.link-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tyrian);
  border-bottom: 2px solid var(--tyrian);
  padding-bottom: 4px;
  display: inline-block;
}
.section--tyrian .link-arrow, .section--tyrian-deep .link-arrow { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================================
   NOTICE / FEATURE BLOCK — Tyrian on ivory page
   ============================================================ */
.notice {
  background: var(--tyrian);
  color: var(--zoge);
  padding: 4rem 3rem;
  text-align: center;
  border-radius: 2px;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(102, 2, 60, 0.3);
}
.notice::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--seiji), var(--gold));
}
.notice .small-caps { color: var(--gold); margin-bottom: 1rem; }
.notice h3 { color: var(--zoge); font-size: clamp(1.8rem, 3vw, 2.4rem); font-style: italic; margin-bottom: 0.5rem; }
.notice p { color: var(--zoge); opacity: 0.92; margin: 0 auto; max-width: 50ch; }
.notice .btn, .notice .link-arrow { margin-top: 1.5rem; }

/* ============================================================
   SPOTLIGHT BLOCK — Faberge or mark feature
   ============================================================ */
.spotlight {
  background: linear-gradient(180deg, var(--tyrian) 0%, var(--tyrian-deep) 100%);
  color: var(--zoge);
  padding: 5rem 2rem;
  border-radius: 2px;
  margin: 4rem 0;
  text-align: center;
}
.spotlight img {
  max-width: 280px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(196, 168, 106, 0.15);
}
.spotlight h3 { color: var(--gold); font-style: italic; margin-bottom: 0.5rem; }
.spotlight p { color: var(--zoge); opacity: 0.92; margin: 0 auto; max-width: 52ch; }
.spotlight .small-caps { color: var(--seiji-pale); }

/* ============================================================
   PRESS RESOURCES
   ============================================================ */
.press-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.resource {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--seiji);
  padding: 1.75rem;
  background: var(--zoge-cream);
}
.resource .small-caps { color: var(--seiji-deep); margin-bottom: 0.5rem; }
.resource h4 { font-family: 'Cormorant Garamond', serif; color: var(--tyrian); font-size: 1.4rem; font-style: italic; text-transform: none; letter-spacing: normal; margin-bottom: 0.5rem; font-weight: 600; }

/* ============================================================
   MARK GALLERY — for Wunderkammer page
   ============================================================ */
.mark-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.mark-card {
  text-align: center;
}
.mark-card img {
  border: 2px solid var(--seiji);
  background: var(--zoge);
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.mark-card .small-caps {
  display: block;
  margin-top: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--tyrian-deep);
  color: var(--zoge);
  padding: 5rem 0 2rem;
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--seiji), var(--gold));
}
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { color: var(--gold); margin-bottom: 1rem; }
.site-footer a { color: var(--zoge); opacity: 0.85; display: block; padding: 0.3rem 0; font-size: 0.95rem; }
.site-footer a:hover { opacity: 1; color: var(--gold); }
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-style: italic;
  color: var(--zoge);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.footer-tagline { color: var(--gold); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.footer-copyright {
  border-top: 1px solid rgba(239, 228, 196, 0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(239, 228, 196, 0.7);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.italic { font-style: italic; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; }
.no-shadow { box-shadow: none; }
