/* ==========================================================================
   Base — Editorial Luxury
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--olive);
}

ul, ol { list-style: none; }

/* ---- Headings — Cormorant, light weight, burgundy ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);
  color: var(--burgundy);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-md); font-weight: 400; }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
  line-height: var(--leading-normal);
}

.script-text, .accent-text {
  font-family: var(--font-script);
  font-weight: 400;
}

/* ---- Blockquote — Thin olive left line, italic ---- */
blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--text-secondary);
  border-left: 2px solid var(--olive-light);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-3xl) 0;
}

/* ---- Ornament — Simple thin line with small diamond ---- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-2xl) auto;
  max-width: 200px;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stone);
}

/* Small diamond shape via CSS */
.ornament::before {
  background: linear-gradient(to right, transparent, var(--stone));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--stone));
}

/* ---- Divider ---- */
.gold-rule {
  border: none;
  height: 1px;
  background: var(--stone);
  margin: var(--space-3xl) auto;
  max-width: 40%;
}

.gold-border {
  border: 1px solid var(--stone);
  padding: var(--space-2xl);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

/* Alternating sections get a very soft olive wash */
.section:nth-child(even) {
  background-color: #F4F5EF;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-script { font-family: var(--font-script); }

::selection {
  background-color: var(--burgundy);
  color: var(--cream);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--warm-gray); }
