:root {
  --color-primary: #6b2f22;
  --color-primary-dark: #4a1f16;
  --color-cream: #f5ecd6;
  --color-cream-dim: #e8dcbe;
  --color-gold: #b8892f;
  --color-ink: #2a201b;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #fffdf8;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  margin: 0 0 0.5em;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.15rem; margin-top: 1.5em; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-sub { color: #6b5e52; margin-top: -8px; margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-cream);
  border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-cream); }
.btn-live {
  background: #c8102e;
  color: #fff;
  border-color: #c8102e;
  animation: livePulse 1.8s ease-in-out infinite;
}
.btn-live:hover { background: #a60d26; border-color: #a60d26; }
.btn-live::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  vertical-align: middle;
  animation: liveDot 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.55); }
  50% { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
}
@keyframes liveDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-live, .btn-live::before { animation: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-dim);
}
.header-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 32px;
  background: var(--color-primary);
}
.brand img { height: 84px; }
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 32px;
  min-width: 0;
}
.main-nav a { color: var(--color-primary-dark); font-weight: 500; font-size: 1.1rem; white-space: nowrap; }
.main-nav-dense { gap: 10px; }
.main-nav-dense a { font-size: 0.95rem; }
.nav-cta {
  background: var(--color-primary);
  color: var(--color-cream) !important;
  padding: 12px 26px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--color-primary-dark); text-decoration: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--color-primary-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-cream);
}
.hero-slideshow-bg { position: absolute; inset: 0; background: #1c140f; }
.hero-slideshow-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation-name: heroFade;
  animation-duration: var(--hero-total, 32s);
  animation-iteration-count: infinite;
  animation-delay: var(--hero-delay, 0s);
}
/* Tuned for an ~4.5s visible window per image regardless of total cycle length. */
@keyframes heroFade {
  0% { opacity: 0; }
  1.2% { opacity: 0.55; }
  4.2% { opacity: 0.55; }
  5.4% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow-bg img { animation: none; opacity: 0; }
  .hero-slideshow-bg img:first-child { opacity: 0.55; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,20,14,0.75), rgba(42,20,14,0.85));
}
.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-content h1 {
  color: var(--color-cream);
  font-size: 3rem;
  line-height: 1.15;
  max-width: 620px;
}
.hero-content p {
  font-size: 1.15rem;
  max-width: 520px;
  color: var(--color-cream-dim);
}
.hero-actions { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: var(--color-cream); border-color: var(--color-cream); }
.hero-actions .btn-outline:hover { background: var(--color-cream); color: var(--color-primary-dark); }

/* Gallery */
.gallery-section { background: #17130f; text-align: center; }
.gallery-heading {
  color: #d8cfc2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.slideshow { position: relative; }

.slides-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 6px;
}
.slides-viewport::-webkit-scrollbar { display: none; }

.slides-track {
  display: flex;
  gap: 4px;
}
.slide {
  position: relative;
  flex: 0 0 calc((100% - 8px) / 3);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  background: #0f0d0b;
  overflow: hidden;
}
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

.price-burst {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 112px;
  height: 112px;
  clip-path: polygon(50.0% 0.0%, 59.3% 21.5%, 79.4% 9.5%, 74.3% 32.4%, 97.6% 34.5%, 80.0% 50.0%, 97.6% 65.5%, 74.3% 67.6%, 79.4% 90.5%, 59.3% 78.5%, 50.0% 100.0%, 40.7% 78.5%, 20.6% 90.5%, 25.7% 67.6%, 2.4% 65.5%, 20.0% 50.0%, 2.4% 34.5%, 25.7% 32.4%, 20.6% 9.5%, 40.7% 21.5%);
  background: radial-gradient(circle at 40% 35%, #ffe27a 0%, #f0c332 45%, #c9931a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  backface-visibility: hidden;
}
.price-burst span {
  color: #3a1810;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-align: center;
  line-height: 1.05;
  padding: 0 8px;
  -webkit-font-smoothing: antialiased;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: var(--color-cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.slide-arrow:hover { background: rgba(0,0,0,0.8); }
.slide-arrow.prev { left: -18px; }
.slide-arrow.next { right: -18px; }

.thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumb-strip::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  background: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 0.85; }
.thumb.is-active { opacity: 1; border-color: var(--color-gold); }

.gallery-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #a89d8d;
}
.gallery-cta { margin-top: 22px; }

@media (max-width: 860px) {
  .slide { flex-basis: calc((100% - 4px) / 2); }
}
@media (max-width: 560px) {
  .slide { flex-basis: 100%; }
  .slide-arrow.prev { left: 6px; }
  .slide-arrow.next { right: 6px; }
}

/* About */
.about-section { background: var(--color-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image img { border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.15); }

.section-heading-center { text-align: center; }
.section-subheading-center {
  text-align: center;
  color: #6b5e52;
  max-width: 640px;
  margin: 8px auto 0;
}

/* Upcoming Auctions (homepage) */
.auctions-section { background: #fffdf8; }
.home-auctions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* How It Works (homepage) */
.how-it-works-section { background: #fffdf8; }

/* Category list (homepage About section) */
.category-list { display: grid; gap: 10px; }
.category-bar {
  background: #fffdf8;
  border-left: 3px solid var(--color-gold);
  border-radius: 3px;
  padding: 0 16px;
}
.category-bar summary {
  padding: 10px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.category-bar summary::-webkit-details-marker { display: none; }
.category-bar summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 10px;
  color: var(--color-gold);
  font-weight: 700;
}
.category-bar[open] summary::after { content: '\2212'; }
.category-bar p {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #443c34;
}

/* FAQ (homepage) */
.faq-section .coins-faq-list { max-width: 760px; margin: 24px auto 0; }


/* Coins & Currency */
.coins-section { background: #fffdf8; }
.coins-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.coins-copy p { margin-bottom: 1em; }
.coins-examples-heading {
  margin-top: 56px;
  font-size: 1.15rem;
  text-align: center;
}
#auctions > .coins-examples-heading {
  font-size: 2rem;
}
#commission .coins-copy h2 {
  text-align: center;
  margin-top: 72px;
}
.coins-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.coins-step {
  text-align: center;
  padding: 24px 16px;
}
.coins-step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.coins-step h3 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.coins-step p {
  font-size: 0.9rem;
  color: #6b5e52;
  margin: 0;
  line-height: 1.5;
}

.coins-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.coins-why-item {
  background: #fff;
  border: 1px solid var(--color-cream-dim);
  border-top: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 22px 20px;
}
.coins-why-item h3 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.coins-why-item p {
  font-size: 0.9rem;
  color: #6b5e52;
  margin: 0;
  line-height: 1.5;
}

.coins-auctions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.coins-auction-card {
  background: #fff;
  border: 1px solid var(--color-cream-dim);
  border-radius: 8px;
  padding: 26px 24px;
  text-align: center;
}
.coins-auction-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.coins-auction-badge-live { background: #e5f1e6; color: #2f6b3a; }
.coins-auction-badge-soon { background: var(--color-cream-dim); color: #6b5e52; }
.coins-auction-card h3 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.coins-auction-card p {
  font-size: 0.92rem;
  color: #6b5e52;
  margin: 0 0 18px;
  line-height: 1.5;
}

.coins-featured-heading {
  text-align: center;
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1rem;
  margin: 40px 0 16px;
}
.coins-featured-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.coins-featured-lot {
  display: block;
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--color-cream-dim);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.coins-featured-lot:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.coins-featured-lot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #faf5eb;
  padding: 10px;
}
.coins-featured-lot p {
  margin: 0;
  padding: 10px 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.35;
  text-decoration: none;
}

.coins-glossary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
  max-width: 820px;
  margin: 24px auto 0;
}
.coins-glossary-item h4 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 0.98rem;
  margin: 0 0 4px;
}
.coins-glossary-item p {
  font-size: 0.86rem;
  color: #6b5e52;
  margin: 0;
  line-height: 1.45;
}

.coins-faq-heading { margin-top: 40px; }
.coins-faq-list { margin-top: 20px; }
.coins-faq-item summary {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.coins-faq-item summary::-webkit-details-marker { display: none; }
.coins-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  color: var(--color-gold);
  font-weight: 700;
}
.coins-faq-item[open] summary::after { content: '\2212'; }
.coins-faq-item p {
  margin: 0 0 18px;
  color: #443c34;
  line-height: 1.55;
}
.coins-examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
.coins-example-card {
  background: #fff;
  border: 1px solid var(--color-cream-dim);
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.coins-example-image {
  position: relative;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.coins-example-card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #fff;
  padding: 24px;
  display: block;
}
.coins-example-image .price-burst {
  top: -14px;
  right: -14px;
  width: 128px;
  height: 128px;
  flex-direction: column;
  gap: 0;
}
.price-burst .burst-pct {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
}
.price-burst .burst-label {
  font-size: 0.85rem;
  line-height: 1;
  margin-top: 1px;
  padding: 0;
}
.coins-example-body { padding: 20px 24px 24px; text-align: center; }
.coins-example-figures {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}
.coins-example-paid { color: var(--color-gold); }
.coins-info-card {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 24px 28px;
  border-radius: 8px;
}
.coins-info-card p { margin: 0 0 16px; }
.coins-info-card p:last-child { margin-bottom: 0; }
.coins-info-card a:not(.btn) { color: var(--color-cream); font-weight: 600; text-decoration: underline; }
.coins-info-card h3 { color: var(--color-cream); margin-top: 0; }
.coins-info-card .btn-outline {
  color: var(--color-cream);
  border-color: var(--color-cream);
  margin-top: 20px;
  text-decoration: none;
}
.coins-info-card .btn-outline:hover { background: var(--color-cream); color: var(--color-primary-dark); }

#commission, #example, #what-we-accept, #consign, #how-it-works, #why-consign, #auctions, #faq, #gallery, #about { scroll-margin-top: 110px; }

.coins-accept-heading {
  margin-top: 64px;
  text-align: center;
}
.coins-bulk-notice {
  max-width: 820px;
  margin: 24px auto 28px;
  background: #fdf1e8;
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 16px 20px;
}
.coins-bulk-notice p {
  margin: 0;
  color: #5c4636;
  font-size: 0.95rem;
  line-height: 1.55;
}
.coins-accept-intro {
  text-align: center;
  max-width: 620px;
  margin: 8px auto 32px;
  color: #6b5e52;
}
.coins-accept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.coins-accept-item {
  background: #fff;
  border: 1px solid var(--color-cream-dim);
  border-radius: 8px;
  padding: 4px 20px;
}
.coins-accept-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
}
.coins-accept-item summary::-webkit-details-marker { display: none; }
.coins-accept-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--color-gold);
  font-weight: 700;
}
.coins-accept-item[open] summary::after { content: '\2212'; }
.cat-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-gold);
}
.coins-accept-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 18px;
}
.coins-accept-thumb {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: #faf5eb;
  border: 1px solid var(--color-cream-dim);
  border-radius: 8px;
  padding: 10px;
  flex-shrink: 0;
}
.coins-accept-body > ul,
.coins-accept-body > div {
  flex: 1;
  min-width: 0;
}
.coins-accept-item ul {
  margin: 0 0 14px;
  padding: 0 0 0 20px;
  color: #443c34;
  line-height: 1.55;
}
.coins-accept-body > ul:last-child,
.coins-accept-body > div > ul:last-child { margin-bottom: 0; }
.coins-accept-item li { margin-bottom: 8px; }
.coins-accept-item li:last-child { margin-bottom: 0; }
.coins-accept-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #6b5e52;
  border-left: 3px solid var(--color-gold);
  padding-left: 14px;
  margin: 0;
}
.coins-decline-card {
  max-width: 820px;
  margin: 32px auto 0;
  background: #fdf1e8;
  border: 1px solid #e8c9a8;
  border-radius: 8px;
  padding: 28px 28px 24px;
}
.coins-decline-card h3 { margin-top: 0; color: var(--color-primary-dark); }
.coins-decline-card ul { margin: 0 0 14px; padding-left: 20px; line-height: 1.55; }
.coins-decline-card li { margin-bottom: 6px; }
.coins-decline-card p { margin: 0; color: #6b5e52; font-size: 0.95rem; }

/* Consign */
.consign-section { background: #fffdf8; }
.consign-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}
.consign-contact {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 32px;
  border-radius: 8px;
  align-self: start;
}
.consign-contact h3 { color: var(--color-cream); margin-top: 0; }
.consign-contact h3 + p { margin-top: 4px; }
.consign-contact a { color: var(--color-cream); font-weight: 600; text-decoration: underline; }
.consign-contact .btn-outline {
  color: var(--color-cream);
  border-color: var(--color-cream);
  margin-top: 20px;
  text-decoration: none;
}
.consign-contact .btn-outline:hover { background: var(--color-cream); color: var(--color-primary-dark); }

/* Contact form */
.contact-section { background: var(--color-cream); }
.contact-form { max-width: 560px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row textarea {
  padding: 11px 14px;
  border: 1px solid #cabf9f;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fffdf8;
}
.form-note { font-size: 0.8rem; color: #6b5e52; margin-top: 12px; }
.form-status { margin: 14px 0 0; font-weight: 600; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.success { color: #2f6b3a; }
.form-status.error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.role-btn {
  position: relative;
  margin: 0;
}
.role-btn input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.role-btn span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #cabf9f;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  background: #fffdf8;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.role-btn input:checked + span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-cream);
}
.role-btn input:focus-visible + span { outline: 2px solid var(--color-gold); outline-offset: 1px; }
.role-other-input { margin-top: 8px; }

/* Contact page */
.page-header {
  position: relative;
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 56px 0 40px;
  text-align: center;
  overflow: hidden;
}
.page-header h1 { color: var(--color-cream); margin-bottom: 10px; }
.page-header p { color: var(--color-cream-dim); max-width: 560px; margin: 0 auto; }

.page-header-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-header-track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 14px;
  animation: pageHeaderScroll 50s linear infinite;
  will-change: transform;
}
.page-header-track img {
  height: 92px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.3;
  flex-shrink: 0;
}
@keyframes pageHeaderScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,31,22,0.82), rgba(74,31,22,0.9));
}
.page-header-content { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .page-header-track { animation: none; }
}
.contact-page-section { background: var(--color-cream); }
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 32px;
  border-radius: 8px;
}
.contact-info-card h2 { color: var(--color-cream); font-size: 1.15rem; margin-top: 0; }
.contact-info-card h2:not(:first-child) { margin-top: 1.5em; }
.contact-map {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 6px;
  margin-top: 12px;
}
.contact-info-card a { color: var(--color-cream); font-weight: 600; text-decoration: underline; }
.contact-info-card .btn-outline {
  color: var(--color-cream);
  border-color: var(--color-cream);
  margin-top: 20px;
  text-decoration: none;
}
.contact-info-card .btn-outline:hover { background: var(--color-cream); color: var(--color-primary-dark); }
.contact-page-grid .contact-form { max-width: none; }
.contact-page-grid .contact-form h2 { margin-bottom: 1em; }

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-cream-dim);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--color-cream-dim); }
.footer-links a:hover { color: var(--color-cream); }

@media (max-width: 860px) {
  .about-grid, .consign-grid, .contact-page-grid, .coins-grid, .coins-examples-grid { grid-template-columns: 1fr; }
  .coins-steps { grid-template-columns: repeat(2, 1fr); }
  .coins-why-grid { grid-template-columns: repeat(2, 1fr); }
  .coins-glossary { grid-template-columns: repeat(2, 1fr); }
  .coins-auctions-grid { grid-template-columns: 1fr; }
  .home-auctions-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 24px;
    display: none;
    border-bottom: 1px solid var(--color-cream-dim);
  }
  .main-nav.open { display: flex; }
}

@media (max-width: 640px) {
  .brand { padding: 6px 16px; }
  .brand img { height: 48px; }
  .hero { min-height: 480px; }
  .hero-content h1 { font-size: 1.8rem; }
  .coins-accept-body { flex-direction: column; }
  .coins-accept-thumb { width: 100%; height: 160px; }
}
