:root {
  --ink: #11100d;
  --black: #090907;
  --cream: #f3efe4;
  --cream-2: #e9e1d1;
  --paper: #faf8f2;
  --gold: #b78b3f;
  --gold-light: #d9bc79;
  --line: rgba(24, 20, 13, 0.16);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: -9999px;
  padding: 10px 16px;
  color: var(--black);
  background: var(--gold-light);
}
.skip-link:focus { left: 12px; }

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 7px max(24px, calc((100vw - 1180px) / 2));
  color: #dbd0b9;
  background: #050504;
  border-bottom: 1px solid rgba(214, 183, 114, 0.18);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.utility-bar p { margin: 0; }
.utility-bar a { text-decoration: none; }
.utility-bar a:hover, .utility-bar a:focus-visible { color: var(--gold-light); }
.masthead { background: #070706; }
.wide-masthead img { width: min(1280px, 100%); margin: 0 auto; }
.compact-masthead { display: none; }

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--cream);
  background: rgba(9, 9, 7, 0.94);
  border-top: 1px solid rgba(214, 183, 114, 0.12);
  border-bottom: 1px solid rgba(214, 183, 114, 0.2);
  backdrop-filter: blur(16px);
}
.wordmark, .nav-links, .nav-links a { display: flex; align-items: center; }
.wordmark { gap: 10px; font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.02em; text-decoration: none; }
.wordmark-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(217, 188, 121, 0.7);
  border-radius: 50%;
  font-size: 0.94rem;
}
.nav-links { gap: 30px; }
.nav-links a { min-height: 44px; font-size: 0.76rem; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.nav-links > a:not(.nav-cta):hover, .nav-links > a:not(.nav-cta):focus-visible { color: var(--gold-light); }
.nav-cta { gap: 8px; padding: 0 17px; color: var(--black); background: var(--gold-light); border: 1px solid var(--gold-light); transition: color 180ms ease, background 180ms ease; }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--gold-light); background: transparent; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
  gap: clamp(44px, 7vw, 106px);
  align-items: center;
  min-height: min(760px, calc(100vh - 68px));
  padding: clamp(70px, 9vw, 120px) max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  color: var(--cream);
  background: radial-gradient(circle at 80% 35%, rgba(173, 134, 66, 0.15), transparent 30%), linear-gradient(112deg, #0e0d0a 0%, #070706 72%);
}
.hero::before, .hero::after { position: absolute; pointer-events: none; content: ""; border: 1px solid rgba(215, 182, 110, 0.09); border-radius: 50%; }
.hero::before { right: -210px; width: 690px; height: 690px; }
.hero::after { right: -85px; width: 440px; height: 440px; }
.hero-copy, .coin-feature { position: relative; z-index: 1; }
.eyebrow { display: flex; gap: 12px; align-items: center; margin: 0 0 25px; color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
h1 { max-width: 670px; margin-bottom: 26px; font-size: clamp(3.4rem, 6.3vw, 6.6rem); line-height: 0.88; letter-spacing: -0.052em; }
h1 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 590px; margin-bottom: 34px; color: #c9c0af; font-family: var(--serif); font-size: clamp(1.12rem, 1.5vw, 1.34rem); line-height: 1.55; }
.hero-actions { display: flex; gap: 26px; align-items: center; }
.button { display: inline-flex; gap: 16px; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px; border: 1px solid transparent; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; transition: transform 180ms ease, color 180ms ease, background 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--black); background: var(--gold-light); border-color: var(--gold-light); }
.button-primary:hover, .button-primary:focus-visible { color: var(--gold-light); background: transparent; }
.text-link { padding-block: 12px; color: #e8dfcd; border-bottom: 1px solid rgba(232, 223, 205, 0.4); font-size: 0.75rem; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.text-link:hover, .text-link:focus-visible { color: var(--gold-light); border-color: var(--gold-light); }
.shopping-note { display: flex; gap: 10px; align-items: center; margin: 25px 0 0; color: #817b6f; font-size: 0.72rem; letter-spacing: 0.03em; }
.shopping-note svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.coin-feature { width: min(100%, 480px); margin: 0 auto; }
.coin-frame { position: relative; padding: 14px; background: #17150f; border: 1px solid rgba(217, 188, 121, 0.32); box-shadow: 0 34px 70px rgba(0, 0, 0, 0.47); transform: rotate(2deg); }
.coin-frame::before, .coin-frame::after { position: absolute; width: 50px; height: 50px; content: ""; border-color: var(--gold-light); opacity: 0.66; }
.coin-frame::before { top: 5px; left: 5px; border-top: 1px solid; border-left: 1px solid; }
.coin-frame::after { right: 5px; bottom: 5px; border-right: 1px solid; border-bottom: 1px solid; }
.coin-frame img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; filter: saturate(0.72) contrast(1.08); }
.coin-feature figcaption { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 5px 0; }
.coin-feature figcaption span { color: #777166; font-size: 0.61rem; letter-spacing: 0.16em; text-transform: uppercase; }
.coin-feature figcaption strong { color: #dfd5c2; font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.feature-stamp { position: absolute; right: -46px; bottom: 56px; display: grid; width: 88px; height: 88px; place-items: center; color: var(--gold-light); background: #0e0d0a; border: 1px solid rgba(217, 188, 121, 0.42); border-radius: 50%; font-family: var(--serif); font-size: 0.64rem; line-height: 1.4; letter-spacing: 0.15em; text-align: center; }

.collection-marquee { padding: 18px 24px; overflow: hidden; color: #272219; background: var(--gold-light); border-block: 1px solid rgba(17, 16, 13, 0.2); }
.collection-marquee div { display: flex; gap: clamp(20px, 4vw, 70px); align-items: center; justify-content: center; min-width: max-content; margin: 0 auto; font-family: var(--serif); font-size: clamp(0.84rem, 1.25vw, 1.08rem); letter-spacing: 0.1em; text-transform: uppercase; }
.collection-marquee i { font-size: 0.46rem; font-style: normal; }
.section-shell { width: var(--shell); margin-inline: auto; }
.collection { padding-block: clamp(84px, 10vw, 150px); }
.section-heading { display: grid; grid-template-columns: 1.12fr 0.64fr; gap: clamp(50px, 10vw, 160px); align-items: end; margin-bottom: 52px; }
.section-heading h2, .about-copy h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; }
.section-heading > p { margin-bottom: 2px; color: #5e594f; font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 410px; padding: 26px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; isolation: isolate; }
.category-card::before { position: absolute; inset: 0; z-index: -2; content: ""; transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1); }
.category-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(8, 8, 7, 0.05), rgba(8, 8, 7, 0.88)); }
.category-card:hover::before, .category-card:focus-visible::before { transform: scale(1.045); }
.category-coins::before { background: url("/assets/seated-liberty-1876.webp") 52% center / cover; }
.category-bullion::before { background: linear-gradient(125deg, rgba(9, 9, 7, 0.27), rgba(9, 9, 7, 0.67)), url("/assets/seated-liberty-1876.webp") 82% 32% / 175% auto; filter: grayscale(1) sepia(0.16); }
.category-finds::before { background: radial-gradient(circle at 50% 43%, transparent 0 92px, rgba(206, 177, 108, 0.4) 93px 94px, transparent 95px), url("/assets/lamb-medallion.webp") center 36% / 250px no-repeat, #0c0b09; }
.category-number { align-self: flex-end; color: rgba(245, 237, 220, 0.68); font-family: var(--serif); font-size: 0.76rem; letter-spacing: 0.16em; }
.category-card p { margin-bottom: 7px; color: var(--gold-light); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; }
.category-card h3 { margin-bottom: 22px; color: var(--cream); font-size: clamp(2rem, 3vw, 2.85rem); }
.card-link { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; color: #ded5c4; border-top: 1px solid rgba(238, 226, 203, 0.28); font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card-link b { color: var(--gold-light); font-size: 1rem; font-weight: 400; }

.about { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 760px; color: var(--cream); background: var(--black); }
.about-art { position: relative; display: grid; place-items: center; min-height: 650px; padding: 50px; overflow: hidden; background: radial-gradient(circle, rgba(185, 141, 63, 0.16), transparent 44%), repeating-radial-gradient(circle at 50% 50%, transparent 0 48px, rgba(209, 178, 109, 0.05) 49px 50px), #11100d; border-right: 1px solid rgba(213, 180, 108, 0.14); }
.medallion-wrap { position: relative; width: min(320px, 70vw); aspect-ratio: 1; }
.medallion-wrap img { position: relative; z-index: 2; width: 100%; border-radius: 50%; box-shadow: 0 28px 65px rgba(0, 0, 0, 0.5); }
.orbit { position: absolute; inset: -25px; z-index: 1; border: 1px solid rgba(217, 188, 121, 0.28); border-radius: 50%; }
.orbit::after { position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; content: ""; background: var(--gold-light); border-radius: 50%; }
.orbit-two { inset: -54px; opacity: 0.42; transform: rotate(140deg); }
.about-art > p { position: absolute; bottom: 34px; margin: 0; color: #827b6e; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; }
.about-copy { align-self: center; max-width: 730px; padding: clamp(70px, 10vw, 135px) clamp(36px, 8vw, 120px); }
.about-copy h2 { max-width: 650px; margin-bottom: 34px; }
.about-copy > p:not(.eyebrow) { max-width: 640px; color: #aaa292; line-height: 1.75; }
.about-copy .about-lead { color: #e5dccb; font-family: var(--serif); font-size: 1.26rem; line-height: 1.55; }
.shop-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; padding-top: 29px; border-top: 1px solid rgba(219, 189, 123, 0.19); }
.shop-values span { display: block; margin-bottom: 16px; color: var(--gold); font-family: var(--serif); font-size: 0.65rem; }
.shop-values strong { display: block; margin-bottom: 8px; color: #e3dac9; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.shop-values p { margin: 0; color: #7d776d; font-size: 0.72rem; line-height: 1.55; }

.final-cta { padding-block: clamp(75px, 9vw, 125px); }
.final-cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; min-height: 360px; padding: clamp(42px, 6vw, 78px); overflow: hidden; color: var(--cream); background: linear-gradient(105deg, rgba(9, 8, 6, 0.98) 15%, rgba(9, 8, 6, 0.86) 66%, rgba(9, 8, 6, 0.65)), url("/assets/seated-liberty-1876.webp") right 38% / 58% auto; }
.final-cta-inner > img { position: absolute; right: 21%; bottom: -105px; width: 250px; opacity: 0.12; transform: rotate(-12deg); }
.final-cta-inner > div, .final-cta-inner > a { position: relative; z-index: 1; }
.final-cta h2 { max-width: 730px; font-size: clamp(2.7rem, 4.6vw, 4.7rem); }
.button-light { min-width: 210px; color: var(--black); background: var(--cream); }
.button-light:hover, .button-light:focus-visible { color: var(--cream); background: transparent; border-color: var(--cream); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 42px max(24px, calc((100vw - 1180px) / 2)); color: #9d9586; background: #070706; border-top: 1px solid rgba(215, 182, 110, 0.15); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { margin-bottom: 4px; color: var(--cream-2); font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.footer-brand span { font-size: 0.54rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 0.65rem; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-light); }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #625e56; font-size: 0.64rem; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

.not-found { display: grid; min-height: 100vh; place-content: center; justify-items: center; padding: 40px 24px; color: var(--cream); background: var(--black); text-align: center; }
.not-found > img { width: min(230px, 60vw); margin-bottom: 36px; border-radius: 50%; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(3rem, 8vw, 6rem); }
.not-found > p:not(.eyebrow) { margin-bottom: 30px; color: #aaa292; }

@media (max-width: 980px) {
  .wide-masthead { display: none; }
  .compact-masthead { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 20px 24px; color: var(--cream); }
  .compact-masthead img { flex: 0 0 74px; width: 74px; height: 74px; object-fit: cover; border-radius: 50%; }
  .compact-masthead span, .compact-masthead strong { display: block; font-family: var(--serif); font-weight: 400; }
  .compact-masthead span { color: var(--gold-light); font-size: 0.88rem; letter-spacing: 0.18em; text-transform: uppercase; }
  .compact-masthead strong { font-size: 1.5rem; }
  .hero { grid-template-columns: 1fr 0.72fr; gap: 48px; }
  .feature-stamp { right: -20px; width: 72px; height: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 650px; }
  .category-card { min-height: 360px; }
  .about { grid-template-columns: 0.75fr 1.25fr; }
  .about-copy { padding-inline: 44px; }
  .shop-values { grid-template-columns: 1fr; }
  .shop-values > div { display: grid; grid-template-columns: 34px 1fr; }
  .shop-values strong, .shop-values p { grid-column: 2; }
  .shop-values span { grid-row: 1 / 3; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 34px, 1180px); }
  .utility-bar { justify-content: center; padding-inline: 16px; text-align: center; }
  .utility-bar p { display: none; }
  .site-nav { min-height: 62px; padding-inline: 17px; }
  .wordmark span:last-child, .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0; }
  .nav-cta { min-height: 40px !important; padding-inline: 13px; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding-block: 70px; }
  .hero::before { right: -410px; }
  h1 { max-width: 590px; font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero-intro { font-size: 1.09rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button-primary { width: 100%; }
  .shopping-note { align-items: flex-start; }
  .coin-feature { width: calc(100% - 22px); }
  .coin-feature figcaption { align-items: flex-start; flex-direction: column; gap: 7px; }
  .feature-stamp { right: -13px; bottom: 48px; }
  .collection-marquee { overflow-x: auto; scrollbar-width: none; }
  .collection-marquee div { justify-content: flex-start; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 390px; }
  .about { grid-template-columns: 1fr; }
  .about-art { min-height: 520px; border-right: 0; border-bottom: 1px solid rgba(213, 180, 108, 0.14); }
  .about-copy { padding: 80px 24px; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 35px; min-height: 480px; }
  .final-cta-inner .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 18px 24px; }
}

@media (max-width: 430px) {
  .compact-masthead { justify-content: flex-start; }
  .compact-masthead img { flex-basis: 62px; width: 62px; height: 62px; }
  .compact-masthead strong { font-size: 1.18rem; }
  .hero { padding-inline: 18px; }
  .eyebrow { font-size: 0.62rem; }
  .category-card { min-height: 355px; }
  .about-art { min-height: 440px; }
  .medallion-wrap { width: 230px; }
  .final-cta-inner { padding-inline: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
