/* ============================================================
   MK Pokkisham — "Collect the Past, Treasure the Future"
   Palette: deep royal purple, gold, white/ivory, red.
   Motif carried from the logo: the pot of coins, the peacock
   plumage, gold on dark ground.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root{
  /* -- palette -- */
  --purple-deep:  #22082f;
  --purple:       #34103f;
  --purple-mid:   #4c1b56;
  --purple-line:  #6a2f74;
  --gold:         #e6b843;
  --gold-bright:  #f7d876;
  --gold-deep:    #a97a24;
  --red:          #a91330;
  --red-bright:   #d31d3d;
  --white:        #ffffff;
  --ivory:        #fbf6ea;
  --ivory-deep:   #f2e8d2;
  --ink:          #241531;
  --muted:        #6e5d78;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Lora', 'Georgia', serif;

  --content-width: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--purple-deep);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.12;
}
h1{ font-size: clamp(2.5rem, 5vw, 3.7rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h3{ font-size: 1.45rem; }

p{ margin: 0 0 1.1em; max-width: 62ch; }
a{ color: inherit; }
img, svg{ max-width: 100%; display: block; }

.container{ max-width: var(--content-width); margin: 0 auto; padding: 0 28px; }

.eyebrow{
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--gold-deep);
  margin-bottom: 0.9em;
}
.on-dark .eyebrow{ color: var(--gold-bright); }

.rule{ border: none; border-top: 1px solid var(--ivory-deep); margin: 0; }
.rule--gold{ border-top: 3px solid var(--gold); opacity: 0.7; }

/* ---------------- buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9em 1.8em;
  border: 1px solid var(--purple-deep);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--purple-deep);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active{ transform: scale(0.97); }

.btn--primary{ background: var(--purple-deep); color: var(--gold-bright); border-color: var(--purple-deep); }
.btn--primary:hover{ background: var(--purple); }

.btn--outline{ border-color: var(--purple-deep); color: var(--purple-deep); }
.btn--outline:hover{ background: rgba(34,8,47,0.06); }

.btn--outline-light{ border-color: var(--gold); color: var(--white); }
.btn--outline-light:hover{ background: rgba(255,255,255,0.08); }

/* the star of the show: BUY WITH US */
.btn--buy{
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 1.05em 2.2em;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px rgba(169,19,48,0.35), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.btn--buy:hover{ background: linear-gradient(135deg, var(--red), var(--red-bright)); transform: translateY(-1px) scale(1.01); }

.btn--wide{ width: 100%; justify-content: center; }

/* ---------------- header ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple-deep);
  border-bottom: 3px solid var(--gold);
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  max-width: var(--content-width);
  margin: 0 auto;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-bright); }
.brand__mark{ width: 58px; height: 58px; flex: none; object-fit: contain; }
.brand__name{ font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.05; color: var(--gold-bright); }
.brand__tagline{ display: block; font-family: var(--font-body); font-style: italic; font-size: 0.72rem; color: var(--ivory-deep); font-weight: 400; }

.nav{ display: flex; align-items: center; gap: 26px; }
.nav__links{ display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav__links a{
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ivory);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"]{ border-color: var(--gold); color: var(--gold-bright); }

.nav__toggle{
  display: none;
  background: none;
  border: 1px solid var(--gold);
  width: 42px;
  height: 38px;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: var(--gold);
}
.nav__toggle span{ top: 18px; }
.nav__toggle span::before{ top: -7px; }
.nav__toggle span::after{ top: 7px; }

@media (max-width: 960px){
  .nav__toggle{ display: inline-block; }
  .nav__links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--purple-deep);
    border-bottom: 3px solid var(--gold);
    padding: 20px 28px;
    gap: 16px;
    display: none;
  }
  .nav__links.is-open{ display: flex; }
  .nav .btn{ display: none; }
}

/* ---------------- hero (dark, jewel-tone) ---------------- */
.hero{
  background:
    radial-gradient(circle at 82% 20%, rgba(230,184,67,0.10), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(169,19,48,0.12), transparent 50%),
    linear-gradient(180deg, var(--purple-deep), var(--purple));
  color: var(--ivory);
  padding: 76px 0 96px;
}
.hero h1{ color: var(--white); }
.hero p{ color: var(--ivory-deep); }
.hero__grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero__cta-row{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.8em; }
.hero__stats{ display: flex; gap: 34px; margin-top: 3em; flex-wrap: wrap; }
.hero__stat b{ display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); }
.hero__stat span{ font-size: 0.82rem; color: var(--ivory-deep); font-style: italic; }
.hero__art{ display: flex; align-items: center; justify-content: center; }
.hero__art img{ filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45)); }

@media (max-width: 860px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ order: -1; max-width: 300px; margin: 0 auto; }
}

/* ---------------- section wrappers ---------------- */
.section{ padding: 84px 0; }
.section--dark{ background: var(--purple-deep); color: var(--ivory); }
.section--dark h2, .section--dark h3{ color: var(--white); }
.section--dark p{ color: var(--ivory-deep); }
.section--tint{ background: var(--ivory-deep); }
.section__head{ max-width: 680px; margin-bottom: 3em; }
.section__head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- ledger list ---------------- */
.ledger{ border-top: 1px solid var(--ivory-deep); }
.ledger__row{
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 10px;
  border-bottom: 1px solid var(--ivory-deep);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-left-color 0.2s ease;
  border-left: 3px solid transparent;
}
a.ledger__row:hover{ background: rgba(230,184,67,0.10); border-left-color: var(--red); }
.ledger__no{ font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); font-weight: 700; }
.ledger__title{ font-family: var(--font-display); font-size: 1.35rem; color: var(--purple-deep); margin: 0; }
.ledger__meta{ font-style: italic; color: var(--muted); font-size: 0.92rem; }
.ledger__count{ font-size: 0.9rem; color: var(--purple); white-space: nowrap; }

/* ---------------- catalogue grid (animated) ---------------- */
.coin-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.coin-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--ivory-deep);
  padding: 30px 26px 26px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.55s cubic-bezier(.2,.7,.3,1), opacity 0.55s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.coin-card.is-visible{ opacity: 1; transform: translateY(0); }
.coin-card::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(230,184,67,0.22) 48%, transparent 66%);
  background-size: 220% 100%;
  background-position: 120% 0;
  transition: background-position 0.7s ease;
  z-index: -1;
  pointer-events: none;
}
.coin-card:hover{
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 18px 34px rgba(34,8,47,0.16);
}
.coin-card:hover::before{ background-position: -20% 0; }
.coin-card__top{ display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.coin-card__no{ font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-deep); font-weight: 700; }
.coin-card__icon{
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--ivory-deep);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s ease, border-color 0.3s ease, background 0.3s ease;
}
.coin-card:hover .coin-card__icon{
  transform: rotate(360deg);
  border-color: var(--gold);
  background: rgba(230,184,67,0.12);
}
.coin-card__title{ font-family: var(--font-display); font-size: 1.3rem; color: var(--purple-deep); margin: 0; }
.coin-card__meta{ font-style: italic; color: var(--muted); font-size: 0.92rem; margin: 0; }
.coin-card__count{
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--ivory-deep);
  font-size: 0.9rem;
  color: var(--purple);
  display: flex; align-items: center; justify-content: space-between;
}
.coin-card__arrow{ transition: transform 0.3s ease; color: var(--red); }
.coin-card:hover .coin-card__arrow{ transform: translateX(5px); }
@media (prefers-reduced-motion: reduce){
  .coin-card{ opacity: 1; transform: none; }
}

/* ---------------- wax seal stat badges ---------------- */
.seals{ display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; padding: 20px 0; }
.seal{
  width: 150px; height: 150px; border-radius: 50%;
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px;
}
.seal b{ font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-bright); line-height: 1; }
.seal span{ font-size: 0.78rem; font-style: italic; color: var(--ivory-deep); margin-top: 6px; }

/* ---------------- numbered process steps ---------------- */
.steps{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.step{ position: relative; padding-top: 8px; border-top: 2px solid var(--gold); }
.step__num{ font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-deep); display: block; margin-bottom: 0.2em; }
.section--dark .step{ border-top-color: var(--gold); }
.section--dark .step__num{ color: var(--gold-bright); }
.section--dark .step h3{ color: var(--white); }

/* ---------------- two column feature ---------------- */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 40px; } }

/* ---------------- contact cards ---------------- */
.contact-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.contact-card{ border: 1px solid var(--ivory-deep); background: var(--white); padding: 30px 26px; border-top: 3px solid var(--gold); }
.contact-card h3{ margin-bottom: 0.3em; }
.contact-card a{ text-decoration: none; color: var(--purple-deep); border-bottom: 1px solid var(--red); font-weight: 600; }

/* ---------------- CTA band ---------------- */
.cta-band{ background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid)); color: var(--ivory); padding: 74px 0; text-align: center; }
.cta-band h2{ color: var(--white); }
.cta-band p{ color: var(--ivory-deep); margin-left: auto; margin-right: auto; }

/* ---------------- services grid ---------------- */
.services-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.service-card{
  background: var(--purple-deep);
  border: 1px solid var(--purple-line);
  padding: 32px 26px;
  position: relative;
  color: var(--ivory);
}
.service-card::before, .service-card::after{
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--gold);
}
.service-card::before{ top: 8px; left: 8px; border-right: none; border-bottom: none; }
.service-card::after{ bottom: 8px; right: 8px; border-left: none; border-top: none; }
.service-card__icon{ width: 46px; height: 46px; margin-bottom: 16px; }
.service-card h3{ color: var(--gold-bright); margin-bottom: 0.4em; }
.service-card p{ color: var(--ivory-deep); font-size: 0.96rem; margin-bottom: 0.8em; }
.service-card a{ color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); font-size: 0.9rem; }
.service-card a:hover{ color: var(--gold-bright); }

.service-detail{ padding: 60px 0; border-bottom: 1px solid var(--ivory-deep); }
.service-detail:last-child{ border-bottom: none; }
.service-detail__head{ display: flex; align-items: center; gap: 18px; margin-bottom: 0.8em; }
.service-detail__icon{ width: 52px; height: 52px; flex: none; }
.service-jump{ display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 18px 0 6px; }
.service-jump a{ text-decoration: none; color: var(--purple-deep); font-size: 0.92rem; border-bottom: 1px dotted var(--gold-deep); }
.service-jump a:hover{ color: var(--red); border-color: var(--red); }

/* ---------------- services overview grid (animated) ---------------- */
.svc-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.svc-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--ivory-deep);
  border-top: 3px solid var(--gold);
  padding: 26px 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1), opacity 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card__icon{ width: 38px; height: 38px; transition: transform 0.5s ease; }
.svc-card:hover .svc-card__icon{ transform: rotate(360deg); }
.svc-card h3{ margin: 0.3em 0 0.15em; font-size: 1.2rem; }
.svc-card p{ color: var(--muted); font-size: 0.92rem; margin: 0; }
.svc-card:hover{ transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 18px 34px rgba(34,8,47,0.14); }

/* shared scroll-reveal (used by .coin-card and .svc-card) */
.coin-card, .svc-card{ opacity: 0; transform: translateY(26px); }
.coin-card.is-visible, .svc-card.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .coin-card, .svc-card{ opacity: 1; transform: none; }
}

/* ---------------- service detail "what's included" list ---------------- */
.svc-includes{ list-style: none; margin: 0.9em 0 0; padding: 0; display: grid; gap: 8px; }
.svc-includes li{ position: relative; padding-left: 26px; color: var(--ink); }
.svc-includes li::before{
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold-deep);
  font-weight: 700;
}

/* ---------------- gallery ---------------- */
.gallery{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.gallery__tile{
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ivory-deep);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.gallery__tile img{ width: 100%; height: 100%; object-fit: cover; }
.gallery__tile figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(34,8,47,0.85), transparent);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.gallery__placeholder-icon{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.gallery__lightbox{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,4,20,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.gallery__lightbox.is-open{ display: flex; }
.gallery__lightbox-img-wrap{
  position: relative;
  max-width: 90vw; max-height: 80vh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  touch-action: none;
}
.gallery__lightbox-img-wrap img{ max-width: 90vw; max-height: 80vh; border: 3px solid var(--gold); }
.gallery__lightbox img{
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery__lightbox-img-wrap.is-zoomed img{ cursor: grab; }
.gallery__lightbox-img-wrap.is-panning img{ cursor: grabbing; }
.gallery__lightbox-zoom-controls{
  position: absolute; top: 24px; right: 84px; z-index: 2;
  display: flex; gap: 8px;
}
.gallery__lightbox-zoom-controls button{
  background: none; border: 1px solid var(--gold); color: var(--gold);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.gallery__lightbox-zoom-controls button:hover{ background: rgba(230,184,67,0.15); }
.gallery__lightbox-cap{ position: absolute; bottom: 40px; color: var(--gold-bright); font-family: var(--font-display); font-size: 1.2rem; text-align: center; width: 100%; }
.gallery__lightbox-close{
  position: absolute; top: 24px; right: 30px;
  background: none; border: 1px solid var(--gold); color: var(--gold);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
}

/* ---------------- theme song ---------------- */
.theme-song{
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border: 1px solid var(--gold);
  padding: 44px;
  text-align: center;
  color: var(--ivory);
}
.theme-song h2{ color: var(--gold-bright); }
.theme-song audio{ width: 100%; max-width: 520px; margin: 20px auto 6px; accent-color: var(--gold); }
.theme-song p{ margin-left: auto; margin-right: auto; }

/* ---------------- MK Pokkisham Media band ---------------- */
.media-band{
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid) 60%, var(--purple-deep));
  border-top: 1px solid var(--purple-line);
  border-bottom: 1px solid var(--purple-line);
  padding: 70px 0;
}
.media-band__grid{
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 44px;
}
.media-band__logo{
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
  transition: transform 0.5s ease;
}
.media-band__logo:hover{ transform: scale(1.04) rotate(-1deg); }
.media-band p.eyebrow{ color: var(--gold); }
.media-band h2{ color: var(--white); }
.media-band p{ color: var(--ivory-deep); max-width: 56ch; }
@media (max-width: 760px){
  .media-band__grid{ grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .media-band__logo{ width: 160px; }
}

/* ---------------- forms ---------------- */
.form{ max-width: 620px; }
.form label{ display: block; font-size: 0.9rem; font-style: italic; color: var(--muted); margin-bottom: 6px; }
.form-row{ margin-bottom: 22px; }
.form input, .form textarea, .form select{
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--purple-deep);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 2px;
}
.form input:focus, .form textarea:focus, .form select:focus{ outline: 2px solid var(--gold); outline-offset: 1px; }
.form-note{ font-size: 0.85rem; color: var(--muted); font-style: italic; }
.form-status{ margin-top: 14px; font-style: italic; }

/* ---------------- footer ---------------- */
.site-footer{ background: var(--purple-deep); border-top: 4px solid var(--gold); padding: 64px 0 0; color: var(--ivory-deep); }
.footer__grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__grid h4{ font-size: 1rem; font-family: var(--font-body); font-style: italic; color: var(--gold-bright); margin-bottom: 1em; }
.footer__grid ul{ list-style: none; margin: 0; padding: 0; }
.footer__grid li{ margin-bottom: 0.7em; }
.footer__grid a{ text-decoration: none; color: var(--ivory-deep); }
.footer__grid a:hover{ color: var(--gold-bright); border-bottom: 1px solid var(--gold); }
.footer__brand p{ max-width: 40ch; color: var(--ivory-deep); }
.footer__bottom{
  border-top: 1px solid var(--purple-line);
  padding: 22px 0 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem;
}
.footer__bottom nav{ display: flex; gap: 20px; }
.footer__bottom a{ text-decoration: none; color: var(--ivory-deep); }
.footer__bottom a:hover{ color: var(--gold-bright); }
.footer__legal{
  border-top: 1px solid var(--purple-line);
  padding: 14px 0 22px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.footer__legal a{ color: var(--ivory-deep); text-decoration: none; }
.footer__legal a:hover{ color: var(--gold-bright); }

@media (max-width: 960px){ .footer__grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .footer__grid{ grid-template-columns: 1fr; } }

/* ---------------- page banner (inner pages) ---------------- */
.page-banner{ padding: 56px 0 40px; background: var(--purple-deep); color: var(--ivory); border-bottom: 4px solid var(--gold); }
.page-banner h1{ color: var(--white); }
.page-banner p{ color: var(--ivory-deep); }

/* ---------------- legal pages ---------------- */
.legal h2{ margin-top: 1.6em; }
.legal{ max-width: 74ch; }

.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }

/* ---------------- blog: search + category filter ---------------- */
.blog-filters{
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.blog-filters__search{
  flex: 1 1 240px; max-width: 340px;
  padding: 10px 14px; border: 1px solid var(--purple-deep); border-radius: 2px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--ink);
}
.blog-filters__search:focus{ outline: 2px solid var(--gold); outline-offset: 1px; }
.blog-filters__cats{ display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters__pill{
  padding: 7px 16px; border: 1px solid var(--purple-line); border-radius: 999px;
  background: transparent; color: var(--purple-deep); font-family: var(--font-body); font-size: 0.85rem;
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-filters__pill:hover{ border-color: var(--gold-deep); }
.blog-filters__pill.is-active{ background: var(--purple-deep); color: var(--gold-bright); border-color: var(--purple-deep); }
.ledger__cat{ color: var(--gold-deep); font-style: normal; font-weight: 600; }
.blog-filters__empty{ padding: 30px 10px; text-align: center; color: var(--muted); font-style: italic; }

/* ---------------- blog post: social share ---------------- */
.share-bar{
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 34px 0 6px; padding-top: 24px; border-top: 1px solid var(--ivory-deep);
}
.share-bar__label{ font-style: italic; color: var(--muted); font-size: 0.9rem; margin-right: 4px; }
.share-bar__btn{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--purple-line);
  color: var(--purple-deep); text-decoration: none; font-size: 0.85rem; font-family: var(--font-body);
  background: transparent; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.share-bar__btn:hover{ background: var(--purple-deep); color: var(--gold-bright); border-color: var(--purple-deep); }
.share-bar__btn--copy.is-copied{ background: var(--gold); color: var(--purple-deep); border-color: var(--gold); }
