
:root {
  --cream: #F5F0E8;
  --cream-dark: #EBE4D8;
  --ink: #1A1A1A;
  --ink-light: #2E2E2E;
  --ink-muted: #5A5652;
  --gold: #C5A55A;
  --gold-light: #D4BA7A;
  --gold-dark: #A8893E;
  --white: #FDFCFA;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-pad: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.82) 0%,
    rgba(26, 26, 26, 0.6) 40%,
    rgba(26, 26, 26, 0.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--cream-dark);
  max-width: 540px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.4);
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245, 240, 232, 0.08);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--ink-light);
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */

.section {
  padding: var(--section-pad) 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 600px;
}

.section-dark {
  background: var(--ink);
  color: var(--cream);
}

.section-dark .section-label {
  color: var(--gold);
}

.section-dark .section-title {
  color: var(--cream);
}

.section-dark .section-text {
  color: rgba(245, 240, 232, 0.7);
}

.section-white {
  background: var(--white);
}

/* ═══════════════════════════════════════
   HERITAGE STORY
   ═══════════════════════════════════════ */

.heritage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.heritage-image {
  position: relative;
  overflow: hidden;
}

.heritage-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.heritage-image-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: -1;
}

.heritage-content {
  padding: 20px 0;
}

.heritage-content .section-text {
  margin-bottom: 24px;
}

.heritage-stat-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-dark);
}

.heritage-stat {
  text-align: left;
}

.heritage-stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.heritage-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════
   THE CRAFT
   ═══════════════════════════════════════ */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.craft-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.craft-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.craft-card:hover img {
  transform: scale(1.05);
}

.craft-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.85));
}

.craft-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.craft-card-text {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.7);
}

/* ═══════════════════════════════════════
   THREE PILLARS
   ═══════════════════════════════════════ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.pillar {
  padding: 40px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.1);
  transition: border-color 0.3s ease;
}

.pillar:hover {
  border-color: var(--gold);
}

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.pillar-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 24px;
}

.pillar-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s ease;
}

.pillar-link:hover {
  color: var(--gold-light);
}

/* ═══════════════════════════════════════
   FEATURED DROP
   ═══════════════════════════════════════ */

.drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.drop-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.drop-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--gold-dark);
  padding: 4px 12px;
  margin-bottom: 20px;
}

.drop-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.drop-meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.drop-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.drop-price {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
}

.drop-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.drop-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════
   SAVANNAH
   ═══════════════════════════════════════ */

.savannah-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: end;
}

.savannah-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.savannah-content {
  padding-bottom: 20px;
}

.savannah-address {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-dark);
}

/* ═══════════════════════════════════════
   JOURNAL
   ═══════════════════════════════════════ */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.journal-card {
  background: var(--cream);
  transition: transform 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
}

.journal-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.journal-card-body {
  padding: 28px;
}

.journal-card-date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.journal-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.journal-card-text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════ */

.newsletter {
  text-align: center;
}

.newsletter .section-text {
  margin: 0 auto 40px;
}

.newsletter-form-placeholder {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.15);
}

.newsletter-form-placeholder p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  font-style: italic;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  background: var(--ink);
  color: rgba(245, 240, 232, 0.5);
  padding: 64px 24px;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(245, 240, 232, 0.4);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--ink);
  }

  .heritage {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .heritage-image img {
    height: 360px;
  }

  .heritage-stat-row {
    gap: 32px;
  }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .craft-card {
    aspect-ratio: 4/3;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .drop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .drop-image img {
    height: 400px;
  }

  .savannah-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .heritage-stat-row {
    flex-direction: column;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .drop-cta {
    flex-direction: column;
  }

  .drop-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.template-page .content-section {
    padding: 4rem 0;
}

.template-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.template-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.template-page .page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.template-page .page-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.template-page .page-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.template-page .page-content p {
    margin-bottom: 1.25rem;
}

.template-page .page-content a {
    color: var(--color-primary, var(--blue, #0088FF));
    text-decoration: none;
}

.template-page .page-content a:hover {
    text-decoration: underline;
}

.template-error .content-section {
    padding: 6rem 0;
    text-align: center;
}

/* Contact form on pages */
.ep-contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
}

.ep-contact-form input[type="text"],
.ep-contact-form input[type="email"],
.ep-contact-form textarea {
    background: var(--color-card, var(--card-bg, #16213E));
    color: var(--color-text, var(--grey-text, #B0B0C0));
    border: 1px solid var(--color-border, #2A2A4A);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.ep-contact-form input:focus,
.ep-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary, var(--blue, #0088FF));
}

.ep-contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.ep-contact-form .form-field {
    margin-bottom: 1.5rem;
}

.ep-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ep-contact-form button,
.ep-contact-form input[type="submit"] {
    background: var(--color-primary, var(--blue, #0088FF));
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ep-contact-form button:hover {
    background: var(--color-primary-hover, #0077E6);
}

.site-footer {
    position: relative;
    z-index: 1;
}
.container, .section-inner, [class*="-inner"] { max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; box-sizing: border-box; }
section, [class*="section"] { overflow-x: hidden; }
.button, a.button { display: inline-block; padding: 0.875rem 2rem; border-radius: 6px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s; line-height: 1.4; }
.button.update, .btn-primary, .button:not([class*="outline"]):not([class*="action"]) { background: var(--color-primary, var(--color-accent, #2196f3)); color: #fff !important; border: 2px solid var(--color-primary, var(--color-accent, #2196f3)); }
.button.action, .btn-outline { background: transparent; border: 2px solid currentColor; }
a.read-more { font-weight: 600; text-decoration: none; color: var(--color-primary, #2196f3); border-bottom: 2px solid currentColor; }
.hero-cta, .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-bg, [class*="hero-bg"] { z-index: -2 !important; }
.hero-gradient, .hero-overlay { z-index: -1 !important; }
.hero-bg img { object-fit: cover; width: 100%; height: 100%; }
