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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-cream);
  background-color: var(--color-navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ─── Atmospheric background — radial vignette + warm candlelight pools ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(212, 176, 98, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 100%, rgba(212, 176, 98, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 0%, rgba(4, 6, 15, 0.6) 100%),
    linear-gradient(180deg, #04060F 0%, #070B1C 30%, #070B1C 70%, #04060F 100%);
}

/* ─── Subtle grain texture overlay for paper depth ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.93 0 0 0 0 0.86 0 0 0 0 0.66 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-cream);
}

h2 {
  font-size: 3.6rem;
  letter-spacing: 0.04em;
}

h3 {
  font-size: 2.2rem;
  letter-spacing: 0.02em;
}

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

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--color-gold-bright);
}

strong {
  font-weight: 500;
  color: var(--color-cream);
}

em {
  font-style: italic;
  color: var(--color-cream-soft);
}

/* ─── Selection ─── */
::selection {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ─── Lists ─── */
ul, ol {
  list-style: none;
}

/* ─── Images ─── */
img {
  max-width: 100%;
  display: block;
}

/* ─── Form Defaults ─── */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Utility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Botanical Ornament Wrapper ─── */
.botanical {
  display: inline-block;
  color: var(--color-gold);
  pointer-events: none;
  user-select: none;
}

.botanical svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ─── Editorial Kicker — small italic gold label above section titles ─── */
.kicker {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
}

.kicker::before,
.kicker::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

/* ─── Placeholder note — temporary content callout ─── */
.placeholder-note {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin: var(--space-xl) auto 0;
  padding: var(--space-sm) var(--space-lg);
  border: 1px dashed var(--color-gold-border);
  border-radius: 2px;
  background: rgba(212, 176, 98, 0.04);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--color-cream-muted);
  text-align: center;
  max-width: 560px;
}

/* When inside a section, center horizontally */
.section .placeholder-note,
.section--alt .placeholder-note {
  display: flex;
  width: max-content;
  max-width: min(560px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.placeholder-note--inline {
  margin-top: var(--space-md);
  font-size: 1.3rem;
  padding: var(--space-xs) var(--space-md);
}

.placeholder-note-tag {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(212, 176, 98, 0.08);
}

@media (max-width: 600px) {
  .placeholder-note {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    font-size: 1.3rem;
  }
}
