/* bidadda.lol — hand-written CSS.
   No build step on purpose: shared hosting has no Node, so a Tailwind
   pipeline would mean committing compiled output and editing it blind. */

:root {
  --brand: #e2533b;
  --brand-600: #cf3f28;
  --brand-100: #fbe4dd;
  --leaf: #1f6f54;

  --bg: #fdfaf6;
  --surface: #fff;
  --surface-2: #f7f1ea;
  --ink: #16130f;
  --ink-2: #6b6156;
  --line: #eae0d5;
  --tint: #fbeae4;

  --radius: 1.5rem;
  color-scheme: light;
}

.dark {
  --bg: #141210;
  --surface: #1c1917;
  --surface-2: #241f1c;
  --ink: #f7f2ec;
  --ink-2: #a9a09a;
  --line: #2e2825;
  --tint: #2b1c17;
  --brand-100: #3a2018;
  color-scheme: dark;
}

* { box-sizing: border-box; }

/* The rupee sign is left to Poppins on purpose.
   Poppins serves U+20B9 from its Devanagari file rather than its Latin one,
   which looks like a bug but isn't: it is the same family at the same real
   weight, and it matches the digits far better than any system fallback,
   which has no ExtraBold and gets synthesised into a thin, smeared glyph.
   Rendered both and compared — Poppins wins. Don't "fix" this. */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; width: 100%; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

.muted { color: var(--ink-2); }
.accent { color: var(--brand); }
.small { font-size: .8rem; }
.sep { color: var(--line); margin: 0 .1rem; }
.right { text-align: right; }
main.wrap { padding-bottom: 6rem; }

/* ---------- header ---------- */
.header { padding-top: 1.25rem; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-text { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }

.presence {
  display: flex; align-items: center; gap: .4rem;
  background: var(--surface-2); border-radius: 999px;
  padding: .35rem .9rem; font-size: .78rem; font-weight: 500; color: var(--ink-2);
}
.presence a { color: var(--brand); }
.dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--leaf); display: inline-block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav > a {
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.nav > a:hover { background: var(--surface-2); color: var(--ink); }

.search input {
  width: 11rem; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: .4rem 1rem; font: inherit; font-size: .85rem;
  color: var(--ink); outline: none;
}
.search input:focus { border-color: var(--brand); }

.icon-btn {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 999px;
  color: var(--ink-2); cursor: pointer; font-size: 1rem;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- category pills ---------- */
.pills-scroll { overflow-x: auto; margin-top: 1.5rem; padding-bottom: .25rem; }
.pills {
  display: flex; gap: .25rem; width: max-content; min-width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem;
}
.pill {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
  padding: .5rem .9rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--ink-2);
}
.pill:hover { background: var(--surface-2); color: var(--ink); }
.pill-icon { color: var(--brand); }
.pill-on { background: var(--brand); color: #fff; }
.pill-on:hover { background: var(--brand-600); color: #fff; }
.pill-on .pill-icon { color: #fff; opacity: .9; }

/* ---------- hero / bid widget ---------- */
.hero-section { padding: 3rem 0; }
.hero-section.divided { border-top: 1px solid var(--line); margin-top: 4rem; }

.hero {
  text-align: center; font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.15;
}
.hero-amount { display: inline-flex; align-items: center; gap: .5rem; vertical-align: middle; }

.step {
  width: 2rem; height: 2rem; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: var(--tint); color: var(--brand);
  font-size: 1.25rem; font-weight: 700; cursor: pointer; line-height: 1;
}
.step:hover { background: var(--brand-100); }

/* The input is overlaid on an invisible copy of its text, so the field is
   always exactly as wide as its contents without measuring in JS. The ₹ lives
   in a sibling, never inside .amount-field — the absolutely positioned input
   fills that box and would render on top of it. */
.amount-wrap { display: inline-flex; align-items: baseline; color: var(--brand); font-variant-numeric: tabular-nums; }
.rupee { margin-right: .04em; }
.amount-field { position: relative; display: inline-block; }
.amount-sizer { visibility: hidden; white-space: pre; padding: 0 .25rem; }
#bid-amount {
  position: absolute; inset: 0; width: 100%;
  border: 0; background: transparent; border-radius: .5rem;
  font: inherit; color: inherit; text-align: center; padding: 0 .25rem;
  outline: none; cursor: text;
  /* These three must be restated, and must come after `font: inherit`.
     The font shorthand resets font-variant-numeric, and the UA stylesheet
     resets letter-spacing/word-spacing on form controls — so the input was
     laying out its text with different metrics from the hidden sizer that
     measures the box, and the last digit fell outside the field. */
  font-variant-numeric: tabular-nums;
  letter-spacing: inherit;
  word-spacing: inherit;
}
#bid-amount:hover, #bid-amount:focus { background: var(--brand-100); }

.bid-form {
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 56rem; margin: 2rem auto 0;
}
@media (min-width: 640px) { .bid-form { flex-direction: row; } }

.bid-form input[type=url], .bid-form select {
  flex: 1; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 1rem 1.25rem; font: inherit;
  color: var(--ink); outline: none; min-width: 0;
}

/* Without appearance:none the browser draws its own control inside our pill —
   Safari puts a native double-chevron stepper in there, which looks like a
   bug. Replace it with one chevron that matches the rest of the form. */
.bid-form select {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  cursor: pointer;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 12px 8px;
}
/* A data-URI SVG can't inherit currentColor, so the arrow is a themed token. */
:root { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b6156' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dark { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23a9a09a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* The placeholder option reads as a prompt, not as a chosen value. */
.bid-form select:invalid { color: var(--ink-2); }

@media (min-width: 640px) { .bid-form select { width: 14rem; } }
.bid-form input:focus, .bid-form select:focus { border-color: var(--brand); }
.bid-form select:hover { border-color: var(--ink-2); }

.btn-primary {
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  padding: 1rem 2rem; font: inherit; font-weight: 600; cursor: pointer;
  display: inline-block; text-align: center;
}
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-ghost {
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); padding: .65rem 1.5rem; font: inherit; font-weight: 600; cursor: pointer;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }

.btn-text { border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; padding: .5rem; }
.block { display: block; width: 100%; margin-top: .75rem; }

.bid-error { text-align: center; color: var(--brand-600); font-weight: 500; font-size: .9rem; }
.bid-note { text-align: center; font-size: .78rem; color: var(--ink-2); max-width: 34rem; margin: .75rem auto 0; }
.bid-note a { color: var(--brand); text-decoration: underline; }

.bid-success { text-align: center; max-width: 40rem; margin: 0 auto; }
.bid-success h2 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; margin: .5rem 0; }
.confetti { font-size: 3.5rem; margin: 0; }
.bid-success-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- tabs ---------- */
.tabs {
  display: flex; gap: .25rem; width: max-content; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem;
}
.tab { padding: .5rem 1.25rem; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.tab:hover { background: var(--surface-2); color: var(--ink); }
.tab-on { background: var(--brand); color: #fff; }
.tab-on:hover { background: var(--brand-600); color: #fff; }

/* ---------- board ---------- */
.board-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 1024px) { .board-grid { grid-template-columns: minmax(0,1fr) 20rem; } }

.board { display: flex; flex-direction: column; gap: .5rem; }
.board.narrow { max-width: 48rem; margin: 2rem auto 0; }

.row-wrap { position: relative; }

.claim-pill {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  z-index: 5; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; cursor: pointer;
  padding: .35rem 1rem; font: inherit; font-size: .75rem; font-weight: 600;
  opacity: 0; transition: opacity .15s; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgb(0 0 0 / .4);
}
.row-wrap:hover .claim-pill, .claim-pill:focus-visible { opacity: 1; }
.claim-pill:hover { background: var(--brand-600); }

.row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border-radius: var(--radius); padding: 1rem;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), background-color .16s, box-shadow .16s;
}
@media (min-width: 640px) { .row { gap: 1.25rem; padding: 1.25rem; } }
.row:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgb(0 0 0 / .45); }
.row-podium { background: var(--tint); }

.row-rank {
  width: 2.5rem; flex: none; text-align: center;
  font-size: 1.25rem; font-weight: 700; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) { .row-rank { font-size: 1.5rem; } }

.logo-img, .logo-fallback { border-radius: 1rem; flex: none; object-fit: cover; background: var(--surface-2); }
.logo-fallback { display: grid; place-items: center; color: #fff; font-weight: 700; }

.row-body { flex: 1; min-width: 0; }
.row-title { display: block; font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) { .row-title { font-size: 1.125rem; } }
.row-tagline {
  margin: .15rem 0 0; font-size: .875rem; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-meta {
  margin-top: .4rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: .1rem .4rem; font-size: .75rem; color: var(--ink-2);
}
.row-price { flex: none; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .row-price { font-size: 1.25rem; } }
@media (max-width: 639px) { .hide-sm { display: none; } }

/* ---------- sidebar ---------- */
.sidebar-head { display: flex; align-items: baseline; justify-content: space-between; }
.sidebar-head h2 { font-size: 1.125rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: .5rem; }
.sidebar-head .dot { background: var(--brand); }

.mini-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.mini-list a { display: flex; align-items: center; gap: .75rem; padding: .6rem; border-radius: 1rem; }
.mini-list a:hover { background: var(--surface-2); }
.mini-rank { width: 1.6rem; flex: none; font-size: .85rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini-title { flex: 1; min-width: 0; font-size: .875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-price { flex: none; font-size: .875rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.empty-note { background: var(--surface-2); border-radius: 1rem; padding: 1rem; font-size: .875rem; color: var(--ink-2); }

/* ---------- generic page furniture ---------- */
.page-head { text-align: center; padding: 3rem 0 .5rem; }
.page-head.left { text-align: left; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .5rem; }
.page-head .lead { font-size: 1.05rem; max-width: 40rem; }
.page-icon { font-size: 3rem; margin: 0; }
.centered-note { text-align: center; max-width: 30rem; margin: 1rem auto 0; }

.card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 640px) { .card { padding: 2.5rem; } }

.section { margin-top: 2.5rem; }
.section h2, .two-col h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .25rem; }

.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; }
.empty-icon { font-size: 2.5rem; margin: 0; }
.empty-title { font-weight: 700; font-size: 1.125rem; margin: 1rem 0 .25rem; }

.cat-grid { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; display: block; transition: transform .16s, background-color .16s; }
.cat-card:hover { transform: translateY(-2px); background: var(--surface-2); color: inherit; }
.cat-icon { font-size: 1.5rem; color: var(--brand); }
.cat-card h2 { font-size: 1.125rem; font-weight: 700; margin: .75rem 0 .25rem; }
.cat-stat { font-size: .75rem; color: var(--ink-2); margin-top: 1rem; font-variant-numeric: tabular-nums; }

.stat-grid { display: grid; gap: .75rem; margin-top: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .stat-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stat-grid.wide { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { background: var(--surface-2); border-radius: 1rem; padding: 1rem; }
.stat-tile dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 500; }
.stat-tile dd { margin: .35rem 0 0; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.two-col { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: repeat(2, 1fr); } }

.ledger { list-style: none; margin: 1rem 0 0; padding: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.ledger li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.25rem; border-top: 1px solid var(--line); }
.ledger li:first-child { border-top: 0; }
.ledger-title { flex: 1; min-width: 0; font-size: .875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-amt { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.tag { background: var(--surface-2); border-radius: .25rem; padding: .1rem .35rem; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; margin-left: .4rem; }

.crumbs { padding-top: 2rem; font-size: .875rem; color: var(--ink-2); }
.crumbs span { margin: 0 .5rem; }
.listing-card { margin-top: 1.5rem; }
.listing-top { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .listing-top { flex-direction: row; align-items: flex-start; } }
.listing-main { flex: 1; min-width: 0; }
.listing-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.listing-title-row h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.rank-chip { background: var(--tint); color: var(--brand-600); border-radius: 999px; padding: .25rem .75rem; font-size: .875rem; font-weight: 700; }
.listing-tagline { margin: .5rem 0 .75rem; max-width: 42rem; }
.listing-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.listing-actions .btn-primary { padding: .65rem 1.5rem; }

.error-page { text-align: center; padding: 7rem 0; }
.error-code { font-size: 3.5rem; font-weight: 800; color: var(--brand); margin: 0; }
.error-page h1 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.error-page .btn-primary { margin-top: 1.75rem; }

/* ---------- legal ---------- */
.legal { max-width: 48rem; }
.legal section { margin-top: 2.5rem; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .75rem; }
.legal p { color: var(--ink-2); margin: 0 0 .75rem; }
.legal strong { color: var(--ink); }
.legal ul { color: var(--ink-2); padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal code { background: var(--surface-2); border-radius: .25rem; padding: .1rem .3rem; font-size: .85em; }

.warn-box { border: 2px solid var(--brand); background: var(--tint); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.warn-box p { margin: 0 0 .35rem; }
.note-box { background: var(--surface-2); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2rem; }
.note-box p { margin: 0; }

.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.legal-nav a { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.legal-nav a:hover { background: var(--surface-2); color: var(--ink); }

.cta-box { background: var(--tint); border-radius: var(--radius); padding: 2rem; text-align: center; margin-top: 2.5rem; }
.cta-title { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }

.contact-card { margin-top: 0; padding: 0; overflow: hidden; }
.contact-list { margin: 0; }
.contact-list > div { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
.contact-list > div:first-child { border-top: 0; }
@media (min-width: 640px) { .contact-list > div { flex-direction: row; gap: 1.5rem; } }
.contact-list dt { width: 12rem; flex: none; font-size: .875rem; color: var(--ink-2); font-weight: 500; }
.contact-list dd { margin: 0; font-weight: 500; }

/* ---------- modals ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: rgb(0 0 0 / .55); backdrop-filter: blur(4px); padding: 1rem;
  overflow-y: auto;
}
.overlay[hidden] { display: none; }
.modal {
  background: var(--surface); border-radius: 1.5rem; width: 100%; max-width: 26rem;
  overflow: hidden; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .5);
  animation: rise .3s cubic-bezier(.2,.8,.3,1);
  margin: auto;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.modal-body { padding: 1.75rem; position: relative; }
.modal-body h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; padding-right: 2rem; }
.modal-body p { margin: 0 0 .75rem; font-size: .9rem; }
.modal-close { position: absolute; right: 1.25rem; top: 1.25rem; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--ink-2); cursor: pointer; }
.modal-foot { display: flex; justify-content: flex-end; gap: .75rem; border-top: 1px solid var(--line); padding: 1.25rem 1.75rem; }
.modal-foot .btn-primary { padding: .65rem 1.5rem; }
.modal-links { margin-top: 1rem; }
.modal-links a { text-decoration: underline; }

.confirm-box { display: flex; justify-content: space-between; gap: 1rem; background: var(--surface-2); border-radius: 1rem; padding: 1.25rem; margin: 1.25rem 0; }
.confirm-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; margin: 0; }
.confirm-value { font-size: 1.5rem; font-weight: 800; margin: .25rem 0 0; font-variant-numeric: tabular-nums; }

.agree { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; cursor: pointer; margin-top: 1.25rem; font-size: .875rem; }
.agree:hover { background: var(--surface-2); }
.agree.on { border-color: var(--brand); background: var(--tint); }
.agree input { accent-color: var(--brand); margin-top: .2rem; flex: none; }
.agree a { color: var(--brand); text-decoration: underline; }

.mock-head { background: var(--brand); color: #fff; padding: 1.5rem 1.75rem; }
.mock-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; margin: 0; font-weight: 600; }
.mock-amount { font-size: 1.5rem; font-weight: 800; margin: .25rem 0 0; font-variant-numeric: tabular-nums; }
.mock-sub { font-size: .875rem; opacity: .85; margin: 0; }
.mock-rows { background: var(--surface-2); border-radius: 1rem; padding: 1rem; margin: 1rem 0; font-size: .875rem; }
.mock-rows > div { display: flex; justify-content: space-between; padding: .25rem 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 1rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-blurb { max-width: 24rem; font-size: .875rem; margin-top: .5rem; }
.footer-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 600; margin: 0; }
.footer ul { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.footer ul a { color: var(--ink-2); }
.footer ul a:hover { color: var(--brand); }
.badge-test { display: inline-block; background: var(--tint); color: var(--brand-600); border-radius: .5rem; padding: .4rem .75rem; font-size: .75rem; font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); padding: 1.5rem 1rem; font-size: .75rem; color: var(--ink-2); }

/* ---------- motion ---------- */
@keyframes breathe { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
.breathe { animation: breathe 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
