/* ============================================================
   Carmen Seidlitz · Sanación
   ------------------------------------------------------------
   Soulful & spatial. Full-bleed imagery. Generous whitespace.
   Fraunces for editorial moments, Raleway for UI.
   ============================================================ */

@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400;1,9..144,500&display=swap");

:root {
  --forest:           #426F5E;
  --forest-light:     #6EB99B;
  --forest-dark:      #2E4E42;
  --forest-deeper:    #1F362E;
  --marigold:         #E08B1B;
  --marigold-hover:   #C47915;
  --paper:            #F5F0E8;
  --paper-2:          #EFE8DC;
  --paper-deep:       #E8DFD0;
  --white:            #FFFFFF;
  --stone:            #EBEBEB;
  --ink:              #426F5E;
  --ink-soft:         #5A6B62;
  --ink-muted:        #8A9890;
  --line:             #D8D0C2;
  --night:            #1F2520;
  --night-text:       #C8C0B0;
  --rose:             #C56B6B;
  --gold:             #C9A24B;

  --font-sans:    "Raleway", Helvetica, Arial, sans-serif;
  --font-serif:   "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem; --sp-24: 6rem;
  --sp-32: 8rem; --sp-40: 10rem;

  --container-text:   45rem;
  --container-read:   38rem;
  --container-wide:   71.25rem;
  --container-outer:  82rem;
  --page-px: 1.5rem;

  --radius-sm: 3px; --radius-md: 6px; --radius-lg: 12px; --radius-img: 4px;

  --shadow-sm: 0 1px 2px rgba(46,78,66,.06);
  --shadow-md: 0 6px 18px rgba(46,78,66,.10);
  --shadow-lg: 0 24px 60px rgba(46,78,66,.18);

  --t-fast: 150ms ease;
  --t: 250ms ease;
  --t-slow: 600ms cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.667;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

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

a { color: var(--forest); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--forest-dark); }

::selection { background: var(--marigold); color: var(--white); }

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

/* Typography
   ============================================================ */
.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--forest);
  margin: 0;
  text-wrap: balance;
}

.display-xl { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
.display-lg { font-size: clamp(2rem, 4.5vw, 3.75rem); }
.display-md { font-size: clamp(1.625rem, 3.5vw, 2.75rem); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marigold);
  margin: 0;
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow.no-rule::before { display: none; }

.h2-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin: 0 0 var(--sp-6);
  text-wrap: balance;
}

.h3-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 var(--sp-4);
}

.lead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.75vw, 1.625rem);
  line-height: 1.45;
  color: var(--forest);
  margin: 0 0 var(--sp-8);
  max-width: 38rem;
  text-wrap: pretty;
}

p { margin: 0 0 1.25em; text-wrap: pretty; }

.body-prose {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 36rem;
}
.body-prose p { margin: 0 0 1.25em; }
.body-prose a { color: var(--forest); border-bottom: 1px solid var(--line); }
.body-prose a:hover { border-bottom-color: var(--forest); }
.body-prose strong { color: var(--forest); font-weight: 600; }

.prose-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink);
  max-width: 34rem;
}
.prose-serif p { margin: 0 0 1.4em; }
.prose-serif em { font-style: italic; }

blockquote.pullquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  line-height: 1.25;
  color: var(--forest);
  margin: var(--sp-12) 0;
  padding: 0;
  max-width: 38rem;
  text-wrap: balance;
  position: relative;
}
blockquote.pullquote::before {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--marigold);
  margin-bottom: var(--sp-6);
}
blockquote.pullquote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: var(--sp-6);
}

.chapter-numeral {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--forest);
  -webkit-text-stroke: 1px var(--forest);
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  user-select: none;
}

/* Layout primitives
   ============================================================ */
.wrap { max-width: var(--container-outer); margin: 0 auto; padding: 0 var(--page-px); }
.wrap-text { max-width: var(--container-text); margin: 0 auto; padding: 0 var(--page-px); }
.wrap-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--page-px); }
.wrap-read { max-width: var(--container-read); margin: 0 auto; padding: 0 var(--page-px); }

section { padding: clamp(4rem, 8vw, 8rem) 0; }
section.hero-fullbleed { padding: 0; }
section.tight { padding: clamp(2rem, 4vw, 4rem) 0; }

.divider {
  width: 1px; height: 80px; background: var(--forest); opacity: .25; margin: 0 auto;
}

/* Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 232, 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(216, 208, 194, 0.5);
}
.header-inner {
  max-width: var(--container-outer);
  margin: 0 auto;
  padding: 1rem var(--page-px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.site-mark {
  display: inline-flex; align-items: center; gap: .625rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.site-mark .mark-glyph {
  width: 96px; height: 96px;
  margin: -32px 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-mark .mark-glyph img,
.site-mark .mark-glyph svg {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.primary-nav { justify-self: center; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(1rem, 2.5vw, 2.5rem);
  font-size: 13px; letter-spacing: 0.06em;
}
.primary-nav a {
  color: var(--forest);
  position: relative;
  padding: .375rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--marigold); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--marigold);
}
.primary-nav a:hover { color: var(--forest-dark); }

.header-right {
  justify-self: end;
  display: flex; align-items: center; gap: 1.25rem;
  font-size: 12px; letter-spacing: 0.14em;
}
.lang-toggle { display: inline-flex; gap: .375rem; color: var(--ink-muted); align-items: center; }
.lang-toggle .active { color: var(--forest); }
.lang-toggle a { color: var(--ink-muted); }
.lang-toggle a:hover { color: var(--forest); }

.book-link {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
  border: 1px solid var(--forest);
  padding: .625rem 1.125rem;
  border-radius: 999px;
  transition: var(--t);
}
.book-link:hover { background: var(--forest); color: var(--paper); }

@media (max-width: 880px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .header-right { gap: .75rem; }
  .book-link { padding: .5rem .875rem; font-size: 11px; }
}

/* Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .625rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.125rem 1.875rem;
  border-radius: 999px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper);
  cursor: pointer;
  transition: var(--t);
}
.btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
}
.btn-ghost:hover { background: var(--forest); color: var(--paper); }

.btn-marigold {
  background: var(--marigold); border-color: var(--marigold); color: var(--white);
}
.btn-marigold:hover { background: var(--marigold-hover); border-color: var(--marigold-hover); color: var(--white); }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform var(--t);
}
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: .375rem;
  transition: var(--t);
}
.text-link:hover { color: var(--marigold); border-bottom-color: var(--marigold); }
.text-link .arrow { width: 12px; height: 12px; transition: transform var(--t); }
.text-link:hover .arrow { transform: translateX(3px); }

/* Hero — full-bleed, title BELOW image (no overlay)
   ============================================================ */
.hero-fullbleed {
  position: relative;
  width: 100%;
  height: clamp(60vh, 78vh, 880px);
  overflow: hidden;
  background: var(--forest-dark);
  margin: 0;
  padding: 0;
}
.hero-fullbleed + * { margin-top: 0; }
.hero-fullbleed img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroFloat 18s ease-out forwards;
}
@keyframes heroFloat {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0);  }
}

.hero-meta {
  position: absolute;
  left: var(--page-px); right: var(--page-px); bottom: 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: var(--paper);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
  flex-wrap: wrap; gap: .5rem;
}
.hero-meta span { background: rgba(31,54,46,.55); padding: .5rem .875rem; border-radius: 999px; backdrop-filter: blur(6px); }

.hero-title {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 4rem);
}
.hero-title .display { margin-bottom: var(--sp-8); }
.hero-title .lead { color: var(--ink-soft); font-style: normal; }

/* Chapter section
   ============================================================ */
.chapter {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.chapter-meta { position: sticky; top: 6rem; }
.chapter-meta .eyebrow { margin-bottom: var(--sp-4); }
.chapter-meta .chapter-numeral { display: block; margin-bottom: var(--sp-4); }
.chapter-meta h2 { margin-top: 0; }

@media (max-width: 880px) {
  .chapter-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter-meta { position: static; }
  .chapter-numeral { font-size: 5rem; }
}

/* Image card
   ============================================================ */
.figure {
  margin: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--paper-2);
}
.figure img { width: 100%; height: auto; object-fit: cover; }
.figure figcaption {
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-muted);
  margin-top: .75rem; font-style: italic;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  max-width: var(--container-outer);
  margin: clamp(2rem, 5vw, 5rem) auto;
  padding: 0 var(--page-px);
}

/* CTA Box (forest gradient — the only gradient)
   ============================================================ */
.cta-card {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-card .eyebrow { color: var(--marigold); }
.cta-card .h2-serif { color: var(--paper); margin-bottom: .5rem; }
.cta-card p { color: var(--night-text); margin: 0; max-width: 32rem; }
@media (max-width: 720px) {
  .cta-card { grid-template-columns: 1fr; }
}

/* Event card
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: var(--t);
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest-light);
}
.event-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { padding: 1.5rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.event-card-body .eyebrow { color: var(--marigold); }
.event-card-body h3 {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 1.625rem; line-height: 1.1;
  color: var(--forest);
  margin: 0;
}
.event-card-body .meta {
  font-family: var(--font-sans); font-size: 13px;
  color: var(--ink-soft); margin: 0;
  display: flex; flex-direction: column; gap: .25rem;
}
.event-card-body .meta span { display: inline-flex; gap: .5rem; }
.event-card-body .meta b { color: var(--forest); font-weight: 600; min-width: 56px; }
.event-card-body p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; flex: 1; }

/* Modality cards
   ============================================================ */
.modalities {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.modalities > .modality:nth-child(-n+4) { grid-column: span 3; }
.modalities > .modality:nth-child(n+5)  { grid-column: span 4; }
@media (max-width: 880px) {
  .modalities { grid-template-columns: repeat(2, 1fr); }
  .modalities > .modality:nth-child(-n+4),
  .modalities > .modality:nth-child(n+5) { grid-column: span 1; }
}
@media (max-width: 520px) {
  .modalities { grid-template-columns: 1fr; }
}
.modality {
  background: var(--paper);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: background var(--t);
}
.modality:hover { background: var(--paper-2); }
.modality .num {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  color: var(--marigold); font-size: 14px;
}
.modality h4 {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.375rem; color: var(--forest); margin: 0; line-height: 1.1;
}
.modality p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Conversation index — uniform 4-col layout (no n+5 offset) */
.modalities.modalities-flat { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.modalities.modalities-flat > .modality { grid-column: auto !important; }

/* Testimonial
   ============================================================ */
.testimonials {
  background: var(--paper-deep);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.testimonial-card {
  text-align: center;
  max-width: 38rem; margin: 0 auto;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 300;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--forest);
  margin: 0 0 var(--sp-8);
  text-wrap: pretty;
}
.testimonial-author {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.testimonial-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 2rem;
}
.testimonial-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 1px solid var(--ink-muted);
  cursor: pointer; padding: 0;
  transition: var(--t);
}
.testimonial-dots button.active { background: var(--marigold); border-color: var(--marigold); }

/* Video row
   ============================================================ */
.video-wrapper {
  position: relative; padding-top: 56.25%;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--forest-dark);
  box-shadow: var(--shadow-md);
}
.video-wrapper iframe, .video-wrapper > div {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--line);
}
.video-row:last-of-type { border-bottom: 1px solid var(--line); }
.video-row.flip { grid-template-columns: 1fr 1.4fr; }
.video-row.flip .video-row-text { order: -1; }
@media (max-width: 880px) {
  .video-row, .video-row.flip { grid-template-columns: 1fr; }
  .video-row.flip .video-row-text { order: 0; }
}

.video-poster {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  cursor: pointer;
}
.video-poster::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,54,46,.1) 0%, rgba(31,54,46,.55) 100%);
}
.video-poster .play {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(245,240,232,.92);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.video-poster:hover .play { background: var(--marigold); }
.video-poster .play::after {
  content: ""; width: 0; height: 0;
  border-left: 16px solid var(--forest);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
  transition: var(--t);
}
.video-poster:hover .play::after { border-left-color: var(--white); }

/* Form
   ============================================================ */
.form-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.form-field label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.form-field input, .form-field textarea {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  outline: 0;
  transition: var(--t);
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--marigold); }
.form-field textarea { resize: vertical; min-height: 6rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.form-success {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.25rem; color: var(--forest);
  padding: 1.5rem 0;
}
.form-error {
  font-size: 14px; color: var(--rose);
  margin-top: 1rem;
}

/* Native audio element — sits cleanly inside the audio CTA card */
audio.audio-player {
  width: 100%;
  max-width: 28rem;
  height: 44px;
  border-radius: 999px;
  outline: none;
}
audio.audio-player::-webkit-media-controls-panel {
  background-color: var(--white);
}

.video-poster[data-yt-id] { cursor: pointer; }
.video-poster[data-yt-id]:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }

/* Floating booking pill
   ============================================================ */
.booking-pill {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .875rem 1.25rem;
  background: var(--forest);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease, background var(--t);
  pointer-events: none;
}
.booking-pill.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.booking-pill:hover { background: var(--marigold); color: var(--white); }
.booking-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--marigold); box-shadow: 0 0 0 3px rgba(224,139,27,.25);
}

/* Footer
   ============================================================ */
.site-footer {
  background: var(--night);
  color: var(--night-text);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  margin-top: clamp(4rem, 6vw, 6rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-outer); margin: 0 auto;
  padding: 0 var(--page-px);
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-top h4 {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--marigold); font-weight: 500; margin: 0 0 1rem;
}
.footer-top a { color: var(--night-text); display: block; padding: .25rem 0; font-size: 14px; }
.footer-top a:hover { color: var(--paper); }
.footer-mark .display {
  font-size: 2rem; color: var(--paper); margin-bottom: 1rem;
}
.footer-mark p { font-size: 14px; color: var(--night-text); max-width: 24rem; line-height: 1.6; }

.footer-mark .footer-glyph {
  display: block;
  width: clamp(140px, 14vw, 180px);
  margin: 0 0 1.25rem;
}
.footer-mark .footer-glyph img { width: 100%; height: auto; display: block; }

.footer-bottom {
  max-width: var(--container-outer); margin: 3rem auto 0;
  padding: 2rem var(--page-px) 0;
  border-top: 1px solid rgba(200,192,176,.18);
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.footer-social { display: inline-flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--night-text); padding: 0;
  transition: var(--t);
}
.footer-social a:hover { background: rgba(255,255,255,.20); color: var(--paper); }

/* Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-fullbleed img { animation: none; transform: none; }
}

/* Misc utilities
   ============================================================ */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--forest); color: var(--paper); padding: .5rem 1rem; z-index: 1000; }

.center { text-align: center; }
.muted { color: var(--ink-muted); }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 300; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.col-span-12 { grid-column: span 12; }
.col-span-8  { grid-column: span 8; }
.col-span-6  { grid-column: span 6; }
.col-span-5  { grid-column: span 5; }
.col-span-7  { grid-column: span 7; }
.col-span-4  { grid-column: span 4; }
.col-span-3  { grid-column: span 3; }
@media (max-width: 880px) {
  .col-span-8, .col-span-6, .col-span-5, .col-span-7, .col-span-4, .col-span-3 { grid-column: span 12; }
}

.tall  { aspect-ratio: 3/4; }
.wide  { aspect-ratio: 16/9; }
.square{ aspect-ratio: 1/1; }
.golden{ aspect-ratio: 5/4; }

.figure-tall img, .figure-wide img, .figure-square img, .figure-golden img { height: 100%; object-fit: cover; }

.surface-night { background: var(--forest-deeper); color: var(--paper); }
.surface-night .h2-serif, .surface-night .display, .surface-night .eyebrow { color: var(--paper); }
.surface-night .eyebrow { color: var(--marigold); }
.surface-night p { color: var(--night-text); }

.surface-paper-2 { background: var(--paper-2); }
