/* ==========================================================================
   Couple Rings Store — style.css
   Elegant, editorial luxury system. Brand gold #EABF68 on charcoal #232323.
   Type: Cormorant Garamond (display) · Cinzel (caps accents) · Jost (body)
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --gold:        #c9a24b;
  --gold-bright: #eabf68;
  --gold-light:  #ead9a6;
  /* Text gold. Measured 4.9:1 on --cream and 5.2:1 on white, so it clears the
     WCAG AA 4.5:1 minimum for normal-size text. The previous #a67c1e only
     reached 3.58:1 on cream and read as washed out against the background. */
  --gold-deep:   #8a6514;
  --gold-grad:   linear-gradient(120deg, #ead9a6 0%, #eabf68 45%, #c9992f 100%);

  --ink:      #232323;
  /* Muted text. Deepened from #5b5b5b (6.5:1) to 8.4:1 on cream — the old value
     passed WCAG but still read faint at small sizes and in the italic serif
     lede, which is a weight/size problem as much as a contrast one. */
  --ink-soft: #4a4a4a;
  --dark:     #17140f;
  --dark-2:   #211d16;

  --cream:   #fbf8f1;
  --cream-2: #f5efe2;
  --line:    #ece6d8;
  --white:   #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-caps:    "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 3px;
  --shadow: 0 18px 50px -24px rgba(35, 28, 12, 0.35);
  --transition: 0.25s ease;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Both spellings required: -webkit- for Safari/iOS, standard for Chrome/Edge.
   (Omitting either is flagged as an error by the CSS validator.) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ink); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

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

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
section { padding-block: var(--section-y); }

.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: 0.6rem; z-index: 200; background: var(--ink); color: #fff;
  padding: 0.6rem 1.1rem; border-radius: var(--radius); transition: transform var(--transition);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); color: #fff; }

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: 0.005em; }
/* Heavier and slightly larger: gold on cream is inherently low-chroma against
   the page, so at 12px/500 with 0.28em tracking it read washed out even at
   4.9:1. Weight does more for legibility here than another colour step. */
.eyebrow {
  font-family: var(--font-caps); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.section-title { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); font-family: var(--font-display); font-style: italic; }
.eyebrow + .section-title, .eyebrow + .page-title, .eyebrow + .hero-title { margin-top: 0; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-caps); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.95rem 1.9rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  line-height: 1;
}
/* min-height keeps the compact look while meeting the 44px touch target
   (guardrail §5) — this class carries the primary "Enquire on WhatsApp" CTA. */
.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.72rem; min-height: 44px; }
.btn-block { width: 100%; }
/* Deeper-gold edge: the gold fill alone is only 1.64:1 against --cream, so on
   the cream hero and CTA band the button silhouette dissolved into the page.
   The border measures 3.05:1 on cream, meeting WCAG 1.4.11 non-text contrast.
   (The label itself was always fine — 6.6:1 to 12:1 on the gradient.) */
.btn-gold { background: var(--gold-grad); color: #241a06; border-color: #b8862f; box-shadow: 0 10px 24px -12px rgba(201, 153, 47, 0.75); }
.btn-gold:hover { color: #241a06; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 153, 47, 0.85); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* --- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92);
  /* -webkit- prefix required for Safari / iOS Safari, otherwise the sticky
     header renders flat there instead of frosted. */
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(0,0,0,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 82px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 60px; }
.brand:hover { color: inherit; }

.primary-nav .nav-list { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); padding: 0; }
.nav-link {
  font-family: var(--font-caps); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); position: relative; padding-block: 0.4rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-link:hover, .nav-link.is-current { color: var(--gold-deep); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-cta-item .btn { color: #241a06; }

/* 44x44 hit area — this is the only way to open navigation on mobile.
   The bars keep their size; only the tappable box grows. */
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: none; border: 0; padding: 0.5rem;
  min-width: 44px; min-height: 44px;
}
.nav-toggle-bar { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 82% 20%, rgba(234, 191, 104, 0.28), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; }
.hero-title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 1.4rem; max-width: 34ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center-actions { justify-content: center; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin-top: 2.4rem; }
.hero-badges li {
  font-family: var(--font-caps); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); position: relative; padding-left: 1.4rem;
}
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0.85rem; height: 0.85rem;
  transform: translateY(-50%); border: 2px solid var(--gold); border-radius: 50%;
}

.hero-emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-emblem img { width: 46%; filter: drop-shadow(0 12px 26px rgba(180, 130, 30, 0.35)); }
.emblem-ring { position: absolute; inset: 8%; border: 2px solid var(--gold-light); border-radius: 50%; }
.emblem-ring-2 { inset: 20%; border-color: var(--gold-bright); border-style: dashed; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Statement ------------------------------------------------------------ */
.statement { background: var(--white); }
.statement .lede { margin-top: 1.2rem; }

/* --- Section head variant ------------------------------------------------- */
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* --- Categories ----------------------------------------------------------- */
.categories { background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.6rem; }
/* Left-aligned so the section has a scan line instead of a centred block —
   the hero, brand statement and closing CTA keep centring for emphasis. */
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
/* Real product photography instead of a geometric icon in a gold circle —
   this is a jeweller, the product is the strongest asset on the page. */
.cat-media { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-body { padding: 1.6rem 1.8rem 2rem; }
.cat-name { font-size: 1.5rem; margin-bottom: 0.6rem; }
.cat-desc { color: var(--ink-soft); font-size: 0.98rem; }
.cat-note { margin-top: 2.2rem; color: var(--ink-soft); }

/* --- Certifications: horizontal trust strip ------------------------------- */
/* Deliberately not a card grid. The homepage already has one 3-column grid
   (categories); a second one directly below it reads as a template. */
.certs-strip { background: var(--white); }
.strip-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.strip-head .lede { margin-top: 1rem; }
.trust-strip {
  list-style: none; margin: 0; padding: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.6rem, 5vw, 4rem); border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-item img { height: 46px; width: auto; }
.trust-name {
  font-family: var(--font-caps); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.trust-link { margin-top: clamp(1.4rem, 3vw, 2rem); color: var(--ink-soft); font-size: 0.95rem; }

/* --- Reviews -------------------------------------------------------------- */
.reviews { background: var(--cream-2); }
.rating { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.stars { color: var(--gold); letter-spacing: 0.15em; font-size: 1.3rem; }
.rating-num { font-family: var(--font-caps); font-weight: 600; color: var(--ink); }
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.85rem); color: var(--ink); margin-top: 1.2rem; line-height: 1.4; }

/* --- CTA band ------------------------------------------------------------- */
/* Cream, sitting directly above the dark footer — maximum separation between
   the two, and the closing CTA reads as a light moment rather than more dark.
   Text is ink (not the old light-on-dark), otherwise it would be invisible. */
.cta-band { background: var(--cream); color: var(--ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(234,191,104,0.22), transparent 62%); }
.cta-band > .wrap { position: relative; }
.cta-title { color: var(--ink); font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.cta-lede { color: var(--ink-soft); margin-top: 0.8rem; margin-bottom: 2rem; font-size: 1.1rem; }

/* --- Page hero ------------------------------------------------------------ */
.page-hero { background: var(--cream); padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero .lede { margin-top: 1.1rem; }
.error-hero { padding-block: clamp(4rem, 10vw, 8rem); }
.breadcrumb { font-family: var(--font-caps); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* --- Story ---------------------------------------------------------------- */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.story-emblem { aspect-ratio: 1; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 50%; position: relative; }
.story-emblem::before { content: ""; position: absolute; inset: 14px; border: 2px dashed var(--gold-light); border-radius: 50%; }
.story-emblem img { width: 52%; position: relative; }
.story-copy p { margin-top: 1.1rem; color: var(--ink-soft); }
.story-copy p:first-of-type { margin-top: 1.4rem; }
.signature { font-family: var(--font-display); font-style: italic; color: var(--gold-deep) !important; font-size: 1.15rem; }

/* --- Values --------------------------------------------------------------- */
.values { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.value-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 2.2rem; }
.value-head { font-size: 1.6rem; margin-bottom: 0.8rem; }
.value-card p { color: var(--ink-soft); }

/* --- Stats ---------------------------------------------------------------- */
.stats { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-family: var(--font-caps); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.72); }

/* --- Contact -------------------------------------------------------------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-sub { font-size: 1.7rem; margin-bottom: 1.5rem; }
.contact-details { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); }
.detail { padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail-label { display: block; font-family: var(--font-caps); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.3rem; }
.detail address { font-style: normal; color: var(--ink); }
.detail-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid currentColor; }

/* Form */
.contact-form-wrap { }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-family: var(--font-caps); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.req { color: var(--gold-deep); }
.opt { color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.85em; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(234,191,104,0.28); }
.field textarea { resize: vertical; min-height: 130px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.4rem; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: 0.96rem; }
.alert-success { background: #eaf6ec; border: 1px solid #b6ddbe; color: #1c5b2a; }
.alert-error { background: #fbeae9; border: 1px solid #e6b7b3; color: #8f231c; }

/* --- Footer --------------------------------------------------------------- */
/* Gold hairline marks where the closing CTA ends and the footer begins —
   both share --dark, so without it the two read as one block. */
.site-footer { background: var(--dark); color: #d9d2c4; border-top: 1px solid rgba(234, 191, 104, 0.22); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-logo { width: 76px; height: 76px; margin-bottom: 1rem; }
.footer-tagline { font-family: var(--font-caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); font-size: 0.8rem; margin-bottom: 0.8rem; }
.footer-desc { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 30ch; }
.footer-head { font-family: var(--font-caps); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 500; }
.footer-links, .footer-contact, .footer-certs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-bright); }
.footer-address { font-style: normal; font-size: 0.92rem; color: rgba(255,255,255,0.72); margin-bottom: 0.8rem; }
.footer-hours { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-certs { flex-direction: row; gap: 0.6rem; margin-top: 1.2rem; }
.footer-certs li { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(234,191,104,0.5); border-radius: 50%; font-family: var(--font-caps); font-size: 0.78rem; color: var(--gold-bright); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1.4rem; padding-block: 1.4rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-credit a { color: var(--gold-bright); border-bottom: 1px solid rgba(234,191,104,0.35); }
.footer-credit a:hover { color: #fff; border-bottom-color: #fff; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); clip-path: inset(0 0 100% 0); pointer-events: none;
    /* visibility (not just clip-path) removes the closed menu from the tab
       order and the accessibility tree — otherwise keyboard users tab through
       invisible links and screen readers announce them while it is closed. */
    visibility: hidden;
    transition: clip-path var(--transition), visibility 0s linear var(--transition);
  }
  .primary-nav.open {
    clip-path: inset(0 0 0 0); pointer-events: auto; visibility: visible;
    transition: clip-path var(--transition), visibility 0s;
  }
  .primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.4rem; }
  .primary-nav .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-cta-item { border-bottom: 0 !important; margin-top: 1rem; }
  .nav-cta-item .btn { width: 100%; }
  .nav-link { display: block; padding: 1rem 0; }
  .nav-link::after { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-emblem { order: -1; max-width: 280px; margin-inline: auto; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 300px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Additions: utility bar, larger logo, detailed certs, Instagram, reviews, map
   ========================================================================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Utility bar + larger logo ------------------------------------------- */
.utility-bar { background: var(--dark); color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.utility-hours { color: rgba(255,255,255,0.72); }
.u-ico { color: var(--gold-bright); }
.utility-links { list-style: none; display: flex; gap: 1.4rem; padding: 0; align-items: center; }
.utility-links a { color: rgba(255,255,255,0.85); }
.utility-links a:hover { color: var(--gold-bright); }
.utility-rating { color: var(--gold-bright); font-family: var(--font-caps); letter-spacing: 0.05em; }
.u-star { color: var(--gold-bright); }

.brand-logo { height: 72px; }
.header-inner { min-height: 92px; }

/* --- Detailed certifications (About) ------------------------------------- */
.certs-detail { background: var(--white); }
.certs-detail .lede { margin-top: 1rem; }
.cert-rows { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.cert-row {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center; padding: clamp(1.8rem, 4vw, 2.8rem) 0; border-bottom: 1px solid var(--line);
}
.cert-row:last-child { border-bottom: 0; }
.cert-logo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: grid; place-items: center; min-height: 168px;
}
.cert-logo img { max-height: 120px; width: auto; }
.cert-row:nth-child(even) .cert-logo { order: 2; }
.cert-row-name { font-size: 1.7rem; margin-bottom: 0.9rem; }
.cert-body p { color: var(--ink-soft); margin-top: 0.8rem; }
.cert-body p:first-of-type { margin-top: 0; }

/* --- Reviews (Google) ---------------------------------------------------- */
.rating-lockup { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; margin: 1.3rem 0 0.6rem; }
.starbar { position: relative; display: inline-block; font-size: 1.55rem; line-height: 1; letter-spacing: 3px; }
/* Filled stars darkened to clear the 3:1 large-text minimum (was 2.4:1 with
   --gold). The unfilled track is decorative — the parent .starbar carries
   role="img" + aria-label and the numeric "4.6 / 5" states the value. */
/* Filled stars at 3.7:1 (clears the 3:1 large-text minimum). The unfilled track
   is deliberately lighter — if both were equally dark you could not read the
   rating. It is decorative: .starbar carries role="img" + aria-label and the
   numeric "4.6 / 5" sits directly beside it. */
.starbar-base { color: #c9b992; }
.starbar-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #a87d29; }
.rating-num { font-family: var(--font-caps); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.rating-count { color: var(--ink-soft); font-size: 0.92rem; }
.review-link { font-family: var(--font-caps); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; border-bottom: 1px solid currentColor; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 1.4rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; text-align: left; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.7rem; }
.review-card blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; line-height: 1.5; }
.review-author { font-weight: 600; display: block; color: var(--ink); }
.review-time { color: var(--ink-soft); font-size: 0.85rem; }

/* --- Instagram feed ------------------------------------------------------ */
/* White on About/Contact/404 (each follows a cream section there), cream on the
   homepage where it now sits between the white certifications strip and the
   white location block. Either way no two adjacent sections share a colour. */
.insta { background: var(--white); }
.page-home .insta { background: var(--cream); }
.insta-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.insta-item { position: relative; }
.insta-item a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.insta-item a:hover img { transform: scale(1.06); }
.insta-item a::after {
  content: ""; position: absolute; inset: 0; background: rgba(23,20,15,0.12); opacity: 0;
  transition: opacity var(--transition);
}
.insta-item a:hover::after { opacity: 1; }
.insta-badge { position: absolute; top: 0.5rem; right: 0.6rem; color: #fff; font-size: 0.85rem; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.insta-cta { margin-top: 1.8rem; }
.insta-fallback p { color: var(--ink-soft); margin-bottom: 1.4rem; }
/* Reserve space for the third-party Instagram widget so it cannot push the
   footer down as it loads (cumulative layout shift). */
.insta [class*="elfsight-app-"] { min-height: 420px; }

/* --- Store map ----------------------------------------------------------- */
.map-section { padding: 0; }
.store-map { display: block; width: 100%; border: 0; filter: grayscale(0.15); }

/* --- Home: location (70%) + Google reviews (30%) -------------------------
   Instagram now sits directly above this block. White here so the sequence
   stays certs(white) -> insta(cream) -> locrev(white) -> cta(cream) -> footer. */
.locrev { background: var(--white); }
.locrev-grid { display: grid; grid-template-columns: 7fr 3fr; gap: clamp(1.4rem, 3vw, 2.2rem); align-items: stretch; }
.locrev-map { min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.locrev-map .store-map { height: 100%; min-height: 460px; }
/* Two stacked cards beside the map: the rating, then the "leave a review" ask.
   align-self:start so they hug their content instead of stretching to the
   map's full height and leaving a large empty panel. */
.locrev-side { display: flex; flex-direction: column; gap: 1rem; align-self: start; }
.locrev-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column;
}
.locrev-card .eyebrow { margin-bottom: 0.6rem; }
.locrev-card .rating-lockup { align-items: flex-start; margin: 0 0 0.9rem; }
.locrev-card .review-link { align-self: flex-start; }
.locrev-share { border-color: var(--gold-light); }
.ask-title { font-size: 1.35rem; margin-bottom: 0.45rem; }
.ask-lede { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.1rem; }
/* Share buttons: 44x44 hit area (guardrail 5), ink on white, gold on hover. */
.share-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.share-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.share-btn:hover, .share-btn:focus-visible {
  background: var(--gold-grad); color: #241a06; border-color: #b8862f; transform: translateY(-2px);
}
.share-btn svg { display: block; }
.locrev-list {
  list-style: none; padding: 1.2rem 0 0; margin: 1.3rem 0 0; display: flex; flex-direction: column;
  gap: 1.2rem; border-top: 1px solid var(--line);
}
.locrev-list .review-stars { color: var(--gold); letter-spacing: 1px; font-size: 0.9rem; }
.locrev-list p { font-family: var(--font-display); font-style: italic; color: var(--ink); margin: 0.3rem 0; line-height: 1.45; }
.locrev-list .review-author { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
@media (max-width: 860px) {
  .locrev-grid { grid-template-columns: 1fr; }
  .locrev-map, .locrev-map .store-map { min-height: 340px; }
}

/* --- Responsive for additions -------------------------------------------- */
@media (max-width: 860px) {
  .brand-logo { height: 60px; }
  .header-inner { min-height: 78px; }
}
@media (max-width: 700px) {
  .cert-row { grid-template-columns: 1fr; gap: 1.3rem; text-align: center; }
  .cert-logo { max-width: 240px; margin-inline: auto; }
  .cert-row:nth-child(even) .cert-logo { order: 0; }
  .cert-body { text-align: left; }
}
@media (max-width: 620px) {
  .utility-hours { display: none; }
  .utility-inner { justify-content: center; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-hide-mobile { display: none; }
}

/* --- Footer meta row: LLMs.txt | LLMs-Full.txt | Sitemap.xml | Robots.txt --- */
.footer-meta-bar {
  border-top: 1px solid rgba(234, 217, 166, 0.12);
  padding-top: 0.6rem;
  padding-bottom: 0.4rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
}
.footer-meta a {
  color: var(--gold-light);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}
.footer-meta a:hover,
.footer-meta a:focus { opacity: 1; color: var(--gold-bright); text-decoration: underline; }
.footer-meta span { color: rgba(234, 217, 166, 0.35); }

/* --- Contact form status message (JS-driven success/error) --- */
.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
}
.form-status.is-ok {
  background: #eaf6ec;
  border: 1px solid #b6dcc0;
  color: #1c5a2c;
}
.form-status.is-err {
  background: #fcecec;
  border: 1px solid #e6b8b8;
  color: #8a1f1f;
}
.cf-turnstile { margin: 0 0 1.1rem; }
