/* ================================================================
   Vocal Playground stylesheet
   Colours come from the logo. Change them here and they update
   everywhere on the site.
   ================================================================ */

:root {
  --sun: #F3C453;          /* logo yellow */
  --sun-soft: #FDF3D6;
  --blue: #2398EA;         /* logo blue */
  --blue-deep: #0F5E9C;
  --red: #EB4A12;          /* logo spiral red */
  --red-deep: #B3360A;
  --marigold: #EE9424;     /* orange logo */
  --pink: #F25FAE;         /* poster pink */
  --ink: #22284A;          /* text */
  --ink-soft: #4F5573;
  --paper: #FFFDF8;        /* page background */
  --line: #ECE5D5;

  --font-display: "Amatic SC", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7rem);
  --blob: 58% 42% 51% 49% / 46% 55% 45% 54%;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.35em;
  color: var(--ink);
}
h1 { font-size: clamp(3.4rem, 8vw, 5.75rem); }
h2 { font-size: clamp(2.7rem, 5.5vw, 3.9rem); }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 650; margin: 0 0 0.4em; }
p { margin: 0 0 1.1em; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.prose { max-width: 38em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--red); }
.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.6); }
.section--sun { background: var(--sun-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2 { color: var(--sun); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 1rem/1 var(--font-body);
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--big { font-size: 1.1rem; padding: 1.1em 2em; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Header and navigation ---------- */

.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.brand img { width: 128px; height: auto; }
.hero-logo { height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a, .sub-toggle {
  display: block; padding: 0.55rem 0.9rem; border-radius: 999px;
  font: 550 1rem/1.2 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover { background: var(--sun-soft); color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav .is-active > .sub-toggle { background: var(--sun); }
.sub-toggle::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-0.2em) rotate(45deg); }
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: calc(100% + 0.3rem); left: 0; min-width: 12rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0.5rem;
  box-shadow: 0 12px 30px rgba(34, 40, 74, 0.12);
}
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 861px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; } }
.sub a { border-radius: 12px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font: 600 1rem var(--font-body); color: var(--ink);
    background: var(--sun); border: 0; border-radius: 999px; padding: 0.65rem 1.1rem; cursor: pointer;
  }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .sub-toggle { font-size: 1.15rem; padding: 0.8rem 1rem; text-align: left; width: 100%; }
  .sub-toggle::after { display: none; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; background: none; }
}

/* ---------- Signature: the looping line from the logo ---------- */

.loop-line { display: block; width: 100%; height: auto; color: var(--red); overflow: visible; }
.loop-line path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.loop-line--draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-loop 2.4s .3s ease-out forwards; }
@keyframes draw-loop { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .loop-line--draw path { animation: none; stroke-dashoffset: 0; } }

.spiral { width: 1.1em; height: 1.1em; flex: none; }
.spiral path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Photos and missing-photo helpers ---------- */

.photo { width: 100%; height: 100%; object-fit: cover; background: var(--sun-soft); }
.photo-missing {
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(-45deg, var(--sun-soft) 0 14px, #FBEBC0 14px 28px);
  color: #7A5A00; font-size: 0.85rem; line-height: 1.4;
}
.photo-missing strong { display: block; font-weight: 650; }
.photo-fallback { display: grid; place-items: center; background: var(--sun-soft); color: var(--marigold); }
.photo-fallback .spiral { width: 3.5rem; height: 3.5rem; }

/* ---------- Home: hero ---------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-logo { width: min(100%, 400px); margin: 0 0 1.5rem -0.6rem; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero .lede { font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--ink); margin-bottom: 1.8rem; }
.hero-photo { position: relative; aspect-ratio: 1; }
.hero-photo::before { content: ""; position: absolute; inset: -3% -8% -3% 7%; background: var(--sun); border-radius: 50%; }
.hero-photo > * { position: relative; border-radius: var(--blob); overflow: hidden; height: 100%; }
.hero .loop-line { margin-top: clamp(1.5rem, 4vw, 3rem); }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { width: min(80%, 320px); }
  .hero-photo { width: 88%; margin-inline: auto; }
}

/* ---------- Home: welcome, ways in, quotes ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split-photo { aspect-ratio: 4 / 5; border-radius: 160px 24px 160px 24px; overflow: hidden; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .split-photo { aspect-ratio: 4 / 3; }
}

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.way { border-top: 3px solid var(--c, var(--ink)); padding-top: 1.25rem; }
.way .spiral { color: var(--c, var(--ink)); }
.way h3 { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.way .spiral { width: 1.5em; height: 1.5em; }
.way p { color: var(--ink-soft); }
.way a { font-weight: 600; }


.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 0.9rem; font-size: 1.25rem; line-height: 1.5; position: relative; padding-top: 2.2rem; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -0.6rem; left: -0.1rem; font: 700 4.5rem/1 var(--font-display); color: var(--red); }
.quote figcaption { color: var(--ink-soft); font-size: 0.95rem; }
.quote:nth-child(3n+2) blockquote::before { color: var(--blue); }
.quote:nth-child(3n+3) blockquote::before { color: var(--marigold); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0.4rem 0 0; color: #DDE0EE; max-width: 32em; }

/* ---------- Inner page header ---------- */

.page-head { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.page-head .loop-line { max-width: 420px; margin-top: 0.4rem; }
.page-head .lede { margin-top: 1.2rem; }
.crumb { font-size: 0.95rem; margin-bottom: 0.8rem; }
.crumb a { color: var(--ink-soft); }

/* ---------- About pages ---------- */

.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.person-photo { aspect-ratio: 4 / 5; border-radius: var(--blob); overflow: hidden; position: sticky; top: 2rem; }
@media (max-width: 760px) {
  .person { grid-template-columns: 1fr; }
  .person-photo { position: static; max-width: 420px; }
}
.about-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.principles { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2.2rem; }
.principles li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.principles .spiral { width: 2.5rem; height: 2.5rem; color: var(--red); }
.principles li:nth-child(3n+2) .spiral { color: var(--blue); }
.principles li:nth-child(3n+3) .spiral { color: var(--marigold); }
.principles p { color: var(--ink-soft); margin: 0; }
.prose .principles h3 { margin-top: 0.2rem; }

/* ---------- Offering type colours ---------- */

.t-workshop { --t: var(--blue); --t-tint: #E3F1FC; --t-text: #0F5E9C; }
.t-course   { --t: var(--marigold); --t-tint: #FDEBD3; --t-text: #8F4E06; }
.t-retreat  { --t: var(--red); --t-tint: #FDE3D8; --t-text: #B3360A; }
.t-advanced { --t: var(--pink); --t-tint: #FCE4F0; --t-text: #A3195F; }
.t-other    { --t: var(--sun); --t-tint: #FDF3D6; --t-text: #6E5200; }

.type-chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.88rem; font-weight: 650; line-height: 1;
  padding: 0.45em 0.8em 0.45em 0.6em; border-radius: 999px;
  background: var(--t-tint); color: var(--t-text);
}
.type-chip .spiral { color: var(--t); }
.tile-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.tile .tile-tags .type-chip { margin: 0; }
.status-flag { font-size: 0.88rem; font-weight: 650; color: var(--red-deep); }

/* ---------- Offerings page ---------- */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 2.5rem 0 2rem; }
.filter {
  display: inline-flex; align-items: center; gap: 0.45em;
  font: 600 0.95rem/1 var(--font-body); padding: 0.7em 1.15em; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent;
}
/* "All offerings": neutral, outlined, set apart from the categories */
.filter--all { background: transparent; border-color: var(--ink); color: var(--ink); }
.filter--all:hover { background: var(--sun-soft); }
.filter--all[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-sep { width: 2px; height: 1.8rem; background: var(--line); margin: 0 0.4rem; border-radius: 2px; }
/* Category buttons wear their type colour */
.filter--type { background: var(--t-tint); color: var(--t-text); }
.filter--type .spiral { color: var(--t); }
.filter--type:hover { border-color: var(--t); }
.filter--type[aria-pressed="true"] { background: var(--t-text); color: #fff; border-color: var(--t-text); }
.filter--type[aria-pressed="true"] .spiral { color: #fff; }
@media (max-width: 520px) { .filter-sep { flex-basis: 100%; height: 0; margin: 0; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.tile { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.tile-photo { aspect-ratio: 4 / 3; border-radius: 26px 26px 26px 6px; overflow: hidden; margin-bottom: 1rem; }
.tile-photo .photo { object-position: 50% 35%; }
.tile .type-chip { align-self: flex-start; margin-bottom: 0.7rem; }
.tile h3 { font-size: 1.35rem; margin-bottom: 0.35rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 2px; transition: text-decoration-color .15s; }
.tile:hover h3, .tile:focus-visible h3 { text-decoration-color: var(--t); }
.tile:hover { color: var(--ink); }
.tile-meta { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }
.tile-meta span { display: block; }
.tile-meta .when { color: var(--ink); font-weight: 600; }

.past-head { margin-top: var(--space); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.past-head h2 { font-size: clamp(2.3rem, 4.5vw, 3.1rem); }
.tiles--past { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tiles--past .tile-photo { aspect-ratio: 3 / 2; filter: saturate(0.55); }
.tiles--past h3 { font-size: 1.15rem; }

.empty { padding: 2rem; border-radius: 26px; background: var(--sun-soft); max-width: 40em; }
.empty p:last-child { margin: 0; }

/* Warning box shown only when the content files have a mistake */
.edit-warning { border: 2px solid var(--marigold); background: #FFF6E6; border-radius: 16px; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 0.95rem; }
.edit-warning strong { display: block; margin-bottom: 0.3rem; }
.edit-warning ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

/* ---------- Single offering page ---------- */

.offer-hero { margin-top: 2rem; }
/* Main photo is never cropped: shown at its own shape, height limited */
.offer-hero .photo {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh;
  object-fit: contain; border-radius: 34px 34px 34px 8px; background: none;
}
/* Banner across the top: centred. In the left column: aligned left. */
.offer-hero .photo { margin-inline: auto; }
.offer-hero--main .photo { margin-inline: 0; }
.offer-hero .photo-missing { width: 100%; aspect-ratio: 21 / 9; border-radius: 34px 34px 34px 8px; }
.offer-hero--side { margin: 0 0 1.25rem; }
.offer-hero--main { margin: 0 0 1.75rem; }
.offer-hero--side .photo { width: 100%; max-height: 80vh; border-radius: 26px 26px 26px 6px; }
.offer-side { position: sticky; top: 1.5rem; }
.offer-side.has-photo { position: static; }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-top: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 900px) { .offer-layout { grid-template-columns: 1fr; } }
.offer-layout h1 { font-size: clamp(3rem, 6.5vw, 4.75rem); }
.offer-layout .type-chip { margin-bottom: 1rem; }
.offer-panel {
  background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--t);
  border-radius: 8px 8px 26px 26px; padding: 1.6rem;
}
@media (max-width: 900px) { .offer-side { position: static; order: -1; } }
.facts { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.facts div { display: grid; gap: 0.1rem; }
.facts dt { font-size: 0.85rem; font-weight: 650; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 550; }
.facts ul { margin: 0.2rem 0 0; padding-left: 1.1rem; font-weight: 450; }
.panel-note { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.gallery > * { aspect-ratio: 1; border-radius: 20px; overflow: hidden; }

/* ---------- Calendar ---------- */

.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1rem; }
.cal-bar h2 { margin: 0; min-width: 7em; }
.cal-nav { display: flex; gap: 0.5rem; }
.cal-btn { font: 600 0.95rem/1 var(--font-body); padding: 0.7em 1.1em; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.cal-btn:hover { background: var(--ink); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }

.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); gap: 1px; }
.cal-dow { background: var(--sun-soft); text-align: center; font-weight: 650; font-size: 0.9rem; padding: 0.6rem 0.2rem; }
.cal-day { background: #fff; min-height: 7.5rem; padding: 0.45rem; display: flex; flex-direction: column; gap: 0.3rem; }
.cal-day.is-out { background: #FBF9F4; }
.cal-day.is-out .cal-num { color: #B8B3A6; }
.cal-num { font-size: 0.9rem; font-weight: 600; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; }
.cal-day.is-today .cal-num { background: var(--red); color: #fff; }
.cal-event {
  display: block; font-size: 0.8rem; line-height: 1.25; font-weight: 600;
  padding: 0.3rem 0.45rem; border-radius: 7px;
  background: var(--t-tint); color: var(--t-text); border-left: 4px solid var(--t);
  text-decoration: none; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.cal-event:hover { color: var(--ink); filter: brightness(0.96); }
.cal-event.is-past { opacity: 0.6; }

.cal-list { display: none; list-style: none; padding: 0; margin: 0; }
.cal-list li { border-bottom: 1px solid var(--line); }
.cal-list a { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1rem 0; color: var(--ink); text-decoration: none; }
.cal-list .date-badge { text-align: center; border-radius: 14px; background: var(--t-tint); color: var(--t-text); padding: 0.4rem 0; font-weight: 650; line-height: 1.1; }
.cal-list .date-badge b { display: block; font: 700 2rem/1 var(--font-display); }
.cal-list .ev-title { font-weight: 650; display: block; }
.cal-list .ev-meta { color: var(--ink-soft); font-size: 0.95rem; }
.cal-empty { padding: 1.5rem; background: var(--sun-soft); border-radius: 18px; margin-top: 1rem; }

@media (max-width: 700px) {
  .cal-grid { display: none; }
  .cal-list { display: block; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; width: 100%;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(35, 152, 234, 0.25); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 550; }
.form-status.ok { color: #1E7A44; }
.form-status.err { color: var(--red-deep); }

.side-card { border-radius: 26px; padding: 1.75rem; }
.side-card + .side-card { margin-top: 1.5rem; }
.side-card h2 { font-size: 2.5rem; }
.side-card--sun { background: var(--sun); }
.side-card--sun .field input { border-color: transparent; }
.side-card--plain { border: 1px solid var(--line); background: #fff; }
.social-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #DDE0EE; padding-block: 3.5rem 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 4rem; align-items: start; }
.footer-logo { width: 120px; height: auto; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-nav, .footer-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-nav { grid-template-columns: repeat(2, auto); justify-content: start; gap: 0.45rem 3rem; }
.footer-small { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.88rem; color: #AEB3CB; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

main:focus { outline: none; }

/* ---------- Ethos page: tighter top, photo stays in view ---------- */
body[data-page="ethos"] main > .section { padding-top: 2.5rem; }
body[data-page="ethos"] .principles { margin-top: 0; }
body[data-page="ethos"] .split { align-items: start; }
body[data-page="ethos"] .split-photo { position: sticky; top: 2rem; }
@media (max-width: 760px) {
  body[data-page="ethos"] .split-photo { position: static; }
}
