/* Bluey Coins Australia. Type and colour follow Nova Coins (novacoins.com.au, read 6 Dec 2026):
   Josefin Sans for body and headings, uppercase headings, text #2a2b2a on white and #f4f4f4 bands,
   blue #0d76ff buttons, orange #ff580d as the one accent. */
:root {
  --ink: #2a2b2a;
  --muted: #5d5f5d;
  --line: #e2e2e2;
  --bg: #ffffff;
  --band: #f4f4f4;
  --blue: #0d76ff;
  --blue-dark: #0a5fcc;
  --orange: #ff580d;
  --green: #1f7a3d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 "Josefin Sans", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 700; line-height: 1.2; text-transform: uppercase; text-wrap: balance; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
section { padding: 64px 0; }
.band { background: var(--band); }
.intro { max-width: 760px; color: var(--muted); margin-bottom: 32px; }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.small { font-size: .9rem; color: var(--muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--blue); }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 24px; border: 2px solid var(--blue); border-radius: 4px; text-align: center; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.text-link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }

/* hero */
.hero { padding: 56px 0 64px; }
.hero-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; color: var(--muted); }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 8px; }
.hero-coins { position: relative; aspect-ratio: 1 / .85; }
.hero-coins img { position: absolute; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.hero-coins img:nth-child(1) { width: 56%; left: 22%; top: 12%; z-index: 2; }
.hero-coins img:nth-child(2) { width: 40%; right: 0; top: 0; }
.hero-coins img:nth-child(3) { width: 40%; left: 0; bottom: 0; }

/* layouts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col figure img { background: #fff; border: 1px solid var(--line); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.cols3 > div { background: #fff; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--orange); }
.spec { margin-top: 48px; }
.ticks { padding-left: 1.2em; margin: 0 0 1.4em; }

/* waves */
.waves { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.wave { display: grid; grid-template-columns: 200px 1fr; gap: 20px; border: 1px solid var(--line); padding: 16px; }
.wave img { width: 200px; height: 200px; object-fit: contain; background: var(--band); }
.wave h3 { margin-bottom: .4em; }

/* catalogue */
.filters { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button, .mark button { font: inherit; font-size: .9rem; padding: 7px 14px; border: 1px solid #c9c9c9; background: #fff; color: var(--ink); border-radius: 999px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search span { font-weight: 600; }
.search input { font: inherit; padding: 9px 12px; border: 1px solid #c9c9c9; border-radius: 4px; width: min(360px, 100%); }
.count { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coin { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.coin[hidden] { display: none; }
.coin img { aspect-ratio: 1; object-fit: contain; padding: 16px; border-bottom: 1px solid var(--line); }
.coin-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.coin h3 { font-size: 1rem; }
.coin dl { margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .88rem; }
.coin dt { color: var(--muted); }
.coin dd { margin: 0; font-weight: 600; }
.coin p { font-size: .95rem; }
.note { color: var(--muted); }
.stock { font-weight: 600; margin-top: auto; }
.stock.in { color: var(--green); }
.stock.out { color: var(--muted); }
.coin .btn { align-self: flex-start; }
.mark { display: flex; gap: 8px; margin-top: 14px; }
.mark button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--band); font-size: .9rem; }
tbody th { font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--blue); }
details[open] summary::after { content: "\2212"; }
summary h3 { margin: 0; font-size: 1rem; text-transform: none; letter-spacing: 0; }
details p { color: var(--muted); }

/* closing + footer */
.closing { background: var(--ink); color: #fff; text-align: center; }
.closing p { color: #d6d6d6; }
.site-footer { background: var(--band); padding: 48px 0 24px; font-size: .92rem; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-bottom: 24px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a { color: var(--ink); }
.legal { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: .85rem; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .hero-row, .two-col { grid-template-columns: 1fr; }
  .waves { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 44px 0; }
  .grid { grid-template-columns: 1fr; }
  .wave { grid-template-columns: 1fr; }
  .wave img { width: 100%; height: 220px; }
  .footer-row { grid-template-columns: 1fr; }
  .logo { font-size: .95rem; }
  .btn-small { padding: 8px 12px; }
}
