/* ============================================
   HeirSong — Shared stylesheet
   Loaded by every page. Single source of truth.
   ============================================ */

:root {
  --sage: #A8B5A0;
  --sage-deep: #8FA188;
  --terracotta: #C9907E;
  --terracotta-deep: #B07964;
  --cream: #F5F0E8;
  --cream-soft: #FBF8F2;
  --charcoal: #3A3A3A;
  --charcoal-soft: #5A5A5A;
  --rule: #E4DDD0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--charcoal);
}

a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
a:hover { border-color: var(--terracotta); }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   Header — sticky top nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: none;
}
.site-header .wordmark:hover { color: var(--terracotta); }
.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-family: 'Lora', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  border: none;
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--terracotta); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--terracotta);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal);
}
.menu-toggle svg { display: block; }

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 28px;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav a:last-child { border-bottom: none; }
  .menu-toggle { display: block; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 88px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.18;
  font-style: italic;
  font-weight: 400;
  max-width: 18ch;
  margin: 0 auto 28px;
}
.hero .tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--charcoal-soft);
  font-size: 19px;
  max-width: 36ch;
  margin: 0 auto;
}
.horizon-cue {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  font-family: 'Lora', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.horizon-cue span:not(:last-child)::after {
  content: '·';
  margin-left: 28px;
  color: var(--rule);
}

/* ============================================
   Sections
   ============================================ */

section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
section:first-of-type { border-top: none; }

.eyebrow {
  font-family: 'Lora', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
  font-weight: 500;
}
section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.25;
}
section p {
  max-width: 60ch;
  margin-bottom: 18px;
  color: var(--charcoal-soft);
}
section p:last-child { margin-bottom: 0; }

/* ============================================
   Collection cards (Studio teaser on home)
   ============================================ */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 720px) {
  .collection-grid { grid-template-columns: 1fr; }
}
.collection-card {
  display: block;
  padding: 32px 28px;
  background: var(--cream-soft);
  border-left: 2px solid var(--sage);
  border-bottom: 1px solid transparent;
  transition: border-left-color 200ms ease, transform 200ms ease;
  color: inherit;
}
.collection-card:hover {
  border-left-color: var(--terracotta);
  border-bottom-color: transparent;
  transform: translateY(-2px);
}
.collection-card .card-status {
  font-family: 'Lora', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}
.collection-card .card-status.coming {
  color: var(--terracotta-deep);
}
.collection-card .card-status.dev {
  color: var(--charcoal-soft);
}
.collection-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  font-style: italic;
}
.collection-card p {
  font-size: 15px;
  margin: 0;
  color: var(--charcoal-soft);
  max-width: none;
}
.collection-card .card-arrow {
  margin-top: 18px;
  font-size: 13px;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

/* ============================================
   CTA + signup form
   ============================================ */

.cta-block {
  background: var(--cream-soft);
  padding: 56px 32px;
  text-align: center;
  margin-top: 40px;
  border: 1px solid var(--rule);
}
.cta-block h3 {
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 14px;
}
.cta-block > p {
  max-width: 44ch;
  margin: 0 auto 28px;
  color: var(--charcoal-soft);
}

.button {
  display: inline-block;
  font-family: 'Lora', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  text-align: center;
}
.button:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}
.button.button-quiet {
  background: transparent;
  color: var(--charcoal);
}
.button.button-quiet:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.signup-form {
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.signup-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form input[type="month"] {
  font-family: 'Lora', serif;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  color: var(--charcoal);
  width: 100%;
}
.signup-form input:focus {
  outline: none;
  border-color: var(--sage);
}
.signup-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .signup-form .field-row { grid-template-columns: 1fr; }
}
.signup-form .optional-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-top: 8px;
  margin-bottom: 2px;
  text-align: center;
  font-style: italic;
}

/* GDPR consent checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--sage-deep);
  cursor: pointer;
}
.consent-row label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--charcoal-soft);
  cursor: pointer;
  flex: 1;
}

.signup-form button[type="submit"] {
  font-family: 'Lora', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
  width: 100%;
  margin-top: 4px;
}
.signup-form button:hover:not(:disabled) {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.signup-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-message {
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-message.success {
  background: var(--sage);
  color: var(--cream);
  display: block;
}
.form-message.error {
  background: var(--terracotta);
  color: var(--cream);
  display: block;
}

/* ============================================
   Ethics Charter band — repeats across pages
   ============================================ */

.charter {
  background: var(--sage);
  color: var(--cream);
  padding: 64px 0;
  margin: 0;
  border: none;
}
.charter .eyebrow { color: var(--cream); opacity: 0.75; }
.charter h2 { color: var(--cream); }
.charter ul {
  list-style: none;
  max-width: 44ch;
  margin: 24px 0 0 0;
}
.charter li {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.25);
  color: var(--cream);
}
.charter li:last-child { border-bottom: none; }

/* ============================================
   Resources teaser block
   ============================================ */

.resources-teaser {
  background: var(--cream-soft);
  padding: 56px 32px;
  margin-top: 40px;
  border-left: 2px solid var(--sage);
}
.resources-teaser h3 {
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 12px;
}
.resources-teaser p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* ============================================
   Article-style content (used on resource articles, about page)
   ============================================ */

.article-body {
  max-width: 640px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 12px;
  font-style: italic;
}
.article-body p {
  margin-bottom: 18px;
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.75;
  max-width: none;
}
.article-body p.lede {
  font-size: 21px;
  font-style: italic;
  color: var(--charcoal-soft);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.45;
  margin-bottom: 32px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  color: var(--charcoal);
}
.article-body li {
  padding: 4px 0;
  line-height: 1.7;
}
.article-body blockquote {
  border-left: 3px solid var(--sage);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--charcoal-soft);
  line-height: 1.5;
}

/* Collapsible phrase reveal (About page) */
.phrase-reveal {
  margin: 18px 0 28px;
  padding: 16px 20px;
  background: var(--cream-soft);
  border-left: 2px solid var(--sage);
}
.phrase-reveal summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Lora', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  padding: 4px 0;
  transition: color 200ms ease;
}
.phrase-reveal summary::-webkit-details-marker { display: none; }
.phrase-reveal summary::after {
  content: ' →';
  color: var(--terracotta);
  transition: transform 200ms ease;
  display: inline-block;
}
.phrase-reveal[open] summary::after {
  content: ' ↓';
}
.phrase-reveal summary:hover { color: var(--terracotta); }
.phrase-reveal-body {
  padding-top: 14px;
}
.phrase-reveal-body ul {
  margin: 0 0 0 22px !important;
}
.phrase-reveal-body li {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* ============================================
   Hero leaves decoration
   ============================================ */

.hero-leaves {
  position: absolute;
  top: 0;
  right: -100px;
  width: 70%;
  max-width: 900px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: leavesFadeIn 2200ms ease-out 600ms forwards;
}
@media (max-width: 720px) {
  .hero-leaves {
    width: 110%;
    right: -40px;
    top: 40px;
    opacity: 0.55;
  }
}
@keyframes leavesFadeIn {
  from { opacity: 0; transform: translateX(20px) translateY(-10px); }
  to { opacity: 0.85; transform: translateX(0) translateY(0); }
}
@media (max-width: 720px) {
  @keyframes leavesFadeIn {
    from { opacity: 0; transform: translateX(20px) translateY(-10px); }
    to { opacity: 0.55; transform: translateX(0) translateY(0); }
  }
}

.hero-wrapper {
  position: relative;
}
.hero-wrapper .hero {
  position: relative;
  z-index: 1;
}

/* Section divider with subtle leaf accent — uses cropped portion of same image */
.leaf-divider {
  text-align: center;
  padding: 24px 0 8px;
  margin: 0;
}
.leaf-divider img {
  width: 140px;
  height: auto;
  opacity: 0.45;
}

/* ============================================
   Notify modal (Studio pages)
   ============================================ */

.notify-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notify-modal[hidden] { display: none; }
.notify-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 58, 58, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.notify-modal-card {
  position: relative;
  background: var(--cream);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px 40px;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}
.notify-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--charcoal-soft);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 200ms ease;
}
.notify-close:hover { color: var(--terracotta); }
.notify-modal-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 12px;
  text-align: center;
}
.notify-modal-card > p {
  font-size: 15px;
  color: var(--charcoal-soft);
  text-align: center;
  margin-bottom: 28px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Resources hub
   ============================================ */

.resource-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.resource-row:last-child { border-bottom: none; }
.resource-row .resource-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.resource-row p {
  font-size: 15px;
  color: var(--charcoal-soft);
  margin: 0;
  max-width: 60ch;
}

/* Article link cards on resources hub */
.article-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.article-link {
  display: block;
  padding: 28px 28px;
  background: var(--cream-soft);
  border-left: 2px solid var(--sage);
  color: inherit;
  border-bottom: none;
  transition: border-left-color 200ms ease, transform 200ms ease;
}
.article-link:hover {
  border-left-color: var(--terracotta);
  border-bottom-color: transparent;
  transform: translateY(-2px);
}
.article-link .article-link-meta {
  font-family: 'Lora', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 10px;
  font-style: italic;
}
.article-link h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.25;
}
.article-link p {
  font-size: 15px;
  color: var(--charcoal-soft);
  margin: 0;
  max-width: none;
}

/* ============================================
   Eucalyptus motif — hero glyph + section dividers
   ============================================ */

.eucalyptus {
  display: block;
  margin: 0 auto;
}
.eucalyptus path,
.eucalyptus ellipse,
.eucalyptus circle {
  fill: none;
  stroke: var(--sage-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero version — larger, visible */
.eucalyptus.hero-glyph {
  width: 96px;
  height: auto;
  margin-top: 36px;
  opacity: 0.85;
}

/* Filled leaves on hero version */
.eucalyptus.hero-glyph .leaf-fill {
  fill: var(--sage);
  fill-opacity: 0.18;
  stroke: var(--sage-deep);
  stroke-width: 1.2;
}
.eucalyptus.hero-glyph .stem {
  stroke: var(--sage-deep);
  stroke-width: 1.4;
  fill: none;
}

/* Smaller divider version */
.eucalyptus.divider-glyph {
  width: 56px;
  height: auto;
  opacity: 0.55;
}
.eucalyptus.divider-glyph .leaf-fill {
  fill: var(--sage);
  fill-opacity: 0.25;
  stroke: var(--sage-deep);
  stroke-width: 1.1;
}
.eucalyptus.divider-glyph .stem {
  stroke: var(--sage-deep);
  stroke-width: 1.2;
  fill: none;
}

/* Section divider wrapper */
.section-divider {
  text-align: center;
  padding: 8px 0;
  margin: 0;
}

/* Override the default section border-top — replaced by the eucalyptus divider */
section.no-rule {
  border-top: none;
}

/* Hero glyph draw-in animation */
@media (prefers-reduced-motion: no-preference) {
  .eucalyptus.hero-glyph .stem,
  .eucalyptus.hero-glyph .leaf-fill {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    fill-opacity: 0;
    animation: drawIn 1600ms ease-out 900ms forwards;
  }
  .eucalyptus.hero-glyph .leaf-fill {
    animation: drawIn 1600ms ease-out 900ms forwards, fillFade 800ms ease-out 1800ms forwards;
  }
}

@keyframes drawIn {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fillFade {
  from { fill-opacity: 0; }
  to { fill-opacity: 0.18; }
}

/* Page intro (used on About, Studio, Resources, Contact) */
.page-intro {
  padding: 80px 0 48px;
  text-align: center;
  border-top: none;
}
.page-intro h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-intro p {
  max-width: 44ch;
  margin: 0 auto;
  font-style: italic;
  color: var(--charcoal-soft);
  font-size: 18px;
}

/* ============================================
   Studio item rows (used on /studio/* pages)
   ============================================ */

.studio-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
@media (max-width: 600px) {
  .studio-item { grid-template-columns: 1fr; }
}
.studio-item:first-child { padding-top: 16px; }
.studio-item:last-child { border-bottom: none; }
.studio-item .item-status {
  font-family: 'Lora', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.studio-item .item-status.available { color: var(--sage-deep); }
.studio-item .item-status.coming { color: var(--terracotta-deep); }
.studio-item .item-status.dev { color: var(--charcoal-soft); }
.studio-item h3 {
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 8px;
}
.studio-item p {
  font-size: 15px;
  color: var(--charcoal-soft);
  margin: 0;
  max-width: 50ch;
}
.studio-item .item-cta {
  font-family: 'Lora', serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}
.studio-item .item-cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.studio-item .item-cta.dev-cta {
  border: none;
  cursor: default;
  color: var(--charcoal-soft);
  font-style: italic;
  padding: 10px 0;
}
.studio-item .item-cta.dev-cta:hover {
  background: transparent;
  color: var(--charcoal-soft);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0;
}
.site-footer .container-wide { padding: 0 28px; }
.site-footer h4 {
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.site-footer p, .site-footer li {
  color: rgba(245, 240, 232, 0.78);
  font-size: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a {
  color: var(--cream);
  opacity: 0.85;
  border-bottom-color: rgba(245, 240, 232, 0.3);
}
.site-footer a:hover {
  opacity: 1;
  border-bottom-color: var(--cream);
}
.site-footer .footer-brand .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
  display: block;
  border: none;
}
.site-footer .footer-brand p {
  font-style: italic;
  max-width: 32ch;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  font-size: 12px;
  opacity: 0.6;
  text-align: center;
}

/* ============================================
   Subtle entrance animation
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .tagline, .hero .horizon-cue {
    opacity: 0;
    animation: fadeUp 900ms ease 200ms forwards;
  }
  .hero .tagline { animation-delay: 500ms; }
  .hero .horizon-cue { animation-delay: 800ms; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ============================================
   Legal page — intro + sommaire + sections
   ============================================ */

.legal-intro {
  padding: 80px 0 32px;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--rule);
}
.legal-intro h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.legal-intro .lede {
  color: var(--charcoal-soft);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 32px;
  max-width: 56ch;
}
.legal-toc {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 20px 24px;
  max-width: 560px;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { padding: 6px 0; }
.legal-toc a {
  color: var(--charcoal);
  font-size: 15px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}
.legal-toc a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.legal {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.legal:last-of-type { border-bottom: none; padding-bottom: 96px; }
.legal h2 {
  font-size: 32px;
  margin: 4px 0 24px;
}
.legal h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 28px 0 8px;
  color: var(--charcoal);
}
.legal p, .legal li {
  font-size: 16px;
  color: var(--charcoal-soft);
  margin-bottom: 12px;
}
.legal ul { margin: 8px 0 16px 20px; }
.legal li { padding: 4px 0; }

@media (max-width: 720px) {
  .legal-intro { padding: 56px 0 24px; }
  .legal-intro h1 { font-size: 34px; }
  .legal { padding: 40px 0; }
  .legal h2 { font-size: 26px; }
}
