/* ============================================================
   OLD MISS GODMOTHER — design system
   ============================================================ */

:root {
  /* palette — muted Ole Miss powder blue + warm cream + navy contrast */
  --navy:          #0E2240;
  --navy-deep:     #081428;
  --navy-soft:     #1B3358;

  /* powder blues — a quieter, dustier family than the bright original */
  --powder:        #BFD0DE;
  --powder-deep:   #A6BDD0;
  --powder-pale:   #DCE6EE;
  --powder-paper:  #ECF1F6;

  --red:           #B12A33;
  --red-deep:      #8E1F26;

  /* warm cream/whites for alternating sections */
  --cream:         #F7F1E5;
  --cream-warm:    #EFE6D2;
  --paper:         #FFFFFF;

  --ink:           #16223A;
  --ink-soft:      #4A5870;
  --ink-mute:      #7E8DA4;
  --line:          rgba(14, 34, 64, 0.12);
  --line-soft:     rgba(14, 34, 64, 0.07);

  /* type */
  --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --font-sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* scale */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 20, 40, 0.06), 0 4px 12px rgba(8, 20, 40, 0.04);
  --shadow-md: 0 4px 10px rgba(8, 20, 40, 0.06), 0 18px 40px rgba(8, 20, 40, 0.08);
  --shadow-lg: 0 10px 24px rgba(8, 20, 40, 0.08), 0 32px 80px rgba(8, 20, 40, 0.12);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ----- base ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--powder-pale);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-weight: 450; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); line-height: 1.6; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- eyebrows ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::before, .eyebrow.center::after {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7;
}
.eyebrow.center::after { content: ""; }

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 14px 36px rgba(177, 42, 51, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(14, 34, 64, 0.18);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.btn-light { background: white; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 19px;
  font-weight: 500;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  opacity: 0.25;
}
.brand-name { line-height: 1; }
.brand-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
}
.nav-phone:hover { color: var(--red); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  align-items: center; justify-content: center;
}

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
}

/* mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;
  padding: 24px var(--gutter);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-list {
  margin-top: 56px;
  display: flex; flex-direction: column;
  gap: 4px;
  list-style: none; padding: 0;
}
.mobile-menu-list a {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 450;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--powder-pale);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  margin-top: 22px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--red);
  font-weight: 400;
}
.hero-lead {
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-actions {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-meta-item strong {
  color: var(--navy); font-weight: 600; font-size: 14px;
}
.hero-meta-stars {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 14px;
}

/* hero photo collage */
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
}
.photo-main {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--powder);
}
.photo-badge {
  position: absolute;
  bottom: -28px; left: -28px;
  background: white;
  border-radius: 100%;
  width: 160px; height: 160px;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--navy);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transform: rotate(-6deg);
}
.photo-badge strong {
  font-size: 36px; line-height: 1;
  display: block;
  font-weight: 500;
  color: var(--red);
}
.photo-badge span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
  display: block;
}
.photo-card {
  position: absolute;
  top: 32px; right: -36px;
  background: white;
  padding: 14px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
  max-width: 230px;
}
.photo-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--powder), var(--cream-warm));
  display: grid; place-items: center;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
}
.photo-card .meta { font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.photo-card .meta strong { color: var(--navy); font-weight: 600; display:block; font-size: 13px;}

/* photo placeholder (when no real photo) */
.photo-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(14, 34, 64, 0.05) 0 14px,
      rgba(14, 34, 64, 0.02) 14px 28px
    ),
    linear-gradient(160deg, var(--powder) 0%, var(--powder-paper) 100%);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 34, 64, 0.55);
  text-align: center;
  padding: 24px;
  position: relative;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(14, 34, 64, 0.18);
  border-radius: inherit;
  pointer-events: none;
}
.photo-placeholder .ph-label {
  position: relative; z-index: 1;
  background: rgba(251, 247, 240, 0.85);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

/* gentle hero ornament */
.hero-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

@media (max-width: 880px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .photo-card { right: 12px; top: 16px; }
  .photo-badge { width: 130px; height: 130px; left: -12px; bottom: -16px; }
  .photo-badge strong { font-size: 28px; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  background: var(--navy);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.strip-track {
  display: flex; gap: 56px;
  animation: marquee 38s linear infinite;
  width: max-content;
  align-items: center;
}
.strip-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--cream);
  display: flex; align-items: center; gap: 56px;
  white-space: nowrap;
}
.strip-item::after {
  content: "✦";
  color: var(--red);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.section {
  padding: clamp(72px, 9vw, 130px) 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .lead { margin-top: 20px; }
.section-head h2 { margin-top: 14px; }

.services {
  background: var(--cream);
}
.services .svc-card { background: var(--paper); }
.services .svc-card.powder { background: var(--powder); }
.services .svc-card.feature { background: var(--navy); }
.services .svc-card.red-card { background: var(--red); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.svc-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-card.span-6 { grid-column: span 6; }
.svc-card.span-4 { grid-column: span 4; }
.svc-card.span-8 { grid-column: span 8; }

.svc-card.feature {
  background: var(--navy);
  color: var(--cream);
  min-height: 380px;
}
.svc-card.feature h3 { color: var(--cream); }
.svc-card.feature .svc-desc { color: rgba(251,247,240,0.7); }
.svc-card.feature .svc-tag { background: rgba(255,255,255,0.08); color: var(--cream); border-color: rgba(255,255,255,0.15); }

.svc-card.powder { background: var(--powder); }
.svc-card.red-card { background: var(--red); color: white; }
.svc-card.red-card h3 { color: white; }
.svc-card.red-card .svc-desc { color: rgba(255,255,255,0.85); }
.svc-card.red-card .svc-tag { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.2); }
.svc-card.red-card .svc-link { color: white; }
.svc-card.red-card .svc-link:hover { color: white; }

.svc-tag {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--powder-paper);
  border: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  align-self: flex-start;
}
.svc-card h3 { margin-top: auto; }
.svc-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  margin-top: auto;
}
.svc-link:hover { color: var(--red); }
.svc-link .arrow { transition: transform 0.25s ease; }
.svc-link:hover .arrow { transform: translateX(4px); }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-warm);
  display: grid; place-items: center;
  color: var(--navy);
}
.svc-card.feature .svc-icon { background: rgba(255,255,255,0.08); color: var(--cream); }
.svc-card.red-card .svc-icon { background: rgba(255,255,255,0.18); color: white; }

.svc-photo {
  margin: -32px -32px 0;
  aspect-ratio: 16/9;
  background: var(--powder-pale);
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) {
  .svc-card.span-6, .svc-card.span-4, .svc-card.span-8 { grid-column: span 12; }
}

/* ============================================================
   STORY / ABOUT
   ============================================================ */
.story {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.story-photos {
  position: relative;
  aspect-ratio: 1/1;
}
.story-photos .pp {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-photos .pp1 { top: 0; left: 0; width: 60%; aspect-ratio: 4/5; }
.story-photos .pp2 { top: 12%; right: 0; width: 48%; aspect-ratio: 1/1; transform: rotate(3deg); }
.story-photos .pp3 { bottom: 0; left: 18%; width: 56%; aspect-ratio: 5/4; transform: rotate(-2deg); }

.story-copy h2 { margin-top: 18px; }
.story-copy p { margin-top: 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.story-sig {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.story-sig .sig {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 32px;
  color: var(--navy);
  font-weight: 400;
}
.story-sig small {
  display: block;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}
.story-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
}
.stat-num em { font-style: italic; color: var(--red); }
.stat-lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   MAP / ROUTE
   ============================================================ */
.route {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.route h2 { color: var(--cream); }
.route .lead { color: rgba(251, 247, 240, 0.7); }
.route .eyebrow { color: var(--powder); }

.route-stage {
  position: relative;
  margin-top: 56px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(215, 229, 242, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0A1A33 0%, #061226 100%);
  aspect-ratio: 16/9;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
}
.route-svg { width: 100%; height: 100%; display: block; }

.route-cities {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.route-pin {
  position: absolute;
  transform: translate(-50%, -100%);
}
.route-pin .pin-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid white;
  margin: 0 auto;
  box-shadow: 0 0 0 4px rgba(177, 42, 51, 0.25), 0 6px 16px rgba(0,0,0,0.4);
  position: relative;
}
.route-pin .pin-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(177, 42, 51, 0.4);
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.route-pin .pin-label {
  margin-top: 10px;
  background: white;
  color: var(--navy);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
  margin-left: 50%;
  display: inline-block;
}
.route-pin .pin-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.route-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.route-stat {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.route-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--cream);
  font-weight: 500;
  line-height: 1;
}
.route-stat-lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.55);
  margin-top: 8px;
}

@media (max-width: 760px) {
  .route-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tests {
  background: var(--powder-pale);
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.test {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.test:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.test:nth-child(2) { background: var(--powder); border-color: transparent; }
.test .stars { color: var(--red); letter-spacing: 3px; }
.test blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 450;
  text-wrap: pretty;
}
.test-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
  margin-top: auto;
}
.test-author .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream-warm);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 500;
}
.test-author .meta { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.test-author .meta strong { display: block; color: var(--navy); font-weight: 600; font-size: 14px;}

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

/* ============================================================
   FORMS — Jobber embed sections
   ============================================================ */
.form-section {
  position: relative;
}
.form-section.rides { background: var(--cream); }
.form-section.meals { background: var(--powder); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.form-side h2 { margin-top: 18px; }
.form-side .lead { margin-top: 18px; }
.form-checks {
  margin-top: 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  list-style: none; padding: 0;
}
.form-checks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.form-checks li .ck {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-checks li strong { color: var(--navy); font-weight: 600; }

.form-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.form-card-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form-card-head .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}
.form-card-head h3 { margin: 0; }
.form-card-head small {
  display: block;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

.jobber-mount { min-height: 200px; }

@media (max-width: 880px) {
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 24px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--powder-pale);
}
.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--navy);
  font-weight: 450;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item[open] .ico {
  background: var(--navy);
  color: var(--cream);
  transform: rotate(45deg);
}
.faq-item .ans {
  padding: 0 0 28px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 680px;
}

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--red);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-strip-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-strip h2 { color: white; font-size: clamp(36px, 5vw, 60px); }
.cta-strip h2 em { font-style: italic; color: var(--cream-warm); }
.cta-strip p { color: rgba(255,255,255,0.85); margin-top: 20px; font-size: 18px; }
.cta-strip .btns {
  margin-top: 32px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.cta-strip .eyebrow { color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0.7;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.footer a { color: rgba(251, 247, 240, 0.8); font-size: 14.5px; }
.footer a:hover { color: white; }

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--cream);
  font-weight: 450;
}
.footer-brand p {
  color: rgba(251, 247, 240, 0.65);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-contact {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(251,247,240,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(251,247,240,0.5);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   ANIMATIONS — reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   TWEAKS PANEL (vanilla, host-toolbar-driven)
   ============================================================ */
#tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 40px);
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(8,20,40,0.20), 0 6px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-sans);
}
#tweaks-panel[hidden] { display: none; }
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.tw-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}
.tw-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  display: grid; place-items: center;
}
.tw-close:hover { background: rgba(0,0,0,0.05); color: var(--navy); }
.tw-body {
  padding: 16px 18px 20px;
  overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 18px;
}
.tw-section { display: flex; flex-direction: column; gap: 8px; }
.tw-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.tw-segment {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  background: var(--powder-paper);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.tw-segment button {
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.tw-segment button.on {
  background: var(--navy);
  color: var(--cream);
}
.tw-input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--paper);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.tw-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14,34,64,0.08);
}
.tw-toggle {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.tw-switch {
  width: 38px; height: 22px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.tw-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}
.tw-switch.on { background: var(--navy); }
.tw-switch.on::after { transform: translateX(16px); }
.tw-palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tw-palette button {
  height: 44px;
  border-radius: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.tw-palette button.on { border-color: var(--navy); }
.tw-palette button:hover { transform: translateY(-1px); }
.tw-palette .swatch-row {
  position: absolute;
  inset: 4px;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
}
.tw-palette .swatch-row span { flex: 1; }
.tw-palette .label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  z-index: 1;
}
@media (max-width: 600px) {
  #tweaks-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
}
