:root {
    --ink-teal: #1B4B43;
    --teal-deep: #12332D;
    --teal-tint: #DCE9E4;
    --gold: #C89A45;
    --gold-light: #E7CE8C;
    --cream: #FBF4E6;
    --cream-alt: #F3E7CF;
    --plum: #8B5A6F;
    --charcoal: #2B2620;
    --charcoal-soft: #4A423A;
    --line: rgba(43, 38, 32, 0.12);
    --shadow-soft: 0 12px 32px rgba(27, 75, 67, 0.10);
    --radius: 20px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--cream);
    color: var(--charcoal);
    font-family: 'Karla', sans-serif;
    font-size: 17px;
    line-height: 1.6;
  }

  h1, h2, h3, .display {
    font-family: 'Petrona', serif;
    color: var(--ink-teal);
    margin: 0;
    letter-spacing: 0.01em;
  }

  .mono {
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.03em;
  }

  a { color: inherit; }

  .wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
  }

  .eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold);
  }

  /* ===== HEADER ===== */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 244, 230, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    max-width: 1160px;
    margin: 0 auto;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .brand-mark { width: 38px; height: 38px; flex-shrink: 0; }

  .brand-name {
    font-family: 'Petrona', serif;
    font-weight: 600;
    font-size: 1.18rem;
    color: var(--ink-teal);
    line-height: 1.1;
  }

  .brand-name span {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 2px;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
  }

  nav a { text-decoration: none; color: var(--charcoal-soft); }
  nav a:hover { color: var(--ink-teal); }

  .nav-cta {
    background: var(--ink-teal);
    color: var(--cream) !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 60px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(560px 420px at 82% 18%, rgba(200, 154, 69, 0.20), transparent 65%),
      radial-gradient(480px 380px at 10% 90%, rgba(139, 90, 111, 0.12), transparent 60%);
    pointer-events: none;
  }

  .hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
  }

  .hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.12;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .hero p.lede {
    font-size: 1.12rem;
    color: var(--charcoal-soft);
    max-width: 46ch;
    margin: 22px 0 30px;
  }

  .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .btn:hover { transform: translateY(-2px); }

  .btn-primary {
    background: var(--ink-teal);
    color: var(--cream);
    box-shadow: var(--shadow-soft);
  }

  .btn-ghost {
    border-color: var(--ink-teal);
    color: var(--ink-teal);
  }

  /* coin medallion */
  .medallion-wrap {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .medallion { width: min(340px, 80%); animation: coinFloat 7s ease-in-out infinite; }

  @keyframes coinFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1.2deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    .medallion { animation: none; }
  }

  /* ===== TRUST STRIP ===== */
  .trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--cream-alt);
  }

  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 0;
  }

  @media (max-width: 820px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--charcoal-soft);
  }

  .trust-item svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--gold); }

  /* ===== GUILLOCHE DIVIDER ===== */
  .guilloche {
    width: 100%;
    height: 34px;
    display: block;
  }

  /* ===== SECTIONS ===== */
  section { padding: 84px 0; }

  .section-head {
    max-width: 620px;
    margin-bottom: 46px;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
  }

  .section-head p {
    color: var(--charcoal-soft);
    margin-top: 14px;
    font-size: 1.02rem;
  }

  /* ===== ABOUT ===== */
  .about {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
  }

  @media (max-width: 860px) {
    .about { grid-template-columns: 1fr; }
  }

  .about-frame {
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--teal-tint), var(--cream-alt));
    padding: 40px;
    position: relative;
    overflow: hidden;
  }

  .about-frame svg { width: 100%; height: auto; }

  .about-copy p { color: var(--charcoal-soft); margin-bottom: 16px; }

  .about-copy p:first-of-type {
    font-family: 'Petrona', serif;
    font-size: 1.28rem;
    color: var(--ink-teal);
    font-style: italic;
  }

  /* ===== CATEGORIES (coin flip) ===== */
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  @media (max-width: 900px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .cat-grid { grid-template-columns: 1fr; }
  }

  .coin-card {
    perspective: 1200px;
    height: 240px;
  }

  .coin-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
  }

  .coin-card:hover .coin-inner,
  .coin-card:focus-within .coin-inner { transform: rotateY(180deg); }

  .coin-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
  }

  .coin-front {
    background: linear-gradient(155deg, #ffffff, var(--cream-alt));
    border: 1px solid var(--line);
  }

  .coin-back {
    background: var(--ink-teal);
    color: var(--cream);
    transform: rotateY(180deg);
  }

  .coin-face svg { width: 40px; height: 40px; color: var(--gold); }
  .coin-front h3 { font-size: 1.18rem; }
  .coin-back h3 { color: var(--gold-light); font-size: 1.05rem; }
  .coin-back p { font-size: 0.92rem; opacity: 0.9; margin: 10px 0 0; }
  .coin-tag { font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }

  /* ===== SELL TO US (dark section) ===== */
  .sell {
    background: var(--teal-deep);
    color: var(--cream);
    position: relative;
  }

  .sell .section-head h2 { color: var(--cream); }
  .sell .section-head p { color: rgba(251, 244, 230, 0.75); }
  .sell .eyebrow { color: var(--gold-light); }
  .sell .eyebrow::before { background: var(--gold-light); }

  .flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }

  @media (max-width: 860px) {
    .flow { grid-template-columns: 1fr; gap: 28px; }
  }

  .flow-step {
    position: relative;
    padding: 0 20px;
    text-align: center;
  }

  .flow-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(231, 206, 140, 0.12);
    border: 1.5px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flow-icon svg { width: 30px; height: 30px; color: var(--gold-light); }
  .flow-step h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 8px; }
  .flow-step p { font-size: 0.9rem; color: rgba(251, 244, 230, 0.72); }

  /* ===== VISIT ===== */
  .visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
  }

  @media (max-width: 860px) {
    .visit-grid { grid-template-columns: 1fr; }
  }

  .visit-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow-soft);
  }

  .visit-row {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .visit-row:last-child { border-bottom: none; }
  .visit-row svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
  .visit-row h4 { margin: 0 0 4px; font-family: 'Petrona', serif; color: var(--ink-teal); font-size: 1.02rem; }
  .visit-row p { margin: 0; color: var(--charcoal-soft); font-size: 0.95rem; }

  .hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
  .hours-table td { padding: 3px 0; color: var(--charcoal-soft); }
  .hours-table td:last-child { text-align: right; font-family: 'Space Mono', monospace; font-size: 0.85rem; }
  .hours-table tr.closed td:last-child { color: var(--plum); }

  /* ===== FAQ ===== */
  .faq-list { max-width: 760px; }

  details {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }

  summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Petrona', serif;
    font-size: 1.08rem;
    color: var(--ink-teal);
    font-weight: 600;
  }

  summary::-webkit-details-marker { display: none; }

  .plus {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
  }
  .plus::before, .plus::after {
    content: "";
    position: absolute;
    background: var(--gold);
  }
  .plus::before { width: 11px; height: 1.5px; }
  .plus::after { width: 1.5px; height: 11px; transition: transform 0.2s ease; }
  details[open] .plus::after { transform: scaleY(0); }

  details p {
    margin: 14px 0 0;
    color: var(--charcoal-soft);
    max-width: 62ch;
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--charcoal);
    color: var(--cream-alt);
    padding: 56px 0 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(251, 244, 230, 0.14);
  }

  @media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; }
  }

  footer h4 {
    font-family: 'Space Mono', monospace;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
  }

  footer p, footer a {
    color: rgba(251, 244, 230, 0.75);
    text-decoration: none;
    font-size: 0.94rem;
    line-height: 1.9;
  }

  footer a:hover { color: var(--cream); }

  .foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .foot-brand svg { width: 34px; height: 34px; }
  .foot-brand span { font-family: 'Petrona', serif; font-size: 1.15rem; color: var(--cream); }

  .foot-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(251, 244, 230, 0.5);
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--ink-teal);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-toggle svg { width: 20px; height: 20px; color: var(--ink-teal); }

  @media (max-width: 780px) {
    nav ul { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 28px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    padding: 12px 4px;
    text-decoration: none;
    color: var(--charcoal-soft);
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a[aria-current="page"] { color: var(--ink-teal); }

  nav a[aria-current="page"] { color: var(--ink-teal); }
  nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 4px; border-radius: 2px; }

  /* ===== BREADCRUMB ===== */
  .breadcrumb {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--charcoal-soft);
    padding: 22px 0 0;
  }
  .breadcrumb a { color: var(--charcoal-soft); text-decoration: none; }
  .breadcrumb a:hover { color: var(--ink-teal); }
  .breadcrumb span { color: var(--gold); margin: 0 8px; }

  /* ===== SUB-PAGE HERO ===== */
  .page-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 56px;
  }
  .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 340px at 88% 10%, rgba(200, 154, 69, 0.16), transparent 65%);
    pointer-events: none;
  }
  .page-hero-inner { position: relative; max-width: 760px; }
  .page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1.15; }
  .page-hero p.lede { font-size: 1.06rem; color: var(--charcoal-soft); margin-top: 18px; max-width: 58ch; }

  /* ===== CONDITION / INFO GUIDE ===== */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

  .info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 980px) { .info-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .info-grid.cols-4 { grid-template-columns: 1fr; } }

  .info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
  }
  .info-card .num {
    font-family: 'Space Mono', monospace;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
  .info-card h3 { font-size: 1.1rem; margin: 10px 0 8px; }
  .info-card p { color: var(--charcoal-soft); font-size: 0.94rem; margin: 0; }

  /* ===== MAP CARD ===== */
  .map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

  /* ===== SIMPLE CTA BAND ===== */
  .cta-band {
    background: linear-gradient(135deg, var(--ink-teal), var(--teal-deep));
    border-radius: var(--radius);
    padding: 48px;
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  .cta-band h2 { color: var(--cream); font-size: 1.6rem; }
  .cta-band p { color: rgba(251, 244, 230, 0.78); margin-top: 8px; max-width: 42ch; }

  /* ===== HERO PHOTO RING ===== */
  .hero-photo-ring {
    width: min(380px, 82%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 12px;
    margin: 0 auto;
    background: linear-gradient(155deg, var(--gold-light), var(--gold));
    box-shadow: var(--shadow-soft);
    position: relative;
    animation: coinFloat 7s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) { .hero-photo-ring { animation: none; } }

  .hero-photo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 5px solid var(--cream);
  }

  .hero-photo-caption {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    margin-top: 18px;
    opacity: 0.75;
  }

  /* ===== PHOTO CATEGORY CARDS ===== */
  .coin-front.has-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    color: var(--cream);
    overflow: hidden;
  }
  .coin-front.has-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 51, 45, 0.88) 10%, rgba(18, 51, 45, 0.15) 65%);
  }
  .coin-front.has-photo > * { position: relative; z-index: 1; }
  .coin-front.has-photo h3 { color: var(--cream); }
  .coin-front.has-photo .coin-tag { color: var(--gold-light); }
  .coin-front.has-photo svg { display: none; }

  /* ===== FULL WIDTH PHOTO BAND ===== */
  .photo-band {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 51, 45, 0.55), rgba(18, 51, 45, 0.78));
  }
  .photo-band-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 0 28px;
  }
  .photo-band-inner p.quote {
    font-family: 'Petrona', serif;
    font-style: italic;
    color: var(--cream);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.4;
  }
  .photo-band-inner .eyebrow { justify-content: center; color: var(--gold-light); }
  .photo-band-inner .eyebrow::before { background: var(--gold-light); }

  /* ===== INLINE PHOTO FIGURE ===== */
  .photo-figure {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
  }
  .photo-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* ===== MINI GALLERY ===== */
  .mini-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
  }
  @media (max-width: 560px) { .mini-gallery { grid-template-columns: 1fr; } }
  .mini-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .mini-gallery img { width: 100%; height: 170px; object-fit: cover; display: block; }
  .mini-gallery figcaption {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--charcoal-soft);
    padding: 10px 12px;
    background: #fff;
  }

  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  .skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: var(--ink-teal);
    color: var(--cream);
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    z-index: 100;
    font-weight: 700;
    text-decoration: none;
  }

  .skip-link:focus {
    left: 0;
    top: 0;
  }
