/* ============================================================
   MICHELLE BEULAH THORNTON — Global Theme
   Theme Token System (Rule #12 Enforcement Layer)
   Asset ID: mbt-theme-001 | Owner: michellebeulahthornton.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---- DESIGN TOKENS ---------------------------------------- */
:root {
  /* Brand Colors — ZERO hardcoding in components */
  --brand-primary: #915F6D;
  /* Warm Red-Mauve  — Sanctuary update */
  --brand-secondary: #ee6c2b;
  /* Vibrant Orange */
  --brand-bg: #F9F4F4;
  /* Warm Sand Background */
  --brand-dark: #2c1e28;
  /* Deep Plum */
  --brand-mid: #7A4558;
  /* Warm Mid Rose */
  --brand-light: #EDD9DF;
  /* Warm Pale Rose */
  --brand-accent-warm: #f5c6a0;
  /* Warm Peach */
  --brand-white: #ffffff;

  /* Semantic Aliases */
  --color-surface: var(--brand-bg);
  --color-surface-dark: var(--brand-dark);
  --color-text-primary: var(--brand-dark);
  --color-text-muted: var(--brand-mid);
  --color-text-light: var(--brand-white);
  --color-action: var(--brand-secondary);
  --color-action-hover: #d05820;
  --color-link: var(--brand-primary);
  --color-border: var(--brand-light);

  /* Typography */
  --heading-font: 'Lora', Georgia, serif;
  --body-font: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  --body-size: clamp(1rem, 2.5vw, 1.25rem);
  /* fluid 16–20px baseline */
  --body-line-h: 1.65;

  /* Spacing Scale */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;

  /* Component Tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-arch: 50% 50% 0 0 / 60% 60% 0 0;
  --touch-target: 48px;
  --shadow-soft: 0 4px 24px rgba(145, 95, 109, 0.18);
  --shadow-card: 0 8px 40px rgba(44, 30, 40, 0.12);
  --transition: 0.28s ease;

  /* Z-Index Scale */
  --z-base: 1;
  --z-overlay: 10;
  --z-modal: 100;
  --z-nav: 200;
}

/* ---- RESET ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: var(--body-line-h);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-action);
}

/* ---- TYPOGRAPHY ---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 3vw, 1.875rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
  margin-bottom: var(--sp-sm);
}

/* ---- LAYOUT ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-xl) 0;
}

.section--dark {
  background-color: var(--color-surface-dark);
  color: var(--color-text-light);
}

.section--mauve {
  background-color: var(--brand-primary);
  color: var(--color-text-light);
}

/* ---- BUTTONS ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  padding: 0.75rem 2rem;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  width: 100%;
}

@media (min-width: 600px) {
  .btn {
    width: auto;
  }
}

.btn--primary {
  background-color: var(--color-action);
  color: var(--color-text-light);
  /* Lift orange off the warmer background — ensures contrast & pop */
  box-shadow: 0 4px 18px rgba(238, 108, 43, 0.22);
}

.btn--primary:hover {
  background-color: var(--color-action-hover);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 108, 43, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.btn--outline:hover {
  background-color: var(--brand-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn--light {
  background-color: var(--brand-white);
  color: var(--brand-dark);
}

.btn--light:hover {
  background-color: var(--brand-light);
  transform: translateY(-2px);
}

/* ---- MAUVE ARCH ---------------------------------------- */
.arch-frame {
  position: relative;
  width: clamp(240px, 40vw, 360px);
  aspect-ratio: 0.72;
  margin: 0 auto;
  flex-shrink: 0;
}

.arch-frame__bg {
  position: absolute;
  inset: 0;
  background-color: var(--brand-primary);
  border-radius: var(--radius-arch);
  overflow: hidden;
}

.arch-frame__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
}

.arch-frame__ring {
  position: absolute;
  inset: -12px;
  border: 3px solid var(--brand-primary);
  border-radius: var(--radius-arch);
  opacity: 0.40;
}

/* ---- EDITORIAL PORTRAIT (high-end feathered treatment) ---------- */

/*
  Structure:
    <div class="editorial-portrait">
      <div class="editorial-portrait__lotus" aria-hidden="true"></div>
      <div class="editorial-portrait__photo-wrap">
        <img src="…" alt="…" />
      </div>
      <div class="editorial-portrait__line" aria-hidden="true"></div>
    </div>
*/

.editorial-portrait {
  position: relative;
  /* Generous size — focal point of the hero */
  width: clamp(280px, 44vw, 500px);
  /* Tall portrait ratio */
  aspect-ratio: 0.75;
  flex-shrink: 0;
  margin: 0 auto;
  /* Extra right space for the accent line */
  padding-right: 20px;
}

/* ── Lotus watermark — behind and offset left of photo ── */
.editorial-portrait__lotus {
  position: absolute;
  /* Oversized so it peeks out organically behind the photo */
  width: 130%;
  height: 130%;
  top: -15%;
  left: -28%;
  background-image: url('./images/lotus-watermark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.13;
  /* semi-transparent, layered behind */
  z-index: 0;
  pointer-events: none;
}

/* ── Photo wrap — organic feathered shape ── */
.editorial-portrait__photo-wrap {
  position: absolute;
  /* Fill the container minus the right padding */
  inset: 0 20px 0 0;
  z-index: 1;
  border-radius: 62% 38% 58% 42% / 52% 44% 56% 48%;
  /* organic blob */
  overflow: hidden;
  /*
    Feathering: the mask gradient creates the blurred organic edge
    that dissolves seamlessly into the warm sand background.
    The three colour stops produce a crisp centre → soft mid-fade → full blend.
  */
  -webkit-mask-image:
    radial-gradient(ellipse 80% 86% at 50% 48%,
      black 38%,
      rgba(0, 0, 0, 0.70) 60%,
      rgba(0, 0, 0, 0.20) 80%,
      transparent 100%);
  mask-image:
    radial-gradient(ellipse 80% 86% at 50% 48%,
      black 38%,
      rgba(0, 0, 0, 0.70) 60%,
      rgba(0, 0, 0, 0.20) 80%,
      transparent 100%);
  /* Soft-diffuse floating shadow — blur 40px, 10% opacity */
  filter:
    drop-shadow(0 16px 40px rgba(44, 30, 40, 0.10)) drop-shadow(0 4px 12px rgba(145, 95, 109, 0.10));
}

.editorial-portrait__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Warm red-mauve vertical accent line ── */
.editorial-portrait__line {
  position: absolute;
  right: 4px;
  /* sits just inside the right-padding zone */
  top: 18%;
  height: 64%;
  width: 3px;
  background: var(--brand-primary);
  /* #915F6D warm red-mauve */
  border-radius: 2px;
  z-index: 2;
  /* Subtle fade at both ends */
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%);
}

/* ── Mobile: shrink portrait gracefully ── */
@media (max-width: 599px) {
  .editorial-portrait {
    width: clamp(220px, 80vw, 320px);
    padding-right: 16px;
  }

  .editorial-portrait__line {
    right: 2px;
    width: 2px;
    top: 20%;
    height: 60%;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .editorial-portrait {
    width: clamp(240px, 55vw, 380px);
  }
}

/* ---- LOTUS WATERMARK ---------------------------------------- */

.lotus-bg {
  position: relative;
  overflow: hidden;
}

.lotus-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./images/lotus-watermark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

.lotus-bg>* {
  position: relative;
  z-index: var(--z-base);
}

/* ---- CARDS ---------------------------------------- */
.card {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 30, 40, 0.18);
}

.card__body {
  padding: var(--sp-md);
}

/* ---- NAV ---------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background-color: rgba(248, 246, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-soft);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--sp-md);
  max-width: 1160px;
  margin: 0 auto;
}

.site-nav__logo {
  font-family: var(--heading-font);
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
  /* allow flex shrink */
}

.site-nav__logo:hover {
  color: var(--brand-primary);
}

.site-nav__logo-mark {
  width: 36px;
  height: 36px;
  background-image: url('./images/lotus-watermark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.site-nav__logo:hover .site-nav__logo-mark {
  transform: rotate(15deg) scale(1.1);
}

.site-nav__links {
  display: none;
  list-style: none;
  gap: var(--sp-md);
  align-items: center;
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}

.site-nav__links a {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-mid);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-secondary);
}

.site-nav__cta {
  display: none;
}

@media (min-width: 900px) {
  .site-nav__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(248, 246, 246, 0.98);
  backdrop-filter: blur(16px);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--sp-md);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.mobile-menu ul a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-dark);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* ---- FOOTER ---------------------------------------- */
.site-footer {
  background-color: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer__brand h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--brand-white);
  margin-bottom: var(--sp-sm);
}

.site-footer__brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}

.site-footer__col h4 {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--sp-sm);
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-footer__col ul a:hover {
  color: var(--brand-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.site-footer__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--sp-sm);
}

/* ---- POWERED-BY CREDIT ---------------------------------------- */
.footer-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.footer-powered-by:hover {
  color: rgba(255, 255, 255, 0.80);
}

.footer-powered-by svg {
  flex-shrink: 0;
  opacity: 0.70;
  transition: opacity var(--transition);
}

.footer-powered-by:hover svg {
  opacity: 1;
}

.footer-powered-by strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- HERO SPLIT ---------------------------------------- */
.hero-split {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}

/* ---- FEATURE GRID ---------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- VIDEO GRID ---------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow: var(--shadow-card);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- SECTION LABEL ---------------------------------------- */
.section-label {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: var(--sp-sm);
}

/* ---- DIVIDER ---------------------------------------- */
.divider {
  width: 64px;
  height: 3px;
  background: var(--brand-secondary);
  border-radius: 2px;
  margin: var(--sp-sm) 0 var(--sp-md);
}

/* ---- MODAL (License) ---------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 30, 40, 0.7);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  max-width: 540px;
  width: 100%;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
  color: var(--brand-dark);
}

.modal-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.modal-box td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-box td:first-child {
  font-weight: 600;
  color: var(--brand-mid);
  width: 40%;
}

.modal-close {
  float: right;
  background: var(--brand-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  margin-top: var(--sp-md);
  min-height: var(--touch-target);
  min-width: var(--touch-target);
}

/* ---- UTILITY ---------------------------------------- */
.text-center {
  text-align: center;
}

.text-mauve {
  color: var(--brand-primary);
}

.text-orange {
  color: var(--brand-secondary);
}

.text-light {
  color: var(--color-text-light);
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.pt-nav {
  padding-top: 80px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-sm {
  gap: var(--sp-sm);
}

.gap-md {
  gap: var(--sp-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- QUOTE CALLOUT ---------------------------------------- */
.quote-callout {
  border-left: 4px solid var(--brand-secondary);
  padding: var(--sp-md) var(--sp-md);
  background: linear-gradient(135deg, rgba(145, 95, 109, 0.08), rgba(238, 108, 43, 0.05));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--brand-mid);
}

/* ---- BADGE ---------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--mauve {
  background: var(--brand-light);
  color: var(--brand-mid);
}

.badge--orange {
  background: var(--brand-secondary);
  color: var(--brand-white);
}

/* ---- FORM ---------------------------------------- */
.form-group {
  margin-bottom: var(--sp-md);
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-mid);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  min-height: var(--touch-target);
  padding: 0.75rem 1rem;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--brand-dark);
  background: var(--brand-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(145, 95, 109, 0.22);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* ================================================================
   MOBILE-FIRST OVERRIDES  (≤ 599 px)
   ================================================================ */
@media (max-width: 599px) {

  /* Tighten section padding so content breathes without wasting
     too much vertical space on handsets */
  .section {
    padding: var(--sp-lg) 0;
  }

  /* Reduce container side padding */
  .container {
    padding: 0 var(--sp-sm);
  }

  /* Hero split — stack portrait below text, shrink portrait */
  .hero-split {
    padding-top: 72px;
    min-height: auto;
  }

  .hero-split__inner {
    gap: var(--sp-md);
  }

  .arch-frame {
    width: clamp(180px, 70vw, 280px);
    margin: 0 auto;
  }

  /* Logo text truncation on very small screens */
  .site-nav__logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 38vw;
  }

  /* Nav inner height stays 64px on mobile */
  .site-nav__inner {
    height: 64px;
  }

  /* Mobile menu starts at 64px */
  .mobile-menu {
    top: 64px;
  }

  /* Feature grid always 1-col on tiny screens */
  .feature-grid {
    grid-template-columns: 1fr !important;
  }

  /* Video grid — 1-col on phones */
  .video-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer bottom row — stack on phones */
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-xs);
  }

  /* Trust bar — 2-col grid on phones */
  .trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
    justify-items: center;
  }

  /* Modal box — full width with some inset */
  .modal-box {
    padding: var(--sp-md);
    border-radius: var(--radius-md);
  }

  /* Legal content — no double padding */
  .legal-content {
    padding: var(--sp-lg) var(--sp-sm);
  }
}

/* Small-medium phones (600–767px) bridge tweaks */
@media (min-width: 600px) and (max-width: 767px) {
  .arch-frame {
    width: clamp(220px, 50vw, 300px);
  }

  .site-nav__logo span {
    max-width: 45vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Footer Lotus */
.footer-lotus {
  width: 64px;
  height: auto;
  margin-bottom: var(--sp-md);
  opacity: 1;
  /* Full color request */
  display: block;
}

@media (max-width: 900px) {
  .footer-lotus {
    margin: 0 auto var(--sp-md);
  }
}