/* TDC Tunes — site styles
   Brand: indigo #211e52 (dominant), coral #ee355f (accent), white / light grey / black supporting.
   Type: Axia for headings, Fira Sans for body, Roboto for numerals set in Axia. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Axia"; src: url("/fonts/axia-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Axia"; src: url("/fonts/axia-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Brand rule: numerals in Axia are replaced with Roboto. Declared after Axia so it wins for digits. */
@font-face { font-family: "Axia"; src: url("/fonts/roboto-500.woff2") format("woff2"); font-weight: 100 900; unicode-range: U+0030-0039; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --indigo: #211e52;
  --indigo-deep: #100e39;
  --indigo-deepest: #060421;
  --indigo-soft: #343166;
  --indigo-muted: #4e4b81;
  --coral: #ee355f;
  --coral-light: #f2597d;
  --coral-dark: #b7002b;
  --grey: #f3f2f7;
  --lilac: #d8d4e6;
  --lilac-muted: #afa8cb;
  --white: #ffffff;

  --display: "Axia", "Roboto", system-ui, sans-serif;
  --body: "Fira Sans", "Roboto", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* so past gigs really disappear, even on grid/flex cards */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }
body {
  margin: 0;
  background: var(--indigo);
  color: var(--grey);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--coral-light); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.byline { font-family: var(--display); font-weight: 400; color: var(--coral-light); font-size: 1.1rem; margin-top: -.25em; }
.kicker {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--coral); margin: 0 0 .75rem;
}
.lede { font-size: 1.2rem; color: var(--lilac); max-width: 46ch; }
.muted { color: var(--lilac-muted); }
hr.rule { border: 0; border-top: 1px solid var(--indigo-muted); margin: 2rem 0; width: 4rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--coral); color: var(--white); padding: .5rem 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--deep { background: var(--indigo-deep); }
.section--deepest { background: var(--indigo-deepest); }
.section--light { background: var(--grey); color: var(--indigo); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--indigo); }
.section--light a:not(.btn) { color: var(--coral-dark); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.2fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

.grid { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--indigo) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Pages that open with a big image: header floats over it, then turns solid on scroll (js/site.js). */
.has-hero .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none; border-bottom: 0;
  transition: background .25s, border-color .25s;
}
/* Long indigo fade behind the header so the links have room to breathe (like the Squarespace version). */
.has-hero .site-header::before {
  /* Even fade from indigo to the photo (as on Squarespace), running past the header so links never sit at its edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 40px); z-index: -1; pointer-events: none;
  /* Eased curve: stays dense behind the links, then tails off gently so there's no visible edge */
  background: linear-gradient(180deg,
    rgba(33,30,82,.95) 0%, rgba(33,30,82,.9) 30%, rgba(33,30,82,.78) 48%, rgba(33,30,82,.58) 62%,
    rgba(33,30,82,.36) 75%, rgba(33,30,82,.17) 87%, rgba(33,30,82,.05) 95%, rgba(33,30,82,0) 100%);
  transition: opacity .25s;
}
.has-hero .site-header.is-scrolled::before { opacity: 0; }
/* Roomier header while floating over the image; shrinks back to normal once scrolled. */
@media (min-width: 721px) {
  .has-hero .site-header .wrap { min-height: 100px; transition: min-height .25s; }
  .has-hero .site-header.is-scrolled .wrap { min-height: 68px; }
}
.has-hero .site-header.is-scrolled {
  background: color-mix(in srgb, var(--indigo) 94%, transparent);
  backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
/* Text wordmark, as on the old Squarespace site */
.logo {
  display: block; flex: none;
  font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1; letter-spacing: .01em;
  color: var(--coral); text-decoration: none;
}
.logo:hover { color: var(--coral-light); }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); flex-wrap: wrap; }
.nav a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: 1rem; color: var(--white); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--coral); }
.nav .btn { padding: 10px 18px; border-bottom: 0; font-size: .95rem; letter-spacing: .1em; }
.menu-toggle { display: none; }
.nav .nav-join--mobile { display: none; }

/* Phones: one clean row (wordmark + Menu button); links open in a full-screen overlay (js/site.js). */
@media (max-width: 720px) {
  .logo { font-size: 1.4rem; position: relative; z-index: 2; }
  .site-header .wrap { flex-wrap: nowrap; min-height: 64px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2;
    background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--white);
    font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  }
  .menu-toggle__bars { position: relative; width: 22px; height: 2px; background: currentColor; transition: background .2s; }
  .menu-toggle__bars::before, .menu-toggle__bars::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .2s;
  }
  .menu-toggle__bars::before { transform: translateY(-7px); }
  .menu-toggle__bars::after { transform: translateY(7px); }
  .menu-open .menu-toggle__bars { background: transparent; }
  .menu-open .menu-toggle__bars::before { transform: rotate(45deg); }
  .menu-open .menu-toggle__bars::after { transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0; padding: 96px var(--gutter) 48px; background: var(--indigo);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 2.2rem; line-height: 1.1; letter-spacing: .04em; padding: 8px 0; }
  .nav .btn, .nav .nav-join--mobile { display: inline-flex; margin-top: 28px; padding: 18px 28px; font-size: 1.1rem; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { backdrop-filter: none; background: var(--indigo); }
  .menu-open .site-header::before { opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  /* Matches the old Squarespace primary button: Axia Bold 21px, .05em tracking, 21/31px padding, 4px corners */
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.3125rem; line-height: 1.2;
  background: var(--coral); color: var(--white); text-decoration: none;
  padding: 21px 31px; border-radius: 4px; border: 2px solid var(--coral);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--coral-light); border-color: var(--coral-light); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--indigo); }
.section--light .btn--ghost { border-color: var(--indigo); color: var(--indigo); }
.section--light .btn--ghost:hover { background: var(--indigo); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
@media (max-width: 720px) { .btn { font-size: 1.125rem; padding: 17px 24px; } }
.center .btn-row { justify-content: center; }
.also-on { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 1.25rem 0 0; color: var(--lilac-muted); font-size: .95rem; }
.also-on a { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--white); text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 2px; }
.also-on a:hover { color: var(--coral-light); }
@media (max-width: 720px) {
  .also-on { gap: 8px 20px; }
  .also-on__label { flex-basis: 100%; font-size: .85rem; }
  .lede { font-size: 1.08rem; }
}
.text-link { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; text-decoration: none; }
.text-link::after { content: " →"; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100vh, 560px); min-height: max(100svh, 560px); display: grid; align-items: end; overflow: hidden; background: var(--indigo-deepest); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,4,33,.55) 0%, rgba(6,4,33,.2) 45%, rgba(6,4,33,0) 70%),
    linear-gradient(rgba(6,4,33,.15), rgba(6,4,33,.15)),
    linear-gradient(0deg, var(--indigo) 0%, rgba(33,30,82,0) 14%);
}
.hero__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 9vw, 104px); }
.hero h1 { max-width: 12ch; margin-bottom: .2em; }
.hero__sub { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--coral); margin: 0 0 .9rem; }
@media (max-width: 720px) {
  .hero { min-height: min(76vh, 640px); min-height: min(76svh, 640px); } /* shorter on phones so the headline sits higher and the next section peeks in */
  .hero__img { object-position: 72% 10%; }
  /* Dark only where the text sits (bottom); photo stays clear above */
  .hero::after { background: linear-gradient(0deg, var(--indigo) 0%, rgba(33,30,82,.9) 18%, rgba(6,4,33,.6) 38%, rgba(6,4,33,.15) 60%, rgba(6,4,33,.1) 100%); }
  .hero__content { padding-bottom: 24px; }
  .hero + .section { padding-top: 48px; }
}

/* Page banner (shorter hero for inner pages) */
.banner { position: relative; overflow: hidden; background: var(--indigo-deepest); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--indigo) 0%, rgba(33,30,82,0) 70%); }
.banner__content { position: relative; z-index: 1; padding-top: clamp(96px, 16vw, 200px); padding-bottom: clamp(32px, 4vw, 48px); }
.has-hero .banner__content { padding-top: clamp(160px, 18vw, 240px); } /* clear the floating header */
.page-head { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(24px, 4vw, 40px); }

/* ---------- Media ---------- */
.frame { border-radius: var(--radius); overflow: hidden; background: var(--indigo-deep); }
.frame img { width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-spotify { width: 100%; border: 0; border-radius: 12px; }
audio { width: 100%; margin: .5rem 0 0; color-scheme: dark; }
.track { background: var(--indigo-deep); border-radius: var(--radius); padding: 14px 18px 16px; margin: 1rem 0 1.5rem; }
.track__title { font-family: var(--display); font-weight: 700; color: var(--white); margin: 0; font-size: .95rem; }
.section--light .track { background: var(--white); }
.section--light .track__title { color: var(--indigo); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--indigo-deep); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card__body { padding: 18px 20px 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.card p { margin: 0; color: var(--lilac); font-size: .95rem; }
a.card { transition: transform .2s; }
a.card:hover { transform: translateY(-3px); color: inherit; }
a.card:hover h3 { color: var(--coral-light); }

.feature-list { display: grid; gap: 28px; }
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .feature-list.downloads { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); } }
.downloads article { display: flex; flex-direction: column; background: var(--indigo-deep); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); border-top: 3px solid var(--coral); }
.downloads h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.downloads .btn-row { margin-top: auto; padding-top: 1.75rem; }
.downloads.feature-list h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-light); border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.feature-list h3 { font-size: 1.25rem; padding-top: 18px; border-top: 3px solid var(--coral); }

/* ---------- Gigs ---------- */
.gig { display: grid; gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 4vw, 40px) 0; border-top: 1px solid var(--indigo-muted); }
.gig:last-of-type { border-bottom: 1px solid var(--indigo-muted); }
@media (min-width: 760px) { .gig { grid-template-columns: minmax(0, 420px) 1fr; } }
.gig img { border-radius: var(--radius); width: 100%; }
.gig__date { font-family: var(--display); font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin-bottom: .4rem; }
.gig h3 { margin-bottom: .3em; }
.gig__venue { color: var(--lilac); margin-bottom: 1rem; }
.gig-empty { display: none; }
.gig-empty--card { background: var(--indigo); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.06); padding: clamp(28px, 4vw, 48px); }
.section:not(.section--deep) .gig-empty--card { background: var(--indigo-deep); }
.gig-empty--card .wrap-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.gig-empty--card h3 { margin: 0 0 .25em; }
.gig-empty--card p { margin: 0; color: var(--lilac); }
.gigs-list:not(:has([data-gig-date]:not([hidden]))) ~ .gig-empty { display: block; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0; }

/* Home page "Next gig" card */
.next-gig { display: grid; background: var(--indigo); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
@media (min-width: 860px) { .next-gig { grid-template-columns: 1.15fr 1fr; } }
.next-gig__poster { display: flex; align-items: center; padding: clamp(14px, 2vw, 24px); }
@media (min-width: 860px) { .next-gig__poster { padding-right: 0; } }
.next-gig__poster img { width: 100%; height: auto; border-radius: 3px; transition: transform .3s; } /* show the whole poster, never crop */
.next-gig__poster:hover img { transform: scale(1.02); }
.next-gig__body { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 32px); align-items: start; padding: clamp(24px, 3.5vw, 40px); align-self: center; }
.next-gig h3 { margin: 0 0 .3em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.next-gig__venue { color: var(--white); margin: 0 0 .75rem; font-weight: 600; }
.next-gig__desc { color: var(--lilac); margin: 0; font-size: .98rem; }
.next-gig .btn-row { margin-top: 1.5rem; }

.date-badge {
  display: grid; justify-items: center; min-width: 84px; padding: 12px 10px 10px;
  border: 2px solid var(--coral); border-radius: var(--radius); font-family: var(--display); line-height: 1; text-transform: uppercase;
}
.date-badge__day { font-size: 2.6rem; font-weight: 700; color: var(--white); }
.date-badge__month { font-size: 1rem; font-weight: 700; color: var(--coral); letter-spacing: .12em; margin-top: 4px; }
.date-badge__meta { font-size: .72rem; color: var(--lilac); letter-spacing: .06em; margin-top: 8px; white-space: nowrap; }
/* Phones: badge becomes a compact strip above the title so the text gets the full card width */
@media (max-width: 720px) {
  .next-gig__body { grid-template-columns: 1fr; gap: 14px; }
  .date-badge { display: inline-flex; align-items: baseline; gap: 10px; justify-self: start; min-width: 0; padding: 7px 14px; }
  .date-badge__day { font-size: 1.5rem; }
  .date-badge__month, .date-badge__meta { margin-top: 0; }
  .date-badge__meta { font-size: .8rem; }
  .next-gig .btn { width: 100%; }
}

/* ---------- Prose (long-form story pages) ---------- */
.prose { max-width: 68ch; }
.prose p { font-size: 1.125rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 2em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 3px solid var(--coral); color: var(--lilac); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 2rem 0; }
.prose .sep { color: var(--indigo-muted); letter-spacing: .3em; }
.bio { margin-top: 3rem; padding: 24px 26px; background: var(--indigo-deep); border-left: 3px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0; }
.bio p { font-size: 1rem; margin: 0 0 .6em; color: var(--lilac); }
.bio p:last-child { margin: 0; }

/* ---------- Awakening pieces ---------- */
.piece { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid rgba(255,255,255,.07); }
.piece__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .piece__grid { grid-template-columns: 1fr 1fr; }
  .piece:nth-of-type(even) .piece__media { order: 2; }
  .piece__media { position: sticky; top: 96px; }
}
/* Per-piece background artwork under an indigo wash, as on the Squarespace page.
   Set on each article: style="--bg: url(...); --ov: <overlay opacity>". A floor of .6 keeps text readable. */
.piece[style*="--bg"] { position: relative; isolation: isolate; border-top: 0; background: var(--indigo) center / cover no-repeat; }
.piece.bg-in { background-image: var(--bg); } /* added by js/site.js as each piece nears the screen */
.piece[style*="--bg"]::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--indigo); opacity: max(var(--ov), .6); }
.piece__media { display: grid; gap: 16px; }
.piece__media img { border-radius: var(--radius); width: 100%; }
.piece__body p { line-height: 1.75; }
.piece__body .poem p { margin-bottom: 1.1em; }
.piece--full .piece__grid { grid-template-columns: 1fr; max-width: 820px; }
.piece--full .piece__media { position: static; }

/* Sleep Paralysis: each illustration paired with the line that inspired it */
.step { margin: 3rem 0; }
.step img { width: 100%; border-radius: var(--radius); margin-bottom: 18px; }
.step figcaption p { margin: 0 0 .6em; }
.step__quote { font-family: var(--display); font-size: 1.2rem; line-height: 1.4; color: var(--white); }

.contents { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 2rem; }
.contents a {
  font-size: .85rem; text-decoration: none; color: var(--lilac); border: 1px solid var(--indigo-muted);
  padding: 6px 12px; border-radius: 999px;
}
.contents a:hover { border-color: var(--coral); color: var(--white); }

/* ---------- Fan club band + footer ---------- */
.join {
  background: var(--coral);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}
.join .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .join .wrap { grid-template-columns: 1fr auto; } }
.join h2 { margin: 0 0 .25em; }
.join p { margin: 0; font-size: 1.15rem; }
.join .btn { background: var(--indigo); border-color: var(--indigo); }
.join .btn:hover { background: var(--white); border-color: var(--white); color: var(--indigo); }

.site-footer { background: var(--indigo); border-top: 1px solid var(--indigo-soft); padding: 48px 0 40px; font-size: .95rem; color: var(--lilac-muted); }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; } }
.site-footer img { height: 48px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
@media (max-width: 759px) { .footer-links { justify-content: flex-start; } }
.footer-links a { color: var(--grey); text-decoration: none; }
.footer-links a:hover { color: var(--coral-light); }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--indigo-soft); padding-top: 20px; font-size: .85rem; }
.footer-meta a { color: var(--lilac-muted); }

/* ---------- Lists ---------- */
.gear h3 { margin-top: 2.25rem; font-size: 1.25rem; color: var(--coral-light); }
.gear ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.gear li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.gear li small { display: block; color: var(--lilac-muted); font-size: .9rem; }

.links-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 1rem; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
