/* K&R Collectibles: charcoal, parchment, antique gold (taken from the store emblem) */
:root {
  --char-900: #110f0c;
  --char-800: #15130f;
  --char-700: #1d1a15;
  --char-600: #27231d;
  --parch-100: #f3ecdc;
  --parch-200: #ebe1cb;
  --parch-300: #ddd0b4;
  --ink: #1c1813;
  --ink-soft: #4a4236;
  --cream: #ece4d2;
  --cream-muted: #b3a990;
  --gold: #c9a45c;
  --gold-bright: #ddbd78;
  --gold-deep: #8f6f33;
  --silver: #c7c9cc;
  --line-dark: rgba(236, 228, 210, 0.14);
  --line-light: rgba(28, 24, 19, 0.16);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--char-800);
  /* faint brushed texture, like the logo backdrop */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow span { color: var(--cream-muted); margin: 0 0.3em; }
.eyebrow-ink { color: var(--gold-deep); }

.lede { font-size: 1.125rem; color: var(--cream-muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost { color: var(--cream); border: 1px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 15, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.01em; color: var(--cream); }
.brand-name em { font-style: italic; font-weight: 500; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  white-space: nowrap;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-muted); transition: color .2s;
}
.site-nav a:hover { color: var(--cream); }
.site-nav .nav-cta { color: var(--ink); background: var(--gold); padding: 10px 18px; border-radius: var(--radius); }
.site-nav .nav-cta:hover { color: var(--ink); background: var(--gold-bright); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); transition: transform .2s; }
.nav-toggle .bar:nth-of-type(1) { top: 17px; }
.nav-toggle .bar:nth-of-type(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); font-weight: 600; margin-bottom: 24px; color: var(--parch-100); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-emblem { display: flex; justify-content: center; }
.emblem-ring {
  position: relative; width: min(100%, 460px); aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(201,164,92,.25), 0 0 0 14px rgba(201,164,92,.05);
}
.emblem-ring::before {
  content: ""; position: absolute; inset: -28px; border-radius: 50%;
  border: 1px dashed rgba(201, 164, 92, 0.28);
}
.emblem-ring img { width: 100%; height: 100%; border-radius: 50%; }

/* Pillars */
.pillars { border-block: 1px solid var(--line-dark); background: var(--char-900); }
.pillars-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 44px clamp(16px, 3vw, 40px); }
.pillar + .pillar { border-left: 1px solid var(--line-dark); }
.pillar-num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold); }
.pillar h2 { font-size: 2rem; margin: 6px 0 10px; color: var(--parch-100); }
.pillar p { color: var(--cream-muted); }

/* Section heads */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }

/* Collections (parchment section, like the coin face) */
.collections { background: var(--parch-100); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; }
.collections .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.cat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cat {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 26px 24px;
  background: #fbf7ee;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 6px 18px rgba(28,24,19,.06);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat:hover { transform: translateY(-2px); border-color: rgba(143,111,51,.45); box-shadow: 0 10px 26px rgba(28,24,19,.10); }
/* coin-like medallion with a reeded double rim */
.medal {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: var(--gold-deep);
  background: radial-gradient(circle at 35% 30%, #fffaf0, var(--parch-200));
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 0 0 3px #fbf7ee, inset 0 0 0 4px rgba(143,111,51,.5);
}
.cat h3 { font-size: 1.625rem; margin: 2px 0 6px; }
.cat p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }

/* the closing "& Much More" card, in the dark brand colors */
.cat-more { background: var(--char-700); border-color: var(--char-600); }
.cat-more h3 { color: var(--parch-100); font-style: italic; font-weight: 500; }
.cat-more p { color: var(--cream-muted); }
.cat-more .medal {
  color: var(--char-800); font-style: italic;
  background: radial-gradient(circle at 35% 30%, #f3dc9c, var(--gold) 55%, var(--gold-deep));
  border-color: var(--gold-deep);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), inset 0 0 0 4px rgba(0,0,0,.2);
}
.cat-more:hover { border-color: var(--gold); }

/* Coin room */
.coin-room {
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,164,92,.12), transparent 60%),
    var(--char-700);
  border-bottom: 1px solid var(--line-dark);
}
.coin-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.coin-copy h2 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--parch-100); margin-bottom: 20px; }
.coin-copy .lede { max-width: 30em; }
.vault-cta { margin-top: 36px; }

/* framed photo, used in The Coin Vault and Visit sections */
.vault-photo, .storefront {
  margin: 0; position: relative;
  border: 1px solid rgba(201, 164, 92, 0.45);
  padding: 10px;
  background: var(--char-900);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.vault-photo img, .storefront img { width: 100%; height: 100%; object-fit: cover; }
.vault-photo { max-width: 440px; width: 100%; justify-self: center; aspect-ratio: 4 / 5; }

/* Inside the shop: horizontal photo strip */
.gallery { background: var(--parch-200); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.gallery-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.gallery-hint { display: none; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.gallery-nav { display: flex; gap: 10px; }
.gal-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(143,111,51,.5); background: transparent; color: var(--ink);
  font-size: 1.125rem; cursor: pointer; transition: background-color .2s, color .2s;
}
.gal-btn:hover { background: var(--ink); color: var(--parch-100); border-color: var(--ink); }
.gallery-track {
  list-style: none; margin: 0;
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* line the first photo up with the page content, let the strip run to the edge */
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 18px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: rgba(143,111,51,.5) transparent;
}
.gallery-track:focus-visible { outline-offset: -3px; }
.gallery-track li { flex: none; scroll-snap-align: start; }
.gallery-track img {
  height: clamp(220px, 30vw, 360px); width: auto;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(28,24,19,.18);
}
@media (prefers-reduced-motion: reduce) { .gallery-track { scroll-behavior: auto; } }

/* Visit */
.visit { padding: clamp(72px, 10vw, 120px) 0; }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.visit h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); color: var(--parch-100); margin-bottom: 18px; }
.storefront { aspect-ratio: 3 / 2; }
.visit-details { margin: 36px 0 0; border-top: 1px solid var(--line-dark); }
.visit-details div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.visit-details dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.visit-details dd { margin: 0; font-family: var(--serif); font-size: 1.375rem; color: var(--cream-muted); font-style: italic; }
.visit-details address { font-style: normal; color: var(--parch-100); line-height: 1.35; }
.map-link {
  display: inline-block; margin-top: 10px;
  font-family: var(--sans); font-style: normal; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  text-decoration: none; border-bottom: 1px solid rgba(201,164,92,.4); padding-bottom: 2px;
}
.map-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.phone-link { color: var(--parch-100); font-style: normal; text-decoration: none; border-bottom: 1px solid rgba(201,164,92,.4); }
.phone-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.footer-tag a { color: inherit; text-decoration: none; }
.footer-tag a:hover { color: var(--gold-bright); }
.hours { list-style: none; margin: 0; padding: 0; font-style: normal; }
.hours li { display: flex; justify-content: space-between; gap: 16px; color: var(--parch-100); line-height: 1.5; }
.hours li + li { margin-top: 4px; }
.hours li span:last-child { font-family: var(--sans); font-size: 0.9375rem; color: var(--cream-muted); white-space: nowrap; padding-top: 3px; }
.hours .closed, .hours .closed span:last-child { color: var(--cream-muted); opacity: .75; }

/* About page */
.site-nav a[aria-current="page"] { color: var(--gold); }
.about-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.about-hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); color: var(--parch-100); margin: 0 auto; text-wrap: balance; }
.about-hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }

.about-story { background: var(--parch-100); color: var(--ink); padding: clamp(56px, 8vw, 104px) 0; }
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.about-photo { position: sticky; top: 104px; aspect-ratio: auto; background: var(--char-800); }
.about-photo img { aspect-ratio: 3 / 2; }
.about-photo figcaption { padding: 10px 2px 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-muted); }
.about-text { max-width: 36em; }
.about-text p { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-soft); }
.about-text p + p { margin-top: 1.2em; }
.about-text .about-lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.35; color: var(--ink); margin-bottom: 1.4em; }
.about-closing {
  margin: 2.2em 0 0; padding: 26px 0 0 28px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-style: italic; line-height: 1.4; color: var(--ink);
  position: relative;
}
.about-closing::before {
  content: "“"; position: absolute; left: 22px; top: -14px;
  font-size: 4rem; line-height: 1; color: var(--gold); font-style: normal;
}

.about-cta { padding: clamp(48px, 7vw, 80px) 0; }
.about-cta-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.about-cta-inner > div { flex: 1 1 280px; }
.about-cta h2 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); color: var(--parch-100); margin-bottom: 4px; }
.about-cta p { color: var(--cream-muted); }
.about-cta p a { color: inherit; }

/* Footer */
.site-footer { background: var(--char-900); border-top: 1px solid var(--line-dark); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand-footer img { width: 40px; height: 40px; }
.footer-tag, .footer-copy { font-size: 0.8125rem; color: var(--cream-muted); letter-spacing: 0.06em; }

/* Tablet */
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .coin-inner { grid-template-columns: 1fr; }
  .vault-photo { max-width: none; aspect-ratio: 4 / 3; order: -1; }
  .vault-photo img { object-position: center 40%; }
  .visit-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }

  /* collapse the menu behind the ☰ button */
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--char-900); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.875rem; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px; }
  .about-photo { position: static; }
}

/* Mobile */
@media (max-width: 760px) {
  .brand-name { font-size: 1.3rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-emblem { order: -1; }
  .emblem-ring { width: min(72vw, 300px); }
  .hero-actions .btn { flex: 1 1 100%; }

  .pillars-inner { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line-dark); }
  .pillar { padding: 32px var(--gutter); }

  /* compact 2-up tiles on phones: medallion + name, centered */
  .collections { padding: 48px 0; }
  .collections .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px 16px; }
  .medal { width: 38px; height: 38px; font-size: 0.9375rem; }
  .cat h3 { font-size: 1.3125rem; margin: 0; }
  .cat p { display: none; }

  .gallery { padding: 48px 0; }
  .gallery-nav { display: none; }
  .gallery-hint { display: block; padding-bottom: 6px; }
  .gallery-track { gap: 10px; }
  .visit-inner { grid-template-columns: 1fr; }
  .visit-details > div { grid-template-columns: 1fr; gap: 8px; }
  .coin-list li { flex-direction: column; gap: 2px; }
  .coin-list span { text-align: left; }
  .footer-inner { flex-direction: column; text-align: center; }
}
