:root {
  --ebony: #1a1a1a;
  --ivory: #f2eee8;
  --paper: #faf8f4;
  --paper-warm: #f5f1eb;
  --brass: #b08a47;
  --brass-light: #c4a15e;
  --text-muted: rgba(26, 26, 26, 0.68);
  --line: rgba(26, 26, 26, 0.11);
  --line-soft: rgba(26, 26, 26, 0.07);
  --panel: rgba(255, 255, 255, 0.68);
  --panel-strong: rgba(255, 255, 255, 0.90);
  --shadow: 0 28px 70px rgba(52, 43, 31, 0.10);
  --radius: 5px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ebony);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 71, 0.11), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(176, 138, 71, 0.08), transparent 24%),
    linear-gradient(180deg, var(--paper) 0%, #f4efe8 46%, var(--paper) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 820px);
}

.section {
  padding: 110px 0;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
}

.page-glow-1 {
  top: 8%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: rgba(176, 138, 71, 0.18);
}

.page-glow-2 {
  top: 36%;
  right: -8%;
  width: 300px;
  height: 300px;
  background: rgba(176, 138, 71, 0.12);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.94), rgba(250, 248, 244, 0.78));
  box-shadow: 0 8px 30px rgba(52, 43, 31, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand,
.header-actions,
.header-nav,
.theme-toggle {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  color: var(--brass);
}

.brand-wordmark,
h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
}

.brand-wordmark {
  font-size: 1.25rem;
  letter-spacing: 0.5em;
}

.header-actions {
  gap: 22px;
}

.header-nav {
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.header-nav a,
.theme-toggle {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-nav a:hover,
.theme-toggle:hover {
  color: var(--ebony);
}

.theme-toggle {
  appearance: none;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(26, 26, 26, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: rgba(176, 138, 71, 0.48);
  background: rgba(255, 255, 255, 0.72);
}

.theme-icon {
  display: none;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

html[data-theme-preference="auto"] .theme-icon-auto,
html[data-theme-preference="light"] .theme-icon-light,
html[data-theme-preference="dark"] .theme-icon-dark {
  display: block;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3.5rem, 8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-text,
.object-card p,
.object-card li,
.ritual-step p,
.art-copy p,
.invitation-copy p,
.form-note,
.recaptcha-notice,
.footer-meta {
  color: var(--text-muted);
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--brass-light), #a47b36);
  color: #15120e;
  box-shadow: 0 14px 30px rgba(176, 138, 71, 0.20);
}

.button-secondary {
  border-color: rgba(26, 26, 26, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  border-color: rgba(176, 138, 71, 0.58);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stage {
  position: relative;
  aspect-ratio: 9 / 7;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--radius);
  background: #ebe6df;
  box-shadow: var(--shadow);
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Shared sections */
.statement-section,
.ritual-section,
.quote-section {
  position: relative;
}

.statement-section::before,
.ritual-section::before,
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-top: 1px solid rgba(26, 26, 26, 0.035);
  border-bottom: 1px solid rgba(26, 26, 26, 0.035);
  background: rgba(255, 255, 255, 0.34);
}

.statement-section,
.quote-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.statement-wrap,
.section-heading {
  text-align: center;
}

.statement-kicker {
  margin: 0 0 18px;
  color: rgba(26, 26, 26, 0.50);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.26;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.align-left {
  margin-bottom: 0;
  text-align: left;
}

.object-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.object-card,
.art-panel,
.invitation-shell,
.ritual-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), rgba(250, 247, 242, 0.70));
  box-shadow: var(--shadow);
}

.object-card {
  min-height: 100%;
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.object-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 138, 71, 0.28);
  box-shadow: 0 32px 74px rgba(52, 43, 31, 0.13);
}

.card-index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.object-card h3,
.ritual-step h3,
.material-card h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.object-card ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.object-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
}

.object-card li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.ritual-grid,
.art-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 28px;
}

.ritual-steps,
.material-grid {
  display: grid;
  gap: 16px;
}

.ritual-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 24px 26px;
}

.ritual-step>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(176, 138, 71, 0.24);
  border-radius: var(--radius);
  color: var(--brass);
  font-size: 0.9rem;
}

.art-panel {
  padding: 34px;
}

.material-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.material-swatch {
  display: block;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--radius);
}

.swatch-ebony {
  background: linear-gradient(145deg, #343434, #141414);
}

.swatch-ivory {
  background: linear-gradient(145deg, #fbf7f0, #dfd6ca);
}

.swatch-brass {
  background: linear-gradient(145deg, #dec085, #a67c36);
}

blockquote {
  margin: 0;
  color: var(--ebony);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.24;
  text-align: center;
}

/* Invitation */
.invitation-section {
  padding-top: 80px;
}

.invitation-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
  padding: 44px;
  background:
    radial-gradient(circle at 92% 10%, rgba(176, 138, 71, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 237, 229, 0.86));
}

.invitation-copy h2 {
  margin-bottom: 14px;
}

/* Brevo */
:where(.sib-form-message-panel) {
  display: none;
}

.esmeline-brevo.sib-form,
.esmeline-brevo .sib-form-container,
.esmeline-brevo #sib-container {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Georgia, serif !important;
  text-align: left !important;
}

.esmeline-brevo #sib-form {
  display: grid;
  gap: 16px;
  width: 100%;
}

.esmeline-brevo .sib-form-block,
.esmeline-brevo .sib-input {
  padding: 0 !important;
}

.esmeline-brevo .form__entry {
  display: grid;
  gap: 8px;
  margin: 0;
}

.esmeline-field-label {
  display: block;
  color: var(--text-muted);
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.esmeline-brevo #sib-container .entry__field {
  width: 100%;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.esmeline-brevo #sib-container input.input {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(26, 26, 26, 0.14) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  color: var(--ebony) !important;
  font-family: Georgia, serif !important;
  font-size: 1rem !important;
  text-align: left !important;
  outline: none !important;
}

.esmeline-brevo #sib-container input.input::placeholder {
  color: rgba(26, 26, 26, 0.40) !important;
  font-family: Georgia, serif !important;
}

.esmeline-brevo #sib-container input.input:focus {
  border-color: var(--brass) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 0 0 3px rgba(176, 138, 71, 0.12) !important;
}

.esmeline-brevo #sib-container .entry__error {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8f2f2f !important;
  font-family: Georgia, serif !important;
  font-size: 0.82rem !important;
  text-align: left !important;
}

.esmeline-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.esmeline-consent .input_replaced {
  margin-top: 3px;
}

.esmeline-consent-text {
  color: var(--text-muted);
  font-family: Georgia, serif;
  font-size: 0.75rem;
  line-height: 1.55;
}

.esmeline-consent-text a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.esmeline-brevo .esmeline-brevo-button {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 24px !important;
  border: 1px solid var(--ebony) !important;
  border-radius: var(--radius) !important;
  background: var(--ebony) !important;
  color: var(--ivory) !important;
  font-family: Georgia, serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer;
}

.esmeline-brevo .esmeline-brevo-button:hover {
  border-color: var(--brass) !important;
  background: var(--brass) !important;
  color: var(--ebony) !important;
}

.esmeline-brevo .esmeline-brevo-button .icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: currentColor;
}

.esmeline-brevo .sib-form-message-panel--active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.esmeline-brevo .brevo-message {
  width: 100%;
  max-width: none !important;
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  border: 1px solid !important;
  border-radius: var(--radius) !important;
  font-family: Georgia, serif !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.esmeline-brevo .brevo-message-error {
  border-color: rgba(143, 47, 47, 0.25) !important;
  background: #fff2f0 !important;
  color: #6f2525 !important;
}

.esmeline-brevo .brevo-message-success {
  border-color: rgba(37, 79, 56, 0.22) !important;
  background: #edf8f1 !important;
  color: #254f38 !important;
}

.form-note,
.recaptcha-notice {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.recaptcha-notice {
  opacity: 0.72;
}

.input--hidden,
.g-recaptcha-v3[hidden],
#brevo-submit-frame,
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer {
  padding: 34px 0 52px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-logo-link {
  display: block;
  max-width: 400px;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-meta {
  display: flex;
  gap: 18px;
  font-size: 0.93rem;
}

.footer-meta a:hover {
  color: var(--brass);
}

/* Dark theme */
html[data-theme="dark"] {
  --text-muted: rgba(242, 238, 232, 0.72);
  --line: rgba(242, 238, 232, 0.12);
  --line-soft: rgba(242, 238, 232, 0.07);
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.03);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body {
  color: var(--ivory);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 71, 0.10), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(176, 138, 71, 0.08), transparent 24%),
    linear-gradient(180deg, #111111 0%, #151515 44%, #121212 100%);
}


html[data-theme="dark"] .site-header {
  border-bottom-color: var(--line-soft);
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.90), rgba(12, 12, 12, 0.58));
  box-shadow: none;
}

html[data-theme="dark"] .header-nav a:hover,
html[data-theme="dark"] .theme-toggle:hover {
  color: var(--ivory);
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(242, 238, 232, 0.13);
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(196, 154, 84, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .button-secondary {
  border-color: rgba(242, 238, 232, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"] .button-secondary:hover {
  border-color: rgba(242, 238, 232, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .hero-stage {
  border-color: rgba(242, 238, 232, 0.08);
  background: #181818;
}

html[data-theme="dark"] .statement-kicker {
  color: rgba(242, 238, 232, 0.55);
}

html[data-theme="dark"] .object-card,
html[data-theme="dark"] .art-panel,
html[data-theme="dark"] .ritual-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

html[data-theme="dark"] .material-card {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"] blockquote {
  color: var(--ivory);
}

html[data-theme="dark"] .invitation-shell {
  background:
    radial-gradient(circle at 92% 10%, rgba(176, 138, 71, 0.09), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

html[data-theme="dark"] .statement-section::before,
html[data-theme="dark"] .ritual-section::before,
html[data-theme="dark"] .quote-section::before {
  border-color: rgba(242, 238, 232, 0.025);
  background: rgba(255, 255, 255, 0.012);
}

html[data-theme="dark"] .esmeline-brevo #sib-container input.input {
  border-color: rgba(242, 238, 232, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--ivory) !important;
}

html[data-theme="dark"] .esmeline-brevo #sib-container input.input::placeholder {
  color: rgba(242, 238, 232, 0.38) !important;
}

html[data-theme="dark"] .esmeline-brevo #sib-container input.input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .esmeline-brevo .esmeline-brevo-button {
  border-color: var(--ivory) !important;
  background: var(--ivory) !important;
  color: var(--ebony) !important;
}

html[data-theme="dark"] .esmeline-brevo .esmeline-brevo-button:hover {
  border-color: var(--brass) !important;
  background: var(--brass) !important;
}

html[data-theme="dark"] .esmeline-consent-text {
  color: rgba(242, 238, 232, 0.68);
}

html[data-theme="dark"] .brevo-message-error {
  border-color: rgba(240, 192, 192, 0.22) !important;
  background: rgba(125, 39, 39, 0.20) !important;
  color: #f0c0c0 !important;
}

html[data-theme="dark"] .brevo-message-success {
  border-color: rgba(199, 229, 210, 0.20) !important;
  background: rgba(47, 107, 71, 0.19) !important;
  color: #c7e5d2 !important;
}

html[data-theme="dark"] .footer-inner {
  border-top-color: var(--line-soft);
}

/* Responsive */
@media (max-width: 1080px) {

  .hero-grid,
  .ritual-grid,
  .art-grid,
  .invitation-shell,
  .object-cards {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
  }

  .esmeline-brevo.sib-form {
    max-width: none;
  }
}

@media (max-width: 760px) {

  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-nav {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .theme-toggle {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }

  .theme-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stage {
    aspect-ratio: 4 / 5;
    margin-top: 10px;
  }

  .invitation-shell,
  .art-panel,
  .object-card {
    padding: 26px;
  }

  .ritual-step {
    grid-template-columns: 56px 1fr;
    padding: 20px;
  }

  .material-card {
    grid-template-columns: 58px 1fr;
  }

  .material-swatch {
    width: 58px;
    height: 58px;
  }

  .footer-inner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.development-note {
  display: block;
  margin: 12px 4px 0;
  color: var(--text-muted, rgba(26, 26, 26, 0.58));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-align: center;
}

.symbol-section {
  border-top: 1px solid var(--line-soft, rgba(26, 26, 26, 0.10));
  border-bottom: 1px solid var(--line-soft, rgba(26, 26, 26, 0.10));
}

.symbol-intro {
  max-width: 690px;
  margin: 18px auto 0;
  text-align: center;
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.symbol-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 138px;
  margin: 0;
  padding: 20px 12px;
  border: 1px solid var(--line-soft, rgba(26, 26, 26, 0.10));
  border-radius: var(--radius, 4px);
  background: var(--surface-soft, rgba(255, 255, 255, 0.30));
  text-align: center;
}

.symbol-card svg {
  width: 34px;
  height: 34px;
  color: var(--brass, #b08a47);
  overflow: visible;
}

.symbol-card .symbol-icon-footprint {
  width: 32px;
  height: 32px;
}

.symbol-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
}

.symbol-note {
  margin: 24px 0 0;
  color: var(--text-muted, rgba(26, 26, 26, 0.58));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0.025em;
  text-align: center;
}

html[data-theme="dark"] .development-note,
html[data-theme="dark"] .symbol-note {
  color: rgba(242, 238, 232, 0.58);
}

html[data-theme="dark"] .symbol-card {
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 980px) {
  .symbol-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .symbol-intro {
    margin-top: 12px;
  }

  .symbol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .symbol-card {
    gap: 8px;
    min-height: 92px;
    padding: 12px 8px;
  }

  .symbol-card svg,
  .symbol-card .symbol-icon-footprint {
    width: 24px;
    height: 24px;
  }

  .symbol-card h3 {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .symbol-note {
    max-width: 290px;
    margin: 18px auto 0;
    font-size: 0.7rem;
    line-height: 1.45;
  }
}

@media (max-width: 370px) {
  .symbol-card {
    min-height: 86px;
    padding: 10px 6px;
  }

  .symbol-card svg,
  .symbol-card .symbol-icon-footprint {
    width: 22px;
    height: 22px;
  }
}

/* =========================================================
   Esmeline loading screen (moved from index.html)
   ========================================================= */
html.esmeline-loading,
    html.esmeline-loading body {
      min-height: 100%;
      overflow: hidden;
    }

    html.esmeline-loading body > :not(#esmeline-loader) {
      visibility: hidden;
    }

    #esmeline-loader {
      position: fixed;
      inset: 0;
      z-index: 2147483647;
      display: grid;
      place-items: center;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      padding: 24px;
      background: #f2eee8;
      color: #1a1a1a;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition: opacity 900ms cubic-bezier(.22, 1, .36, 1);
    }

    html[data-theme="dark"] #esmeline-loader {
      background: #121212;
      color: #f2eee8;
    }

    .esmeline-loader-lockup {
      display: grid;
      justify-items: center;
      gap: 12px;
      text-align: center;
      animation: esmeline-loader-enter 700ms cubic-bezier(.22, 1, .36, 1) both;
    }

    .esmeline-loader-name {
      margin-right: -0.28em;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(1.55rem, 5vw, 2.45rem);
      font-weight: 400;
      line-height: 1;
      letter-spacing: 0.28em;
    }

    .esmeline-loader-tagline {
      color: #b08a47;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(0.78rem, 2.5vw, 0.95rem);
      line-height: 1.3;
      letter-spacing: 0.045em;
    }

    html.esmeline-loaded #esmeline-loader {
      opacity: 0;
      pointer-events: none;
    }

    html.esmeline-loaded .esmeline-loader-lockup {
      opacity: 0;
      transform: translateY(-3px);
      transition:
        opacity 520ms ease,
        transform 700ms cubic-bezier(.22, 1, .36, 1);
    }

    @keyframes esmeline-loader-enter {
      from {
        opacity: 0;
        transform: translateY(7px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .esmeline-loader-lockup {
        animation: none;
      }
    }

/* =========================================================
   ESMELINE — Story-first hero
   Story -> image -> invitation
   ========================================================= */

.hero-story-first {
  display: block;
  min-height: 0;
  padding: 72px 0 90px;
}

.hero-story-shell {
  display: grid;
  gap: 36px;
}

.hero-story {
  width: min(100%, 900px);
  margin-inline: auto;
  text-align: center;
}

.hero-story .eyebrow {
  margin-bottom: 15px;
}

.hero-story h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(3.1rem, 6.1vw, 5.4rem);
  line-height: 0.95;
}

.hero-story-copy {
  width: min(100%, 760px);
  margin: 30px auto 0;
}

.hero-story-copy p {
  margin-inline: auto;
}

.hero-story-lead {
  margin-bottom: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.2;
}

.hero-story-moments {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-story-body {
  max-width: 690px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-story-final {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ebony);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.hero-stage-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  overflow: visible;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(26, 26, 26, 0.075);
  background: #ebe6df;
  box-shadow: 0 34px 82px rgba(52, 43, 31, 0.12);
}

.hero-stage-main img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.hero-stage-main .development-note {
  margin: 12px 4px 0;
}

.hero-bridge {
  width: min(100%, 760px);
  margin: 6px auto 0;
  text-align: center;
}

.hero-bridge p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.hero-bridge span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-invitation {
  width: min(100%, 760px);
  margin: 8px auto 0;
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(247, 242, 235, 0.70));
  box-shadow: 0 20px 50px rgba(52, 43, 31, 0.065);
}

.hero-invitation-heading {
  text-align: center;
}

.hero-invitation-kicker {
  margin: 0 0 8px;
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-invitation-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.hero-invitation-heading > p:last-child {
  max-width: 590px;
  margin: 10px auto 18px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-brevo #sib-form {
  gap: 9px;
}

.hero-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.hero-brevo .esmeline-field-label {
  margin-bottom: 5px;
  font-size: 0.73rem;
}

.hero-brevo #sib-container input.input {
  min-height: 42px;
  padding-inline: 13px;
  font-size: 0.88rem !important;
}

.hero-submit-block {
  width: 100%;
}

.hero-brevo .esmeline-brevo-button {
  width: 100%;
  min-height: 42px;
  min-width: 0;
  padding-inline: 15px !important;
  font-size: 0.8rem !important;
}

.hero-brevo .esmeline-consent {
  grid-template-columns: 18px 1fr;
  gap: 9px;
}

.hero-brevo .esmeline-consent-text {
  font-size: 0.69rem;
  line-height: 1.45;
}

.hero-form-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.hero-form-meta .form-note,
.hero-form-meta .recaptcha-notice {
  margin: 0;
  font-size: 0.67rem;
  text-align: left;
  opacity: 0.62;
}

/* Prevent inner product/process images from inheriting hero proportions */
.object-card .hero-stage,
.ritual-step .hero-stage,
.art-copy .hero-stage {
  min-height: 0;
  height: auto;
  margin-top: 24px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 44px rgba(52, 43, 31, 0.09);
}

.object-card .hero-stage img,
.ritual-step .hero-stage img,
.art-copy .hero-stage img {
  min-height: 0;
}

/* Closing private-access reminder */
.closing-invitation {
  padding-top: 76px;
}

.closing-invitation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: end;
  gap: 60px;
  padding: 44px 0 18px;
  border-top: 1px solid var(--line);
}

.closing-invitation-shell h2 {
  max-width: 760px;
}

.closing-invitation-copy {
  padding-bottom: 6px;
}

.closing-invitation-copy p {
  margin: 0 0 22px;
  color: var(--text-muted);
}

html[data-theme="dark"] .hero-story-final {
  color: var(--ivory);
}

html[data-theme="dark"] .hero-stage-main {
  border-color: rgba(242, 238, 232, 0.075);
  background: #181818;
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .hero-invitation {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .closing-invitation-shell {
  border-top-color: var(--line-soft);
}

@media (max-width: 900px) {
  .hero-story-first {
    padding: 46px 0 74px;
  }

  .hero-story-shell {
    gap: 30px;
  }

  .hero-stage-main {
    aspect-ratio: 4 / 3;
  }

  .closing-invitation-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .hero-story-first {
    padding: 32px 0 60px;
  }

  .hero-story-shell {
    gap: 24px;
  }

  .hero-story {
    text-align: left;
  }

  .hero-story h1 {
    margin-inline: 0;
    font-size: clamp(2.9rem, 14vw, 4.25rem);
  }

  .hero-story-copy {
    margin-top: 22px;
  }

  .hero-story-lead {
    font-size: 1.35rem;
  }

  .hero-story-moments {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-story-body {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-story-final {
    font-size: 1rem;
  }

  .hero-stage-main {
    aspect-ratio: 4 / 5;
  }

  .hero-bridge {
    text-align: left;
  }

  .hero-bridge p {
    font-size: 1.6rem;
  }

  .hero-bridge span {
    font-size: 0.66rem;
    line-height: 1.6;
  }

  .hero-invitation {
    padding: 21px 18px 19px;
  }

  .hero-invitation-heading {
    text-align: left;
  }

  .hero-invitation-heading h2 {
    font-size: 1.7rem;
  }

  .hero-invitation-heading > p:last-child {
    margin-inline: 0;
    font-size: 0.8rem;
  }

  .hero-brevo .esmeline-consent-text {
    font-size: 0.67rem;
  }

  .hero-form-meta {
    flex-direction: column;
    gap: 2px;
  }

  .closing-invitation {
    padding-top: 58px;
  }

  .closing-invitation-shell {
    padding-top: 34px;
  }

  .closing-invitation-copy .button {
    width: 100%;
  }
}

/* =========================================================
   Founder Edition / Early Access refinements
   ========================================================= */

.hero-owning-line {
  margin: 18px 0 0 !important;
  color: var(--text-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

.hero-invitation-heading h2 {
  max-width: 620px;
  margin-inline: auto;
}

.closing-invitation-copy .button {
  min-width: 180px;
}

@media (max-width: 620px) {
  .hero-owning-line {
    margin-top: 14px !important;
    font-size: 0.9rem !important;
  }

  .hero-invitation-heading h2 {
    max-width: none;
    margin-inline: 0;
  }
}

/* =========================================================
   ESMELINE — purchase-intent validation, refined
   ========================================================= */

.purchase-test-hero {
  display: block;
  min-height: 0;
  padding: 58px 0 92px;
}

.purchase-test-shell {
  display: grid;
  gap: 34px;
}

.purchase-test-copy {
  width: min(100%, 820px);
  margin-inline: auto;
  text-align: center;
}

.purchase-test-copy .eyebrow {
  margin-bottom: 15px;
}

.purchase-test-copy h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(3.2rem, 6vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.purchase-test-story {
  width: min(100%, 700px);
  margin: 28px auto 0;
}

.purchase-test-story p {
  margin: 0 auto 12px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.purchase-test-story .purchase-test-story-lead {
  margin-bottom: 12px;
  color: var(--ebony);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.purchase-test-personalization {
  margin: 21px 0 0;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  letter-spacing: 0.035em;
}

.purchase-test-personalization span {
  margin-inline: 7px;
  color: rgba(176, 138, 71, 0.55);
}

.purchase-test-stage {
  width: min(100%, 820px);
  margin: 4px auto 0;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border: 1px solid rgba(26, 26, 26, 0.075);
  border-radius: var(--radius);
  background: #ebe6df;
  box-shadow: 0 28px 68px rgba(52, 43, 31, 0.11);
}

.purchase-test-stage img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
}

.purchase-test-stage .development-note {
  margin: 12px 4px 0;
}

.purchase-test-clarity {
  width: min(100%, 820px);
  margin: 8px auto 0;
  text-align: center;
}

.purchase-test-clarity-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.22;
}

.purchase-test-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.purchase-test-three > div {
  display: grid;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.50);
}

.purchase-test-three strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 400;
}

.purchase-test-three span {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.purchase-test-question {
  display: grid;
  justify-items: center;
  gap: 13px;
  width: min(100%, 620px);
  margin: 10px auto 0;
  text-align: center;
}

.purchase-test-question p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.purchase-intent-cta {
  min-width: 235px;
  border-radius: var(--radius);
}

.purchase-test-secondary {
  color: var(--text-muted);
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.purchase-test-form {
  width: min(100%, 650px);
  margin: 8px auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(247, 242, 235, 0.70));
  box-shadow: 0 18px 46px rgba(52, 43, 31, 0.06);
}

.purchase-test-form .hero-invitation-heading {
  text-align: center;
}

.purchase-test-form .hero-invitation-heading h2 {
  max-width: 580px;
  margin-inline: auto;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.purchase-test-form .hero-invitation-heading > p:last-child {
  max-width: 540px;
  margin: 10px auto 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.purchase-test-form .hero-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.purchase-test-form .hero-brevo #sib-container input.input {
  min-height: 44px;
  padding-inline: 14px;
  border-radius: var(--radius) !important;
  font-size: 0.9rem !important;
}

.purchase-test-form .esmeline-field-label {
  margin-bottom: 5px;
  font-size: 0.74rem;
}

.purchase-test-form .hero-submit-block {
  width: 100%;
}

.purchase-test-form .purchase-submit-button,
.purchase-test-form .hero-brevo .esmeline-brevo-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 46px !important;
  margin: 2px 0 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--ebony) !important;
  border-radius: var(--radius) !important;
  background: var(--ebony) !important;
  color: var(--ivory) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 0.87rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.purchase-test-form .purchase-submit-button:hover,
.purchase-test-form .hero-brevo .esmeline-brevo-button:hover {
  border-color: var(--brass) !important;
  background: var(--brass) !important;
  color: var(--ebony) !important;
}

.purchase-test-form .esmeline-consent-text {
  font-size: 0.68rem;
  line-height: 1.48;
}

.purchase-test-form .hero-form-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.purchase-test-form .hero-form-meta .form-note,
.purchase-test-form .hero-form-meta .recaptcha-notice {
  margin: 0;
  font-size: 0.66rem;
  text-align: left;
  opacity: 0.62;
}

/* Explicitly keep validation UI consistent with Esmeline's squared language. */
.purchase-test-hero .button,
.purchase-test-hero button,
.purchase-test-hero input,
.purchase-test-form,
.purchase-test-three {
  border-radius: var(--radius) !important;
}

html[data-theme="dark"] .purchase-test-story .purchase-test-story-lead {
  color: var(--ivory);
}

html[data-theme="dark"] .purchase-test-stage {
  border-color: rgba(242, 238, 232, 0.075);
  background: #181818;
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.30);
}

html[data-theme="dark"] .purchase-test-three > div {
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .purchase-test-form {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

html[data-theme="dark"] .purchase-test-form .purchase-submit-button,
html[data-theme="dark"] .purchase-test-form .hero-brevo .esmeline-brevo-button {
  border-color: var(--ivory) !important;
  background: var(--ivory) !important;
  color: var(--ebony) !important;
}

html[data-theme="dark"] .purchase-test-form .purchase-submit-button:hover,
html[data-theme="dark"] .purchase-test-form .hero-brevo .esmeline-brevo-button:hover {
  border-color: var(--brass) !important;
  background: var(--brass) !important;
}

@media (max-width: 700px) {
  .purchase-test-hero {
    padding: 34px 0 68px;
  }

  .purchase-test-shell {
    gap: 27px;
  }

  .purchase-test-copy {
    text-align: left;
  }

  .purchase-test-copy h1 {
    margin-inline: 0;
    font-size: clamp(2.9rem, 14vw, 4.25rem);
  }

  .purchase-test-story {
    margin-inline: 0;
    margin-top: 22px;
  }

  .purchase-test-story p {
    font-size: 0.91rem;
    line-height: 1.65;
  }

  .purchase-test-story .purchase-test-story-lead {
    font-size: 1.3rem;
  }

  .purchase-test-personalization {
    font-size: 0.79rem;
    line-height: 1.6;
  }

  .purchase-test-stage {
    width: 100%;
  }

  .purchase-test-clarity,
  .purchase-test-question {
    text-align: left;
  }

  .purchase-test-three {
    grid-template-columns: 1fr;
  }

  .purchase-test-question {
    justify-items: stretch;
  }

  .purchase-intent-cta {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .purchase-test-secondary {
    text-align: center;
  }

  .purchase-test-form {
    padding: 21px 18px 19px;
  }

  .purchase-test-form .hero-invitation-heading {
    text-align: left;
  }

  .purchase-test-form .hero-invitation-heading h2,
  .purchase-test-form .hero-invitation-heading > p:last-child {
    margin-inline: 0;
  }

  .purchase-test-form .hero-form-meta {
    flex-direction: column;
    gap: 2px;
  }
}
