/* ============================================================
   OUR LADY OF HOPE ENTERPRISE — Design System
   Premium Ghanaian herbal brand aesthetic
   ============================================================ */

:root {
  --ivory: #f4efe6;
  --cream: #faf7f0;
  --paper: #fffcf7;
  --sand: #e9dfd0;
  --ink: #241c14;
  --ink-soft: #4a4036;
  --muted: #6f6558;            /* AA on cream & white (5.3:1) */
  --gold-text: #8a6a20;        /* AA gold for text on light bg (4.7:1) */
  --bark: #3d2f22;
  --coffee: #58422e;
  --gold: #a3812f;
  --gold-soft: #c8a558;
  --gold-pale: #ead9b5;
  --leaf-deep: #3c4a34;
  --clay: #b0714b;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(36, 28, 20, .06);
  --shadow-md: 0 14px 40px rgba(36, 28, 20, .10);
  --shadow-lg: 0 24px 70px rgba(36, 28, 20, .16);
  --radius: 4px;
  --radius-lg: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; touch-action: manipulation; }
a { cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--ink); }

/* Visible keyboard focus everywhere (never removed without replacement) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.chip:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.main-nav.open :focus-visible {
  outline-color: var(--gold-soft);
}

.container { width: min(1180px, 92%); margin-inline: auto; }
.center { text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .6rem 1.2rem; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--gold-pale); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: .01em; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .5em; }
.h3 { font-size: 1.5rem; }
.h2-light { color: var(--cream); }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.lead-light { color: rgba(250, 247, 240, .8); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--gold-soft); } /* AA on bark (5.5:1) */
em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95rem 2.1rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--coffee); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(36, 28, 20, .3); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(36, 28, 20, .04); }
.btn-outline-light { border-color: rgba(250, 247, 240, .5); color: var(--cream); background: transparent; }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(250, 247, 240, .1); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #8d6f26; box-shadow: 0 12px 30px rgba(163, 129, 47, .35); }
.btn-sm { padding: .65rem 1.5rem; font-size: .74rem; }
.btn-whatsapp { background: #1f9d55; color: #fff; }
.btn-whatsapp:hover { background: #188247; box-shadow: 0 12px 30px rgba(31, 157, 85, .3); }
.btn-danger { background: #9c3a2e; color: #fff; }
.btn-danger:hover { background: #833025; }

.text-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  color: var(--coffee); border-bottom: 1px solid var(--gold-soft); padding-bottom: .35em;
  transition: color .3s, gap .3s var(--ease);
}
.text-cta:hover { color: var(--gold); gap: .9em; }
.text-link { color: var(--coffee); border-bottom: 1px solid var(--gold-soft); }
.text-link:hover { color: var(--gold); }
.small-note { font-size: .88rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 247, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 28, 20, .08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 252, 247, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark { color: var(--gold); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; }
.brand-text small { font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; gap: 2rem; }
.nav-link {
  position: relative; font-size: .8rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); padding: .4rem 0; transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 1px solid rgba(36, 28, 20, .2);
  border-radius: 50%; padding: 0 10px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); animation: heroDrift 22s var(--ease) infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(29, 22, 15, .88) 8%, rgba(36, 27, 18, .55) 48%, rgba(29, 22, 15, .35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 7rem 0; max-width: 780px; }
.hero-title { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 500; margin-bottom: 1.2rem; }
.hero-title em { color: var(--gold-soft); }
.hero-lede { font-size: 1.2rem; max-width: 34em; color: rgba(250, 247, 240, .88); margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.4rem; }
.hero-badges {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(250, 247, 240, .75);
}
.hero-badges i { width: 22px; height: 1px; background: var(--gold-soft); opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--bark); color: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-dark .section-head p:not(.eyebrow) { color: rgba(250, 247, 240, .65); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }

/* intro */
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.intro-frame {
  position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold-pale); border-radius: var(--radius-lg); z-index: -1;
}
.intro-copy .btn { margin-top: 1.8rem; }
.intro-copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); margin-bottom: 1.1em; max-width: 56ch; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; margin-bottom: 3.5rem; }
.product-card {
  background: var(--white); border: 1px solid rgba(36, 28, 20, .07); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1 / .95; background: var(--sand); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-tags { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .45rem; z-index: 2; }
.tag {
  font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: .32em .9em; border-radius: 999px; backdrop-filter: blur(4px);
}
.tag-featured { background: rgba(255, 252, 247, .92); color: var(--gold-text); border: 1px solid var(--gold-pale); }
.tag-new { background: var(--leaf-deep); color: var(--cream); }
.tag-stock { background: rgba(250, 247, 240, .92); color: var(--ink-soft); }
.product-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-cat { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.product-name { font-size: 1.35rem; }
.product-desc { font-size: .92rem; color: var(--muted); flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--ink-soft); margin-top: .4rem; }
.product-meta .size { letter-spacing: .06em; }
.product-card .btn { margin-top: 1.1rem; width: 100%; }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.category-card {
  position: relative; display: flex; align-items: flex-end; min-height: 300px;
  border-radius: var(--radius-lg); overflow: hidden; padding: 1.8rem;
  background: linear-gradient(150deg, var(--coffee), var(--bark)); color: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 15%, rgba(200, 165, 88, .35), transparent 55%);
  pointer-events: none;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-card h3 { font-size: 1.55rem; position: relative; z-index: 2; }
.category-card p { font-size: .88rem; color: rgba(250, 247, 240, .72); position: relative; z-index: 2; margin-top: .3rem; }
.category-card .category-count {
  position: absolute; top: 1.2rem; right: 1.4rem; z-index: 2;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft);
}
.category-card::before {
  content: "→"; position: absolute; right: 1.6rem; bottom: 1.6rem; z-index: 2;
  font-size: 1.1rem; color: var(--gold-soft); opacity: 0; transform: translateX(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.category-card:hover::before { opacity: 1; transform: translateX(0); }

/* ---------- Features / Why ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.2rem; }
.feature { border-top: 1px solid rgba(250, 247, 240, .18); padding-top: 1.6rem; transition: transform .4s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); display: block; margin-bottom: .8rem; }
.feature h3 { font-size: 1.35rem; color: var(--cream); margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: rgba(250, 247, 240, .68); }
.feature-light { border-top-color: rgba(36, 28, 20, .14); }
.feature-light h3 { color: var(--ink); }
.feature-light p { color: var(--muted); }
.feature-light .feature-num { color: var(--gold); }
.feature-grid-page { margin-top: 1rem; }

/* ---------- Heritage ---------- */
.heritage { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.heritage-visual { display: grid; place-items: center; }
.heritage-panel {
  width: 100%; max-width: 380px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: .8rem;
  background: var(--bark); color: var(--cream); border-radius: 50%;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(200, 165, 88, .35);
  position: relative;
}
.heritage-panel::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(200, 165, 88, .3); border-radius: 50%;
}
.heritage-glyph { color: var(--gold-soft); font-size: 1.4rem; }
.heritage-word { font-family: var(--serif); font-size: 2.6rem; font-style: italic; }
.heritage-note { font-size: .78rem; letter-spacing: .12em; color: rgba(250, 247, 240, .6); max-width: 22ch; }
.heritage-copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 56ch; margin-bottom: 1.1em; }

/* ---------- Showcase ---------- */
.showcase { padding-bottom: 0; }
.showcase-band { max-height: 78vh; overflow: hidden; }
.showcase-band img { width: 100%; height: auto; object-fit: cover; }

/* ---------- Trust ---------- */
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; counter-reset: trust; }
.trust-list li { background: var(--white); border: 1px solid rgba(36, 28, 20, .07); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.trust-list li:hover { transform: translateY(-4px); }
.trust-list h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.trust-list p { font-size: .9rem; color: var(--muted); }
.trust-list.vertical { grid-template-columns: 1fr; gap: 1.2rem; background: rgba(250, 247, 240, .05); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(250, 247, 240, .12); }
.trust-list.vertical li { background: transparent; border: 0; box-shadow: none; padding: .4rem 0; }
.trust-list.vertical h3 { color: var(--cream); }
.trust-list.vertical p { color: rgba(250, 247, 240, .65); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--bark), var(--coffee)); text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: "✦"; position: absolute; font-size: 22rem; color: rgba(200, 165, 88, .07);
  top: -6rem; right: -3rem; pointer-events: none;
}
.cta-lede { color: rgba(250, 247, 240, .75); margin: .8rem auto 2.2rem; max-width: 42ch; }

/* ---------- Page hero ---------- */
.page-hero { padding: 5.5rem 0; border-bottom: 1px solid rgba(36, 28, 20, .07); }
.page-hero .eyebrow { margin-bottom: .8rem; }
.page-lede { color: var(--muted); max-width: 56ch; margin: .6rem auto 0; }

/* ---------- Catalogue ---------- */
.catalogue-toolbar { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; border: 1px solid rgba(36, 28, 20, .18);
  background: transparent; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.search-wrap input {
  width: min(280px, 100%); padding: .65rem 1.2rem; border-radius: 999px;
  border: 1px solid rgba(36, 28, 20, .18); background: var(--white); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(163, 129, 47, .15); }
.catalogue-meta { font-size: .82rem; color: var(--muted); margin-bottom: 1.8rem; letter-spacing: .04em; }
.empty-state { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- Product detail ---------- */
.breadcrumbs { font-size: .8rem; color: var(--muted); margin-bottom: 2.4rem; display: flex; gap: .5em; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--gold); }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.detail-gallery { display: grid; gap: 1rem; }
.detail-gallery .main-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1 / .9; background: var(--sand); }
.detail-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.detail-gallery .main-image:hover img { transform: scale(1.04); }
.gallery-thumbs { display: flex; gap: .8rem; }
.gallery-thumbs button { border: 1px solid rgba(36, 28, 20, .12); border-radius: var(--radius); overflow: hidden; padding: 0; width: 64px; height: 64px; background: var(--sand); transition: border-color .3s; }
.gallery-thumbs button.active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .product-cat { margin-bottom: .6rem; display: block; }
.detail-info .h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.detail-desc { color: var(--ink-soft); margin-bottom: 1.6rem; }
.spec-list { margin: 1.6rem 0; border-top: 1px solid rgba(36, 28, 20, .1); }
.spec-list div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(36, 28, 20, .1); font-size: .92rem; }
.spec-list dt { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); align-self: center; }
.detail-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.availability { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-deep); margin-top: 1.2rem; }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f8f5a; }
.availability.out { color: #9c3a2e; }
.availability.out::before { background: #9c3a2e; }

/* enquiry modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(29, 22, 15, .55); z-index: 300;
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper); border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 2.4rem; position: relative;
  transform: translateY(14px); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: .8rem; right: .8rem; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(36, 28, 20, .15); background: transparent; font-size: 1rem; color: var(--ink-soft);
}
.modal-close:hover { background: rgba(36, 28, 20, .06); }
.modal h2 { margin-bottom: .4rem; }
.modal .small-note { margin-bottom: 1.6rem; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 1.2rem; }
form label { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; }
form .req { color: var(--clay); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  width: 100%; padding: .8rem 1rem; border: 1px solid rgba(36, 28, 20, .18);
  border-radius: var(--radius); background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 129, 47, .18);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #9c3a2e;
  box-shadow: 0 0 0 3px rgba(156, 58, 46, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { margin-top: .9rem; font-size: .88rem; color: var(--leaf-deep); min-height: 1.3em; }
.form-note.error { color: #9c3a2e; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info { display: grid; gap: 1.6rem; }
.info-block { background: var(--cream); border: 1px solid rgba(36, 28, 20, .08); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; }
.info-block h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.info-block a { display: block; padding: .18rem 0; color: var(--ink-soft); transition: color .3s; }
.info-block a:hover { color: var(--gold); }
.hours-table { width: 100%; font-size: .92rem; border-collapse: collapse; }
.hours-table td { padding: .35rem 0; }
.hours-table td:first-child { color: var(--muted); }
.hours-table td:last-child { text-align: right; font-weight: 400; }
.quick-ctas { display: grid; gap: .8rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(36, 28, 20, .08); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-section { margin-top: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--gold-pale), var(--gold), var(--gold-pale)); }
.timeline li { position: relative; padding: 0 0 2.4rem 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -2.5rem; top: .5rem; width: 17px; height: 17px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
  transform: translateX(0); margin-left: .5px;
}
.timeline-era { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.timeline h3 { font-size: 1.4rem; margin: .35rem 0 .5rem; }
.timeline p { color: var(--muted); font-size: .95rem; max-width: 58ch; }
.timeline-placeholder { font-style: italic; }

/* ---------- Vision / mission ---------- */
.vision-mission { background: var(--cream); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card { background: var(--white); border: 1px solid rgba(36, 28, 20, .08); border-radius: var(--radius-lg); padding: 3rem 2.6rem; box-shadow: var(--shadow-sm); }
.vm-card .h2 { font-size: 1.7rem; }
.vm-card p { color: var(--muted); }
.vm-gold { background: var(--bark); border-color: transparent; }
.vm-gold .h2 { color: var(--cream); }
.vm-gold p { color: rgba(250, 247, 240, .7); }

/* ---------- Story intro ---------- */
.story-intro p:not(.eyebrow):not(.h2) { color: var(--ink-soft); margin-bottom: 1.1em; }

/* ---------- Footer ---------- */
.site-footer { background: #1d1710; color: rgba(250, 247, 240, .78); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.2fr;
  gap: 2.5rem; padding: 4.5rem 0 3rem;
}
.footer-name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .08em; color: var(--cream); margin-bottom: .5rem; }
.footer-tag { font-size: .92rem; color: rgba(250, 247, 240, .6); max-width: 30ch; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(250, 247, 240, .22); color: rgba(250, 247, 240, .8);
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.site-footer h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem;
}
.footer-links a { display: block; padding: .22rem 0; font-size: .94rem; transition: color .3s, padding-left .3s var(--ease); }
.footer-links a:hover { color: var(--gold-soft); padding-left: .3em; }
.footer-contact p { font-size: .92rem; margin-bottom: .6rem; }
.footer-contact a { display: block; padding: .14rem 0; font-size: .94rem; transition: color .3s; }
.footer-contact a:hover { color: var(--gold-soft); }
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 180px; background: rgba(250, 247, 240, .07); border-color: rgba(250, 247, 240, .22);
  color: var(--cream);
}
.newsletter-form input::placeholder { color: rgba(250, 247, 240, .45); }
.newsletter-form .form-note { flex-basis: 100%; color: var(--gold-soft); }
.footer-base { border-top: 1px solid rgba(250, 247, 240, .1); padding: 1.4rem 0; font-size: .8rem; color: rgba(250, 247, 240, .5); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal { transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  * { transition-duration: .01s !important; animation-duration: .01s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0; top: 0; padding-top: 6rem; z-index: 90;
    background: rgba(29, 23, 16, .98); backdrop-filter: blur(8px);
    flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.05rem; letter-spacing: .22em; color: var(--cream); }
  .nav-toggle { display: flex; z-index: 95; width: 44px; height: 44px; }
  .gallery-thumbs button { width: 72px; height: 72px; }
  .nav-toggle[aria-expanded="true"] span { background: var(--cream); }
  .header-actions .btn { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero { min-height: 88vh; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spec-list div { grid-template-columns: 1fr; gap: .2rem; }
  .product-grid { grid-template-columns: 1fr; }
  .catalogue-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap input { width: 100%; }
}
