:root {
  color-scheme: light;
  --navy: #13224a;
  --navy-2: #1a3265;
  --marian: #315f9d;
  --ivory: #fbf8ef;
  --paper: #fffdf7;
  --ink: #172544;
  --muted: #5c6782;
  --line: rgba(19, 34, 74, 0.14);
  --gold: #cba95d;
  --gold-light: #e8d699;
  --gold-deep: #d0b36b;
  --gold-gradient: linear-gradient(110deg, #cba95d 0%, #e8d699 52%, #d0b36b 100%);
  --shadow: 0 18px 50px rgba(22, 37, 75, 0.12);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 243, 250, 0.92), rgba(251, 248, 239, 0.95) 38%, var(--ivory)),
    var(--ivory);
  font-family: var(--sans);
}

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #7aa6e3;
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(19, 34, 74, 0.96);
  color: white;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

/* Header logo matches the main site header (assets/site.css .brand-logo rules). */
.brand-logo { display: block; width: 190px; height: auto; }
@media (min-width: 1121px) {
  .brand { position: relative; padding-right: clamp(1rem, 1.6vw, 1.7rem); }
  .brand::after { content: ""; position: absolute; top: 50%; right: 0; width: 1px; height: 48px; background: rgba(223, 193, 123, .7); transform: translateY(-50%); }
}
@media (min-width: 1280px) { .brand { padding-right: 24px; } .brand-logo { width: 180px; } }
@media (min-width: 1121px) and (max-width: 1279px) { .brand { padding-right: 0; } .brand::after { display: none; } .brand-logo { width: 190px; } }

.header-actions { display: flex; align-items: center; gap: 10px; }
.privacy-chip { font-size: 12px; color: rgba(255, 255, 255, 0.74); }
.privacy-chip span { color: #99c3ac; font-size: 8px; margin-right: 5px; }

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}
.icon-button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.22); border-color: #dfc17b; }

.library-view { max-width: 1220px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 42px) 72px; }

.welcome-panel {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.3fr);
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(19, 34, 74, 0.99), rgba(34, 63, 111, 0.94)),
    var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.welcome-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: repeating-linear-gradient(135deg, transparent 0 34px, rgba(255,255,255,.18) 34px 35px);
}

.welcome-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 9px; color: var(--marian); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.welcome-panel .eyebrow { color: var(--gold-light); }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--navy); }
.welcome-panel h1 { max-width: 670px; margin: 0; color: white; font-size: clamp(30px, 1.4rem + 1.6vw, 38px); line-height: 1.05; letter-spacing: -0.02em; }
.lede { max-width: 690px; margin: 20px 0 0; color: rgba(255,255,255,.75); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }

.dove-emblem {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 128px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 214, 153, 0.52);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01));
  color: var(--gold-light);
  font-size: 44px;
  box-shadow: inset 0 0 30px rgba(232, 214, 153, .08);
}

.content-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(203, 169, 93, 0.42);
  border-radius: 14px;
  background: rgba(255, 252, 240, 0.88);
  font-size: 13px;
  line-height: 1.5;
}

.content-notice p { margin: 0; }
.notice-icon { flex: 0 0 auto; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-gradient); color: var(--navy); font-weight: 700; font-family: var(--serif); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 46px 0 20px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 1.2rem + 1vw, 32px); }
.section-heading > p { max-width: 320px; margin: 0 0 5px; color: var(--muted); font-size: 13px; text-align: right; }

.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.journey-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 10px 34px rgba(28, 48, 88, 0.07);
}

.journey-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gold-gradient);
}

.journey-card h3 { margin: 3px 0 10px; font-family: var(--serif); color: var(--navy); font-size: clamp(25px, 3vw, 34px); font-weight: 500; }
.journey-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.journey-card .card-action { position: absolute; right: 24px; bottom: 22px; }

.card-action, .text-button, .back-link, .more-button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.card-action { width: 42px; height: 42px; border: 1px solid rgba(19,34,74,.18); border-radius: 13px; background: white; }
.journey-card:hover { border-color: rgba(203,169,93,.7); transform: translateY(-2px); box-shadow: 0 16px 42px rgba(28, 48, 88, 0.12); }

.daily-pause {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(227,235,247,.8), rgba(255,253,247,.9));
}

.pause-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: var(--gold-light); }
.daily-pause h2 { margin: 0 0 5px; font-size: 24px; }
.daily-pause p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.text-button { padding: 12px 0; white-space: nowrap; }

.player-view { min-height: calc(100vh - 82px); padding: 0 0 92px; }
.player-topbar { position: relative; max-width: 1180px; margin: 0 auto; min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px; border-bottom: 1px solid var(--line); }
.back-link { justify-self: start; display: flex; gap: 8px; align-items: center; padding: 10px 0; }
.step-count { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.more-button { justify-self: end; padding: 10px 0; }
.journey-menu { position: absolute; top: 56px; right: 28px; z-index: 20; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.journey-menu button { border: 0; border-radius: 8px; padding: 10px 13px; background: transparent; color: #8a3434; cursor: pointer; }
.journey-menu button:hover { background: #fff3f1; }

.player-layout { max-width: 1220px; min-height: calc(100vh - 230px); margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: clamp(30px, 5vw, 68px); padding: clamp(30px, 5vw, 64px) 28px 40px; align-items: start; }
.bead-panel { min-width: 0; align-self: start; }
.devotion-figure { margin: 0 0 24px; overflow: hidden; border: 1px solid rgba(203,169,93,.45); border-radius: 18px; background: var(--navy); box-shadow: 0 12px 34px rgba(19,34,74,.14); }
.devotion-figure img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: contain; object-position: center; background: var(--navy); }
.devotion-figure figcaption { padding: 10px 13px; background: var(--paper); color: var(--muted); font-size: 10px; line-height: 1.4; }
.bead-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.bead-heading p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.path-toggle { width: 100%; min-height: 46px; display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--navy); font-weight: 700; cursor: pointer; }
.path-toggle span:last-child { color: var(--marian); font-size: 12px; font-weight: 700; }

.bead-path {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 2px 0;
  width: 100%;
  min-width: 0;
}

.bead {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 7px 10px 7px 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bead:not(:last-child)::after { content: ""; position: absolute; z-index: -1; left: 17px; top: 36px; bottom: -22px; width: 2px; background: linear-gradient(var(--gold-deep), rgba(49,95,157,.32)); }
.bead-marker { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid rgba(19,34,74,.24); border-radius: 50%; background: var(--paper); color: var(--navy); font-size: 15px; font-weight: 700; box-shadow: 0 0 0 4px var(--ivory); }
.bead.is-anchor .bead-marker { border-radius: 9px; }
.bead-copy { min-width: 0; display: grid; gap: 2px; }
.bead-group { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bead-label { color: var(--ink); font-size: 13px; font-weight: 720; line-height: 1.35; overflow-wrap: anywhere; }
.bead.is-blocked .bead-marker { border-color: #a8685e; background: #fff4f1; }
.bead.is-blocked .bead-label { color: #7a423a; }
.bead[aria-current="step"] { background: linear-gradient(110deg, rgba(203,169,93,.19), rgba(232,214,153,.3)); box-shadow: inset 0 0 0 1px rgba(203,169,93,.45); }
.bead[aria-current="step"] .bead-marker { border-color: var(--gold); background: var(--gold-gradient); box-shadow: 0 0 0 5px rgba(203,169,93,.18); }
.bead.is-complete .bead-marker { border-color: var(--marian); background: var(--navy-2); color: white; }
.bead:hover { background: rgba(255,253,247,.8); }
.bead-help { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.prayer-stage {
  position: relative;
  position: sticky;
  top: 112px;
  align-self: start;
  max-width: 740px;
  min-height: 430px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, .96);
  box-shadow: var(--shadow);
  width: 100%;
  min-width: 0;
}

.stage-ornament { position: absolute; top: 26px; right: 30px; color: var(--gold); font-size: 22px; }
.prayer-stage :is(h1, h2#journeyTitle) { max-width: 580px; margin: 0 0 24px; font-size: clamp(30px, 1.4rem + 1.6vw, 38px); line-height: 1.03; letter-spacing: -.025em; }
.variant-control { display: grid; grid-template-columns: auto minmax(180px, 1fr); align-items: center; gap: 7px 12px; max-width: 540px; margin: -8px 0 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f3f6fb; }
.variant-control label { color: var(--navy); font-size: 12px; font-weight: 700; }
.variant-control select { min-height: 36px; padding: 0 10px; border: 1px solid rgba(19,34,74,.2); border-radius: 8px; background: white; color: var(--navy); font: inherit; font-size: 13px; }
.variant-control small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; line-height: 1.45; }
.step-label { display: inline-flex; padding: 7px 10px; border-radius: 8px; background: #eef3fa; color: var(--marian); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prayer-copy { max-width: 620px; margin-top: 26px; font-family: var(--serif); color: #263652; font-size: clamp(19px, 2.5vw, 26px); line-height: 1.62; }
.prayer-copy p { margin: 0 0 .8em; }
.prayer-copy p:last-child { margin-bottom: 0; }
.rights-gate { padding: 18px; border-left: 4px solid #a8685e; border-radius: 8px; background: #fff4f1; color: #602f2a; font-family: var(--sans); font-size: 15px; line-height: 1.55; }
.source-details { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.source-details summary { width: max-content; color: var(--navy); font-weight: 700; cursor: pointer; }
.source-details p { max-width: 600px; line-height: 1.6; }

.player-controls { position: fixed; left: 50%; bottom: 18px; z-index: 25; transform: translateX(-50%); width: min(94vw, 760px); display: grid; grid-template-columns: 1fr auto auto 1fr; gap: 10px; padding: 10px; border: 1px solid rgba(19,34,74,.14); border-radius: 18px; background: rgba(255, 253, 247, .94); box-shadow: 0 14px 50px rgba(19,34,74,.2); backdrop-filter: blur(16px); }
.control { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; cursor: pointer; }
.control.primary { background: var(--gold-gradient); color: var(--navy); }
.control.secondary { border-color: var(--line); background: white; color: var(--navy); }
.control.pause { width: 108px; background: #eef3fa; color: var(--navy); }
.control.repeat { width: 108px; background: #f7f3e7; color: var(--navy); }
.control:disabled { opacity: .38; cursor: not-allowed; }
.control.danger { background: #8a3434; color: white; }

.quiet-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(10,20,46,.93); }
.quiet-dialog { max-width: 520px; text-align: center; color: white; }
.quiet-dialog .eyebrow { color: var(--gold-light); }
.quiet-dialog h2 { margin: 10px 0; color: white; font-size: clamp(26px, 1.3rem + 1.1vw, 34px); }
.quiet-dialog p:not(.eyebrow) { margin: 0 0 30px; color: rgba(255,255,255,.68); }
.quiet-star { display: inline-block; margin-bottom: 28px; color: var(--gold-light); font-size: 40px; }

.confirm-dialog { width: min(92vw, 470px); padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.confirm-dialog::backdrop { background: rgba(10,20,46,.72); backdrop-filter: blur(4px); }
.confirm-dialog form { padding: 34px; text-align: center; }
.confirm-dialog h2 { margin: 12px 0 10px; font-size: 30px; }
.confirm-dialog p { margin: 0; color: var(--muted); line-height: 1.5; }
.dialog-mark { color: var(--gold); font-size: 28px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }

.toast { position: fixed; left: 50%; bottom: 92px; z-index: 80; transform: translateX(-50%); padding: 11px 16px; border-radius: 10px; background: var(--navy); color: white; box-shadow: var(--shadow); font-size: 13px; }

body.quiet-library .site-header { opacity: .15; }

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 16px; }

  .privacy-chip { display: none; }
  .library-view { padding-top: 18px; }
  .welcome-panel { min-height: auto; grid-template-columns: 1fr; padding: 32px 25px; border-radius: 22px; }
  .welcome-panel h1 { font-size: 30px; }
  .dove-emblem { display: none; }
  .journey-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; margin-top: 36px; }
  .section-heading > p { text-align: left; }
  .daily-pause { grid-template-columns: auto 1fr; }
  .daily-pause .text-button { grid-column: 1 / -1; justify-self: start; }
  .player-view { min-height: calc(100vh - 68px); }
  .player-topbar { min-height: 58px; padding: 0 16px; }
  .more-button { font-size: 0; }
  .more-button::after { content: "•••"; font-size: 16px; }
  .journey-menu { right: 16px; top: 50px; }
  .player-layout { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding: 18px 16px 26px; }
  .bead-panel { order: 2; }
  .devotion-figure { margin-bottom: 14px; }
  .bead-heading, .bead-help { display: none; }
  .path-toggle { display: flex; }
  .bead-path { margin-top: 10px; }
  .prayer-stage { position: static; }
  .prayer-stage { min-height: 390px; padding: 34px 25px; border-radius: 22px; }
  .prayer-stage :is(h1, h2#journeyTitle) { padding-right: 20px; font-size: 30px; }
  .prayer-copy { font-size: 20px; }
  .variant-control { grid-template-columns: 1fr; }
  .variant-control small { grid-column: 1; }
  .source-details { margin-top: 25px; }
  .player-controls { bottom: 10px; grid-template-columns: 1fr 44px 44px 1fr; padding: 8px; }
  .control { min-height: 44px; padding: 0 13px; }
  .control.pause { width: 48px; font-size: 0; }
  .control.pause span:first-child { font-size: 15px; }
  .control.repeat { width: 44px; font-size: 0; }
  .control.repeat span:first-child { font-size: 16px; }
  .dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .journey-card, .icon-button, .control { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
  .control:not(:disabled):active, .icon-button:active { transform: scale(.97); }
  .quiet-star { animation: breathe 3.2s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (max-width: 640px) { .brand-logo { width: 140px; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-footer { background: var(--navy); color: #fff; padding: 48px 24px 28px; margin-top: 48px; font-family: var(--sans); }
.site-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 40px; align-items: start; }
.site-footer-brand img { width: 180px; height: auto; display: block; }
.site-footer-brand p { margin: 16px 0 0; font-family: "Cormorant Garamond", var(--serif); font-size: 22px; line-height: 1.25; color: #fff; max-width: 18ch; }
.site-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site-footer-links div { display: flex; flex-direction: column; gap: 4px; }
.site-footer-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.site-footer-links a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 15px; line-height: 1.4; min-height: 44px; display: flex; align-items: center; }
.site-footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer-links a:focus-visible, .site-footer-brand a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }
.site-footer-base { max-width: 1180px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; color: rgba(255,255,255,.7); }
body:has(#playerView:not([hidden])) .site-footer { display: none; }
@media (max-width: 760px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-links { grid-template-columns: 1fr 1fr; }
}

.shell { width: min(1220px, calc(100% - 3rem)); margin-inline: auto; }
footer.footer { background: #071025; color: #aebaca; padding: 4rem 0 2rem; margin-top: 48px; font-family: var(--sans); }
footer.footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
footer.footer .footer-grid > div:not(:first-child) { display: flex; flex-direction: column; min-width: 0; }
footer.footer .kicker { margin: 0 0 1rem; color: #dfc17b; font: 600 .8125rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
footer.footer .kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 .7rem .2rem 0; background: currentColor; }
footer.footer .footer-grid a, footer.footer .footer-grid > div > span { font-size: clamp(.875rem, .86rem + .1vw, .9375rem); line-height: 1.4; color: #aebaca; margin: 0; padding-block: .375rem; text-decoration: none; overflow-wrap: anywhere; }
footer.footer .footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
footer.footer .footer-grid a:focus-visible { outline: 3px solid #dfc17b; outline-offset: 3px; }
footer.footer .footer-brand .footer-logo { display: block; width: min(240px, 100%); height: auto; margin: 0 0 1.5rem; }
footer.footer .footer-brand h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; color: #fff; margin: 1.5rem 0 0; }
footer.footer .footer-base { margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .14); font-size: clamp(.875rem, .86rem + .1vw, .9375rem); }
@media (max-width: 1000px) { footer.footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer.footer .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { footer.footer .footer-grid a { min-height: 44px; display: flex; align-items: center; padding-block: 0; } .shell { width: min(100% - 2rem, 1220px); } }
@media (max-width: 640px) { footer.footer .footer-brand .footer-logo { width: min(200px, 100%); } }
@media (max-width: 560px) { footer.footer .footer-grid { grid-template-columns: 1fr; } footer.footer .footer-base { flex-direction: column; gap: .5rem; } }
