/*
Theme Name: mekai-react (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Libre+Caslon+Display&family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */
/* [EC-TW4-001] unwrapped @layer properties */

@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
  ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
  *,
  ::before,
  ::after,
  ::backdrop {
    --tw-rotate-x: initial;
    --tw-rotate-y: initial;
    --tw-rotate-z: initial;
    --tw-skew-x: initial;
    --tw-skew-y: initial;
    --tw-blur: initial;
    --tw-brightness: initial;
    --tw-contrast: initial;
    --tw-grayscale: initial;
    --tw-hue-rotate: initial;
    --tw-invert: initial;
    --tw-opacity: initial;
    --tw-saturate: initial;
    --tw-sepia: initial;
    --tw-drop-shadow: initial;
    --tw-drop-shadow-color: initial;
    --tw-drop-shadow-alpha: 100%;
    --tw-drop-shadow-size: initial;
  }
}

/* [EC-TW4-001] unwrapped @layer properties */
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
  ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
  *,
  :before,
  :after,
  ::backdrop {
    --tw-rotate-x: initial;
    --tw-rotate-y: initial;
    --tw-rotate-z: initial;
    --tw-skew-x: initial;
    --tw-skew-y: initial;
    --tw-blur: initial;
    --tw-brightness: initial;
    --tw-contrast: initial;
    --tw-grayscale: initial;
    --tw-hue-rotate: initial;
    --tw-invert: initial;
    --tw-opacity: initial;
    --tw-saturate: initial;
    --tw-sepia: initial;
    --tw-drop-shadow: initial;
    --tw-drop-shadow-color: initial;
    --tw-drop-shadow-alpha: 100%;
    --tw-drop-shadow-size: initial;
  }
}

/* [EC-TW4-001] unwrapped @layer theme */

:root,
:host {
  --font-sans: 'Hanken Grotesk', sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
}

/* [EC-TW4-001] unwrapped @layer theme */
:root,
:host {
  --font-sans: 'Hanken Grotesk', sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
}

:root {
  --sage: #7e9070;
  --sage-dark: #6c7e5f;
  --cream: #f1f1eb;
  --beige: #e2d2b8;
  --forest: #0e402d;
  --forest-dark: #0a3323;
  --rust: #a34b23;
  --tan-btn: #dfcda7;
  --ink: #20241f;
  --text-on-dark: #f4f1e8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  margin: 0px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 300;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translate(-50px);
  }
  100% {
    opacity: 1;
    transform: translate(0px);
  }
}
@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translate(50px);
  }
  100% {
    opacity: 1;
    transform: translate(0px);
  }
}
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.2, 1);
  animation-fill-mode: both;
  animation-delay: var(--reveal-delay, 0s);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation-name: fadeUp;
  }
  .reveal-left {
    animation-name: fadeLeft;
  }
  .reveal-right {
    animation-name: fadeRight;
  }
}
.zoom-frame {
  overflow: hidden;
}
.zoom-frame img {
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.zoom-frame:hover img {
  transform: scale(1.06);
}
h1,
h2,
h3,
.serif {
  margin: 0px;
  font-family: 'Libre Caslon Text', serif;
  font-weight: 500;
}
.italic {
  font-style: italic;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1320px;
  margin: 0px auto;
  padding: 0px 40px;
}
.btn {
  background: var(--tan-btn);
  color: var(--forest-dark);
  cursor: pointer;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  border-radius: 999px;
  padding: 16px 40px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 300;
  transition:
    transform 0.2s,
    background 0.2s;
  display: inline-block;
}
.btn:hover {
  background: rgb(236, 223, 192);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: var(--forest-dark);
  color: var(--tan-btn);
}
.btn-outline-dark:hover {
  background: rgb(13, 74, 52);
}
.btn-rust {
  background: var(--rust);
  color: rgb(251, 233, 221);
  text-align: center;
  width: 100%;
  padding: 18px 20px;
  font-size: 17px;
}
.btn-rust:hover {
  background: rgb(143, 64, 32);
}
.logo {
  width: 170px;
  height: auto;
}
.site-nav {
  z-index: 100;
  background: linear-gradient(
    rgba(12, 10, 8, 0.55) 0%,
    rgba(12, 10, 8, 0) 100%
  );
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  transition:
    background 0.3s,
    padding 0.3s;
  display: flex;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
}
.site-nav.scrolled {
  backdrop-filter: blur(6px);
  background: rgba(10, 10, 10, 0.32);
  padding: 14px 40px;
}
.site-nav .nav-logo {
  width: 100px;
  height: auto;
  display: block;
}
.nav-links {
  align-items: center;
  gap: 34px;
  margin: 0px;
  padding: 0px;
  list-style: none;
  display: flex;
}
.nav-links a {
  color: rgb(255, 255, 255);
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  padding: 6px 2px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 300;
  transition:
    border-color 0.2s,
    opacity 0.2s;
}
.nav-links a:hover {
  border-color: currentcolor;
}
.nav-links .btn {
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  padding: 10px 26px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 300;
}
.nav-toggle {
  cursor: pointer;
  z-index: 110;
  background: 0px 0px;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  width: 40px;
  height: 40px;
  padding: 0px;
  display: none;
  position: relative;
}
.nav-toggle span {
  background: rgb(255, 255, 255);
  border-radius: 2px;
  height: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s,
    top 0.25s;
  position: absolute;
  left: 8px;
  right: 8px;
}
.nav-toggle span:first-child {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}
.site-nav.open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.site-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-nav.open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}
@media (width <= 860px) {
  .site-nav {
    padding: 18px 22px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    background: var(--forest-dark);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: transform 0.3s;
    position: fixed;
    inset: 0px;
    transform: translate(100%);
  }
  .site-nav.open .nav-links {
    transform: translate(0px);
  }
  .nav-links a {
    font-size: 24px;
  }
}
.hero {
  text-align: center;
  color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  min-height: 92vh;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero .bg {
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0px;
  transform: scale(1.12) translateY(0px);
}
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.hero-content > * {
  opacity: 1;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.2, 1);
  animation-fill-mode: both;
}
.hero-content .logo {
  animation-delay: 50ms;
}
.hero-content h1 {
  animation-delay: 0.18s;
}
.hero-content p {
  animation-delay: 0.34s;
}
.hero-content .btn {
  animation-delay: 0.48s;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation-name: heroFadeUp;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg {
    transform: none;
  }
}
.hero::after {
  content: '';
  background: linear-gradient(
    rgba(20, 16, 10, 0.55) 0%,
    rgba(20, 16, 10, 0.35) 40%,
    rgba(20, 16, 10, 0.6) 100%
  );
  position: absolute;
  inset: 0px;
}
.hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 0px 24px;
  position: relative;
}
.hero-content .logo {
  width: 120px;
  margin: 0px auto 28px;
}
.hero-content h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 6.2vw, 76px);
  font-style: italic;
  line-height: 1.12;
}
.hero-content p {
  color: rgb(239, 236, 227);
  max-width: 640px;
  margin: 0px auto 36px;
  font-size: 17px;
}
.different {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.different .col {
  padding: 80px 60px;
}
.different .left {
  background: var(--sage);
  color: rgb(238, 241, 233);
}
.different .left h2 {
  color: rgb(255, 255, 255);
  margin-bottom: 28px;
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
}
.different .left p {
  max-width: 360px;
  margin-bottom: 32px;
  font-size: 16.5px;
  line-height: 1.5;
}
.different .left .zoom-frame {
  border-radius: 2px;
  height: 300px;
  margin-bottom: 36px;
  position: sticky;
  top: 110px;
}
.different .left img {
  object-fit: cover;
  width: 100%;
  height: 300px;
}
.different .right {
  background: var(--beige);
}
.different .right h2 {
  color: var(--forest-dark);
  max-width: 380px;
  margin-bottom: 48px;
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
}
.feature-row {
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
  display: grid;
}
.feature-row .zoom-frame {
  border-radius: 2px;
  width: 220px;
  height: 130px;
}
.feature-row img {
  object-fit: cover;
  width: 220px;
  height: 130px;
}
.feature-row h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 300;
}
.feature-row p {
  color: rgb(74, 74, 66);
  margin: 0px;
  font-size: 14.5px;
  line-height: 1.55;
}
.how {
  background: var(--cream);
  text-align: center;
  padding: 110px 0px 90px;
}
.how h2 {
  color: var(--forest-dark);
  margin-bottom: 80px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-style: italic;
  line-height: 1.15;
}
.how h2 .not-italic {
  font-style: normal;
}
.steps {
  text-align: left;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  display: grid;
}
.step {
  transition: transform 0.35s;
}
.step:hover {
  transform: translateY(-6px);
}
.step .num {
  background: var(--forest-dark);
  width: 44px;
  height: 44px;
  color: var(--cream);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.35s;
  display: flex;
}
.step:hover .num {
  background: var(--rust);
  transform: scale(1.12) rotate(-6deg);
}
.step h3 {
  color: var(--forest-dark);
  min-height: 90px;
  margin-bottom: 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
}
.step p {
  color: rgb(74, 74, 66);
  font-size: 13px;
}
.panels {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.panels .photo-frame {
  min-height: 520px;
  overflow: hidden;
}
.panels .photo {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  min-height: 520px;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  display: block;
}
.panels .photo-frame:hover .photo {
  transform: scale(1.06);
}
.panels .substack {
  background: rgb(16, 13, 10);
  justify-content: center;
  align-items: center;
  padding: 40px;
  display: flex;
}
.substack-card {
  text-align: center;
  color: rgb(255, 255, 255);
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  padding: 56px 40px 40px;
  position: relative;
  overflow: hidden;
}
.substack-card .bg {
  object-fit: cover;
  object-position: 50% 22%;
  z-index: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  position: absolute;
  inset: 0px;
}
.substack-card:hover .bg {
  transform: scale(1.06);
}
.substack-card::after {
  content: '';
  z-index: 0;
  background: rgba(10, 8, 6, 0.35);
  position: absolute;
  inset: 0px;
}
.substack-card > * {
  z-index: 1;
  position: relative;
}
.substack-card h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 34px);
  font-style: italic;
}
.substack-card p {
  color: rgb(241, 236, 224);
  margin-bottom: 30px;
  font-size: 14px;
}
.substack-card p.tagline {
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.subscribe-form {
  background: var(--beige);
  color: var(--forest-dark);
  text-align: left;
  border-radius: 2px;
  padding: 26px 24px 20px;
}
.subscribe-form label {
  margin-bottom: 14px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 20px;
  font-style: italic;
  display: block;
}
.subscribe-form input[type='email'] {
  background: rgb(217, 200, 164);
  border: 1px solid rgb(185, 169, 127);
  border-radius: 3px;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
}
.subscribe-form .fineprint {
  text-align: center;
  color: rgb(90, 82, 64);
  margin-top: 12px;
  font-size: 10.5px;
}
.join-banner {
  text-align: center;
  background: var(--cream);
  padding: 90px 24px;
}
.join-banner h2 {
  color: var(--forest-dark);
  font-size: clamp(34px, 6vw, 64px);
  font-style: italic;
}
.newsletter {
  background: var(--cream);
  padding: 0px 0px 110px;
}
.newsletter .newsletter-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  display: flex;
}
.newsletter .eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.newsletter h2 {
  color: var(--forest-dark);
  max-width: 460px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-style: italic;
}
.newsletter-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  display: grid;
}
.post-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgb(207, 202, 187);
  border-radius: 10px;
  flex-direction: column;
  padding: 32px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  display: flex;
}
.post-card:hover {
  border-color: var(--forest-dark);
  transform: translateY(-2px);
}
.post-date {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(138, 132, 112);
  margin-bottom: 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.post-title {
  color: var(--forest-dark);
  margin-bottom: 14px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.32;
}
.post-excerpt {
  color: rgb(74, 74, 66);
  flex-grow: 1;
  margin-bottom: 24px;
  font-size: 14px;
}
.post-link {
  color: var(--rust);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    transform 0.2s;
  display: inline-flex;
}
.post-link:hover {
  border-color: var(--rust);
  transform: translate(4px);
}
.newsletter-cta {
  justify-content: center;
  margin-top: 44px;
  display: flex;
}
@media (width <= 700px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}
.quote {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.quote .zoom-frame {
  height: 100%;
  min-height: 420px;
}
.quote img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.quote .text {
  background: var(--forest-dark);
  color: var(--text-on-dark);
  flex-direction: column;
  justify-content: center;
  padding: 70px 64px;
  display: flex;
}
.quote .text p {
  margin-bottom: 40px;
  font-family: 'Libre Caslon Text', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-style: italic;
  line-height: 1.4;
}
.quote .text .btn {
  align-self: center;
}
.contact {
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 110px 24px 90px;
  position: relative;
  overflow: hidden;
}
.contact img.bg {
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0px;
}
.contact::after {
  content: '';
  z-index: 0;
  background: linear-gradient(rgba(45, 20, 12, 0.55), rgba(30, 14, 9, 0.8));
  position: absolute;
  inset: 0px;
}
.contact > * {
  z-index: 1;
  position: relative;
}
.contact .logo {
  margin: 0px auto 36px;
}
.contact h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 6vw, 64px);
  font-style: italic;
}
.contact > p {
  color: rgb(240, 233, 223);
  margin-bottom: 50px;
  font-size: 15px;
}
.contact-form {
  background: var(--beige);
  text-align: left;
  max-width: 640px;
  color: var(--forest-dark);
  border-radius: 4px;
  margin: 0px auto;
  padding: 36px;
}
.contact-form label {
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px;
  font-style: italic;
  display: block;
}
.contact-form label:first-of-type {
  margin-top: 0px;
}
.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form textarea {
  resize: vertical;
  background: rgb(236, 223, 192);
  border: 1px solid rgb(185, 169, 127);
  border-radius: 3px;
  width: 100%;
  padding: 12px 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .fineprint {
  text-align: center;
  color: rgb(90, 82, 64);
  margin-top: 14px;
  font-size: 10.5px;
}
.contact-form button {
  margin-top: 22px;
}
[id] {
  scroll-margin-top: 90px;
}
@media (width <= 900px) {
  .different,
  .panels,
  .quote {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step h3 {
    min-height: auto;
  }
  .wrap {
    padding: 0px 22px;
  }
  .different .col {
    padding: 60px 30px;
  }
  .contact-form {
    padding: 24px;
  }
  .newsletter-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .panels .photo-frame,
  .panels .photo {
    min-height: 320px;
  }
  .quote .zoom-frame,
  .quote img {
    min-height: 280px;
  }
  .different .left .zoom-frame,
  .panels .photo-frame {
    position: static;
  }
}
@media (width <= 520px) {
  .steps,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row .zoom-frame,
  .feature-row img {
    width: 100%;
    height: 180px;
  }
}
@property --tw-rotate-x {
  syntax: '*';
  inherits: false;
}
@property --tw-rotate-y {
  syntax: '*';
  inherits: false;
}
@property --tw-rotate-z {
  syntax: '*';
  inherits: false;
}
@property --tw-skew-x {
  syntax: '*';
  inherits: false;
}
@property --tw-skew-y {
  syntax: '*';
  inherits: false;
}
@property --tw-blur {
  syntax: '*';
  inherits: false;
}
@property --tw-brightness {
  syntax: '*';
  inherits: false;
}
@property --tw-contrast {
  syntax: '*';
  inherits: false;
}
@property --tw-grayscale {
  syntax: '*';
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: '*';
  inherits: false;
}
@property --tw-invert {
  syntax: '*';
  inherits: false;
}
@property --tw-opacity {
  syntax: '*';
  inherits: false;
}
@property --tw-saturate {
  syntax: '*';
  inherits: false;
}
@property --tw-sepia {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: '*';
  inherits: false;
}

/* From dist/assets/index-BQpoB16_.css */
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
/* [EC-TW4-001] unwrapped @layer base */

*,
::after,
::before,
::backdrop {
  box-sizing: border-box;
  border: 0px solid;
  margin: 0px;
  padding: 0px;
}
::file-selector-button {
  box-sizing: border-box;
  border: 0px solid;
  margin: 0px;
  padding: 0px;
}
html,
:host {
  text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(
    --default-font-family,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    'Noto Sans',
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji'
  );
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}
hr {
  height: 0px;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family: var(
    --default-mono-font-family,
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace
  );
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0px;
  border-color: inherit;
  border-collapse: collapse;
}
progress {
  vertical-align: baseline;
}
summary {
  display: list-item;
}
ol,
ul,
menu {
  list-style: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  vertical-align: middle;
  display: block;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
optgroup,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 0px;
}
::file-selector-button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 0px;
}
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}
::file-selector-button {
  margin-inline-end: 4px;
}
::placeholder {
  opacity: 1;
}
@supports (not ((-webkit-appearance: -apple-pay-button))) or
  (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: currentcolor;
  }
  @supports (color: color-mix(in lab, red, red)) {
    ::placeholder {
      color: color-mix(currentcolor, transparent);
    }
  }
}
textarea {
  resize: vertical;
}
::-webkit-search-decoration {
  appearance: none;
}
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0px;
}
::-webkit-datetime-edit {
  padding-block: 0px;
}
::-webkit-datetime-edit-year-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-month-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-day-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-hour-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-minute-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-second-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-millisecond-field {
  padding-block: 0px;
}
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0px;
}
::-webkit-calendar-picker-indicator {
  line-height: 1;
}
button,
input:where([type='button'], [type='reset'], [type='submit']) {
  appearance: button;
}
::file-selector-button {
  appearance: button;
}
::-webkit-inner-spin-button {
  height: auto;
}
::-webkit-outer-spin-button {
  height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}

/* [EC-TW4-001] unwrapped @layer base */
*,
:after,
:before,
::backdrop {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}
::file-selector-button {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}
html,
:host {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(
    --default-font-family,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    'Noto Sans',
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji'
  );
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  -webkit-text-decoration: inherit;
  -webkit-text-decoration: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family: var(
    --default-mono-font-family,
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace
  );
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
:-moz-focusring:where(:not(iframe)) {
  outline: auto;
}
progress {
  vertical-align: baseline;
}
summary {
  display: list-item;
}
ol,
ul,
menu {
  list-style: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  vertical-align: middle;
  display: block;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
optgroup,
textarea {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: #0000;
  border-radius: 0;
}
::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: #0000;
  border-radius: 0;
}
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}
::file-selector-button {
  margin-inline-end: 4px;
}
::placeholder {
  opacity: 1;
}
@supports (not ((-webkit-appearance: -apple-pay-button))) or
  (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: currentColor;
  }
  @supports (color: color-mix(in lab, red, red)) {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }
}
textarea {
  resize: vertical;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-datetime-edit {
  padding-block: 0;
}
::-webkit-datetime-edit-year-field {
  padding-block: 0;
}
::-webkit-datetime-edit-month-field {
  padding-block: 0;
}
::-webkit-datetime-edit-day-field {
  padding-block: 0;
}
::-webkit-datetime-edit-hour-field {
  padding-block: 0;
}
::-webkit-datetime-edit-minute-field {
  padding-block: 0;
}
::-webkit-datetime-edit-second-field {
  padding-block: 0;
}
::-webkit-datetime-edit-millisecond-field {
  padding-block: 0;
}
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}
::-webkit-calendar-picker-indicator {
  line-height: 1;
}
:-moz-ui-invalid {
  box-shadow: none;
}
button,
input:where([type='button'], [type='reset'], [type='submit']) {
  appearance: button;
}
::file-selector-button {
  appearance: button;
}
::-webkit-inner-spin-button {
  height: auto;
}
::-webkit-outer-spin-button {
  height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}
/* [EC-TW4-001] unwrapped @layer base */

body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-BTN-104: :where() = 0 specificity so Tailwind text-* utilities always win over these resets.
   Plain "a:hover { color: inherit }" can outrank .text-white on links (0,2,0 vs 0,1,0) and wash out hero CTAs. */
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(a:hover) {
  color: inherit;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* EC-CSS-009: :where() = 0 specificity, same reasoning as EC-BTN-104 above. A
   bare "h1, h2, h3, h4, h5, h6" list ties a site's own "h1, h2, h3 { font-weight:
   400 }" on specificity (0,0,1) and, being emitted after the merged site CSS,
   wins — so a display face meant to render at 400 shipped bold everywhere. These
   declarations still beat the UA stylesheet, because author origin outranks
   user-agent origin regardless of specificity. */
:where(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
/* EC-BTN-105: Neutralize the native form-control appearance that Tailwind v4
   preflight (`appearance: button`) re-enables in WordPress, which paints a
   gray "button face" fill on bare <button> elements (FAQ/accordion triggers).
   Element specificity (0,0,1) matches the preflight rule and, appearing later
   in source order, wins. Backgrounds set by utility classes (e.g. .bg-foreground)
   are higher specificity and still apply, so styled buttons are unaffected. */
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: none;
  appearance: none;
}
/* EC-BTN-107: Disclosure/accordion toggle buttons (aria-expanded) must not be
   text-selectable. Otherwise a double-click or click-drag on a FAQ question
   label paints the browser's default blue text-selection highlight, which the
   user sees as a stray "bluish background" that appears on one click and clears
   on the next. Native <button>s are non-selectable and the source React FAQ is
   too. Scoped to button[aria-expanded] so ordinary buttons and selectable
   content elsewhere are untouched. */
button[aria-expanded] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* [EC-TW4-001] unwrapped @layer utilities */

.visible {
  visibility: visible;
}
.static {
  position: static;
}
.inline-block {
  display: inline-block;
}
.table {
  display: table;
}
.grow {
  flex-grow: 1;
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,)
    var(--tw-skew-x,) var(--tw-skew-y,);
}
.italic {
  font-style: italic;
}
.not-italic {
  font-style: normal;
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,)
    var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,)
    var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}

:root {
  --sage: #7e9070;
  --sage-dark: #6c7e5f;
  --cream: #f1f1eb;
  --beige: #e2d2b8;
  --forest: #0e402d;
  --forest-dark: #0a3323;
  --rust: #a34b23;
  --tan-btn: #dfcda7;
  --ink: #20241f;
  --text-on-dark: #f4f1e8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-weight: 300;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translate(-50px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translate(50px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.2, 1);
  animation-fill-mode: both;
  animation-delay: var(--reveal-delay, 0s);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation-name: fadeUp;
  }
  .reveal-left {
    animation-name: fadeLeft;
  }
  .reveal-right {
    animation-name: fadeRight;
  }
}
.zoom-frame {
  overflow: hidden;
}
.zoom-frame img {
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.zoom-frame:hover img {
  transform: scale(1.06);
}
h1,
h2,
h3,
.serif {
  margin: 0;
  font-family:
    Libre Caslon Text,
    serif;
  font-weight: 500;
}
.italic {
  font-style: italic;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.btn {
  background: var(--tan-btn);
  color: var(--forest-dark);
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 16px 40px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 17px;
  font-weight: 300;
  transition:
    transform 0.2s,
    background 0.2s;
  display: inline-block;
}
.btn:hover {
  background: #ecdfc0;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: var(--forest-dark);
  color: var(--tan-btn);
}
.btn-outline-dark:hover {
  background: #0d4a34;
}
.btn-rust {
  background: var(--rust);
  color: #fbe9dd;
  text-align: center;
  width: 100%;
  padding: 18px 20px;
  font-size: 17px;
}
.btn-rust:hover {
  background: #8f4020;
}
.logo {
  width: 170px;
  height: auto;
}
.site-nav {
  z-index: 100;
  background: linear-gradient(#0c0a088c 0%, #0c0a0800 100%);
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  transition:
    background 0.3s,
    padding 0.3s;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.site-nav.scrolled {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #0a0a0a52;
  padding: 14px 40px;
}
.site-nav .nav-logo {
  width: 100px;
  height: auto;
  display: block;
}
.nav-links {
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.nav-links a {
  color: #fff;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #0000;
  padding: 6px 2px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 17px;
  font-weight: 300;
  transition:
    border-color 0.2s,
    opacity 0.2s;
}
.nav-links a:hover {
  border-color: currentColor;
}
.nav-links .btn {
  border-bottom: none;
  padding: 10px 26px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 15px;
  font-weight: 300;
}
.nav-toggle {
  cursor: pointer;
  z-index: 110;
  background: 0 0;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  display: none;
  position: relative;
}
.nav-toggle span {
  background: #fff;
  border-radius: 2px;
  height: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s,
    top 0.25s;
  position: absolute;
  left: 8px;
  right: 8px;
}
.nav-toggle span:first-child {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}
.site-nav.open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.site-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-nav.open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}
@media (width<=860px) {
  .site-nav {
    padding: 18px 22px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    background: var(--forest-dark);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: transform 0.3s;
    position: fixed;
    inset: 0;
    transform: translate(100%);
  }
  .site-nav.open .nav-links {
    transform: translate(0);
  }
  .nav-links a {
    font-size: 24px;
  }
}
.hero {
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  min-height: 92vh;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero .bg {
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: scale(1.12) translateY(0);
}
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content > * {
  opacity: 1;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.2, 1);
  animation-fill-mode: both;
}
.hero-content .logo {
  animation-delay: 50ms;
}
.hero-content h1 {
  animation-delay: 0.18s;
}
.hero-content p {
  animation-delay: 0.34s;
}
.hero-content .btn {
  animation-delay: 0.48s;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation-name: heroFadeUp;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg {
    transform: none;
  }
}
.hero:after {
  content: '';
  background: linear-gradient(#14100a8c 0%, #14100a59 40%, #14100a99 100%);
  position: absolute;
  inset: 0;
}
.hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  position: relative;
}
.hero-content .logo {
  width: 120px;
  margin: 0 auto 28px;
}
.hero-content h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 6.2vw, 76px);
  font-style: italic;
  line-height: 1.12;
}
.hero-content p {
  color: #efece3;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 17px;
}
.different {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.different .col {
  padding: 80px 60px;
}
.different .left {
  background: var(--sage);
  color: #eef1e9;
}
.different .left h2 {
  color: #fff;
  margin-bottom: 28px;
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
}
.different .left p {
  max-width: 360px;
  margin-bottom: 32px;
  font-size: 16.5px;
  line-height: 1.5;
}
.different .left .zoom-frame {
  border-radius: 2px;
  height: 300px;
  margin-bottom: 36px;
  position: sticky;
  top: 110px;
}
.different .left img {
  object-fit: cover;
  width: 100%;
  height: 300px;
}
.different .right {
  background: var(--beige);
}
.different .right h2 {
  color: var(--forest-dark);
  max-width: 380px;
  margin-bottom: 48px;
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
}
.feature-row {
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
  display: grid;
}
.feature-row .zoom-frame {
  border-radius: 2px;
  width: 220px;
  height: 130px;
}
.feature-row img {
  object-fit: cover;
  width: 220px;
  height: 130px;
}
.feature-row h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 20px;
  font-weight: 300;
}
.feature-row p {
  color: #4a4a42;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.how {
  background: var(--cream);
  text-align: center;
  padding: 110px 0 90px;
}
.how h2 {
  color: var(--forest-dark);
  margin-bottom: 80px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-style: italic;
  line-height: 1.15;
}
.how h2 .not-italic {
  font-style: normal;
}
.steps {
  text-align: left;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  display: grid;
}
.step {
  transition: transform 0.35s;
}
.step:hover {
  transform: translateY(-6px);
}
.step .num {
  background: var(--forest-dark);
  width: 44px;
  height: 44px;
  color: var(--cream);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
  font-family:
    Libre Caslon Text,
    serif;
  font-size: 16px;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.35s;
  display: flex;
}
.step:hover .num {
  background: var(--rust);
  transform: scale(1.12) rotate(-6deg);
}
.step h3 {
  color: var(--forest-dark);
  min-height: 90px;
  margin-bottom: 16px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
}
.step p {
  color: #4a4a42;
  font-size: 13px;
}
.panels {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.panels .photo-frame {
  min-height: 520px;
  overflow: hidden;
}
.panels .photo {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  min-height: 520px;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  display: block;
}
.panels .photo-frame:hover .photo {
  transform: scale(1.06);
}
.panels .substack {
  background: #100d0a;
  justify-content: center;
  align-items: center;
  padding: 40px;
  display: flex;
}
.substack-card {
  text-align: center;
  color: #fff;
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  padding: 56px 40px 40px;
  position: relative;
  overflow: hidden;
}
.substack-card .bg {
  object-fit: cover;
  object-position: 50% 22%;
  z-index: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  position: absolute;
  inset: 0;
}
.substack-card:hover .bg {
  transform: scale(1.06);
}
.substack-card:after {
  content: '';
  z-index: 0;
  background: #0a080659;
  position: absolute;
  inset: 0;
}
.substack-card > * {
  z-index: 1;
  position: relative;
}
.substack-card h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 34px);
  font-style: italic;
}
.substack-card p {
  color: #f1ece0;
  margin-bottom: 30px;
  font-size: 14px;
}
.substack-card p.tagline {
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.subscribe-form {
  background: var(--beige);
  color: var(--forest-dark);
  text-align: left;
  border-radius: 2px;
  padding: 26px 24px 20px;
}
.subscribe-form label {
  margin-bottom: 14px;
  font-family:
    Libre Caslon Text,
    serif;
  font-size: 20px;
  font-style: italic;
  display: block;
}
.subscribe-form input[type='email'] {
  background: #d9c8a4;
  border: 1px solid #b9a97f;
  border-radius: 3px;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 14px;
}
.subscribe-form .fineprint {
  text-align: center;
  color: #5a5240;
  margin-top: 12px;
  font-size: 10.5px;
}
.join-banner {
  text-align: center;
  background: var(--cream);
  padding: 90px 24px;
}
.join-banner h2 {
  color: var(--forest-dark);
  font-size: clamp(34px, 6vw, 64px);
  font-style: italic;
}
.newsletter {
  background: var(--cream);
  padding: 0 0 110px;
}
.newsletter .newsletter-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  display: flex;
}
.newsletter .eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.newsletter h2 {
  color: var(--forest-dark);
  max-width: 460px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-style: italic;
}
.newsletter-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  display: grid;
}
.post-card {
  background: #ffffff59;
  border: 1px solid #cfcabb;
  border-radius: 10px;
  flex-direction: column;
  padding: 32px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  display: flex;
}
.post-card:hover {
  border-color: var(--forest-dark);
  transform: translateY(-2px);
}
.post-date {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8470;
  margin-bottom: 16px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.post-title {
  color: var(--forest-dark);
  margin-bottom: 14px;
  font-family:
    Libre Caslon Text,
    serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.32;
}
.post-excerpt {
  color: #4a4a42;
  flex-grow: 1;
  margin-bottom: 24px;
  font-size: 14px;
}
.post-link {
  color: var(--rust);
  border-bottom: 1px solid #0000;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    transform 0.2s;
  display: inline-flex;
}
.post-link:hover {
  border-color: var(--rust);
  transform: translate(4px);
}
.newsletter-cta {
  justify-content: center;
  margin-top: 44px;
  display: flex;
}
@media (width<=700px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}
.quote {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.quote .zoom-frame {
  height: 100%;
  min-height: 420px;
}
.quote img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.quote .text {
  background: var(--forest-dark);
  color: var(--text-on-dark);
  flex-direction: column;
  justify-content: center;
  padding: 70px 64px;
  display: flex;
}
.quote .text p {
  margin-bottom: 40px;
  font-family:
    Libre Caslon Text,
    serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-style: italic;
  line-height: 1.4;
}
.quote .text .btn {
  align-self: center;
}
.contact {
  text-align: center;
  color: #fff;
  padding: 110px 24px 90px;
  position: relative;
  overflow: hidden;
}
.contact img.bg {
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.contact:after {
  content: '';
  z-index: 0;
  background: linear-gradient(#2d140c8c, #1e0e09cc);
  position: absolute;
  inset: 0;
}
.contact > * {
  z-index: 1;
  position: relative;
}
.contact .logo {
  margin: 0 auto 36px;
}
.contact h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 6vw, 64px);
  font-style: italic;
}
.contact > p {
  color: #f0e9df;
  margin-bottom: 50px;
  font-size: 15px;
}
.contact-form {
  background: var(--beige);
  text-align: left;
  max-width: 640px;
  color: var(--forest-dark);
  border-radius: 4px;
  margin: 0 auto;
  padding: 36px;
}
.contact-form label {
  margin-top: 20px;
  margin-bottom: 8px;
  font-family:
    Libre Caslon Text,
    serif;
  font-size: 16px;
  font-style: italic;
  display: block;
}
.contact-form label:first-of-type {
  margin-top: 0;
}
.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form textarea {
  resize: vertical;
  background: #ecdfc0;
  border: 1px solid #b9a97f;
  border-radius: 3px;
  width: 100%;
  padding: 12px 14px;
  font-family:
    Hanken Grotesk,
    sans-serif;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .fineprint {
  text-align: center;
  color: #5a5240;
  margin-top: 14px;
  font-size: 10.5px;
}
.contact-form button {
  margin-top: 22px;
}
[id] {
  scroll-margin-top: 90px;
}
@media (width<=900px) {
  .different,
  .panels,
  .quote {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step h3 {
    min-height: auto;
  }
  .wrap {
    padding: 0 22px;
  }
  .different .col {
    padding: 60px 30px;
  }
  .contact-form {
    padding: 24px;
  }
  .newsletter-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .panels .photo-frame,
  .panels .photo {
    min-height: 320px;
  }
  .quote .zoom-frame,
  .quote img {
    min-height: 280px;
  }
  .different .left .zoom-frame,
  .panels .photo-frame {
    position: static;
  }
}
@media (width<=520px) {
  .steps,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row .zoom-frame,
  .feature-row img {
    width: 100%;
    height: 180px;
  }
}
@property --tw-rotate-x {
  syntax: '*';
  inherits: false;
}
@property --tw-rotate-y {
  syntax: '*';
  inherits: false;
}
@property --tw-rotate-z {
  syntax: '*';
  inherits: false;
}
@property --tw-skew-x {
  syntax: '*';
  inherits: false;
}
@property --tw-skew-y {
  syntax: '*';
  inherits: false;
}
@property --tw-blur {
  syntax: '*';
  inherits: false;
}
@property --tw-brightness {
  syntax: '*';
  inherits: false;
}
@property --tw-contrast {
  syntax: '*';
  inherits: false;
}
@property --tw-grayscale {
  syntax: '*';
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: '*';
  inherits: false;
}
@property --tw-invert {
  syntax: '*';
  inherits: false;
}
@property --tw-opacity {
  syntax: '*';
  inherits: false;
}
@property --tw-saturate {
  syntax: '*';
  inherits: false;
}
@property --tw-sepia {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: '*';
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: '*';
  inherits: false;
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
/* EC-MARQUEE-OVERFLOW-001: Local clip for a SOURCE marquee/ticker wrapper whose
   over-wide track would otherwise add horizontal page scroll. Applied at build
   time to the track's direct parent (see clipMarqueeOverflow). Works on every
   browser and never touches body/sticky-header behavior. */
.wpc-marquee-clip {
  overflow-x: hidden;
  max-width: 100%;
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* EC-NAV-MOBILE-010: The force-horizontal / force-inline-block rules below are DESKTOP-ONLY.
   They exist to coerce WordPress-generated <ul class="menu"><li> markup into a horizontal bar.
   Previously they were unconditional with id-specificity + !important, which overrode the source
   theme's mobile-first hide (e.g. a .nav-primary .menu display:none revealed via a hamburger).
   On classic mobile-first themes that leaked the desktop nav onto every mobile page (often as a
   full-screen overlay, since the source .menu base is position:fixed;inset:0). Scoping to a
   min-width media query keeps desktop horizontal while letting the source's mobile nav / our
   injected #wpconvert-mobile-nav drawer own small screens.
   EC-NAV-483: and the width where small screens end is the source's to choose — see
   source-nav-breakpoint.js. 768px is the default, raised when the source's own CSS hides
   the primary list above it. */
@media (min-width: 768px) {
  /* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
  /* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
  /* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses. */
  header ul#wpconvert-primary-ul,
  #wpconvert-primary-ul,
  #wpconvert-primary-ul.menu,
  ul#wpconvert-primary-ul.menu,
  ul.menu:not(.submenu):not(.sub-menu) {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
  /* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
  header nav.main-nav ul#wpconvert-primary-ul,
  header .main-nav ul#wpconvert-primary-ul,
  nav.main-nav ul#wpconvert-primary-ul,
  .main-nav #wpconvert-primary-ul,
  .main-nav ul#wpconvert-primary-ul {
    /* Inherit the original .main-nav ul styles */
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  /* EC-NAV-364: …but an auto margin on the menu <ul> IS the navbar's horizontal
   layout, not a stray UA default. Bootstrap's .navbar-nav.ml-auto (and the
   Tailwind / BS5 spellings) is what pushes the menu away from the brand over to
   the right edge; the ID-scoped "margin: 0 !important" resets above outrank the
   utility's own !important and collapse the whole bar to the left (Butterfly
   Cancer Care Foundation). Re-asserted here — last, and with a 3-element variant
   that ties the highest-specificity reset ("header nav.main-nav ul#…") so it wins
   on both counts. Additive: these selectors match ONLY a <ul> that literally
   carries the utility, so every other menu keeps today's layout byte-for-byte. */
  header nav ul#wpconvert-primary-ul.ml-auto,
  header ul#wpconvert-primary-ul.ml-auto,
  ul#wpconvert-primary-ul.ml-auto,
  #wpconvert-primary-ul.ml-auto,
  header nav ul#wpconvert-primary-ul.ms-auto,
  header ul#wpconvert-primary-ul.ms-auto,
  ul#wpconvert-primary-ul.ms-auto,
  #wpconvert-primary-ul.ms-auto {
    margin-left: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mr-auto,
  header ul#wpconvert-primary-ul.mr-auto,
  ul#wpconvert-primary-ul.mr-auto,
  #wpconvert-primary-ul.mr-auto,
  header nav ul#wpconvert-primary-ul.me-auto,
  header ul#wpconvert-primary-ul.me-auto,
  ul#wpconvert-primary-ul.me-auto,
  #wpconvert-primary-ul.me-auto {
    margin-right: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mx-auto,
  header ul#wpconvert-primary-ul.mx-auto,
  ul#wpconvert-primary-ul.mx-auto,
  #wpconvert-primary-ul.mx-auto,
  header nav ul#wpconvert-primary-ul.m-auto,
  header ul#wpconvert-primary-ul.m-auto,
  ul#wpconvert-primary-ul.m-auto,
  #wpconvert-primary-ul.m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
  /* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
  header ul#wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li.menu-item,
  #wpconvert-primary-ul > li.menu-item-type-post_type,
  #wpconvert-primary-ul > li.menu-item-type-custom,
  #wpconvert-primary-ul > li.menu-item-object-page,
  #wpconvert-primary-ul > li.menu-item-object-custom,
  #wpconvert-primary-ul > li.menu-item-has-children,
  #wpconvert-primary-ul > li.current-menu-item,
  #wpconvert-primary-ul > li.current_page_item,
  #wpconvert-primary-ul > li.current-menu-ancestor,
  #wpconvert-primary-ul.menu > li,
  ul.menu:not(.submenu):not(.sub-menu) > li,
  body #wpconvert-primary-ul > li {
    display: inline-block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    list-style: none !important;
    /* EC-NAV-295: Do NOT force the top-level item margin to zero here. This rule is
     ID-scoped (+ !important) and previously clobbered a source theme's inter-item spacing
     (e.g. .main-menu__list > li + li margin-left:37px), collapsing classic HTML
     navbars into a jammed-together row. Item spacing must come from the source theme
     (li margins) or from ulClasses on the ul (Tailwind gap-*). The gentle
     low-specificity .menu-item margin:0 default above still neutralises stray
     browser/WP margins for sites that ship none, and any source li spacing wins. */
    vertical-align: middle !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
  }
}
/* End EC-NAV-MOBILE-010 desktop-only nav layout */

/* Preserve original .main-nav link styling (color/weight is width-independent) */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
/* EC-NAV-220: Layout & visibility properties stay !important so the
   hover-to-show behaviour overrides Tailwind's display:none / opacity:0
   defaults on sites without their own dropdown CSS. */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important; /* Higher than content */
  list-style: none !important;
  margin: 0 !important;
}
/* EC-NAV-220: Visual surface properties (background / border / shadow /
   padding / sizing) are emitted via :where(...) so the selector collapses
   to specificity (0,0,0). Any captured custom-submenu CSS rule with
   non-zero specificity (e.g. aura-lace .dropdown-menu with background
   var(--emerald)) automatically wins via the cascade so the author's
   luxury / dark-themed dropdown panel renders correctly.
   For sites WITHOUT captured dropdown CSS, these white-card defaults
   still apply because nothing else competes. */
:where(.menu-item.menu-item-has-children) > :where(.submenu),
:where(.menu-item.menu-item-has-children) > :where(.sub-menu),
:where(.menu-item-has-children) > :where(ul),
:where(li.menu-item-has-children) > :where(ul) {
  background: white;
  min-width: 200px;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
/* EC-GALLERY-002d: [data-wpc-live-dialog] opts out — a dialog WPConvert injects on purpose
   (e.g. the gallery lightbox) is not snapshot debris, and these !important rules would
   otherwise beat even its inline styles and leave it permanently invisible. */
[role='dialog'][class*='fixed']:not([data-wpc-live-dialog]),
[data-radix-dialog-content][class*='fixed']:not([data-wpc-live-dialog]),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black']:not(
    [data-wpc-live-dialog]
  ),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop']:not(
    [data-wpc-live-dialog]
  ) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
/* EC-NAV-429: the class guards above only see a utility class ON the element.
   A header the source lifts out of flow from an ancestor rule — Scorpion uses
   ".overlap #HeaderZone { position: absolute }" with no class on the header at
   all — passed every guard and was forced back into flow, dropping a
   deliberately transparent header onto the page background where its light link
   text became invisible. Such ids are detected from the source CSS. */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav) {
  position: relative !important;
  z-index: 1000 !important;
}

/* EC-NAV-361: the rule above uses BARE TAG selectors, but <header> and <nav> are
   also valid SECTIONING content — a hero banner, an article header, a breadcrumb
   trail. Those live inside <main class="site-main">, and inflating them to
   z-index:1000 puts PAGE CONTENT on a layer above almost everything, where it
   beats any overlay the source site authored (Jegson Publicity: the enquiry modal
   is z-index:100, so the 78vh hero <header> painted straight over the open popup).
   Site chrome is always emitted OUTSIDE <main>, so scoping the repair to
   descendants of the content wrapper can never reach the real navbar.
   Only z-index is reset — position is left alone so the EC-NAV-190 absolute-overlay
   and EC-NAV-352 CSS-authored-fixed-nav behaviours are untouched. "auto" is what an
   un-styled hero has, and it is the value that restores the source ordering: the
   base rule already beats a Tailwind z-* utility (it is !important), so exempting
   those would merely leave them inflated to 1000 — the very bug being fixed. */
main.site-main
  header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
main.site-main
  nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
main.site-main
  [role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  z-index: auto !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
/* EC-NAV-296: Exclude the classic-theme sticky-header class family
   (.sticky-header / .sticky-header--normal / .sticky-header--cloned). Those are SEMANTIC
   class names from HTML themes (e.g. Visanet / Smart Travel International) that ship their
   OWN sticky-on-scroll mechanism: JS clones .main-header into a .sticky-header--cloned
   element whose source CSS keeps it position:fixed + visibility:hidden + translateY(-100%)
   (out of flow, hidden) until .active is added on scroll. The broad [class*=sticky]
   substring match also caught that clone and forced position:sticky !important, which —
   because sticky stays IN FLOW — made the invisible clone occupy ~114px of vertical space
   (white gap between navbar and hero, issue #1) and surface as a duplicate header band
   (issue #2). The exclusion is substring-scoped to sticky-header, so Tailwind's sticky
   utility (nav.sticky / header.sticky) and responsive variants like lg:sticky are
   UNAFFECTED — they never contain the sticky-header token. */
/* EC-NAV-363: same source-neutralisation exemption as the fixed block below. */
nav.sticky,
nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header nav.sticky,
header
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky,
header[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: sticky !important;
}

/* EC-NAV-322: Inner <nav> must not be sticky when the header wrapper is already
   fixed/sticky — double-positioning clips menu text in pre-scroll (Kai.dev:
   fixed header + converter-injected nav.sticky.top-0). */
header.fixed nav.sticky,
header.fixed nav[class*='sticky']:not([class*='sticky-header']),
header[class*='fixed'] nav.sticky,
header[class*='fixed']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky nav.sticky,
header[class*='sticky']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: static !important;
  top: auto !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
/* EC-NAV-296: same sticky-header clone exclusion (a .sticky-header--cloned does not carry
   a fixed token, but keep the guard symmetric in case a theme names a clone with both). */
/* EC-NAV-363: the substring selectors additionally exempt any framework position
   class the SOURCE cascade already neutralises (Bootstrap .fixed-top redeclared
   in-flow by a later .navbar{position:relative}). The exact-token `nav.fixed`
   (Tailwind) selectors are never guarded — they have no such override. */
nav.fixed,
nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header nav.fixed,
header
  nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header.fixed,
header[class*='fixed']:not([style*='position']):not([class*='sticky-header']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up).
 *
 * EC-NAV-276: INNER-page templates wrap content one level deeper —
 *   .site-main > div.page-SLUG > div.page-content > HERO
 * and the hero is frequently authored as a div (e.g. div.hero), not a section.
 * Static sites (e.g. WECConnect) set the original nav position:fixed and give
 * each subpage hero margin-top:NAVHEIGHT to clear it; once the universal reset
 * forces the class-only nav in-flow (sticky/relative), that top margin becomes a
 * visible white band under the bar. Zero the first child inside .page-content
 * (section OR div) so inner pages match the front page (whose hero is already
 * covered by the rules above). Scoped to .page-content, which only WPConvert
 * page templates emit — SPA inner pages never carry it.
 *
 * EC-NAV-442: suppressed when the site's own stylesheet holds the bar OUT of
 * flow — the margin is then the author's clearance, not a redundant gap. */

.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type,
.site-main .page-content > section:first-of-type,
.site-main .page-content > div:first-of-type,
.site-main .page-content > :first-child > :first-child {
  margin-top: 0;
}

/* EC-NAV-086: Skipped hero overlap CSS — nav is not fixed/sticky */

/* EC-HERO-014: Full-viewport hero fidelity — SPA wrapper path + min-height guard */
body.front-page #primary section#top.min-h-screen,
body.front-page
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.front-page #primary section#top.min-h-screen > .absolute.bottom-10 {
  z-index: 10;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */
/* [EC-TW4-001] unwrapped @layer utilities */
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.inline-block {
  display: inline-block;
}
.table {
  display: table;
}
.grow {
  flex-grow: 1;
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,)
    var(--tw-skew-x,) var(--tw-skew-y,);
}
.italic {
  font-style: italic;
}
.not-italic {
  font-style: normal;
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,)
    var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,)
    var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* EC-FORM-004: Native <select> option list styling.
 *
 * Why: EC-FORMS-004 / EC-MSTEP-001C converts Radix shadcn comboboxes to
 * native <select> elements so the form submits as a real HTML form. Native
 * select-popups inherit the trigger element background, so on shadcn forms
 * with translucent inputs (e.g. bg-white slash 10), the option list paints
 * as a translucent panel that bleeds the parent form background and makes
 * options nearly unreadable.
 *
 * The rule below paints each option on a solid surface using the same
 * shadcn --card design tokens the rest of the theme already uses, so
 * dropdowns visually match the original SelectContent / bg-popover render.
 *
 * Safety:
 *   - Scoped strictly to select option / select optgroup — never leaks
 *     to custom popover divs.
 *   - hsl(var(--card, ...)) with fallbacks degrades cleanly on themes
 *     that do not define the variable.
 *   - Safari ignores option styling entirely (no DOM hook into the native
 *     popup) so this is a no-op there. Chrome/Edge/Firefox/Brave honour it.
 */
/* EC-FORM-004 / EC-FORM-004b: solid option surfaces — card tokens by default,
   popover tokens on dark booking sections (bg-secondary / needs-wiring forms). */
select option,
select optgroup,
.bg-secondary select option,
.bg-secondary select optgroup,
form[data-wpconvert-form] select option,
form[data-wpconvert-form] select optgroup {
  background-color: hsl(var(--popover, var(--card, 0 0% 100%)));
  color: hsl(var(--popover-foreground, var(--card-foreground, 222.2 84% 4.9%)));
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-NAV-478: the source positions this header with `.site-nav { position: fixed }`.
   The base reset only skips headers that advertise positioning as a class token, and the
   EC-NAV-352 / EC-NAV-162b overrides cover <nav> and header/.site-header by name — not this
   element. Without this rule the bar drops into flow, the hero is pushed below it, and a
   transparent bar's light ink lands on the page background. */
header.site-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: fixed !important;
}

/* EC-NAV-433b: the EC-NAV-190 in-flow repair uses BARE tag selectors, and its
   :not([class*='…']) guards only see a utility class ON the element. A content
   header the SOURCE lifts out of flow from a stylesheet rule — Sabrina's
   ".set-product-head { position: absolute; top: 50% }" caption inside an
   overflow:hidden product frame — slipped past all three guards, was forced
   back into flow and clipped out of its frame. Restore the authored value for
   sectioning headers inside <main>, where the site header never lives. */
main.site-main
  header.site-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  nav.site-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='banner'].site-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='navigation'].site-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: fixed !important;
}
