/* Heritage Cheese Co. — colors taken from the engraved logo */
:root {
  --paper: #fbf6ea;
  --paper-2: #f4ead3;
  --card: #fffdf7;
  --ink: #3a2a1d;
  --ink-2: #6b5643;
  --brown: #4a3424;
  --brown-deep: #2c1f15;
  --gold: #d99a2b;
  --gold-2: #f0c35c;
  --gold-soft: #f7e3ad;
  --line: #e6d9bd;
  --ok: #2f6b45;
  --err: #93321b;
  --radius: 10px;
  --wrap: 1180px;
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brown); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--brown-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--brown-deep); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.wrap.narrow { margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.lede { font-size: 1.18rem; color: var(--ink-2); }
.eyebrow { display: inline-block; font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ornament { display: block; width: 120px; height: 12px; margin: 18px auto 26px; background:
  linear-gradient(var(--gold), var(--gold)) left center / 44px 1px no-repeat,
  linear-gradient(var(--gold), var(--gold)) right center / 44px 1px no-repeat,
  radial-gradient(circle, var(--gold) 3px, transparent 3.5px) center / 12px 12px no-repeat; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tint { background: var(--paper-2); }
.section.dark { background: var(--brown-deep); color: #eadfc8; }
.section.dark h2, .section.dark h3 { color: #fbf3df; }
.section.dark a { color: var(--gold-2); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--brown);
  background: var(--brown); color: #fff8e8; font: 800 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: .15s; }
.btn:hover { background: var(--brown-deep); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--brown-deep); }
.btn.gold:hover { background: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: #fff8e8; }
.btn.light { background: transparent; border-color: #f2e6cb; color: #fbf3df; }
.btn.light:hover { background: #fbf3df; color: var(--brown-deep); }
.btn.small { padding: 9px 16px; font-size: .74rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header */
.announce { background: var(--brown-deep); color: #f1e3c2; text-align: center; font-size: .84rem; padding: 8px 16px; letter-spacing: .02em; }
.announce a { color: var(--gold-2); }
.admin-bar { background: var(--gold-soft); text-align: center; font-size: .85rem; padding: 6px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand .word { height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; padding: 8px 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; border-radius: 6px; }
.nav a:hover, .nav a.on { color: var(--brown-deep); background: var(--paper-2); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-link .count { background: var(--gold); color: var(--brown-deep); border-radius: 99px; font-size: .72rem; font-weight: 800; padding: 1px 7px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--brown); padding: 8px; cursor: pointer; }

/* Breadcrumbs */
.crumbs { font-size: .82rem; color: var(--ink-2); padding-top: 22px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; color: var(--gold); }

/* Home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #fffaf0 0%, var(--paper) 55%, var(--paper-2) 100%); text-align: center; padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.hero .logo { width: min(520px, 86vw); height: auto; margin: 0 auto; }
.hero .formerly { display: inline-block; margin-top: 10px; font: 600 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22ch; margin: 28px auto 12px; }
.hero p { max-width: 58ch; margin: 0 auto; color: var(--ink-2); font-size: 1.12rem; }
.hero .actions { justify-content: center; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; font-size: .84rem; color: var(--ink-2); }
.badges b { display: block; font: 700 1.6rem/1 var(--serif); color: var(--brown-deep); margin-bottom: 4px; }

/* Feature trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.trio > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.trio .num { font: 700 2.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 10px; }
.trio h3 { margin-bottom: 8px; }
.trio p { margin: 0; color: var(--ink-2); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(58, 42, 29, .45); }
.card .img { position: relative; aspect-ratio: 4/3; background: var(--paper-2); display: block; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .img img.ph, .ph-img { object-fit: contain !important; padding: 18% 14%; background: radial-gradient(circle at 50% 60%, #fff8e6, var(--paper-2)); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--brown-deep); color: var(--gold-2); font: 800 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.badge.out { background: #8c8378; color: #fff; left: auto; right: 12px; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--ink-2); font-size: .93rem; margin-bottom: 14px; }
.card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font: 700 1.15rem/1 var(--serif); color: var(--brown-deep); }
.size { font-size: .8rem; color: var(--ink-2); }
.maker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.card form { position: relative; z-index: 2; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.cat-tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .86rem; color: var(--ink); background: var(--card); }
.cat-tabs a.on, .cat-tabs a:hover { background: var(--brown); border-color: var(--brown); color: #fff8e8; }

/* Product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 24px; }
.product .gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); border: 1px solid var(--line); }
.product .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.product .thumbs img { aspect-ratio: 1; border-radius: 6px; }
.product .tag { font-size: 1.15rem; color: var(--ink-2); }
.buy { display: flex; gap: 10px; align-items: stretch; margin: 22px 0; flex-wrap: wrap; }
.qty { width: 84px; padding: 10px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; text-align: center; background: var(--card); }
.facts-list { list-style: none; padding: 0; margin: 22px 0; border-top: 1px solid var(--line); }
.facts-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: .93rem; }
.facts-list li span:first-child { color: var(--ink-2); }

/* Prose (markdown) */
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.8em; font-size: 1.45rem; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: italic 1.25rem/1.5 var(--serif); color: var(--brown); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }

.article-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 18px; }
.toc b { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--brown-deep); }

/* Page title */
.page-title { padding: clamp(40px, 6vw, 72px) 0 24px; text-align: center; }
.page-title .lede { max-width: 60ch; margin: 0 auto; }

/* Split + art */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.art-panel { aspect-ratio: 5/4; border-radius: var(--radius); background: radial-gradient(circle at 50% 55%, #fff6dc, var(--paper-2) 70%); border: 1px solid var(--line); display: grid; place-items: center; padding: 10%; }
.art-panel img { width: 100%; height: auto; }
.cave-panel { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); background: linear-gradient(180deg, #3b2a1d, #22170f); color: #eadfc8; position: relative; overflow: hidden; }
.cave-panel .depth { font: 700 clamp(3.4rem, 8vw, 5.4rem)/1 var(--serif); color: var(--gold-2); }
.cave-panel .depth small { font-size: .32em; letter-spacing: .1em; display: block; color: #d8c8a6; margin-top: 8px; text-transform: uppercase; font-family: var(--sans); font-weight: 700; }
.cave-panel ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cave-panel li { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.cave-panel li b { color: var(--gold-2); font: 700 1.2rem/1 var(--serif); min-width: 72px; }

/* Awards */
.awards ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.awards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 66px; position: relative; font-size: .95rem; }
.awards li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold) 60%, #a86e14); box-shadow: 0 0 0 3px var(--gold-soft); }
.section.dark .awards li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; margin-top: 32px; }
.member { text-align: center; }
.member .photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 16px; }
.member .role { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.member p { font-size: .95rem; color: var(--ink-2); text-align: left; }
.member .fav { font-size: .88rem; font-style: italic; color: var(--brown); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--ink-2); }

/* Hangouts */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 22px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.place .img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.place .body { padding: 20px 22px; }
.place h3 { margin-bottom: 4px; }
.place .dist { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.place p { font-size: .95rem; color: var(--ink-2); margin: 8px 0 12px; }
.place-links { display: flex; gap: 18px; font-size: .88rem; font-weight: 700; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 30px; }
.post-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card .img { aspect-ratio: 16/10; background: radial-gradient(circle at 50% 60%, #fff8e6, var(--paper-2)); display: grid; place-items: center; }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .img img.ph { width: 46%; height: auto; object-fit: contain; }
.post-card h3, .post-card p, .post-card .date { padding: 0 22px; }
.post-card h3 { margin-top: 18px; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .date { display: block; padding-bottom: 20px; font-size: .8rem; color: var(--ink-2); }
.date { font-size: .86rem; color: var(--ink-2); }
.post-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); margin: 28px 0; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }

/* Forms, cart, checkout */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-size: 1rem; background: var(--card); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.alert.ok { background: #e2efe6; color: var(--ok); }
.alert.error { background: #f8e2d8; color: var(--err); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.cart-table .thumb.ph { object-fit: contain; padding: 10px; }
.cart-table .qty { width: 70px; }
.linkish { background: none; border: 0; color: var(--err); font: inherit; font-size: .85rem; cursor: pointer; padding: 0; text-decoration: underline; }
.sum { display: grid; gap: 8px; margin: 18px 0; }
.sum div { display: flex; justify-content: space-between; }
.sum .grand { font: 700 1.3rem/1.2 var(--serif); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.choice label { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; background: var(--card); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); font-weight: 600; }
.choice label b { display: block; font-size: 1.02rem; }
.choice label small { color: var(--ink-2); font-weight: 400; }
.choice input { margin-right: 6px; }
.choice label:has(input:checked) { border-color: var(--gold); background: #fff8e6; box-shadow: 0 0 0 2px var(--gold-soft); }
.choice label:has(input:disabled) { opacity: .5; cursor: not-allowed; }

/* Visit block */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.visit .hours { white-space: pre-line; }
.map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); background: var(--paper-2); }

/* Footer */
.site-footer { background: var(--brown-deep); color: #d9cbb0; padding: 64px 0 28px; font-size: .93rem; }
.site-footer a { color: #f1e3c2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--gold-2); font: 800 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #b5a487; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .site-header .wrap { position: relative; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}
@media (max-width: 960px) {
  .product, .split, .checkout-grid, .visit, .article-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .toc { position: static; }
  .trio { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 44px; }
  .brand .word { display: none; }
  .row2, .row3, .choice { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cart-table .thumb { width: 54px; height: 54px; }
}

/* ===== Photo-led layout ===== */
.photo-hero { position: relative; min-height: min(92vh, 820px); display: grid; align-items: end; color: #fbf3df; overflow: hidden; background: var(--brown-deep); }
.photo-hero > img.bg, .page-hero > img.bg, .band-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,18,10,.25) 0%, rgba(28,18,10,.35) 40%, rgba(28,18,10,.88) 100%); }
.photo-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: clamp(48px, 8vw, 96px); }
.photo-hero .logo-light { width: min(340px, 70vw); height: auto; margin-bottom: 18px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); }
.photo-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 17ch; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.photo-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: #f1e6cc; }
.photo-hero .formerly { color: var(--gold-2); font: 800 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.photo-hero .ribbon { position: absolute; right: clamp(16px, 5vw, 64px); bottom: clamp(40px, 8vw, 96px); width: clamp(90px, 11vw, 150px); z-index: 1; transform: rotate(8deg); filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.stats { background: var(--gold); color: var(--brown-deep); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.stats b { display: block; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--serif); }
.stats span { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }

.page-hero { position: relative; min-height: clamp(300px, 46vh, 460px); display: grid; align-items: end; overflow: hidden; background: var(--brown-deep); color: #fbf3df; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,18,10,.15), rgba(28,18,10,.82)); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(28px, 5vw, 56px); padding-top: 60px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; max-width: 20ch; }
.page-hero .lede { color: #efe2c4; max-width: 60ch; margin: 0; }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero + .crumbs-wrap, .page-hero ~ .crumbs { display: none; }

.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.cat-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; text-decoration: none; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28,18,10,.85)); }
.cat-tile span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font: 700 1.3rem/1.2 var(--serif); }
.cat-tile small { display: block; font: 700 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }

.cave-feature { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 560px; background: var(--brown-deep); color: #eadfc8; }
.cave-feature .pic { position: relative; min-height: 360px; }
.cave-feature .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cave-feature .pic .tag { position: absolute; left: 24px; bottom: 24px; background: rgba(28,18,10,.75); color: var(--gold-2); padding: 14px 18px; border-radius: 8px; font: 700 2.4rem/1 var(--serif); backdrop-filter: blur(4px); }
.cave-feature .pic .tag small { display: block; font: 800 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #eadfc8; margin-top: 6px; }
.cave-feature .txt { padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.cave-feature h2 { color: #fbf3df; }
.cave-feature ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.cave-feature li { display: flex; gap: 14px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.cave-feature li b { color: var(--gold-2); font: 700 1.25rem/1 var(--serif); min-width: 80px; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; margin-top: 34px; }
.mosaic a, .mosaic figure { margin: 0; border-radius: 8px; overflow: hidden; position: relative; display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(28,18,10,.72); color: #fbf3df; font-size: .78rem; font-weight: 700; padding: 5px 9px; border-radius: 5px; }

.band-photo { position: relative; overflow: hidden; color: #fbf3df; background: var(--brown-deep); }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,18,10,.9) 0%, rgba(28,18,10,.65) 45%, rgba(28,18,10,.1) 100%); }
.band-photo .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.band-photo h2 { color: #fff; max-width: 16ch; }
.band-photo p { max-width: 46ch; color: #efe2c4; font-size: 1.1rem; }

.awards-row { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.awards-row .ribbon-img { width: 170px; transform: rotate(-6deg); filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }

.visit-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.visit-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); min-height: 220px; }
.visit-photos img:first-child { grid-row: span 2; }

.prose img { width: 100%; border-radius: var(--radius); }
.prose p:has(> img) { margin: 1.8em 0; }
.article-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 8px; }
.article-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

.classes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.classes .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.classes .pics img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
.classes .pics img:nth-child(2) { margin-top: 40px; }

.card .img img { transition: transform .5s; }
.card:hover .img img:not(.ph) { transform: scale(1.05); }
.card .img { overflow: hidden; }

@media (max-width: 960px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .cave-feature, .classes { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .awards-row { grid-template-columns: 1fr; text-align: center; }
  .awards-row .ribbon-img { margin: 0 auto; width: 130px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .photo-hero .ribbon { top: 90px; bottom: auto; }
}
@media (max-width: 560px) {
  .visit-photos { grid-template-columns: 1fr; }
  .visit-photos img:first-child { grid-row: auto; }
  .article-strip { grid-template-columns: 1fr 1fr; }
  .article-strip img:nth-child(3) { display: none; }
  .photo-hero .ribbon { width: 74px; }
}

/* "Online ordering coming soon" sign-up */
.notify { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); margin: 8px 0 24px; }
.notify h3 { font-size: 1.45rem; margin-bottom: 8px; }
.notify p { color: var(--ink-2); margin-bottom: 8px; }
.notify .eyebrow { margin-bottom: 8px; }
.notify form { display: flex; gap: 10px; flex-wrap: wrap; }
.notify form input[type=email] { flex: 1 1 220px; }
.notify form .alert { flex-basis: 100%; margin: 0; }
.notify .alert.ok { margin: 0; }
.notify.dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); border-left-color: var(--gold); }
.product .notify { grid-template-columns: 1fr; gap: 14px; }
.more-link { font-size: .82rem; font-weight: 800; color: var(--brown); letter-spacing: .04em; }
@media (max-width: 760px) { .notify { grid-template-columns: 1fr; } }

/* "Order by phone, we ship" box */
.order-phone { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--brown-deep); color: #eadfc8; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.order-phone .op-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--brown-deep); }
.order-phone h3 { color: #fbf3df; font-size: 1.6rem; margin-bottom: 6px; }
.order-phone p { margin: 0; color: #e4d6b8; max-width: 62ch; }
.order-phone .eyebrow { color: var(--gold-2); margin-bottom: 8px; }
.order-phone .op-cta { display: grid; gap: 8px; justify-items: center; text-align: center; }
.order-phone .op-cta .btn { background: var(--gold); border-color: var(--gold); color: var(--brown-deep); font-size: .9rem; padding: 15px 26px; }
.order-phone .op-cta .muted { color: #cbb995; }
.product .order-phone { grid-template-columns: 1fr; text-align: left; margin: 18px 0; }
.product .order-phone .op-icon { display: none; }
.product .order-phone .op-cta { justify-items: start; text-align: left; }
.nav .nav-call { background: var(--brown); color: #fff8e8 !important; border-radius: 999px; padding: 8px 14px; margin-left: 6px; }
.nav .nav-call:hover { background: var(--brown-deep); }
@media (max-width: 760px) { .order-phone { grid-template-columns: 1fr; text-align: left; } .order-phone .op-cta { justify-items: start; text-align: left; } }
.call-price { font-weight: 800; color: var(--brown-deep); font-size: .9rem; }
.call-price a { color: inherit; }

.awards h3 { font-size: 1.15rem; margin: 26px 0 14px; color: var(--gold-2); }
.awards h3:first-child { margin-top: 0; }
.section:not(.dark) .awards h3 { color: var(--brown-deep); }
