/*
Theme Name:   Black Butterfly Honey
Theme URI:    https://blackbutterflyhoney.com
Author:       W3Care
Author URI:   https://www.w3care.com
Description:  Custom theme for Black Butterfly Honey. Etsy-driven product listings, Instagram Graph API feed, manageable FAQs, testimonials and feature blocks, and a contact form with reCAPTCHA and inquiry storage.
Version:      2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  bbh
Tags:         custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. TOKENS
   --------------------------------------------------------------------------
   Taken from the Black Butterfly logo and applied in the logo's own
   proportions: a light ground, black type, vermilion as a small accent.
   Dark bands are used sparingly for contrast, not as the default surface.

   Naming: --flame is the logo vermilion. --honey is the PRODUCT colour (the
   honey itself, in illustrations only) and is never used for interface chrome.
   ========================================================================== */
:root {
  /* Ground */
  --cream:      #FBF8F4;
  --cream-2:    #F4EEE6;
  --white:      #FFFFFF;

  /* Ink */
  --ink:        #121212;
  --ink-2:      #1C1C1C;
  --ink-soft:   #2E2E2E;
  --grey:       #635E58;
  --grey-light: #8B857D;

  /* Accent */
  --flame:      #F03E11;
  --flame-dark: #C22E08;
  --flame-tint: #FFEFE9;

  /* Product colour — honey. Illustrations only. */
  --honey:      #C87F18;

  /* Feedback — kept clear of the brand vermilion so an error never reads as a
     button, and a button never reads as a warning. */
  --error:      #A02214;
  --success:    #2F6B3E;

  /* Lines */
  --line:       #E7DFD4;
  --line-2:     #D8CDBD;

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-hero:  clamp(2.75rem, 6.2vw, 5.25rem);
  --fs-h1:    clamp(2.2rem, 4.6vw, 3.5rem);
  --fs-h2:    clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h3:    clamp(1.15rem, 1.7vw, 1.4rem);
  --fs-lede:  clamp(1.05rem, 1.25vw, 1.175rem);
  --fs-body:  1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.6875rem;

  /* Layout */
  --wrap: 1220px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4rem, 8vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 8px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(18, 18, 18, 0.05), 0 2px 8px rgba(18, 18, 18, 0.04);
  --shadow:    0 2px 6px rgba(18, 18, 18, 0.05), 0 12px 32px rgba(18, 18, 18, 0.08);
  --shadow-lg: 0 4px 12px rgba(18, 18, 18, 0.06), 0 28px 60px rgba(18, 18, 18, 0.12);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* clip, not hidden — hidden breaks position: sticky on the header */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 40;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--flame); color: #fff; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--ink); color: var(--cream);
  padding: 0.8rem 1.2rem; font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.screen-reader-text, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

.section--wax  { background: var(--cream-2); }
.section--ink2 { background: var(--cream); }

/* Dark band — deliberate contrast against the light majority */
.section--dark { background: var(--ink); color: rgba(251, 248, 244, 0.78); }
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark .eyebrow { color: #FF7A4F; }
.section--dark .eyebrow::before,
.section--dark .eyebrow::after { background: #FF7A4F; }
.section--dark .lede { color: rgba(251, 248, 244, 0.72); }
.section--dark .tlink { color: #FF7A4F; }

/* ==========================================================================
   4. TYPE UTILITIES
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flame-dark);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--flame); flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 22px; height: 2px; background: var(--flame); flex: none; }

.lede { font-size: var(--fs-lede); line-height: 1.65; color: var(--grey); max-width: 58ch; }

.meta {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey-light);
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.65rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  background: var(--flame);
  border: 1.5px solid var(--flame);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  box-shadow: 0 2px 8px rgba(240, 62, 17, 0.22);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.42s var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(240, 62, 17, 0.26);
  border-color: var(--ink);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.8125rem; }

.section--dark .btn--ghost { color: var(--cream); border-color: rgba(251,248,244,0.28); }
.section--dark .btn--ghost::after { background: var(--cream); }
.section--dark .btn--ghost:hover { color: var(--ink); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }

.tlink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--fs-small); font-weight: 600;
  color: var(--flame-dark);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.38s var(--ease), gap 0.28s var(--ease);
}
.tlink:hover { background-size: 0% 1.5px; background-position: 100% 100%; gap: 0.7rem; }

/* ==========================================================================
   6. MARQUEE
   ========================================================================== */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-block: 0.6rem;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 2.5rem;
  animation: bbh-marquee 34s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 2.5rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ticker span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--flame); flex: none;
}
@keyframes bbh-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   7. HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 244, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(18, 18, 18, 0.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  transition: min-height 0.3s var(--ease);
}
.is-scrolled .header-inner { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand svg { width: 32px; height: 32px; fill: var(--flame); flex: none; }
.brand img { max-height: 46px; width: auto; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--flame);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 1.4vw, 1.5rem); }
.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.15rem;
  transition: color 0.22s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0.15rem;
  width: 100%; height: 2px; background: var(--flame); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.34s var(--ease);
}
.nav a:hover { color: var(--flame-dark); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--flame-dark); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { color: #fff; }
.nav .btn::after { display: none; }
.nav .btn:hover { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; position: relative; z-index: 2; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: background 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.75rem 2rem;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(18,18,18,0.10);
    transform: translateX(100%);
    transition: transform 0.42s var(--ease-out);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding-block: 0.95rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.5rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(18, 18, 18, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 90;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -14vw; top: -22vw;
  background: radial-gradient(circle, rgba(240, 62, 17, 0.13), rgba(240, 62, 17, 0) 62%);
  animation: bbh-drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute; z-index: -1;
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  left: -12vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(200, 127, 24, 0.14), rgba(200, 127, 24, 0) 65%);
  animation: bbh-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes bbh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 4%, 0) scale(1.09); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.028em; margin: 0 0 1.1rem; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--flame); }
.hero__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.62;
  color: var(--grey);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__trust span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--grey);
}
.hero__trust span::before {
  content: ""; width: 16px; height: 16px; flex: none;
  border-radius: 50%; background: var(--flame-tint); border: 1.5px solid var(--flame);
}

.hero__media { position: relative; }
.hero__card {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: bbh-float 7s ease-in-out infinite alternate;
}
.hero__card img { width: 100%; height: auto; }
@keyframes bbh-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

.hero__badge {
  position: absolute; z-index: 2;
  right: -6px; bottom: 8%;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  box-shadow: var(--shadow);
  display: grid; gap: 2px;
  animation: bbh-float 7s ease-in-out infinite alternate-reverse;
}
.hero__badge b { font-family: var(--display); font-size: 1.35rem; line-height: 1; color: #fff; }
.hero__badge small {
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,248,244,0.65);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__body .eyebrow, .hero__body .hero__sub { margin-inline: auto; }
  .hero__body .btn-row, .hero__trust { justify-content: center; }
  .hero__media { max-width: 460px; margin-inline: auto; }
}

/* ==========================================================================
   9. PAGE BANNER
   ========================================================================== */
.pagehead {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.5rem);
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(240,62,17,0.10), transparent 70%);
  pointer-events: none;
}
.pagehead > * { position: relative; }
.pagehead h1 { font-size: var(--fs-h1); margin-bottom: 0.5rem; }
.pagehead .lede { margin-inline: auto; }

.crumbs {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--grey-light);
  margin-top: 1.4rem;
}
.crumbs a:hover { color: var(--flame-dark); }
.crumbs i { font-style: normal; padding-inline: 0.5rem; opacity: 0.5; }

/* ==========================================================================
   10. SECTION HEADS
   ========================================================================== */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head h2 { font-size: var(--fs-h2); margin-bottom: 0.5rem; }
.sec-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 2rem; flex-wrap: wrap;
}
.sec-head--split > div { flex: 1 1 380px; }

/* ==========================================================================
   11. PRODUCT CARDS
   ========================================================================== */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.product {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.product__media {
  display: block;
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease); }
.product:hover .product__media img { transform: scale(1.06); }

.product__tag {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.product__tag--out { color: var(--grey-light); }

.product__body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.4rem; flex: 1;
}
.product__name { font-size: 1.0625rem; line-height: 1.3; margin: 0; }
.product__name a:hover { color: var(--flame-dark); }
.product__desc { font-size: 0.9rem; line-height: 1.55; margin: 0; color: var(--grey); }
.product__foot {
  margin-top: auto; padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line);
}
.product__price { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }

.api-note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: var(--fs-small);
  line-height: 1.62;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--flame);
  background: var(--flame-tint);
  color: var(--ink-soft);
}
.api-note strong { color: var(--flame-dark); font-weight: 700; }
.section--dark .api-note { background: rgba(240, 62, 17, 0.10); color: rgba(251,248,244,0.78); }
.section--dark .api-note strong { color: #FF7A4F; }

/* ==========================================================================
   12. SPLIT
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__body h2 { font-size: var(--fs-h2); }

.stamp {
  position: absolute;
  right: -14px; bottom: -14px;
  width: clamp(96px, 11vw, 126px); height: clamp(96px, 11vw, 126px);
  border-radius: 50%;
  background: var(--flame);
  color: #fff;
  display: grid; place-items: center; text-align: center;
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.45;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .split--flip .split__media { order: 0; }
  .stamp { right: 6px; bottom: -12px; }
}

/* ==========================================================================
   13. FEATURE CARDS + PROCESS
   ========================================================================== */
.grid-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(0.875rem, 1.6vw, 1.25rem);
}
.why {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--flame-tint);
  display: grid; place-items: center;
  margin-bottom: 0.35rem;
}
.why svg {
  width: 26px; height: 26px;
  stroke: var(--flame); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.why h3 { font-size: 1.0625rem; margin: 0; }
.why p { font-size: 0.9rem; line-height: 1.58; margin: 0; color: var(--grey); }

/* Numbering used only where order carries meaning */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  counter-reset: step;
}
.process li {
  position: relative;
  padding-top: 2.75rem;
  border-top: 2px solid var(--line);
}
.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 1rem; left: 0;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--flame);
}
.process li::after {
  content: "";
  position: absolute; top: -2px; left: 0; width: 0; height: 2px;
  background: var(--flame);
  transition: width 0.9s var(--ease-out);
}
.process li.is-in::after { width: 100%; }
.process h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.process p { font-size: 0.9rem; line-height: 1.58; margin: 0; color: var(--grey); }

/* ==========================================================================
   14. INSTAGRAM + LIGHTBOX
   ========================================================================== */
.grid-insta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(0.5rem, 1vw, 0.875rem);
}
.insta {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
}
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.insta__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,0.86), rgba(18,18,18,0.05));
  opacity: 0; transition: opacity 0.34s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0.9rem; gap: 0.3rem;
}
.insta__veil p { font-size: 0.8125rem; line-height: 1.45; margin: 0; color: #fff; }
.insta__veil .meta { color: #FF9C78; }
.insta:hover img { transform: scale(1.07); }
.insta:hover .insta__veil, .insta:focus-visible .insta__veil { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 10, 0.93);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 880px); max-height: 74vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__cap { margin-top: 1rem; text-align: center; font-size: var(--fs-small); color: rgba(251,248,244,0.8); }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.10); color: #fff;
  transition: background 0.25s var(--ease);
}
.lightbox__btn:hover { background: var(--flame); }
.lightbox__prev { left: clamp(0.5rem, 3vw, 2.5rem); }
.lightbox__next { right: clamp(0.5rem, 3vw, 2.5rem); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); transform: none; }

/* ==========================================================================
   15. TESTIMONIALS
   ========================================================================== */
.grid-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.quote {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
}
.quote figcaption { font-size: 0.8125rem; color: var(--grey-light); margin-top: auto; }
.stars { display: flex; gap: 2px; color: var(--flame); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

.section--dark .quote { background: rgba(255,255,255,0.05); border-color: rgba(251,248,244,0.12); }
.section--dark .quote blockquote { color: var(--cream); }
.section--dark .quote figcaption { color: rgba(251,248,244,0.55); }

/* ==========================================================================
   16. FAQ ACCORDION
   ========================================================================== */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.faq__item:has(.faq__q[aria-expanded="true"]) { border-color: var(--flame); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  text-align: left;
  padding: clamp(1.1rem, 2vw, 1.4rem) clamp(1.1rem, 2vw, 1.6rem);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink);
  transition: color 0.22s var(--ease);
}
.faq__q:hover { color: var(--flame-dark); }
.faq__mark { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--flame-tint); }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 2px; margin: -1px 0 0 -5px;
  background: var(--flame-dark); border-radius: 2px;
  transition: transform 0.34s var(--ease);
}
.faq__mark::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__mark::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; height: 0; transition: height 0.36s var(--ease); }
.faq__a > div {
  padding: 0 clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2vw, 1.5rem);
  max-width: 70ch; color: var(--grey);
}

/* ==========================================================================
   17. FORMS
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--flame); }

.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(240, 62, 17, 0.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-light); }
.field .hint { font-size: 0.75rem; color: var(--grey-light); }
.field .err { font-size: 0.78rem; color: var(--error); display: none; font-weight: 500; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field.has-error .err { display: block; }

.captcha-slot {
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  font-size: var(--fs-small);
  color: var(--grey);
  background: var(--cream);
}

.form-note { font-size: 0.8125rem; color: var(--grey-light); }

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  border-left: 3px solid var(--success);
  background: rgba(47, 107, 62, 0.10);
  color: var(--ink-soft);
}
.form-status.is-visible { display: block; }

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

.newsletter { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 500px; margin-inline: auto; }
.newsletter input {
  flex: 1 1 230px;
  font: inherit; font-size: 0.9375rem;
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  border: 1.5px solid rgba(251,248,244,0.20);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
}
.newsletter input::placeholder { color: rgba(251,248,244,0.45); }
.newsletter input:focus { outline: none; border-color: var(--flame); background: rgba(255,255,255,0.10); }

/* ==========================================================================
   18. CONTACT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.panel--dark { background: var(--ink); border-color: var(--ink); color: rgba(251,248,244,0.78); }
.panel--dark h2, .panel--dark h3 { color: var(--cream); }
.panel--dark .eyebrow { color: #FF7A4F; }
.panel--dark .eyebrow::before { background: #FF7A4F; }

.info-list { display: grid; gap: 1.35rem; }
.info-list li { display: grid; gap: 0.25rem; }
.info-list .k {
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #FF7A4F;
}
.info-list .v { font-size: 0.9875rem; color: var(--cream); line-height: 1.5; }
.info-list a:hover { color: #FF7A4F; }

.social-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--flame-tint); color: var(--flame-dark);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-row a:hover { background: var(--flame); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }

.panel--dark .social-row a, .site-footer .social-row a {
  background: rgba(255,255,255,0.08); color: var(--cream);
}
.panel--dark .social-row a:hover, .site-footer .social-row a:hover { background: var(--flame); color: #fff; }

/* ==========================================================================
   19. FRAME / CTA
   ========================================================================== */
.frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-sm);
}
.section--dark .frame {
  background: rgba(255,255,255,0.05);
  border-color: rgba(251,248,244,0.14);
  box-shadow: none;
}
.seal {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--flame); color: #fff;
  box-shadow: 0 4px 14px rgba(240,62,17,0.30);
}
.seal svg { width: 26px; height: 26px; fill: currentColor; }

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 244, 0.68);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand svg { fill: var(--flame); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 0.8fr) 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FF7A4F;
  margin-bottom: 1.1rem;
}
.footer-grid li + li { margin-top: 0.55rem; }
.footer-grid a { font-size: 0.9375rem; transition: color 0.22s var(--ease); }
.footer-grid a:hover { color: var(--cream); }
.footer-blurb { font-size: 0.9375rem; max-width: 34ch; line-height: 1.6; }

.footer-bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(251,248,244,0.12);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(251,248,244,0.5);
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--cream); }

/* ==========================================================================
   21. MOTION
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   22. WORDPRESS CORE
   ========================================================================== */
.alignleft  { float: left; margin: 0.4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: var(--fs-small); color: var(--grey-light); margin-top: 0.5rem; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

.entry-content { max-width: 70ch; }
.entry-content h2 { font-size: var(--fs-h2); margin-top: 1.8em; }
.entry-content h3 { font-size: var(--fs-h3); margin-top: 1.6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a {
  color: var(--flame-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.entry-content blockquote {
  margin: 2em 0; padding: 0.4em 0 0.4em 1.5rem;
  border-left: 3px solid var(--flame);
  font-family: var(--display); font-size: 1.2rem; color: var(--ink);
}
.entry-content img { margin-block: 1.5em; border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 0.6rem; border: 1px solid var(--line); text-align: left; }

.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 3rem; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding-inline: 0.7rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-small);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--flame); border-color: var(--flame); color: #fff; }

.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ==========================================================================
   23. REDUCED MOTION
   ========================================================================== */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .process li::after { width: 100%; }
}
