/* ==========================================================================
   Challenge Coins On Sale — site styles
   Plain CSS, no build step. Sections are ordered: tokens → base → layout →
   header/footer → components → page sections → utilities.
   ========================================================================== */

:root {
  --red: #b3121f;
  --red-dark: #8a0d17;
  --navy: #0d1f3c;
  --navy-2: #16305a;
  --gold: #e2a82b;
  --gold-light: #ffd978;
  --gold-dark: #9a6a10;
  --cream: #fbf6ec;
  --paper: #ffffff;
  --ink: #1b2233;
  --muted: #5b6477;
  --line: #e6e0d3;
  --ok: #1d7a46;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(13, 31, 60, .25);
  --shadow-lg: 0 30px 60px -20px rgba(13, 31, 60, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.55rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
/* Focus ring: navy on light backgrounds (gold is only 2.1:1 on white), light gold on dark sections */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.topbar :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.section--navy :focus-visible, .lightbox :focus-visible, .guide-sizes :focus-visible, .post-cta :focus-visible { outline-color: var(--gold-light); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: radial-gradient(1200px 500px at 80% 0%, #1f3f73 0%, var(--navy) 60%); color: #dfe6f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c5dc; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .92rem; color: var(--red); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 45%, var(--gold-dark)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.field select { max-width: 100%; text-overflow: ellipsis; }  /* long option names never widen the form */
.center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 0 -1px rgba(0,0,0,.18), 0 12px 24px -10px rgba(179,18,31,.6);
  transition: transform .2s var(--ease-bounce), box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); color: var(--fg); background: var(--red-dark); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--gold { --bg: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, #c98c14); --fg: var(--navy); box-shadow: 0 6px 0 -1px #9a6a10, 0 14px 24px -12px rgba(154,106,16,.7); }
.btn--gold:hover { background: linear-gradient(180deg, #ffe49a, var(--gold)); color: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn--ghost, .hero .btn--ghost { --fg: #fff; }
.section--navy .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn .coin-dot { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d1, var(--gold) 50%, var(--gold-dark)); animation: spinY 2.4s linear infinite; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #cdd6e6; font-size: .88rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold-light); }
.topbar__links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar__promo { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 600; }
.topbar__promo svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .topbar__promo, .topbar__links a:not(:first-child) { display: none; }
  .topbar .wrap { justify-content: center; min-height: 34px; }
}

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(13,31,60,.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 62px; width: auto; transition: transform .3s var(--ease-bounce); }
.logo:hover img { transform: rotate(-4deg) scale(1.04); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; }
.nav a:hover { background: var(--cream); color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); background: #fdecee; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: var(--navy); content: ""; transition: transform .3s, top .3s, opacity .2s; }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -8px; left: 0; right: 0; }
.nav-toggle span::after { top: 8px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .logo img { height: 52px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - 80px); overflow: auto; }
  .nav-open .nav { visibility: visible; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .nav a { padding: 14px 16px; font-size: 1.3rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- "Coin Types" mega-menu ---------- */
.nav .has-mega { display: flex; align-items: center; }
.mega-toggle { width: 26px; height: 32px; margin-left: -10px; border: 0; background: none; cursor: pointer; color: var(--navy); }
.mega-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.has-mega.is-open .mega-toggle::before { transform: translateY(2px) rotate(-135deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(13,31,60,.35); padding: 26px 0 22px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge from the menu link */
.mega__grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.mega__head { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red) !important; font-size: 1.05rem !important; padding: 0 0 8px !important; background: none !important; border-radius: 0 !important; }
.mega__col ul { display: grid !important; gap: 2px; padding: 0 !important; }
.mega__col li a { font-family: var(--font-body) !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .93rem !important; padding: 6px 8px !important; border-radius: 8px !important; color: var(--ink) !important; }
.mega__col li a:hover { background: var(--cream) !important; color: var(--red) !important; }
.mega__all { display: block; max-width: var(--wrap); margin: 14px auto 0; padding: 0 var(--gutter) !important; font-family: var(--font-body) !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; color: var(--red) !important; background: none !important; }
@media (min-width: 1021px) {
  /* visibility switches on instantly (0s) so keyboard users can Tab into the links while the fade plays */
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
}
@media (max-width: 1240px) and (min-width: 1021px) { .nav a { padding: 10px 10px; font-size: 1.05rem; } }
@media (max-width: 1020px) {
  .nav .has-mega { flex-wrap: wrap; }
  .nav .has-mega > a { flex: 1; }
  .mega-toggle { width: 48px; height: 48px; margin: 0; }
  .mega { position: static; flex-basis: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; opacity: 1; visibility: inherit; transform: none; }
  .mega::before { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr 1fr; padding: 0; gap: 14px; }
  .mega__all { padding: 0 !important; }
}

/* ---------- Coin type pages ---------- */
.type-groups { display: grid; gap: 14px; }
.type-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.type-group[open] { box-shadow: var(--shadow); }
.type-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 64px 20px 24px; position: relative; }
.type-group > summary::-webkit-details-marker { display: none; }
.type-group > summary span { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--navy); }
.type-group > summary small { color: var(--muted); font-weight: 600; }
.type-group > summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .3s; }
.type-group[open] > summary::after { transform: translateY(5px) rotate(-135deg); }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; padding: 0 24px 24px; }
.type-link { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-bounce), box-shadow .3s, border-color .2s; }
.type-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.type-link img { width: 76px; height: 76px; object-fit: contain; flex: 0 0 76px; transition: transform .5s var(--ease-bounce); }
.type-link:hover img { transform: rotate(-12deg) scale(1.08); }
.type-link span { display: grid; gap: 2px; }
.type-link strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); line-height: 1.15; }
.type-link small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.type-link em { font-style: normal; font-weight: 700; color: var(--red); font-size: .88rem; margin-top: 2px; }
.type-missing { margin-top: 28px; text-align: center; }
.type-why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.type-why li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.type-why li::before { content: "★"; color: var(--gold); }
/* Social profile links (shown once SITE["facebook"] / SITE["instagram"] are filled in) */
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-follow { margin-top: 22px; }
.socials--top { display: inline-flex; gap: 6px; margin-left: 4px; vertical-align: middle; }
.socials--top a { min-width: 26px; height: 26px; background: none; border: 0; }
.socials--top a:hover { background: none; color: var(--gold-light); transform: none; }
.socials--top svg { width: 15px; height: 15px; }
.socials--buttons { justify-content: center; }
.socials--buttons a { padding: 0 16px; color: var(--navy); background: #fff; border: 2px solid var(--navy); font-weight: 700; font-size: .9rem; }
.socials--buttons a:hover { background: var(--navy); color: #fff; }

/* Reviews & customer stories */
/* Reviews page: featured reviews full width, then an even grid of equal-height cards */
.t-featured { display: grid; gap: 22px; margin-bottom: 22px; }
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.testimonial { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 22px; box-shadow: 0 2px 0 rgba(13,31,60,.03); }
.testimonial::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: .7; height: 28px; color: var(--gold); margin-bottom: 8px; }
.testimonial__quote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.testimonial__quote p { margin: 0 0 .7em; }
.testimonial__quote p:last-child { margin-bottom: 0; }
.testimonial__who { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; color: var(--navy); }
.testimonial__quote + .testimonial__who { border-top: 1px dashed var(--line); margin-top: 16px; }
.t-grid .testimonial__quote { margin-bottom: auto; }
.testimonial__who span { display: block; font-family: var(--font-body); font-weight: 500; font-size: .92rem; letter-spacing: 0; color: var(--muted); }
/* Featured with a picture: coin or customer photos on the left, words on the right */
.testimonial--feature { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px 36px; }
.testimonial--feature::before { display: none; }
.testimonial--feature .testimonial__body::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: .7; height: 28px; color: var(--gold); margin-bottom: 8px; }
.testimonial--feature .testimonial__quote { font-size: 1.05rem; }
.testimonial__media { display: flex; justify-content: center; }
.testimonial__body { display: flex; flex-direction: column; }
/* Featured without a picture: a navy highlight quote */
.testimonial--highlight { background: radial-gradient(900px 400px at 85% 0%, #1f3f73 0%, var(--navy) 60%); border: 0; color: #dfe6f3; padding: 34px 40px; }
.testimonial--highlight::before { color: var(--gold-light); }
.testimonial--highlight .testimonial__quote { color: #dfe6f3; font-size: 1.08rem; }
.testimonial--highlight .testimonial__who { color: #fff; border-top-color: rgba(255,255,255,.2); }
.review-cards.reviews-followup { margin-top: 40px; }
.reviews-followup .review-card { background: var(--cream); border-color: transparent; padding: 24px 22px; }
.testimonial__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.testimonial__photos a { display: block; border-radius: var(--radius); overflow: hidden; }
.testimonial__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.testimonial__photos a:hover img { transform: scale(1.04); }
.review-cards.review-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
@media (max-width: 700px) { .review-cards.review-cards--2 { grid-template-columns: 1fr; } }
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.review-card h3 { font-size: 1.35rem; margin: 6px 0 4px; }
.review-card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.review-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-dark)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 10px 18px -10px rgba(154,106,16,.8); }
.review-card__icon svg { width: 28px; height: 28px; }
.review-card .btn-row { gap: 10px; }
@media (max-width: 900px) { .review-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.star-field { border: 0; padding: 0; margin: 0 0 16px; }
/* Stars light up to the chosen one: every star is gold, then stars after the checked (or hovered) one go grey */
.star-input { display: inline-flex; gap: 6px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .star-input label { font-size: 2.4rem; line-height: 1; margin: 0; color: var(--gold); cursor: pointer; transition: color .15s, transform .15s;
  -webkit-text-stroke: 1.5px var(--gold-dark); paint-order: stroke fill; }  /* outline keeps the stars easy to see (3:1+) */
.form .star-input input:checked ~ input + label { color: #ece6d8; -webkit-text-stroke-color: #8f8676; }
.form .star-input:hover label { color: var(--gold); }
.form .star-input label:hover ~ input + label { color: #ece6d8; -webkit-text-stroke-color: #8f8676; }
.form .star-input:hover label { -webkit-text-stroke-color: var(--gold-dark); }
.form .star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.form .check { align-items: flex-start; margin-bottom: 16px; line-height: 1.45; }
.form .check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.review-band { padding: clamp(40px, 6vw, 64px) 0; }
.review-band__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.review-band__stars { color: var(--gold-light); font-size: 2rem; letter-spacing: 4px; }
.review-band__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.review-band__text p { margin: 0; color: #b9c5dc; }
.review-band__btns { justify-content: flex-end; }
@media (max-width: 900px) { .review-band__inner { grid-template-columns: 1fr; text-align: center; } .review-band__btns { justify-content: center; } }

/* Coin type design guides */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; border-left: 5px solid var(--gold); }
.guide-card h3 { font-size: 1.2rem; margin: 0 0 6px; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-sizes { margin-top: 22px; background: var(--navy); color: #dfe6f3; border-radius: var(--radius-lg); padding: 26px 28px; }
.guide-sizes h3 { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.guide-sizes p { margin: 0; }
.guide-sizes .guide-sizes__links { margin-top: 12px; font-weight: 600; }
.guide-sizes a { color: var(--gold); }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.example-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; align-content: start; }
.example-card h3 { font-size: 1.2rem; margin: 0 0 6px; }
.example-card p { margin: 0; color: var(--muted); text-align: left; }
@media (max-width: 900px) { .example-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 700px) { .guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .type-why { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% 10%, #22457d, var(--navy) 65%); color: #dfe6f3; padding: clamp(48px, 7vw, 84px) 0; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 640px; font-size: 1.12rem; color: #c7d2e6; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero__coins { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.page-hero__coins img { position: absolute; width: var(--s, 120px); opacity: .9; filter: drop-shadow(0 18px 20px rgba(0,0,0,.45)); animation: bob 6s ease-in-out infinite, spinSlow 18s linear infinite; }
@media (max-width: 800px) { .page-hero__coins img { opacity: .25; } }
.breadcrumbs { font-size: .9rem; margin-bottom: 14px; color: #c3cfe3; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: #dfe6f3; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-light); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; color: #e4ebf7; background: radial-gradient(1000px 600px at 75% 40%, #264b86 0%, var(--navy) 60%, #081329 100%); padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--paper); clip-path: ellipse(75% 100% at 50% 100%); }
.hero .split { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .shine { background: linear-gradient(100deg, var(--gold) 20%, #fff5cf 40%, var(--gold) 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
.hero__lead { font-size: 1.2rem; color: #c9d4e8; max-width: 560px; }
.hero__ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 560px; }
.hero__ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #fff; }
.hero__ticks li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; font-size: .85rem; color: var(--navy); background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-dark)); }
@media (max-width: 520px) { .hero__ticks { grid-template-columns: 1fr; } }
.hero__rating { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .95rem; color: #b9c5dc; flex-wrap: wrap; }
.hero__rating strong { color: #fff; }
.badge-bbb { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; font-weight: 700; text-decoration: none; }
.badge-bbb:hover { color: var(--gold-light); }

/* Stage of floating, flipping coins */
.coin-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; perspective: 1400px; }
.coin-stage__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,212,110,.45), transparent 65%); filter: blur(10px); animation: pulse 4s ease-in-out infinite; }
.coin-stage__ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(255,217,120,.25); animation: spinSlow 60s linear infinite; }
.coin-stage .coin3d { position: absolute; }
.coin-stage .coin3d--hero { --s: 62%; left: 19%; top: 17%; z-index: 3; }
.coin-stage .orbit-1 { --s: 26%; left: -2%; top: 4%; z-index: 2; animation-delay: -1s; }
.coin-stage .orbit-2 { --s: 22%; right: 0; top: 0; z-index: 4; animation-delay: -3s; }
.coin-stage .orbit-3 { --s: 24%; right: -3%; bottom: 8%; z-index: 4; animation-delay: -2s; }
.coin-stage .orbit-4 { --s: 20%; left: 4%; bottom: 2%; z-index: 4; animation-delay: -4s; }
.coin-stage__hint { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); font-size: .85rem; color: #b9c5dc; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.coin-stage__hint kbd { font: inherit; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.sparkle { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 10; background: radial-gradient(circle, #fff 0 20%, transparent 21%), conic-gradient(from 0deg, transparent 0 40deg, #fff6c9 45deg, transparent 50deg 130deg, #fff6c9 135deg, transparent 140deg 220deg, #fff6c9 225deg, transparent 230deg 310deg, #fff6c9 315deg, transparent 320deg); animation: sparkle .8s ease-out forwards; }

/* ---------- 3D coin component ---------- */
.coin3d { display: block; width: var(--s, 160px); aspect-ratio: 1; perspective: 900px; animation: bob 5s ease-in-out infinite; cursor: pointer; background: none; border: 0; padding: 0; }
.coin3d__inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease-bounce); }
.coin3d.is-flipped .coin3d__inner { transform: rotateY(180deg); }
.coin3d.is-spinning .coin3d__inner { animation: spinY var(--spin, 7s) linear infinite; transition: none; }
.coin3d__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin3d--hero, .type-card .coin3d { filter: drop-shadow(0 14px 16px rgba(0,0,0,.35)); }
.coin3d__face--back { transform: rotateY(180deg); }
.coin3d__edge { position: absolute; inset: 1.5%; border-radius: 50%; background: linear-gradient(90deg, var(--rim-d, #6d4a0c), var(--rim, #e2b44c) 30%, var(--rim-l, #fff2c0) 50%, var(--rim, #c28a1c) 70%, var(--rim-d, #6d4a0c)); }
.coin3d--thick .coin3d__face--front { transform: translateZ(var(--half, 5px)); }
.coin3d--thick .coin3d__face--back { transform: rotateY(180deg) translateZ(var(--half, 5px)); }
.coin3d--hero .coin3d__face { opacity: 1; transition: opacity .3s; }
.coin3d:hover { animation-play-state: paused; }
.coin3d:focus-visible { outline-offset: 6px; border-radius: 50%; }

/* Coin shadow on the "table" */
.coin-shadow { position: absolute; left: 20%; right: 20%; bottom: -6%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); animation: shadowBob 5s ease-in-out infinite; }

/* ---------- Mascot ("Chip" the coin) ---------- */
.mascot { width: 150px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; position: relative; }
.mascot svg { overflow: visible; transform-origin: 50% 85%; transform: translate(var(--shift-x, 0px), var(--shift-y, 0px)) perspective(600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(var(--lean, 0deg)); transition: transform .45s ease-out; }
.mascot__body { transform-origin: 50% 90%; animation: wiggle 4s ease-in-out infinite; }
.mascot.is-tossed .mascot__body { animation: toss 1.1s cubic-bezier(.3,.7,.4,1) 1; }
.mascot__lid { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.mascot__arm { transform-box: fill-box; transform-origin: 90% 50%; animation: wave 2.4s ease-in-out infinite; }
.mascot__bubble { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) scale(.6); opacity: 0; transition: .3s var(--ease-bounce); background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem; line-height: 1.3; padding: 10px 14px; border-radius: 14px; width: max-content; max-width: 220px; text-align: center; box-shadow: var(--shadow); pointer-events: none; }
.mascot__bubble::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: #fff; }
.mascot.is-talking .mascot__bubble { transform: translateX(-50%) scale(1); opacity: 1; }
.mascot--peek { position: absolute; right: 4%; bottom: -26px; width: 130px; z-index: 5; }
@media (max-width: 900px) { .mascot--peek { display: none; } }

/* ---------- Trust marquee ---------- */
.trust { background: var(--red); color: #fff; overflow: hidden; border-block: 4px solid var(--gold); }
.trust__track { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: marquee 38s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__item { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.trust__item::before { content: "★"; color: var(--gold-light); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 5; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; } }
.stats--5 { grid-template-columns: repeat(5, 1fr); }
.stats--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .stats--5 { grid-template-columns: repeat(6, 1fr); } .stats--5 .stat { grid-column: span 2; } .stats--5 .stat:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 600px) { .stats--5, .stats--6 { grid-template-columns: 1fr 1fr; } .stats--5 .stat, .stats--5 .stat:nth-child(n+4) { grid-column: auto; } .stats--5 .stat:first-child { grid-column: 1 / -1; } }
/* Official BBB seal (when pasted into data.py) and the "Trusted by" logo strip */
.bbb-seal { display: inline-block; background: #fff; border-radius: 10px; padding: 6px; line-height: 0; }
.bbb-seal img { max-width: 200px; height: auto; }
.badge-bbb small { display: block; font-weight: 500; font-size: .75rem; opacity: .85; }
.clients { margin-top: 36px; text-align: center; }
.clients__title { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: .9rem; }
.clients__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; }
.clients__list img { height: 56px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.clients__list img:hover { filter: none; opacity: 1; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--red); line-height: 1; }
.stat__label { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: 6px; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; box-shadow: 0 2px 0 rgba(13,31,60,.03); transition: transform .3s var(--ease-bounce), box-shadow .3s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); }
.card .price-tag { display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--red); letter-spacing: .04em; text-transform: uppercase; }

.type-card { text-align: center; padding-top: 20px; }
.type-card .coin3d { --s: 190px; margin: 0 auto 10px; animation: none; }
.type-card:hover .coin3d .coin3d__inner { transform: rotateY(180deg); }
.type-card h3 { margin-top: 8px; }
.type-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fdecee; color: var(--red); }
.tag--gold { background: #fff4d8; color: #8a5c00; }

.purpose-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; text-decoration: none; color: var(--ink); overflow: hidden; }
.purpose-card__coins { position: relative; height: 130px; width: 200px; margin-bottom: 12px; }
.purpose-card__coins img { position: absolute; width: 110px; top: 10px; transition: transform .45s var(--ease-bounce); filter: drop-shadow(0 10px 12px rgba(0,0,0,.25)); }
.purpose-card__coins img:nth-child(1) { left: 0; transform: rotate(-10deg); }
.purpose-card__coins img:nth-child(2) { right: 0; transform: rotate(10deg); }
.purpose-card__coins img:nth-child(3) { left: 45px; top: 0; z-index: 2; }
.purpose-card:hover .purpose-card__coins img:nth-child(1) { transform: translate(-18px, 6px) rotate(-22deg); }
.purpose-card:hover .purpose-card__coins img:nth-child(2) { transform: translate(18px, 6px) rotate(22deg); }
.purpose-card:hover .purpose-card__coins img:nth-child(3) { transform: translateY(-10px) scale(1.08); }
.purpose-card h3 { margin: 0 0 4px; }
.purpose-card span { color: var(--muted); font-size: .95rem; }
.purpose-card:hover { color: var(--ink); }

/* ---------- Coin carousel rows ---------- */
.coin-rows { display: grid; gap: 34px; padding: 28px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.coin-row { display: flex; gap: 22px; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.coin-row--rev { animation-direction: reverse; }
.coin-row:hover { animation-play-state: paused; } /* only the row under the mouse pauses */
/* Thick two-sided coins: faces sit 6px in front of / behind 8 stacked edge discs (~12px thick). */
.row-coin { display: block; width: 150px; height: 150px; flex: 0 0 150px; perspective: 700px; }
.row-coin__inner { display: block; position: relative; width: 100%; height: 100%; pointer-events: none; }
/* Hover flips the coin to its back and holds it there; leaving flips it back to the front.
   JS toggles the classes on the untransformed outer box, so the hover can't jitter mid-flip. */
.row-coin__inner { transition: transform 1.2s cubic-bezier(.45, .05, .25, 1); }
.row-coin.is-3d .row-coin__inner { transform-style: preserve-3d; }
.row-coin.is-flipped .row-coin__inner { transform: rotateY(180deg) scale(1.08); }
.row-coin img { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.row-coin__front { transform: translateZ(6px); }
.row-coin__back { transform: rotateY(180deg) translateZ(6px); }
.row-coin__edge { position: absolute; inset: 2%; border-radius: 50%; background: linear-gradient(90deg, var(--rim-d, #5a3c08), var(--rim, #c8962e) 25%, var(--rim-l, #f6dc8e) 50%, var(--rim, #c8962e) 75%, var(--rim-d, #5a3c08)); }
.row-coin__edge:nth-child(1) { transform: translateZ(-5.25px); }
.row-coin__edge:nth-child(2) { transform: translateZ(-3.75px); }
.row-coin__edge:nth-child(3) { transform: translateZ(-2.25px); }
.row-coin__edge:nth-child(4) { transform: translateZ(-.75px); }
.row-coin__edge:nth-child(5) { transform: translateZ(.75px); }
.row-coin__edge:nth-child(6) { transform: translateZ(2.25px); }
.row-coin__edge:nth-child(7) { transform: translateZ(3.75px); }
.row-coin__edge:nth-child(8) { transform: translateZ(5.25px); }

/* ---------- Coin builder ---------- */
.builder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.builder__preview { position: sticky; top: 100px; }
@media (max-width: 900px) { .builder__preview { position: relative; top: 0; min-height: 360px; } }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }
.builder__preview { position: relative; background: radial-gradient(circle at 50% 40%, #fff, #f1ead9 70%); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 30px; min-height: 460px; display: grid; place-items: center; overflow: hidden; }
.section--navy .builder__preview { background: radial-gradient(circle at 50% 40%, #2a4f8c, #0e2244 75%); border-color: rgba(255,255,255,.12); }
.builder__coin-wrap { perspective: 1000px; display: flex; align-items: flex-end; gap: 22px; }
.builder__coin { width: 300px; aspect-ratio: 1; transition: width .4s var(--ease-bounce); transform-style: preserve-3d; }
.builder__coin-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease-bounce); }
.builder__coin-inner.is-back { transform: rotateY(180deg); }
.builder__coin svg { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; filter: drop-shadow(0 18px 18px rgba(0,0,0,.3)); }
.builder__coin svg.back { transform: rotateY(180deg); }
/* Real U.S. quarter photo (U.S. Mint, public domain) for scale, with its label underneath */
.builder__quarter, .pg__quarter { position: relative; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; background: url(/assets/img/quarter-160.webp) center / contain no-repeat; filter: drop-shadow(0 8px 8px rgba(0,0,0,.35)); }
.builder__quarter span, .pg__quarter span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: #b9c5dc; }
.builder__quarter { width: 72px; transition: width .4s; }
.builder__size-label { position: absolute; top: 18px; left: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); background: #fff; padding: 4px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.builder__flip { position: absolute; bottom: 16px; right: 16px; }
.builder__controls { display: grid; gap: 22px; }
.control-label { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; color: inherit; }
.control-label output { color: var(--red); }
.section--navy .control-label output { color: var(--gold-light); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4), 0 4px 10px -4px rgba(0,0,0,.4); transition: transform .25s var(--ease-bounce); }
.swatch:hover { transform: translateY(-3px) scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--red); transform: scale(1.1); }
.swatch .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: .75rem; padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; }
.swatch:hover .tip, .swatch:focus-visible .tip { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: .2s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.section--navy .chip { background: transparent; color: #dfe6f3; border-color: rgba(255,255,255,.25); }
.section--navy .chip[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.chip .count { opacity: .8; margin-left: 4px; font-size: .85em; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 28px; }
.builder__summary { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.builder__summary strong { color: var(--gold-light); }

/* ---------- Coin style compare slider ---------- */
.compare { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 32px; align-items: start; }
.compare__list { display: grid; gap: 6px; align-content: start; }
.compare__list .compare__opt { padding: 9px 14px; font-size: .92rem; }
.compare__group { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.compare__group:first-child { margin-top: 0; }
.compare__list--left .compare__group { color: var(--red); }
.compare__list--right .compare__group { color: var(--navy-2); }
.compare__opt { text-align: left; padding: 13px 18px; border-radius: 10px; border: 1.5px solid transparent; background: #f2f3f6; color: var(--ink); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.compare__opt:hover { background: #e8eaf0; transform: translateX(3px); }
.compare__list--right .compare__opt:hover { transform: translateX(-3px); }
.compare__opt[aria-pressed="true"] { background: #fdecee; border-color: var(--red); color: var(--red); }
.compare__list--right .compare__opt[aria-pressed="true"] { background: #e9eefb; border-color: var(--navy-2); color: var(--navy-2); }
.compare__center { display: grid; gap: 22px; justify-items: center; }
.compare__stage { position: relative; width: min(100%, 440px); aspect-ratio: 1; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare__stage.is-dragging { cursor: grabbing; }
.compare__img { pointer-events: none; -webkit-user-drag: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.28)); transition: opacity .3s; }
.compare__img--left { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__img--right { clip-path: inset(0 0 0 var(--pos)); }
.compare__img.is-swapping, .compare__img.is-loading { opacity: 0; }
.compare__img { color: transparent; }  /* never flash the photo's alt text while it loads */
/* Soft coin-shaped placeholder, shown only while a photo is still loading (the photos are see-through cut-outs) */
.compare__stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at 35% 30%, #fbf7ee, #ece4d3); box-shadow: inset 0 0 0 10px rgba(255,255,255,.55); }
.compare__stage.is-loading::before { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
.compare__handle { position: absolute; top: -2%; bottom: -2%; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(13,31,60,.15), 0 0 12px rgba(0,0,0,.25); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -4px rgba(13,31,60,.45); transition: transform .2s var(--ease-bounce); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; margin-top: -7px; border: 7px solid transparent; }
.compare__handle span::before { left: 6px; border-right: 9px solid var(--red); }
.compare__handle span::after { right: 6px; border-left: 9px solid var(--navy-2); }
.compare__stage:hover .compare__handle span, .compare__range:focus-visible ~ .compare__handle span { transform: scale(1.12); }
/* Hidden slider kept only for keyboard users (Tab to it, then arrow keys); mouse/touch use the stage itself. */
.compare__range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare__range:focus-visible + .compare__handle, .compare__stage:has(.compare__range:focus-visible) { outline: 3px solid var(--navy); outline-offset: 6px; border-radius: 50%; }
.compare__tag { position: absolute; bottom: 4%; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; pointer-events: none; transition: opacity .2s; }
.compare__tag--left { left: 2%; background: var(--red); }
.compare__tag--right { right: 2%; background: var(--navy-2); }
.compare__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; max-width: 600px; }
.compare__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; display: flex; flex-direction: column; }
.compare__card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.compare__card--left h3 { color: var(--red); }
.compare__card--right h3 { color: var(--navy-2); }
.compare__card ul { margin: 0 0 16px; padding-left: 1.1em; color: var(--muted); font-size: .95rem; flex: 1; }
.compare__card .btn { align-self: flex-start; }
@media (max-width: 960px) {
  .compare { grid-template-columns: 1fr; gap: 18px; }
  .compare__list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
  .compare { gap: 10px; }
  .compare__list--left { order: 1; } .compare__list--right { order: 2; } .compare__center { order: 3; margin-top: 12px; }
  .compare__list::before { flex: 0 0 auto; align-self: center; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .compare__list--left::before { content: "Left"; color: var(--red); }
  .compare__list--right::before { content: "Right"; color: var(--navy-2); }
  .compare__opt { white-space: nowrap; flex: 0 0 auto; padding: 10px 14px; font-size: .92rem; }
  .compare__group { flex: 0 0 auto; align-self: center; margin: 0 0 0 8px; }
  .compare__opt:hover { transform: none; }
}
@media (max-width: 520px) { .compare__cards { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.tabs__btn { border: 0; background: #fff; border: 2px solid var(--line); padding: 12px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; color: var(--navy); transition: .2s; }
.tabs__btn[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(179,18,31,.7); }
.tabs__panel { animation: fadeUp .45s ease both; }
.tabs__panel[hidden] { display: none; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 18px; }
.option { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; transition: transform .3s var(--ease-bounce), box-shadow .3s; }
.option:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow); }
.option-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.option-grid--4 .option { padding: 28px 20px 24px; }
.option-grid--4 .plating-img { width: min(100%, 190px); height: auto; aspect-ratio: 1; margin-bottom: 14px; }
.option-grid--4 h3, .option-grid--4 h4 { font-size: 1.4rem; }
.option-grid--4 p { font-size: .98rem; }
.addon-card .coin3d { margin: 0 auto 16px; }
.option-grid--5 .plating-img { width: min(100%, 160px); height: auto; aspect-ratio: 1; margin-bottom: 12px; }
.option-grid--5 h3, .option-grid--5 h4 { font-size: 1.25rem; }
.option-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.option-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .option-grid--5, .option-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .option-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .option-grid--5, .option-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Coin Options metal grid: a short last row is centered under the full rows (e.g. 5 on top, 4 centered below) */
@media (min-width: 1001px) {
  .metal-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .metal-grid > * { grid-column: span 2; }
  .metal-grid > :nth-child(5n+1):nth-last-child(4) { grid-column: 2 / span 2; }
  .metal-grid > :nth-child(5n+1):nth-last-child(3) { grid-column: 3 / span 2; }
  .metal-grid > :nth-child(5n+1):nth-last-child(2) { grid-column: 4 / span 2; }
  .metal-grid > :nth-child(5n+1):last-child { grid-column: 5 / span 2; }
}
@media (max-width: 560px) {
  .metal-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 9px); }
}
.plating-img { width: 120px; height: 120px; margin: 0 auto 8px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.22)); transition: transform .6s var(--ease-bounce); }
.plating-img--empty { border-radius: 50%; border: 2px dashed var(--line); filter: none; }
.metal-card:hover .plating-img { transform: rotate(-12deg) scale(1.08); }
.option svg, .option .metal { width: 96px; height: 96px; margin: 0 auto 10px; }
.option h3, .option h4 { margin: 0 0 4px; font-size: 1.15rem; }
.option p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.option .price { font-weight: 700; color: var(--red); font-size: .9rem; margin-top: 6px; }
.option .price--muted { color: var(--muted); font-weight: 600; }
.option .extra-coin { margin: 0 auto 14px; animation: none; transition: transform .5s var(--ease-bounce); }
.option:hover .extra-coin { transform: rotate(-8deg) scale(1.05); }
.option-grid--pack { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.pack-img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; margin: 0 auto 12px; border-radius: 12px; transition: transform .5s var(--ease-bounce); }
.option:hover .pack-img { transform: scale(1.05); }
.metal { border-radius: 50%; background: var(--m); position: relative; box-shadow: inset 0 0 0 5px rgba(255,255,255,.28), inset 0 0 0 9px rgba(0,0,0,.12), 0 10px 18px -8px rgba(0,0,0,.45); overflow: hidden; }
.metal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.65) 48%, transparent 60%); transform: translateX(-120%); transition: transform .8s; }
.option:hover .metal::after, .metal-card:hover .metal::after { transform: translateX(120%); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 60px; left: 16%; right: 16%; height: 4px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px); z-index: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.steps--stacked::before { display: none; }
.step { text-align: center; position: relative; z-index: 1; }
.step__num { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--navy); background: radial-gradient(circle at 35% 30%, #fff5cf, var(--gold) 55%, var(--gold-dark)); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 0 0 10px rgba(154,106,16,.35), 0 16px 26px -12px rgba(154,106,16,.8); transition: transform .6s var(--ease-bounce); }
.step:hover .step__num { transform: rotateY(360deg); }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }
.section--navy .step p { color: #b9c5dc; }

/* ---------- Pricing page layout ---------- */
.price-type { display: flex; flex-direction: column; align-items: center; text-align: center; }
.price-type .coin3d { margin-bottom: 14px; }
.price-type h3 { margin: 0 0 8px; }
.price-type p { flex: 1; margin: 0 0 18px; max-width: 300px; }
.price-type__foot { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: .92rem; color: var(--muted); }
.price-type__foot strong { color: var(--red); }
.mold-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mold-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 10px 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.mold-card__coin { width: var(--d); height: var(--d); margin-bottom: 10px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.28)); }
/* Size comparison: real coin photos and a real quarter at one true-to-scale ratio */
.size-row { display: flex; flex-wrap: wrap; gap: 26px 30px; align-items: flex-end; justify-content: center; padding: 20px 0; }
.size-fig { margin: 0; text-align: center; }
.size-fig img { display: block; height: auto; max-width: 100%; margin: 0 auto 10px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.28)); }
.size-fig figcaption strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.size-fig figcaption span { font-size: .85rem; color: var(--muted); }
.size-fig:first-child figcaption span { font-weight: 700; color: var(--red); }
.mold-card strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.mold-card span:last-child { font-weight: 800; color: var(--red); font-size: 1.15rem; }
@media (max-width: 760px) { .mold-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .mold-row { grid-template-columns: repeat(2, 1fr); } .mold-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.opt-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .opt-groups { grid-template-columns: 1fr; } }
.opt-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.opt-group h3 { margin: 0; padding: 14px 20px; background: var(--navy); color: #fff; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; }
.opt-group ul { list-style: none; margin: 0; padding: 6px 20px 10px; }
.opt-group li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.opt-group li:last-child { border-bottom: 0; }
.opt-group li strong { color: var(--red); white-space: nowrap; }
/* estimator tidy-up: name left, price right; result panel sits at the top */
.field .check { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 0; font-weight: 600; color: var(--ink); font-size: .93rem; }
.field .check input { width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 0; border: 0; box-shadow: none; }
.check span { flex: 1; text-align: left; line-height: 1.3; }
.check-grid { grid-auto-rows: 1fr; }
.check-grid > .check:last-child:nth-child(odd) { grid-column: 1 / -1; }
.check small { margin-left: 8px; white-space: nowrap; }
.estimator { align-items: start; }
.estimator__result { justify-content: flex-start; position: sticky; top: 100px; }

/* ---------- Live per-coin pricing tables ---------- */
.ptabs .tabs__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; }
.ptabs .tabs__btn img { width: 40px; height: 40px; object-fit: contain; }
.ptable { max-width: 900px; margin: 0 auto; }
.ptable__table { font-size: 1.02rem; }
.ptable__table thead th { text-align: center; }
.ptable__table thead th:first-child { text-align: left; }
.ptable__table tbody th { text-align: left; font-weight: 700; color: var(--navy); background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.ptable__table td { text-align: center; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; transition: background .15s; }
.ptable__table tbody tr:hover th, .ptable__table tbody tr:hover td { background: #fff5e0; }
.ptable__table td.ptable__best { color: var(--red); font-weight: 800; }
.ptable__table thead th:last-child::after { content: "Best value"; display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .06em; color: var(--gold-light); font-weight: 700; }
.ptable__note, .ptable__loading { text-align: center; color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.ptable__loading { padding: 40px 0; }
.ptable__foot { text-align: center; margin: 22px 0 0; color: var(--muted); }

/* ---------- Napkin sketch → proof → finished coin journey ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; counter-reset: none; }
.journey__step { position: relative; text-align: center; }
.journey__step:not(:last-child)::after { content: ""; position: absolute; top: 140px; right: -38px; width: 30px; height: 30px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2a82b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.journey__media { position: relative; height: 300px; display: grid; place-items: center; margin-bottom: 18px; }
.journey__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.journey__badge { position: absolute; top: -6px; left: 6px; z-index: 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); background: radial-gradient(circle at 35% 30%, #fff5cf, var(--gold) 55%, var(--gold-dark)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 8px 16px -8px rgba(154,106,16,.8); }
/* step 1: the sketch looks like a piece of paper on the table */
.journey__media--sketch img { width: 270px; height: 270px; object-fit: cover; background: #fff; padding: 10px; transform: rotate(-4deg); box-shadow: 0 18px 28px -14px rgba(13,31,60,.45); transition: transform .5s var(--ease-bounce); }
.journey__step:hover .journey__media--sketch img { transform: rotate(-1deg) scale(1.03); }
/* step 2: proof on a card with a "free proof" stamp */
.journey__zoom { display: block; cursor: zoom-in; }
.journey__media--proof img { width: 340px; background: #fff; border-radius: 10px; box-shadow: 0 18px 28px -14px rgba(13,31,60,.45); transform: rotate(2deg); transition: transform .5s var(--ease-bounce); }
.journey__step:hover .journey__media--proof img { transform: rotate(0) scale(1.03); }
.journey__stamp { position: absolute; right: 2px; bottom: 26px; transform: rotate(-12deg); border: 3px solid var(--red); color: var(--red); background: rgba(255,255,255,.85); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 8px; }
/* step 3: the real coin, tap to flip */
.journey__flip { position: relative; width: 270px; height: 270px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 900px; }
.journey__flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .9s var(--ease-bounce); box-shadow: 0 18px 28px -12px rgba(13,31,60,.5); }
.journey__back { transform: rotateY(180deg); }
.journey__flip.is-flipped .journey__front { transform: rotateY(-180deg); }
.journey__flip.is-flipped .journey__back { transform: rotateY(0); }
.journey__hint { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); font-size: .78rem; font-weight: 700; color: var(--muted); }
.journey__step h3 { margin-bottom: 6px; }
.journey__step p { color: var(--muted); max-width: 330px; margin: 0 auto; }
.journey__quote { max-width: 780px; margin: 46px auto 0; text-align: center; font-size: 1.15rem; font-style: italic; color: var(--navy); }
.journey__quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .95rem; color: var(--red); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 40px; }
  .journey__step:not(:last-child)::after { top: auto; bottom: -36px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .journey__media { height: 260px; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: #fcfaf5; }
tbody tr:hover { background: #fff5e0; }
td.num { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ---------- Estimators ---------- */
.estimator { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }
.estimator__result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.estimator__result .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--gold-light); }
.estimator__result small { color: #b9c5dc; }
.estimator__result dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 6px 0 0; font-size: .95rem; }
.estimator__result dt { color: #b9c5dc; }
.estimator__result dd { margin: 0; text-align: right; font-weight: 700; }
.estimator__result .coin-deco { position: absolute; right: -40px; bottom: -40px; width: 150px; opacity: .25; animation: spinSlow 30s linear infinite; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: .2s; font-size: .95rem; }
.check:hover { border-color: var(--navy); }
.check input { accent-color: var(--red); width: 18px; height: 18px; }
.check:has(input:checked) { border-color: var(--red); background: #fdf0f1; }
.check small { margin-left: auto; color: var(--muted); font-weight: 600; }
.timeline-bar { height: 16px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.timeline-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .6s var(--ease-bounce); }
.note-warn { background: #fff4d8; color: #6b4a00; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.estimator__result .note-warn { background: rgba(255,217,120,.15); color: var(--gold-light); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,31,60,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { margin: 0; position: relative; }
.radio-pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-block; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; transition: .2s; background: #fff; }
.radio-pills input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio-pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.dropzone { position: relative; border: 2px dashed #c9bfa8; border-radius: var(--radius); padding: 22px; text-align: center; background: #fffdf8; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--red); background: #fff5f5; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 54px; height: 54px; margin: 0 auto 8px; }
.dropzone__preview { display: none; align-items: center; gap: 10px; justify-content: center; font-weight: 600; }
.dropzone.has-file .dropzone__preview { display: flex; }
.dropzone.has-file .dropzone__empty { display: none; }
.dropzone__preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); }
.hp { position: absolute; left: -5000px; }
.form-status { display: none; padding: 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { display: block; background: #e7f6ec; color: var(--ok); }
.form-status.is-err { display: block; background: #fdecee; color: var(--red-dark); }
/* Price guide inside the quote form */
.pg { border-radius: var(--radius); background: linear-gradient(135deg, #0d1f3c, #1b3866); color: #dfe6f3; padding: 18px 20px; display: grid; gap: 10px; }
.pg__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.pg__title { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.pg__specs { font-size: .85rem; color: #b9c5dc; }
.pg__body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg__body > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.pg__body small { color: #b9c5dc; font-size: .8rem; }
.pg__body strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.8rem); color: #fff; line-height: 1.1; }
.pg__main strong { color: var(--gold-light); }
.pg__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pg__lines li { font-size: .8rem; background: rgba(255,217,120,.12); color: var(--gold-light); padding: 3px 10px; border-radius: 999px; }
.pg__bulk { font-size: .9rem; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; }
.pg__bulk[hidden] { display: none; }
.pg__note { margin: 0; font-size: .78rem; color: #9fb0cf; line-height: 1.45; }
.pg__sample { margin: 0; font-size: .78rem; font-weight: 700; color: #1b1300; background: var(--gold); border-radius: 8px; padding: 6px 10px; }
@media (max-width: 480px) { .pg__body { grid-template-columns: 1fr; } }
.pg__preview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; }
.pg__stage { min-height: 210px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #2a4f8c, #0e2244 75%); display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 16px 10px; perspective: 900px; }
.pg__coin { width: 124px; aspect-ratio: 1; transition: width .45s var(--ease-bounce); }
.pg__coin-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease-bounce); }
.pg__coin-inner.is-back { transform: rotateY(180deg); }
.pg__coin svg { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 12px 14px rgba(0,0,0,.4)); }
.pg__coin svg.back { transform: rotateY(180deg); }
.pg__quarter { width: 59px; flex: 0 0 auto; }
.pg__quarter span { font-size: .62rem; }
.pg__specbox { display: grid; gap: 10px; justify-items: start; }
.pg__speclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; width: 100%; font-size: .84rem; }
.pg__speclist li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 3px; }
.pg__speclist span { color: #9fb0cf; }
.pg__speclist strong { color: #fff; font-weight: 600; text-align: right; }
@media (max-width: 560px) { .pg__preview { grid-template-columns: 1fr; } }
.swatches--sm { margin-top: 8px; gap: 6px; }
.swatches--sm .swatch { width: 26px; height: 26px; }
.swatches--sm .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extra { position: relative; margin: 0 !important; }
.extra input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.extra span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy); transition: .2s; }
.extra span small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.extra span:hover { border-color: var(--navy); }
.extra input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.extra input:checked + span small { color: var(--gold-light); }
.extra input:checked + span::before { content: "✓"; color: var(--gold-light); }
.extra input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
/* Home page "Let's Make Your Coins": a call-to-action card that sends people to the Free Quote page */
.get-quote__intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-bottom: 32px; }
.get-quote__card { margin: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 6px solid var(--red);
  padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 52px); background-image: radial-gradient(ellipse at 100% 50%, #fff4d8, transparent 55%); }
.get-quote__actions { align-items: center; gap: 14px 22px; margin-top: 24px; }
.get-quote__actions .btn { font-size: 1.15rem; padding: 18px 34px; }
.get-quote__call { color: var(--muted); text-decoration: none; }
.get-quote__call strong { color: var(--navy); }
.get-quote__call:hover strong { color: var(--red); }
.get-quote__call small { display: block; font-size: .8rem; margin-top: 2px; }
.get-quote__intro h2 { margin-bottom: 10px; }
.get-quote__intro p { max-width: 760px; color: var(--muted); }
.get-quote__ticks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px; max-width: none; margin-top: 6px; }
.get-quote__ticks li { color: var(--navy); }
/* Wide screens: three across, lined up on their first line. The middle item breaks after "before" with
   "production" centered under that line. Narrower screens stack the three as a simple one-line-each list. */
@media (min-width: 1200px) {
  .get-quote__ticks { grid-template-columns: repeat(3, max-content); align-items: start; }
  .get-quote__ticks li { align-items: flex-start; white-space: nowrap; }
  .get-quote__ticks li > span { text-align: center; }
  .get-quote__ticks li::before { margin-top: calc((1lh - 26px) / 2); }
}
@media (max-width: 1199px) { .get-quote__ticks { grid-template-columns: 1fr; } .get-quote__ticks .tick-br { display: none; } }
.get-quote__mascot { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .get-quote__intro { grid-template-columns: 1fr; }
  .get-quote__ticks { grid-template-columns: 1fr; }
  .get-quote__mascot { display: none; }  /* Chip already appears elsewhere on the page */
  .get-quote__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .get-quote__actions .btn { justify-content: center; }
}
/* Free Quote page: "What Happens Next?" as a row of three steps, then a contact strip */
.next-steps__title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: clamp(40px, 6vw, 64px) 0 22px; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; }
.next-steps .step__num { width: 56px; height: 56px; flex: 0 0 56px; margin: 0; font-size: 1.6rem; }
.next-steps h3 { font-size: 1.2rem; margin: 0 0 4px; }
.next-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.quote-help { margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; align-items: center; background: var(--cream); border-radius: var(--radius-lg); padding: 18px 28px; }
.quote-help p { margin: 6px 0; }
@media (max-width: 860px) {
  .next-steps { grid-template-columns: 1fr; }
  .quote-help { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .quote-help__mascot { display: flex; justify-content: center; }
}
/* Wide form: the first four two-field rows sit side by side, four fields per line */
@media (min-width: 1000px) {
  .quote-wide .form { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .quote-wide .form > * { grid-column: 1 / -1; }
  .quote-wide .form > .form-row--pair { grid-column: auto; }
}
.quote-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); border-top: 6px solid var(--red); position: relative; }
.quote-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
/* Free Quote page: MachForm card with the next steps beside it (stacked under it on phones) */
.mf-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.mf-card { max-width: 820px; width: 100%; justify-self: end; }
.mf-intro { color: var(--muted); margin: 0 0 14px; }
.mf-perks { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.mf-perks li { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); color: var(--navy); font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; }
.mf-perks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 16px;
  background: #e2a82b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.mf-frame { position: relative; min-height: 420px; border-top: 2px dashed var(--line); padding-top: 22px; }
.mf-frame iframe { display: block; width: 100% !important; border: 0; }
.mf-loading { position: absolute; top: 60px; left: 0; right: 0; text-align: center; color: var(--muted); font-weight: 600; margin: 0; }
.mf-loading[hidden] { display: none; }
.mf-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.mf-aside__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; }
.mf-aside__title { font-size: 1.6rem; margin: 0 0 14px; }
.next-steps--stack { grid-template-columns: 1fr; gap: 16px; }
.next-steps--stack li { border: 0; padding: 0; background: none; }
.next-steps--stack .step__num { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.3rem; }
.next-steps--stack h3 { font-size: 1.05rem; }
.mf-card .pay-icons { margin: -10px 0 20px; }
.mf-card .pay-icons span { background: var(--navy); color: #fff; }
.pay-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pay-checklist li { position: relative; padding-left: 30px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.pay-checklist li strong { color: var(--navy); }
.pay-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #e2a82b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.quote-help--stack { margin: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 20px; }
@media (max-width: 960px) {
  .mf-layout { grid-template-columns: minmax(0, 1fr); }
  .mf-card { max-width: none; justify-self: stretch; }
  .mf-aside { position: static; }
}
@media (max-width: 520px) {
  .mf-card.quote-card { padding: 22px 14px; }
  .mf-perks { gap: 6px; }
  .mf-card .pay-icons { gap: 6px; }
  .mf-card .pay-icons span { font-size: .68rem; padding: 5px 7px; }
  .mf-perks li { font-size: .78rem; padding: 6px 10px; gap: 5px; }
  .mf-perks li::before { width: 14px; height: 14px; flex-basis: 14px; background-size: 9px; }
}

/* ---------- Gallery ---------- */
.gallery-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.gallery-search { position: relative; }
.gallery-search input { padding: 12px 16px 12px 42px; border-radius: 999px; border: 2px solid var(--line); width: min(320px, 100%); }
.gallery-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 26px 18px; }
.gallery-item { text-align: center; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; animation: popIn .5s var(--ease-bounce) both; }
.gallery-item .coin3d { --s: 100%; max-width: 210px; margin: 0 auto; animation: none; }
.gallery-item:hover .coin3d__inner, .gallery-item:focus-visible .coin3d__inner { transform: rotateY(180deg); }
.gallery-item__title { display: block; font-weight: 600; font-size: .9rem; margin-top: 10px; color: var(--navy); line-height: 1.3; }
.gallery-item[hidden] { display: none; }
.gallery-empty { text-align: center; padding: 40px; color: var(--muted); display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(6,14,30,.88); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__box { position: relative; width: min(900px, 100%); max-height: 100%; overflow: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; transform: scale(.9); transition: transform .4s var(--ease-bounce); }
.lightbox.is-open .lightbox__box { transform: none; }
@media (max-width: 760px) { .lightbox__box { grid-template-columns: 1fr; } }
.lightbox__stage { perspective: 1200px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.lightbox__stage:active { cursor: grabbing; }
.lightbox__coin { width: min(400px, 78vw); aspect-ratio: 1; position: relative; transform-style: preserve-3d; }
.lightbox__coin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; filter: drop-shadow(0 20px 24px rgba(0,0,0,.3)); }
.lightbox__coin img.back { transform: rotateY(180deg); }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--navy); }
.lightbox__nav { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lightbox h2 { font-size: 2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; font-weight: 700; font-size: 1.05rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-dark)); transition: transform .5s var(--ease-bounce); }
.faq summary::before { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; margin-top: -13px; text-align: center; z-index: 1; font-weight: 800; color: var(--navy); line-height: 26px; transition: transform .5s var(--ease-bounce); }
.faq details[open] summary::after { transform: rotateY(180deg); }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }
/* Home page FAQ teaser: intro and button beside a list of popular questions */
.faq-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px clamp(28px, 5vw, 64px); align-items: center; }
.faq-teaser p { color: var(--muted); margin-bottom: 22px; }
.faq-teaser__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.faq-teaser__list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; font-weight: 700; color: var(--navy); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.faq-teaser__list a::after { content: "→"; color: var(--red); font-weight: 800; transition: transform .2s; }
.faq-teaser__list a:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.faq-teaser__list a:hover::after { transform: translateX(4px); }
@media (max-width: 860px) { .faq-teaser { grid-template-columns: 1fr; } }

/* FAQ page: sticky topic list with search beside grouped questions */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-index { position: sticky; top: 96px; }
.faq-search input { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: 12px 16px 12px 42px; border: 2px solid var(--line); border-radius: 999px; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6477' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 15px center / 18px no-repeat; }
.faq-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13, 31, 60, .12); }
.faq-index ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.faq-index a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
.faq-index a:hover, .faq-index a.is-active { background: var(--cream); }
.faq-index small { min-width: 26px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px; }
.faq-main { min-width: 0; }
.faq-section { scroll-margin-top: 100px; margin-bottom: 40px; }
.faq-section__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.faq-section__title::before { content: ""; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-dark)); }
.faq-main .faq { max-width: none; }
.faq-main .faq details { scroll-margin-top: 100px; }
.faq__body a { color: var(--red); font-weight: 600; }
.faq-empty { background: var(--cream); border-radius: var(--radius); padding: 18px 22px; }
.faq-more { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 32px; align-items: center; background: var(--cream); border-radius: var(--radius-lg); padding: 26px 32px; }
.faq-more h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.faq-more p { color: var(--muted); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-index { position: static; }
  .faq-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-index a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: .9rem; }
  .faq-index small { display: none; }
  .faq-more { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .faq-more .btn-row { justify-content: center; }
  .faq-more__mascot { display: flex; justify-content: center; }
}
.faq-group-title { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-size: 1.1rem; margin: 26px 0 4px; }

/* ---------- Testimonial ---------- */
.quote-block { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); font-size: 1.2rem; }
.quote-block::before { content: "“"; position: absolute; top: -30px; left: 24px; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: var(--gold); }
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--red); font-size: 1rem; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.2rem; }

/* ---------- Prose (legal, blog, long-form) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h4 { margin-top: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.2em auto; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.prose figure { margin: 1.5em 0; }
.prose figure figure { margin: 0; }
.prose figure:has(> figure) { display: flex; gap: 12px; flex-wrap: wrap; }
.prose figure:has(> figure) > figure { flex: 1 1 200px; }
.prose .callout { background: var(--cream); border-left: 5px solid var(--gold); padding: 16px 20px; border-radius: 0 12px 12px 0; }
.two-col-text { columns: 2 320px; column-gap: 48px; }
.two-col-text p { break-inside: avoid; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-bounce), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
/* Guides illustrated with a coin photo: show the whole coin on navy instead of cropping it */
.post-card__img--coin { background: radial-gradient(circle at 50% 45%, #1d3a66, var(--navy)); }
.post-card__img--coin img { object-fit: contain; padding: 12px; }
.post-hero-img.post-hero-img--coin { object-fit: contain; padding: clamp(16px, 4vw, 40px); background: radial-gradient(circle at 50% 45%, #1d3a66, var(--navy)); }
.prose .ptabs { margin: 24px 0; }
.prose .table-wrap { margin: 20px 0; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__body h3 { font-size: 1.4rem; margin: 0; }
.post-card__body p { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card time { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card[hidden] { display: none; }
.post-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin: -60px auto 40px; position: relative; z-index: 3; max-width: 900px; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--cream); }
.post-meta { color: #b9c5dc; font-size: .95rem; }
.post-types { max-width: 780px; margin: 36px auto 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.8; }
.post-types strong { color: var(--navy); margin-right: 4px; }
.post-types + .post-cta { margin-top: 24px; }
.post-cta { margin: 48px auto 0; max-width: 780px; background: var(--navy); color: #dfe6f3; border-radius: var(--radius-lg); padding: 30px; display: flex; gap: 22px; align-items: center; }
.post-cta h3 { color: #fff; margin-bottom: 6px; }
.post-cta p { margin: 0 0 14px; }
@media (max-width: 640px) { .post-cta { flex-direction: column; text-align: center; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red) 0%, #d11b2a 55%, var(--red-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe2e4; font-size: 1.1rem; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.6px); background-size: 22px 22px; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; text-align: center; } .cta-band .mascot { margin: 0 auto; } .cta-band .btn-row { justify-content: center; } }

/* ---------- Newsletter + footer ---------- */
.newsletter { background: var(--cream); border-top: 1px solid var(--line); padding: 36px 0; }
.newsletter .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.newsletter h2 { font-size: 1.9rem; margin: 0; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { padding: 13px 16px; border-radius: 999px; border: 2px solid var(--line); min-width: 200px; flex: 1; }
.site-footer { background: #081329; color: #9fb0cf; padding: 60px 0 24px; font-size: .95rem; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { width: 190px; margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pay-icons span { background: #fff; color: var(--navy); font-weight: 800; font-size: .72rem; padding: 5px 9px; border-radius: 6px; letter-spacing: .04em; }

/* ---------- Floating quote button (mobile) ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; }
@media (max-width: 760px) {
  /* Shown only after the hero, and hidden over quote forms and the footer, so it never covers a button (main.js) */
  .fab { display: inline-flex; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Phone-size polish ---------- */
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } .swatch .tip { display: none; } }
.form .star-input input { width: 1px; height: 1px; padding: 0; border: 0; }  /* hidden radios stay 1px, not full width */
@media (max-width: 760px) {
  /* Comfortable tap targets (40px+) for links that sit on their own */
  .topbar__links a, .socials--top a { min-height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .breadcrumbs a { display: inline-block; padding: 10px 2px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 10px 0; }
  .swatches--sm { gap: 10px; }
  .swatches--sm .swatch { width: 38px; height: 38px; }
  input[type="range"] { height: 40px; }
  /* Small labels stay readable */
  .pay-icons span { font-size: .8rem; }
  .compare__group { font-size: .8rem; }
  /* Coin Types links in the phone menu: full-height rows that are easy to tap */
  .mega__col li a { padding: 11px 8px !important; }
  .mega__head { padding: 10px 0 !important; }
  .mega__all { padding: 12px 0 !important; }
  /* Shorter number cards */
  .stat { padding: 16px 12px; }
  .stat__label { font-size: .88rem; }
}

/* ---------- Coin rain (success celebration) ---------- */
.coin-rain { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.coin-rain i { position: absolute; top: -60px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5cf, var(--gold) 55%, var(--gold-dark)); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); animation: fall linear forwards; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spinY { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes spinSlow { to { rotate: 360deg; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes shadowBob { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.85); opacity: .7; } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes shine { to { background-position: -250% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sparkle { from { transform: scale(0) rotate(0); opacity: 1; } to { transform: scale(1.6) rotate(90deg) translate(var(--dx, 0), var(--dy, -30px)); opacity: 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-6deg); } 20% { transform: rotate(5deg); } 30% { transform: rotate(0); } }
@keyframes toss { 0% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-90px) rotateY(540deg); } 100% { transform: translateY(0) rotateY(1080deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-24deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fall { to { transform: translateY(calc(100vh + 120px)) rotateY(1080deg) rotate(var(--r, 180deg)); } }

/* Lite mode (older / low-memory computers, set in the page head): decorative loops stay still */
.lite .coin3d, .lite .coin-shadow, .lite .page-hero__coins img, .lite .trust__track, .lite .coin-row, .lite .mascot__body,
.lite .mascot__arm, .lite .mascot__lid, .lite .coin-stage__ring, .lite .coin-stage__glow, .lite .btn .coin-dot, .lite .hero h1 .shine,
.lite .estimator__result .coin-deco { animation: none !important; }
/* Sections scrolled out of view pause their looping animations (main.js), so older computers aren't animating what nobody can see */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Reviews page on tablets and phones */
@media (max-width: 960px) {
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }  /* no lone card on the last row */
}
@media (max-width: 700px) { .t-grid > :last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 700px) {
  .t-grid { grid-template-columns: 1fr; }
  .testimonial--feature { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .testimonial__media .coin3d { --s: 160px !important; }
  .testimonial--highlight { padding: 28px 22px; }
}
