/* ==========================================================================
   Queen City Immigration Law — QCI Law
   Design system: "The Journey to the Crown"
   ========================================================================== */

:root {
  --green: #226C50;
  --forest: #16402F;
  --red: #DF3131;
  --terracotta: #BB5A3A;
  --parchment: #F7F3EC;
  --white: #FFFFFF;
  --ink: #1A1F1C;
  --muted: #5B685F;
  --line: #E4DCCD;
  --line-green: rgba(34, 108, 80, 0.18);
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Be Vietnam Pro', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 6px;
  --shadow-card: 0 1px 0 rgba(22, 64, 47, 0.04), 0 2px 4px rgba(22, 64, 47, 0.05), 0 20px 44px -24px rgba(22, 64, 47, 0.34);
  --shadow-soft: 0 10px 30px -18px rgba(22, 64, 47, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1200px;
  --header-h: 112px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

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

img { height: auto; }

a { color: var(--green); text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(2.75rem, 5.6vw, 4.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.22rem, 1.9vw, 1.55rem); line-height: 1.22; }
h4 { font-size: 1.08rem; }

p { max-width: 68ch; }

::selection { background: var(--green); color: var(--white); }

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

/* Screen reader only */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 4000;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--parchment);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.container--narrow { width: min(100% - 40px, 920px); margin-inline: auto; }

.section { padding: clamp(64px, 7.5vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5.5vw, 76px) 0; }
.section--flush { padding: 0; }

.bg-parchment {
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}
.bg-white { background: var(--white); }
.bg-forest { background: var(--forest); color: var(--parchment); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.body-copy p + p { margin-top: 1.05em; }

.section-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 { margin: 14px 0 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--with-accent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  max-width: none;
}
.section-head--with-accent > div { max-width: 700px; }
.accent-thumb {
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
  flex: none;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
}
.accent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.employment-accent { max-width: 760px; margin-left: auto; margin-right: auto; }
.about-practice-stack { display: grid; gap: 16px; }
.about-practice-secondary { max-width: 76%; margin-left: auto; }

.stamp-marker {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  position: relative;
  transform: rotate(-7deg);
  flex: none;
  background: rgba(187, 90, 58, 0.05);
}
.stamp-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  opacity: 0.5;
}
.stamp-marker svg { width: 23px; height: 23px; }
.section-head .stamp-marker { margin-bottom: 18px; }
.recognition .seal-xl svg { width: 100%; height: 100%; }
.animate-on-scroll.visible .stamp-marker,
.is-visible .stamp-marker {
  animation: stampIn 0.62s var(--ease) both;
}

@keyframes stampIn {
  0% { opacity: 0; transform: scale(1.45) rotate(9deg); }
  55% { opacity: 1; transform: scale(0.96) rotate(-9deg); }
  100% { opacity: 1; transform: scale(1) rotate(-7deg); }
}

/* Dotted route lines */
.route-draw .route-line {
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.route-draw.is-visible .route-line,
.route-draw.visible .route-line { stroke-dashoffset: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--forest); color: var(--white); }

.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-light { background: var(--parchment); color: var(--forest); }
.btn-light:hover { background: var(--white); }

.btn-ghost {
  border-color: rgba(247, 243, 236, 0.5);
  color: var(--parchment);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--parchment); background: rgba(247, 243, 236, 0.1); }

.btn-urgent {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  min-height: 56px;
  font-size: 1.02rem;
  position: relative;
}
.btn-urgent:hover { background: var(--red); color: var(--white); }

.btn-danger-outline {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  min-height: 56px;
}
.btn-danger-outline:hover { background: var(--red); color: var(--white); }
.page-hero--defense .btn-danger-outline { color: #fff; background: rgba(223, 49, 49, 0.16); }
.page-hero--defense .btn-danger-outline:hover { background: var(--red); color: #fff; }

.btn-lg { min-height: 58px; padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-magnetic { will-change: transform; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  border-bottom: 1px solid rgba(34, 108, 80, 0.32);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--forest); border-color: var(--forest); }
.text-link .arrow { transition: transform 0.2s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

.phone-link {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.015em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.phone-link--underline { border-bottom: 2px solid var(--terracotta); padding-bottom: 2px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.utility-bar {
  background: var(--forest);
  color: var(--parchment);
  font-size: 0.78rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}
.utility-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utility-phone {
  color: var(--white);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.utility-phone:hover { color: #D9CDBB; }
.utility-phone svg { width: 14px; height: 14px; opacity: 0.85; }

.hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(247, 243, 236, 0.8);
  white-space: nowrap;
}
.hours-chip .hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7FD1A6;
  box-shadow: 0 0 0 3px rgba(127, 209, 166, 0.16);
  flex: none;
}
.hours-chip.is-closed .hours-dot { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(187, 90, 58, 0.18); }

.utility-right { display: flex; align-items: center; gap: 10px; }
.utility-label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}
.lang-switch { display: flex; gap: 1px; align-items: center; }
.lang-chip {
  min-width: 30px;
  min-height: 26px;
  padding: 3px 6px;
  border-radius: 3px;
  color: rgba(247, 243, 236, 0.66);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: background 0.2s, color 0.2s;
}
.lang-chip:hover { color: var(--white); background: rgba(247, 243, 236, 0.1); }
.lang-chip.is-active { color: var(--forest); background: var(--parchment); }

.main-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.main-bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 72px;
  transition: min-height 0.3s var(--ease);
}
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img {
  width: auto;
  height: 35px;
  transition: height 0.3s var(--ease);
}

.primary-nav { margin-left: auto; margin-right: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--green); background: rgba(34, 108, 80, 0.06); }
.nav-link[aria-current="page"] { color: var(--green); }
.nav-link svg.chev { width: 12px; height: 12px; transition: transform 0.2s; }

.nav-item { position: relative; }
.has-dropdown:hover > .nav-link,
.has-dropdown.is-open > .nav-link { color: var(--green); background: rgba(34, 108, 80, 0.06); }
.has-dropdown:hover .chev,
.has-dropdown.is-open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  min-width: 310px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 50px -18px rgba(22, 64, 47, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.dropdown-link:hover,
.dropdown-link:focus-visible { background: var(--parchment); color: var(--green); }
.dropdown-link svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.dropdown-link strong { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.dropdown-link span { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  transition: background 0.2s, border-color 0.2s;
}
.header-call:hover { background: var(--parchment); border-color: var(--line-green); }
.header-call svg { width: 18px; height: 18px; }

.btn-label-short { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 1.8px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.site-header.is-scrolled .main-bar { box-shadow: 0 10px 28px -22px rgba(22, 64, 47, 0.6); }
.site-header.is-scrolled .main-bar-inner { min-height: 60px; }
.site-header.is-scrolled .brand img { height: 30px; }
@media (min-width: 1024px) {
  .site-header.is-scrolled .header-call { display: inline-flex; }
}

/* Language notice */
.lang-notice {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 2500;
  max-width: 400px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  background: var(--forest);
  color: var(--parchment);
  border-radius: 8px;
  border-left: 3px solid var(--terracotta);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.lang-notice.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-notice p { font-size: 0.87rem; line-height: 1.55; margin: 0; max-width: 34ch; }
.lang-notice strong { color: #fff; }
.notice-close {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--parchment);
  background: rgba(247, 243, 236, 0.1);
  font-size: 1rem;
  line-height: 1;
}
.notice-close:hover { background: rgba(247, 243, 236, 0.2); }

/* ==========================================================================
   MOBILE MENU + STICKY CALL BAR
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: var(--forest);
  color: var(--parchment);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px 22px 26px;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.16);
}
.mobile-menu-logo {
  background: var(--white);
  border-radius: 5px;
  padding: 7px 10px;
  display: inline-flex;
}
.mobile-menu-logo img { height: 27px; width: auto; }
.menu-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 243, 236, 0.3);
  color: var(--parchment);
  font-size: 1.35rem;
  line-height: 1;
}
.menu-close:hover { background: rgba(247, 243, 236, 0.1); }

.mobile-nav { padding: 18px 0; }
.mobile-nav > li { border-bottom: 1px solid rgba(247, 243, 236, 0.12); }
.mobile-link,
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 12px 2px;
  color: var(--parchment);
  font-family: var(--font-head);
  font-size: 1.28rem;
  text-align: left;
}
.mobile-link:hover,
.mobile-services-toggle:hover { color: #fff; }
.mobile-services-toggle svg { width: 16px; height: 16px; transition: transform 0.25s; }
.mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu { display: none; padding: 0 0 12px 4px; }
.mobile-submenu.is-open { display: block; }
.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 6px;
  color: rgba(247, 243, 236, 0.82);
  font-size: 0.94rem;
  border-radius: 4px;
}
.mobile-submenu a:hover { color: #fff; background: rgba(247, 243, 236, 0.07); }
.mobile-submenu svg { width: 17px; height: 17px; color: #C9A98F; }

.mobile-lang { padding: 16px 0; }
.mobile-lang-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.48);
  margin-bottom: 9px;
}
.mobile-lang .lang-switch { flex-wrap: wrap; gap: 6px; }
.mobile-lang .lang-chip {
  border: 1px solid rgba(247, 243, 236, 0.3);
  min-height: 44px;
  min-width: 48px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.mobile-lang .lang-chip.is-active { background: var(--parchment); color: var(--forest); border-color: var(--parchment); }

.mobile-menu-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.mobile-menu-foot .btn { min-height: 50px; }
.mobile-call-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  color: var(--parchment);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.mobile-call-row svg { width: 17px; height: 17px; }

body.menu-open { overflow: hidden; }

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(22, 64, 47, 0.5);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-call-bar.is-visible { transform: translateY(0); visibility: visible; }
.mobile-call-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
.mobile-call-bar .btn { min-height: 46px; font-size: 0.85rem; padding-inline: 10px; }
.mobile-call-bar .btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   HERO — HOME PATH ROUTER
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--parchment);
  min-height: min(900px, 88vh);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: -50px 0 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center 62%;
  filter: grayscale(0.45) sepia(0.22) hue-rotate(96deg) saturate(1.25) brightness(0.65) contrast(1.02);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 64, 47, 0.97) 0%, rgba(22, 64, 47, 0.9) 44%, rgba(22, 64, 47, 0.55) 100%),
    linear-gradient(180deg, rgba(22, 64, 47, 0.3) 0%, rgba(22, 64, 47, 0.55) 62%, rgba(22, 64, 47, 0.94) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.78);
  max-width: 760px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--terracotta); flex: none; }
.hero h1 {
  color: var(--parchment);
  margin: 20px 0 18px;
  max-width: 16ch;
  font-size: clamp(2.85rem, 5.4vw, 4.55rem);
  line-height: 1.03;
}
.hero-sub {
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.65;
  color: rgba(247, 243, 236, 0.86);
}
.hero-sub strong { color: #fff; font-weight: 600; }

/* Split-text word reveal */
.is-split .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: wordRise 0.78s var(--ease) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); }
}

.path-router { margin-top: clamp(34px, 4.6vw, 54px); }
.router-route {
  position: relative;
  height: 30px;
  margin-bottom: 2px;
  color: rgba(247, 243, 236, 0.62);
}
.router-route svg { width: 100%; height: 30px; overflow: visible; }
.router-route .route-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.router-route .route-node { fill: var(--parchment); }
.router-route .route-node--crown { color: var(--terracotta); }

.router-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.router-grid .path-tile {
  animation: tileRise 0.72s var(--ease) both;
}
.router-grid .path-tile:nth-child(1) { animation-delay: 0.46s; }
.router-grid .path-tile:nth-child(2) { animation-delay: 0.54s; }
.router-grid .path-tile:nth-child(3) { animation-delay: 0.62s; }
.router-grid .path-tile:nth-child(4) { animation-delay: 0.70s; }
@keyframes tileRise {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.router-route.route-draw .route-line { transition-delay: 0.45s; }
.path-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 156px;
  padding: 18px 17px 17px;
  border: 1px solid rgba(247, 243, 236, 0.2);
  border-radius: 8px;
  background: rgba(22, 64, 47, 0.48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--parchment);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.path-tile:hover,
.path-tile:focus-visible {
  transform: translateY(-5px);
  background: rgba(247, 243, 236, 0.1);
  border-color: rgba(247, 243, 236, 0.5);
}
.path-tile .path-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 243, 236, 0.34);
  color: var(--parchment);
  margin-bottom: 4px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.path-tile .path-tile-icon svg { width: 19px; height: 19px; }
.path-tile:hover .path-tile-icon { background: var(--parchment); color: var(--forest); border-color: var(--parchment); }
.path-tile-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.52);
}
.path-tile-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.path-tile-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.15;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.path-tile-title .arrow { font-family: var(--font-body); font-size: 0.95rem; opacity: 0.55; transition: transform 0.25s, opacity 0.25s; }
.path-tile:hover .path-tile-title .arrow { transform: translateX(4px); opacity: 1; }
.path-tile-desc { font-size: 0.78rem; line-height: 1.5; color: rgba(247, 243, 236, 0.76); margin: 0; }
.path-tile--defense:hover,
.path-tile--defense:focus-visible { border-color: var(--terracotta); }
.path-tile--defense:hover .path-tile-icon { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

.router-hint {
  margin-top: 20px;
  font-size: 0.84rem;
  color: rgba(247, 243, 236, 0.72);
  max-width: none;
}
.router-hint a {
  color: #fff;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 1px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.router-hint a:hover { color: #F2D9CE; }

.hero-crown {
  position: absolute;
  right: -30px;
  bottom: -46px;
  z-index: 1;
  width: 300px;
  height: 300px;
  color: rgba(247, 243, 236, 0.04);
  pointer-events: none;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar { border-bottom: 1px solid var(--line); padding: clamp(28px, 3.4vw, 40px) 0; }
.trust-inner {
  display: grid;
  grid-template-columns: 1.02fr 1.35fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
.seal-block { display: flex; align-items: center; gap: 18px; }
.seal {
  width: 78px;
  height: 78px;
  flex: none;
  color: var(--terracotta);
}
.seal svg { width: 100%; height: 100%; }
.seal-copy p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--forest);
  font-weight: 500;
  max-width: 30ch;
}
.seal-copy .text-link { font-size: 0.8rem; margin-top: 5px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stat { border-left: 1px solid var(--line); padding-left: clamp(10px, 1.6vw, 19px); display: flex; flex-direction: column; }
.stat-number {
  order: -1;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 7px;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   COMMON SPLITS / MEDIA / CARDS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5.5vw, 78px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split--reverse .split-copy { order: 1; }
.split--wide-media { grid-template-columns: 1.08fr 0.92fr; }

.media-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--forest);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--portrait img { aspect-ratio: 3 / 4; }
.media-frame--landscape img { aspect-ratio: 4 / 3; }
.media-frame--wide img { aspect-ratio: 16 / 9; }

.bloom img {
  transition: filter 1.1s var(--ease), transform 0.7s var(--ease);
}
.js-reveal .bloom:not(.is-visible) img {
  filter: grayscale(1) sepia(0.35) hue-rotate(88deg) saturate(1.15) brightness(0.88) contrast(1.02);
}
.js-reveal .bloom.is-visible img { filter: none; }
.bloom:hover img { transform: scale(1.03); }

.caption-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 3px solid var(--terracotta);
  border-radius: 3px;
  box-shadow: 0 10px 26px -16px rgba(22, 64, 47, 0.5);
}
.caption-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--forest);
  line-height: 1.2;
}
.caption-card span { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 3px; }

.pullquote {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.24;
  color: var(--forest);
  border-left: 3px solid var(--terracotta);
  padding-left: clamp(18px, 2.4vw, 28px);
  margin-bottom: 26px;
  max-width: 24ch;
}

.credential-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line-green);
  border-radius: 999px;
  background: rgba(34, 108, 80, 0.04);
  font-size: 0.76rem;
  color: var(--forest);
}
.credential-chip svg { width: 14px; height: 14px; color: var(--green); }

/* ==========================================================================
   FOUR PATHS
   ========================================================================== */
.path-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: start;
}
.path-card {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.path-card:hover,
.path-card:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 56px -28px rgba(22, 64, 47, 0.46); }
.path-card--wide { grid-column: span 7; }
.path-card--narrow { grid-column: span 5; }
.path-card--offset { margin-top: 40px; }
.path-card--offset-up { margin-top: -26px; }
.path-card--defense { border-top: 2px solid var(--red); }

.path-card-media { position: relative; overflow: hidden; background: var(--forest); aspect-ratio: 16 / 9; }
.path-card-media img { width: 100%; height: 100%; object-fit: cover; }
.path-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 64, 47, 0) 48%, rgba(22, 64, 47, 0.28));
  pointer-events: none;
}
.path-card-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  background: rgba(22, 64, 47, 0.72);
  border: 1px solid rgba(247, 243, 236, 0.3);
  border-radius: 3px;
  padding: 4px 8px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.path-card-body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.path-card-body h3 { margin-bottom: 8px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.path-card-body > p { font-size: 0.93rem; color: var(--muted); margin-bottom: 16px; }
.path-micro { border-top: 1px solid var(--line); padding-top: 13px; margin-bottom: 18px; display: grid; gap: 6px; }
.path-micro li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.45;
}
.path-micro svg { width: 13px; height: 13px; color: var(--green); flex: none; margin-top: 3px; }
.path-card .text-link { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   URGENT BAND (red reserved — this is the only Home use)
   ========================================================================== */
.urgent-band {
  position: relative;
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: clamp(34px, 4.4vw, 52px) 0;
  margin: 0;
}
.urgent-band::before,
.urgent-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle, rgba(223, 49, 49, 0.55) 0 1.7px, transparent 2.2px);
  background-size: 16px 8px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.urgent-band::before { top: 5px; }
.urgent-band::after { bottom: 5px; }
.urgent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.urgent-copy { max-width: 640px; }
.urgent-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
  color: var(--forest);
}
.urgent-copy p { font-size: 0.96rem; color: var(--muted); max-width: 58ch; }
.urgent-copy p + p { margin-top: 7px; }
.urgent-copy strong { color: var(--forest); }
.urgent-actions { display: flex; flex-direction: column; gap: 12px; flex: none; align-items: stretch; }
.urgent-actions .text-link { justify-content: center; font-size: 0.82rem; }
.pulse-ring { position: relative; }
.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--red);
  border-radius: 8px;
  opacity: 0;
  animation: pulseRing 3s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(0.98); opacity: 0.5; }
  55% { transform: scale(1.02); opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-layout {
  display: grid;
  grid-template-columns: 294px 1fr;
  gap: clamp(34px, 4vw, 62px);
  align-items: start;
}
.process-rail { position: sticky; top: 150px; }
.rail-title {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.rail-list { position: relative; padding-left: 24px; }
.rail-line {
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}
.rail-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: var(--progress, 0%);
  background: var(--green);
  transition: height 0.4s var(--ease);
}
.rail-item {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  transition: color 0.25s;
}
.rail-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--parchment);
  border: 2px solid var(--line);
  transition: background 0.25s, border-color 0.25s;
}
.rail-item.is-active { color: var(--forest); font-weight: 600; }
.rail-item.is-active::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 108, 80, 0.12); }
.rail-item-num { font-variant-numeric: tabular-nums; font-size: 0.7rem; color: var(--terracotta); padding-top: 2px; font-weight: 600; }

.process-steps { display: grid; gap: 22px; }
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.step-card.is-active { transform: scale(1.018); border-color: rgba(34, 108, 80, 0.22); }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.step-stamp {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 108, 80, 0.4);
  color: rgba(34, 108, 80, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s;
}
.step-stamp svg { width: 19px; height: 19px; }
.step-card.is-active .step-stamp {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  border-style: solid;
  transform: rotate(-6deg);
}
.step-num { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); }
.step-card h3 { margin-bottom: 7px; }
.step-card p { font-size: 0.93rem; color: var(--muted); max-width: 60ch; }
.step-media { margin-top: 18px; border-radius: 6px; overflow: hidden; max-height: 240px; }
.step-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   WHY QCI
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.why-statement h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin: 16px 0 18px; }
.why-statement p { color: var(--muted); font-size: 0.98rem; }

.benefit-list { border-top: 1px solid var(--line); }
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.benefit-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(187, 90, 58, 0.09);
  color: var(--terracotta);
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 3px; }
.benefit p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; max-width: 52ch; }

/* ==========================================================================
   LANGUAGE BAND
   ========================================================================== */
.language-band {
  position: relative;
  background: var(--forest);
  color: var(--parchment);
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0;
  text-align: center;
}
.language-band h2 { color: var(--parchment); margin: 14px 0 6px; }
.language-band .eyebrow { color: #D9A183; }
.language-band .eyebrow::before { display: none; }
.band-crown {
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: clamp(180px, 26vw, 320px);
  height: clamp(180px, 26vw, 320px);
  color: rgba(247, 243, 236, 0.045);
  pointer-events: none;
  z-index: 0;
}
.language-band .container, .final-cta .container { position: relative; z-index: 1; }

.rotator-stage { perspective: 900px; margin: 22px auto 8px; min-height: clamp(96px, 13vw, 150px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rotator-word {
  display: inline-block;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.9rem, 8.2vw, 6rem);
  line-height: 1.1;
  color: var(--parchment);
  transform-style: preserve-3d;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}
.rotator-word.is-flipping { transform: rotateX(90deg); opacity: 0; }
.rotator-name {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D9A183;
}
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.lang-chip-lg {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(247, 243, 236, 0.28);
  border-radius: 999px;
  color: rgba(247, 243, 236, 0.82);
  font-size: 0.85rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.lang-chip-lg:hover { background: var(--parchment); color: var(--forest); border-color: var(--parchment); }
.lang-chip-lg.is-active { background: var(--green) !important; color: var(--white) !important; border-color: var(--green) !important; }
.lang-note { margin: 20px auto 0; font-size: 0.8rem; color: rgba(247, 243, 236, 0.6); max-width: none; }

/* ==========================================================================
   NATIONWIDE MAP
   ========================================================================== */
.map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.map-copy h2 { margin: 14px 0 16px; }
.map-copy p { color: var(--muted); font-size: 0.98rem; }
.map-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.map-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  color: var(--forest);
}
.map-fact svg { width: 15px; height: 15px; color: var(--terracotta); }

.map-figure { position: relative; }
.us-map { width: 100%; height: auto; overflow: visible; }
.map-land { fill: rgba(34, 108, 80, 0.1); stroke: rgba(34, 108, 80, 0.32); stroke-width: 1.4; }
.map-dots { fill: rgba(34, 108, 80, 0.4); }
.map-route {
  fill: none;
  stroke: rgba(187, 90, 58, 0.5);
  stroke-width: 1.4;
  stroke-dasharray: 3 6;
  stroke-linecap: round;
}
.map-pin { cursor: pointer; }
.map-pin .pin-halo { fill: rgba(187, 90, 58, 0.16); animation: pinPulse 3s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
.map-pin .pin-core { fill: var(--terracotta); stroke: var(--white); stroke-width: 2; }
.map-pin .pin-label {
  fill: var(--forest);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}
.map-pin .pin-tip {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.2s;
}
.map-pin .pin-tip-text {
  fill: var(--muted);
  font-family: var(--font-body);
  font-size: 10.5px;
  opacity: 0;
  transition: opacity 0.2s;
}
.map-pin:hover .pin-tip,
.map-pin:focus .pin-tip,
.map-pin:hover .pin-tip-text,
.map-pin:focus .pin-tip-text { opacity: 1; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.9); opacity: 0.1; }
}

.city-strip { display: none; }

/* ==========================================================================
   CAROUSELS / STORIES / TESTIMONIALS
   ========================================================================== */
.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.carousel-head .section-head { margin-bottom: 0; }
.carousel-controls { display: flex; gap: 8px; flex: none; padding-bottom: 4px; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--green);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn svg { width: 16px; height: 16px; }

.carousel {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, calc(50vw - 600px));
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 108, 80, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}
.carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel.is-dragging .carousel-track { scroll-snap-type: none; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(34, 108, 80, 0.24); border-radius: 3px; }
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.carousel-item { scroll-snap-align: start; }

.story-card {
  width: min(370px, 82vw);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 0 24px 24px;
  position: relative;
  text-align: left;
}
.story-card--parchment { background: var(--parchment); }
.story-card--green { background: #EAF1EC; }
.file-tab {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 8px 18px 9px;
  background: var(--green);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0 0 5px 5px;
}
.story-card--parchment .file-tab { background: var(--terracotta); }
.story-scenario { font-size: 0.94rem; line-height: 1.6; color: var(--ink); margin-bottom: 20px; }
.outcome-stamp {
  display: inline-block;
  align-self: flex-start;
  margin: auto 0 16px;
  padding: 8px 13px;
  border: 1.5px solid var(--green);
  border-radius: 3px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  background: rgba(34, 108, 80, 0.04);
}
.story-reflection {
  border-top: 1px dashed rgba(34, 108, 80, 0.3);
  padding-top: 13px;
  font-size: 0.8rem;
  color: var(--muted);
}
.drag-hint { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; }
.carousel-status { font-size: 0.75rem; color: var(--muted); margin-top: 10px; }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 26px;
  flex-wrap: wrap;
}
.stars { display: inline-flex; gap: 2px; color: var(--terracotta); }
.stars svg { width: 17px; height: 17px; }
.rating-summary span { font-size: 0.84rem; color: var(--muted); }
.rating-summary strong { color: var(--forest); }

.testimonial-card {
  width: min(360px, 82vw);
  background: var(--white);
  border-radius: 8px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s var(--ease);
}
.testimonial-card:hover { transform: rotate(1deg); }
.quote-mark {
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--terracotta);
  margin-bottom: 10px;
  display: block;
}
.testimonial-card blockquote {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 18px;
  border: 0;
}
.testimonial-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial-name { font-weight: 600; font-size: 0.84rem; color: var(--forest); }
.testimonial-tag { font-size: 0.74rem; color: var(--muted); }
.tag-chip {
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: var(--green);
  background: rgba(34, 108, 80, 0.08);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.faq-intro h2 { margin: 14px 0 16px; }
.faq-intro p { color: var(--muted); font-size: 0.96rem; }
.faq-intro .phone-link { margin-top: 18px; color: var(--forest); font-size: 1.02rem; }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 17px 2px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--green); }
.accordion-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-green);
  transition: background 0.25s, border-color 0.25s;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), background 0.25s;
}
.accordion-icon::before { width: 11px; height: 1.6px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 1.6px; height: 11px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion-item.is-open .accordion-icon { background: var(--green); border-color: var(--green); }
.accordion-item.is-open .accordion-icon::before,
.accordion-item.is-open .accordion-icon::after { background: var(--white); }
.accordion-item.is-open .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.28s var(--ease), visibility 0.28s var(--ease);
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; visibility: visible; }
.accordion-inner { overflow: hidden; }
.accordion-inner p { font-size: 0.9rem; color: var(--muted); padding: 0 40px 20px 2px; max-width: 62ch; }
.accordion-inner .text-link { margin: 0 0 22px 2px; font-size: 0.82rem; }

/* ==========================================================================
   OFFICE CARDS / LOCATIONS
   ========================================================================== */
.office-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}
.office-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.office-card--featured { margin-top: 0; }
.office-card--secondary { margin-top: 38px; }
.office-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--forest); }
.office-media img { width: 100%; height: 100%; object-fit: cover; }
.office-city-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(22, 64, 47, 0.86);
  color: var(--parchment);
  border: 1px solid rgba(247, 243, 236, 0.26);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.office-body { padding: clamp(20px, 2.6vw, 30px); flex: 1; display: flex; flex-direction: column; }
.office-body h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 4px; }
.office-address { font-style: normal; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.coords {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.office-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.office-meta .hours-chip { color: var(--muted); font-size: 0.76rem; }
.office-meta .text-link { font-size: 0.8rem; }
.office-note { margin-top: 24px; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ==========================================================================
   REVIEW BAND
   ========================================================================== */
.review-band { text-align: center; }
.review-band h2 { margin: 14px 0 10px; }
.review-band p { color: var(--muted); margin: 0 auto 26px; max-width: 54ch; }
.review-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.review-seal {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 10px 20px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  color: var(--forest);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.review-seal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 0;
}
.review-seal:hover::before { transform: scaleX(1); }
.review-seal:hover { color: var(--white); border-color: var(--green); transform: translateY(-2px); }
.review-seal > * { position: relative; z-index: 1; }
.review-seal svg { width: 19px; height: 19px; }
.review-seal .g-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--terracotta);
}
.review-seal:hover .g-mark { color: #F2D9CE; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  position: relative;
  background: var(--forest);
  color: var(--parchment);
  overflow: hidden;
  padding: clamp(66px, 8.5vw, 116px) 0;
  text-align: center;
}
.final-cta h2 { color: var(--parchment); font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 18ch; margin: 16px auto 28px; }
.final-cta .eyebrow { color: #D9A183; justify-content: center; }
.final-cta .eyebrow::before { display: none; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-call {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--parchment);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cta-call:hover { color: #fff; }
.cta-small { margin-top: 22px; font-size: 0.8rem; color: rgba(247, 243, 236, 0.62); max-width: none; }
.cta-route {
  height: 42px;
  max-width: 720px;
  margin: 0 auto 22px;
  color: rgba(247, 243, 236, 0.5);
}
.cta-route svg { width: 100%; height: 42px; overflow: visible; }
.cta-route .route-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: min(600px, 66vh);
  display: flex;
  align-items: flex-end;
  background: var(--forest);
  color: var(--parchment);
  overflow: hidden;
  padding: clamp(76px, 10vw, 126px) 0 clamp(46px, 6vw, 72px);
  isolation: isolate;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) sepia(0.22) hue-rotate(96deg) saturate(1.2) brightness(0.62);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 64, 47, 0.95) 0%, rgba(22, 64, 47, 0.8) 52%, rgba(22, 64, 47, 0.44) 100%),
    linear-gradient(180deg, rgba(22, 64, 47, 0.4) 0%, rgba(22, 64, 47, 0.25) 44%, rgba(22, 64, 47, 0.9) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 860px; }
.page-hero .eyebrow { color: #D9A183; }
.page-hero h1 {
  color: var(--parchment);
  margin: 17px 0 16px;
  max-width: 17ch;
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
}
.page-hero p.page-hero-sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: rgba(247, 243, 236, 0.86);
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero .btn-primary { background: var(--parchment); color: var(--forest); }
.page-hero .btn-primary:hover { background: var(--white); }
.page-hero .btn-ghost { border-color: rgba(247, 243, 236, 0.52); }
.page-hero--short { min-height: min(480px, 56vh); }
.page-hero--defense { border-bottom: 2px solid var(--red); }
.page-hero--defense .btn-danger-outline { border: 2px solid var(--red); color: #fff; background: rgba(223, 49, 49, 0.14); }
.page-hero--defense .btn-danger-outline:hover { background: var(--red); color: #fff; }
.hero-route { margin-top: 26px; height: 34px; max-width: 480px; color: rgba(247, 243, 236, 0.5); }
.hero-route svg { width: 100%; height: 34px; overflow: visible; }
.hero-route .route-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }

/* ==========================================================================
   CONTENT COMPONENTS — shared interior pages
   ========================================================================== */
.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.definition-card {
  background: var(--white);
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-card);
  position: relative;
}
.definition-card h3 { margin-bottom: 8px; }
.definition-card p { font-size: 0.9rem; color: var(--muted); }
.definition-card .stamp-mini {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  color: var(--terracotta);
  opacity: 0.55;
  transform: rotate(-8deg);
}
.definition-card .stamp-mini svg { width: 100%; height: 100%; }

/* Tabs — sponsor explorer */
.tabs { margin-top: 30px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.tab-btn {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab-btn:hover { border-color: var(--green); color: var(--green); }
.tab-btn[aria-selected="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.tab-panel { padding: 26px 2px 0; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin-bottom: 12px; }
.sponsor-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; }
.sponsor-col { background: var(--white); border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow-soft); }
.sponsor-col h4 { color: var(--green); font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 10px; }
.sponsor-col ul { display: grid; gap: 7px; }
.sponsor-col li { display: flex; gap: 8px; font-size: 0.86rem; color: var(--ink); line-height: 1.45; }
.sponsor-col svg { width: 14px; height: 14px; color: var(--green); flex: none; margin-top: 3px; }
.sponsor-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* Timeline vertical */
.timeline { position: relative; display: grid; gap: 0; margin-top: 34px; max-width: 820px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--line-green) 60%, transparent 0);
  background-size: 2px 12px;
}
.timeline-item { position: relative; padding: 0 0 30px 58px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-node {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--green);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  box-shadow: 0 0 0 5px var(--parchment);
}
.timeline-item h3 { margin-bottom: 5px; font-size: 1.18rem; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

/* Challenges */
.challenge-list { border-top: 1px solid var(--line); margin-top: 10px; }
.challenge-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.challenge-row h3 { font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; color: var(--forest); }
.challenge-row p { font-size: 0.88rem; color: var(--muted); }
.challenge-row p strong { color: var(--green); font-weight: 600; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 34px; margin-top: 26px; }
.feature-row { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.feature-row svg { width: 21px; height: 21px; color: var(--terracotta); flex: none; margin-top: 2px; }
.feature-row h3 { font-family: var(--font-body); font-size: 0.94rem; font-weight: 600; margin-bottom: 2px; }
.feature-row p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* Values list */
.values-list { border-top: 1px solid var(--line); margin-top: 8px; }
.value-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.3fr;
  gap: 22px;
  align-items: start;
  padding: 28px 2px;
  border-bottom: 1px solid var(--line);
}
.value-num { font-family: var(--font-head); font-size: 1.5rem; color: var(--terracotta); line-height: 1; }
.value-row h3 { font-size: 1.32rem; }
.value-row p { font-size: 0.92rem; color: var(--muted); }

/* Recognition */
.recognition { text-align: center; }
.recognition .seal-xl { display: block; width: clamp(128px, 16vw, 172px); height: clamp(128px, 16vw, 172px); margin: 0 auto 24px; color: var(--terracotta); }
.recognition h2 { margin: 12px 0 14px; }
.recognition .lede { margin: 0 auto; }
.milestones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.milestone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px dashed rgba(187, 90, 58, 0.5);
  border-radius: 4px;
  font-size: 0.76rem;
  color: var(--terracotta);
  background: rgba(187, 90, 58, 0.04);
  transform: rotate(-1deg);
}
.milestone:nth-child(2) { transform: rotate(1deg); }
.milestone svg { width: 14px; height: 14px; }

/* Language cards */
.language-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.language-card {
  background: var(--white);
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: var(--shadow-soft);
  border-top: 2px solid var(--terracotta);
  transition: transform 0.3s var(--ease);
}
.language-card:hover { transform: translateY(-4px); }
.language-card .lang-greeting {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--forest);
  line-height: 1.25;
  display: block;
}
.language-card .lang-name { display: block; margin-top: 7px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.language-card .lang-lede { display: block; margin-top: 10px; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* Eligibility checklist */
.checklist-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
  margin-top: 30px;
}
.checklist { background: var(--white); border-radius: 10px; box-shadow: var(--shadow-card); overflow: hidden; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
}
.check-row:last-child { border-bottom: 0; }
.check-row:hover { background: rgba(34, 108, 80, 0.035); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  width: 26px;
  height: 26px;
  flex: none;
  border: 1.5px solid rgba(34, 108, 80, 0.35);
  border-radius: 5px;
  position: relative;
  background: var(--white);
  transition: background 0.25s, border-color 0.25s;
  margin-top: 1px;
}
.check-box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 7px;
  height: 12px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(42deg) scale(0);
  transition: transform 0.22s var(--ease);
}
.check-row input:checked + .check-box { background: var(--green); border-color: var(--green); }
.check-row input:checked + .check-box::after { transform: rotate(42deg) scale(1); }
.check-row input:focus-visible + .check-box { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.check-text { font-size: 0.91rem; line-height: 1.5; color: var(--ink); }
.check-text strong { display: block; color: var(--forest); font-weight: 600; font-size: 0.94rem; margin-bottom: 1px; }
.check-text span { color: var(--muted); font-size: 0.82rem; }

.check-side { position: sticky; top: 150px; }
.progress-card { background: var(--forest); color: var(--parchment); border-radius: 10px; padding: 26px 24px; box-shadow: var(--shadow-card); }
.progress-label { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 243, 236, 0.6); }
.progress-label strong { color: #fff; font-size: 0.9rem; letter-spacing: 0; }
.progress-track { height: 6px; background: rgba(247, 243, 236, 0.16); border-radius: 99px; margin: 12px 0 20px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--parchment); border-radius: 99px; transition: width 0.5s var(--ease); }
.progress-copy { font-size: 0.86rem; color: rgba(247, 243, 236, 0.8); line-height: 1.55; }
.check-complete {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 243, 236, 0.2);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s, max-height 0.5s var(--ease);
}
.checklist-wrap.is-complete .check-complete { opacity: 1; max-height: 260px; }
.complete-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #7FD1A6;
  border-radius: 4px;
  padding: 7px 11px;
  color: #9EE3BE;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  margin-bottom: 12px;
}
.check-complete .btn { margin-top: 4px; width: 100%; }
.checklist-wrap.is-complete .complete-stamp { animation: stampIn 0.65s var(--ease) both; }

/* Meaning / emotional band */
.meaning-band {
  position: relative;
  min-height: min(720px, 78vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--parchment);
  overflow: hidden;
  isolation: isolate;
}
.meaning-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(0.3) sepia(0.15) hue-rotate(75deg) brightness(0.62); }
.meaning-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22, 64, 47, 0.35), rgba(22, 64, 47, 0.72)); }
.meaning-band blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.18;
  max-width: 18ch;
  color: var(--parchment);
  border: 0;
  padding: 30px;
}
.meaning-band blockquote em { color: #F2D9CE; font-style: italic; }

/* Rights cards */
.rights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.right-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.right-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
  flex: none;
  width: 34px;
}
.right-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.right-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }

/* Defense stages */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; position: relative; }
.stage-card {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.stage-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 18px;
  border-top: 2px dotted rgba(187, 90, 58, 0.45);
}
.stage-card:last-child::after { display: none; }
.stage-num { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); }
.stage-card h3 { margin: 9px 0 7px; font-size: 1.16rem; }
.stage-card p { font-size: 0.88rem; color: var(--muted); }
.stage-card strong { color: var(--forest); }

/* Defense options rail */
.options-rail { margin-top: 34px; }
.option-card {
  width: min(320px, 80vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-num { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
.option-card h3 { font-size: 1.18rem; }
.option-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.option-card .option-fit { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 0.8rem; color: var(--forest); }
.option-card .option-fit strong { color: var(--green); }

/* Long story */
.long-story {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 48px);
  border-left: 3px solid var(--terracotta);
}
.long-story .file-tab { display: inline-block; border-radius: 4px; margin-bottom: 22px; }
.long-story blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--forest);
  margin-bottom: 20px;
  border: 0;
}
.long-story p { font-size: 0.94rem; color: var(--muted); }
.long-story p + p { margin-top: 12px; }

/* Reassurance band */
.reassurance-band {
  background: var(--forest);
  color: var(--parchment);
  text-align: center;
  padding: clamp(66px, 8vw, 104px) 0;
  position: relative;
  overflow: hidden;
}
.reassurance-band h2 { color: var(--parchment); margin: 12px 0 14px; font-size: clamp(2.2rem, 4vw, 3.1rem); }
.reassurance-band p { color: rgba(247, 243, 236, 0.76); max-width: 56ch; margin: 0 auto; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.channel-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 20px;
  border: 1px solid rgba(247, 243, 236, 0.32);
  border-radius: 6px;
  color: var(--parchment);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.channel-chip:hover { background: rgba(247, 243, 236, 0.1); border-color: var(--parchment); transform: translateY(-2px); }
.channel-chip svg { width: 19px; height: 19px; color: #D9A183; }
.channel-chip span small { display: block; font-size: 0.68rem; font-weight: 400; color: rgba(247, 243, 236, 0.58); letter-spacing: 0.02em; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3.4vw, 42px);
}
.form-head { margin-bottom: 26px; }
.form-head h2 { margin-bottom: 7px; }
.form-head p { font-size: 0.88rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 20px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--parchment);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; padding-top: 24px; }
.field label {
  position: absolute;
  left: 15px;
  top: 17px;
  font-size: 0.86rem;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.18s var(--ease), font-size 0.18s, color 0.18s;
  transform-origin: left top;
  background: transparent;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  border-color: var(--terracotta);
  background: var(--white);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label,
.field label.label--static {
  transform: translateY(-9px) scale(0.78);
  color: var(--green);
}
.field label.label--static { top: 9px; transform: none; font-size: 0.7rem; font-weight: 600; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23226C50' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.field .error-msg { display: none; font-size: 0.72rem; color: var(--terracotta); margin-top: 5px; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--terracotta); }
.field.has-error .error-msg { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-privacy { font-size: 0.72rem; color: var(--muted); max-width: 34ch; line-height: 1.5; }
.form-note { font-size: 0.74rem; color: var(--muted); margin-top: 14px; }

.receipt {
  display: none;
  text-align: center;
  padding: 30px 12px;
}
.receipt.is-shown { display: block; animation: receiptIn 0.6s var(--ease) both; }
@keyframes receiptIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
.receipt-seal {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
  position: relative;
}
.receipt-seal::after { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(34, 108, 80, 0.5); border-radius: 50%; }
.receipt-seal svg { width: 34px; height: 34px; }
.receipt h3 { margin-bottom: 8px; }
.receipt p { font-size: 0.92rem; color: var(--muted); max-width: 40ch; margin: 0 auto; }
.receipt-ref {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  background: var(--parchment);
}

.side-note { margin-top: 22px; background: var(--parchment); border-radius: 8px; padding: 22px 24px; }
.side-note h3 { font-size: 1.12rem; margin-bottom: 8px; }
.side-note p { font-size: 0.85rem; color: var(--muted); }
.side-note .phone-link { margin-top: 10px; color: var(--forest); font-size: 1.02rem; }

.what-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.next-step { background: var(--white); border-radius: 8px; padding: 26px 24px; box-shadow: var(--shadow-soft); }
.next-step .step-num { display: block; margin-bottom: 8px; }
.next-step h3 { font-size: 1.14rem; margin-bottom: 6px; }
.next-step p { font-size: 0.86rem; color: var(--muted); }

.client-tools { background: var(--parchment); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tool-card .tool-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(34, 108, 80, 0.08); color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tool-card .tool-icon svg { width: 19px; height: 19px; }
.tool-card h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tool-card h3 svg { width: 12px; height: 12px; color: var(--muted); }
.tool-card p { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.external-icon { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--forest);
  color: var(--parchment);
  overflow: hidden;
  padding-top: 0;
}
.footer-route {
  height: 30px;
  color: rgba(247, 243, 236, 0.32);
  position: relative;
}
.footer-route svg { width: 100%; height: 30px; overflow: visible; }
.footer-route .route-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.footer-route .footer-crown { color: var(--terracotta); }

.client-strip {
  border-top: 1px solid rgba(247, 243, 236, 0.16);
  border-bottom: 1px solid rgba(247, 243, 236, 0.16);
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.08);
}
.client-strip-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.client-strip-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.56);
  flex: none;
}
.client-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(247, 243, 236, 0.2);
  border-radius: 4px;
  color: rgba(247, 243, 236, 0.86);
  font-size: 0.76rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.client-link:hover { background: rgba(247, 243, 236, 0.1); border-color: rgba(247, 243, 236, 0.4); color: #fff; }
.client-link svg { width: 11px; height: 11px; opacity: 0.7; }

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.35fr 1.1fr;
  gap: clamp(26px, 3.6vw, 46px);
  padding: clamp(42px, 5vw, 64px) 0 clamp(30px, 3.4vw, 42px);
  position: relative;
}
.footer-brand { position: relative; }
.footer-logo-plaque {
  display: inline-flex;
  background: var(--white);
  border-radius: 5px;
  padding: 9px 12px;
  margin-bottom: 16px;
}
.footer-logo-plaque img { height: 30px; width: auto; }
.footer-positioning { font-size: 0.84rem; color: rgba(247, 243, 236, 0.7); line-height: 1.55; max-width: 30ch; margin-bottom: 16px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(217, 161, 131, 0.4);
  border-radius: 4px;
  color: #D9A183;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  background: rgba(187, 90, 58, 0.08);
}
.footer-badge svg { width: 15px; height: 15px; }
.review-mini { display: flex; flex-wrap: wrap; gap: 7px; }
.review-mini a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(247, 243, 236, 0.2);
  border-radius: 4px;
  font-size: 0.68rem;
  color: rgba(247, 243, 236, 0.8);
  transition: background 0.2s, color 0.2s;
}
.review-mini a:hover { background: rgba(247, 243, 236, 0.1); color: #fff; }
.review-mini svg { width: 12px; height: 12px; }

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(247, 243, 236, 0.82); font-size: 0.85rem; line-height: 1.4; transition: color 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--terracotta); }

.office-mini { margin-bottom: 20px; }
.office-mini:last-child { margin-bottom: 0; }
.office-mini strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; font-weight: 600; margin-bottom: 3px; }
.office-mini address { font-style: normal; font-size: 0.8rem; color: rgba(247, 243, 236, 0.68); line-height: 1.55; }
.office-mini .coords { color: rgba(217, 161, 131, 0.85); margin-top: 4px; font-size: 0.68rem; }
.office-mini .hours-chip { color: rgba(247, 243, 236, 0.58); font-size: 0.7rem; margin-top: 6px; }
.office-mini .hours-chip .hours-dot { width: 6px; height: 6px; }

.footer-contact .phone-link { color: #fff; font-size: 1.22rem; margin-bottom: 4px; }
.footer-contact .phone-link:hover { color: #D9A183; }
.footer-contact .footer-email { display: inline-block; color: rgba(247, 243, 236, 0.82); font-size: 0.85rem; margin-bottom: 14px; }
.footer-contact .footer-email:hover { color: #fff; }
.footer-hours { font-size: 0.8rem; color: rgba(247, 243, 236, 0.6); margin-bottom: 16px; }
.footer-langs { font-size: 0.8rem; line-height: 1.8; color: rgba(247, 243, 236, 0.72); }
.footer-langs span { white-space: nowrap; }
.footer-langs .dot { color: var(--terracotta); margin: 0 5px; }
.footer-lang-label { display: block; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 243, 236, 0.42); margin-bottom: 5px; }

.footer-legal {
  border-top: 1px solid rgba(247, 243, 236, 0.14);
  padding: 18px 0 22px;
}
.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(247, 243, 236, 0.5);
}
.footer-legal-inner p { max-width: none; }
.footer-watermark-wrap { position: relative; }
.footer-watermark {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 230px;
  height: 230px;
  color: rgba(247, 243, 236, 0.05);
  z-index: 0;
  pointer-events: none;
}
.footer-watermark svg { width: 100%; height: 100%; }
.footer-crown-btn {
  position: absolute;
  right: -8px;
  bottom: -14px;
  width: 54px;
  height: 54px;
  color: rgba(247, 243, 236, 0.2);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s, transform 0.25s;
}
.footer-crown-btn:hover { color: var(--terracotta); background: rgba(247, 243, 236, 0.06); transform: rotate(-8deg); }
.footer-crown-btn svg { width: 24px; height: 24px; }

/* Crown ink stamp (easter egg) */
.crown-ink-stamp {
  position: fixed;
  z-index: 3000;
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  color: var(--green);
  pointer-events: none;
  animation: crownStamp 4s var(--ease) forwards;
}
.crown-ink-stamp svg { width: 100%; height: 100%; }
@keyframes crownStamp {
  0% { opacity: 0; transform: scale(1.5) rotate(18deg); }
  12% { opacity: 0.5; transform: scale(1) rotate(-8deg); }
  20% { opacity: 0.22; transform: scale(1) rotate(-8deg); }
  80% { opacity: 0.12; }
  100% { opacity: 0; transform: scale(1) rotate(-8deg); }
}

/* ==========================================================================
   UTILITIES / SMALL COMPONENTS
   ========================================================================== */
.cta-band {
  background: var(--forest);
  color: var(--parchment);
  text-align: center;
  padding: clamp(56px, 7vw, 92px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--parchment); margin-bottom: 22px; font-size: clamp(2rem, 3.8vw, 3rem); }
.cta-band .cta-small { color: rgba(247, 243, 236, 0.62); }
.cta-band .btn-primary { background: var(--parchment); color: var(--forest); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-ghost { border-color: rgba(247, 243, 236, 0.5); }
.cta-band .btn-danger-outline { color: #fff; background: rgba(223, 49, 49, 0.18); }
.cta-band .btn-danger-outline:hover { background: var(--red); color: #fff; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

.eyebrow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 34px;
}
.eyebrow-strip span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--muted); }
.eyebrow-strip svg { width: 14px; height: 14px; color: var(--terracotta); }

/* Green-card route */
.route-diagram { display: flex; align-items: center; gap: 0; margin-top: 34px; flex-wrap: wrap; }
.route-node-card {
  flex: 1;
  min-width: 190px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
}
.route-node-card .rn-icon { width: 40px; height: 40px; margin: 0 auto 9px; border-radius: 50%; background: rgba(34, 108, 80, 0.08); color: var(--green); display: flex; align-items: center; justify-content: center; }
.route-node-card .rn-icon svg { width: 19px; height: 19px; }
.route-node-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.route-node-card p { font-size: 0.78rem; color: var(--muted); margin: 0 auto; }
.route-connector { flex: 0 0 46px; height: 2px; border-top: 2px dotted var(--terracotta); position: relative; }
.route-connector::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  border-left: 7px solid var(--terracotta);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.7;
}

/* Form select value helper */
.field select:not([data-empty="true"]) + label { transform: translateY(-9px) scale(0.78); color: var(--green); }

/* ==========================================================================
   REVEAL / MOTION
   ========================================================================== */
.js-reveal .animate-on-scroll:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js-reveal .animate-on-scroll.reveal-left:not(.visible) { transform: translateX(-34px); }
.js-reveal .animate-on-scroll.reveal-right:not(.visible) { transform: translateX(34px); }
.js-reveal .animate-on-scroll.reveal-scale:not(.visible) { transform: scale(0.96); }
.js-reveal .animate-on-scroll.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal .animate-on-scroll[data-delay="1"] { transition-delay: 0.08s; }
.js-reveal .animate-on-scroll[data-delay="2"] { transition-delay: 0.16s; }
.js-reveal .animate-on-scroll[data-delay="3"] { transition-delay: 0.24s; }
.js-reveal .animate-on-scroll[data-delay="4"] { transition-delay: 0.32s; }

.clip-reveal { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease); }
.js-reveal .clip-reveal:not(.is-visible) { clip-path: inset(0 100% 0 0); }
.clip-reveal.is-visible { clip-path: inset(0 0 0 0); }

/* Defense page: calm motion by default */
.page-defense .animate-on-scroll,
.page-defense .animate-on-scroll.reveal-left,
.page-defense .animate-on-scroll.reveal-right,
.page-defense .animate-on-scroll.reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
.page-defense .bloom img { filter: none !important; }
.page-defense .stamp-marker { animation: none !important; }
.page-defense .route-draw .route-line { stroke-dashoffset: 0 !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link { padding: 10px 10px; font-size: 0.86rem; }
  .main-bar-inner { gap: 16px; }
  .brand img { height: 34px; }
  .footer-main { grid-template-columns: 1.25fr 0.85fr 1.2fr 1fr; gap: 24px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 108px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-bar-inner { min-height: 64px; gap: 14px; }
  .brand img { height: 33px; }
  .header-call { display: inline-flex; }
  .btn-label-long { display: none; }
  .btn-label-short { display: inline; }
  .header-actions .btn { min-height: 44px; padding: 10px 15px; font-size: 0.82rem; }

  .hero { min-height: auto; }
  .router-grid { grid-template-columns: repeat(2, 1fr); }
  .path-tile { min-height: 142px; }

  .trust-inner { grid-template-columns: 1fr; gap: 26px; }
  .seal-block { justify-content: center; text-align: left; }
  .stats { max-width: 720px; margin-inline: auto; width: 100%; }

  .split,
  .why-grid,
  .map-grid,
  .faq-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split--reverse .split-copy { order: 1; }
  .split-media { max-width: 620px; margin-inline: auto; }
  .why-grid .why-statement { max-width: 660px; }
  .faq-intro { max-width: 620px; }

  .process-layout { grid-template-columns: 1fr; }
  .process-rail { display: none; }
  .process-steps { gap: 18px; }
  .step-card.is-active { transform: none; }
  .step-stamp { background: var(--green); color: var(--white); border-color: var(--green); border-style: solid; }

  .path-card--wide,
  .path-card--narrow { grid-column: span 6; }
  .path-card--offset-up { margin-top: 0; }
  .path-card--offset { margin-top: 30px; }

  .office-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .office-card--secondary { margin-top: 26px; }
  .office-card--featured { margin-top: 0; }

  .checklist-wrap { grid-template-columns: 1fr; }
  .check-side { position: static; }
  .progress-card { max-width: 520px; }

  .stages { grid-template-columns: 1fr; }
  .stage-card::after { display: none; }

  .values-list .value-row { grid-template-columns: 52px 1fr; }
  .value-row p { grid-column: 2; }

  .language-cards { grid-template-columns: repeat(3, 1fr); }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-watermark { right: -40px; bottom: 10px; width: 190px; height: 190px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .container--narrow { width: calc(100% - 36px); }

  .utility-bar { display: none; }
  .main-bar-inner { min-height: 60px; gap: 8px; }
  .brand img { height: 26px; }
  .site-header.is-scrolled .brand img { height: 24px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { display: none; }
  .header-call { display: inline-flex; width: 42px; height: 42px; }
  .menu-toggle { width: 44px; height: 44px; }

  .mobile-call-bar { display: grid; }

  .hero { min-height: 0; }
  .hero-bg { inset: -20px 0 0; }
  .hero-bg img { object-position: 66% 55%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(22, 64, 47, 0.88) 0%, rgba(22, 64, 47, 0.82) 46%, rgba(22, 64, 47, 0.96) 100%),
      linear-gradient(90deg, rgba(22, 64, 47, 0.6), rgba(22, 64, 47, 0.6));
  }
  .hero-content { padding: 46px 0 44px; }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 0.12em; gap: 8px; }
  .hero-kicker::before { width: 20px; }
  .hero h1 { font-size: clamp(2.35rem, 9.6vw, 3.05rem); max-width: 15ch; margin: 16px 0 14px; }
  .hero-sub { font-size: 0.98rem; }
  .hero-crown { width: 190px; height: 190px; right: -50px; bottom: -50px; }

  .router-route { height: 22px; margin-bottom: 0; }
  .router-grid { grid-template-columns: 1fr; gap: 9px; }
  .path-tile { flex-direction: row; align-items: center; gap: 12px; min-height: 64px; padding: 11px 13px; }
  .path-tile .path-tile-icon { width: 38px; height: 38px; margin-bottom: 0; flex: none; }
  .path-tile-content { display: flex; flex-direction: column; gap: 1px; }
  .path-tile-kicker { display: none; }
  .path-tile-title { font-size: 1.05rem; }
  .path-tile-desc { font-size: 0.73rem; margin: 0; max-width: 36ch; }
  .path-tile-title .arrow { margin-left: auto; }
  .path-tile--defense { border-color: rgba(187, 90, 58, 0.5); }

  .hero-sub br { display: none; }
  .router-hint { font-size: 0.78rem; margin-top: 15px; }

  .seal-block { flex-direction: column; text-align: center; gap: 12px; }
  .seal { width: 66px; height: 66px; }
  .seal-copy p { max-width: 32ch; font-size: 0.88rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .stat { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { padding-top: 0; border-top: 0; }
  .stat-number { font-size: 1.85rem; }

  h2 { font-size: clamp(1.72rem, 7vw, 2.25rem); }
  .section { padding: 56px 0; }
  .section--tight { padding: 42px 0; }
  .section-head--with-accent { align-items: flex-start; gap: 16px; }
  .accent-thumb { width: 72px; height: 72px; border-width: 3px; }
  .about-practice-secondary { max-width: 100%; }

  .split { gap: 26px; }
  .pullquote { font-size: clamp(1.4rem, 6vw, 1.85rem); }

  .path-cards { display: flex; flex-direction: column; gap: 18px; }
  .path-card, .path-card--wide, .path-card--narrow { width: 100%; }
  .path-card--offset, .path-card--offset-up { margin-top: 0; }
  .path-card-media { aspect-ratio: 16 / 10; }

  .urgent-inner { flex-direction: column; align-items: stretch; gap: 22px; }
  .urgent-copy h2 { font-size: 1.75rem; }
  .urgent-actions { width: 100%; }
  .urgent-actions .btn { width: 100%; }

  .carousel-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .carousel-controls { padding-bottom: 0; }
  .carousel { padding-inline: 18px; }
  .carousel-track { gap: 14px; }
  .story-card, .testimonial-card, .option-card { width: 82vw; }
  .drag-hint { display: none; }

  .office-grid { grid-template-columns: 1fr; }
  .office-card--secondary { margin-top: 0; }

  .definition-grid { grid-template-columns: 1fr; }
  .sponsor-columns { grid-template-columns: 1fr; }
  .challenge-row { grid-template-columns: 1fr; gap: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  .what-next-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .route-diagram { flex-direction: column; align-items: stretch; }
  .route-connector { flex: none; width: 2px; height: 32px; margin: 0 auto; border-top: 0; border-left: 2px dotted var(--terracotta); }
  .route-connector::after { right: -4px; top: auto; bottom: -1px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 7px solid var(--terracotta); border-bottom: 0; }

  .language-cards { grid-template-columns: 1fr 1fr; }
  .language-card { padding: 16px 13px; }
  .language-card .lang-greeting { font-size: 1.08rem; }

  .values-list .value-row { grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 0; }
  .value-row h3 { font-size: 1.18rem; }

  .recognition .seal-xl { width: 124px; height: 124px; }
  .milestones { flex-direction: column; align-items: center; }

  .tab-list { gap: 6px; }
  .tab-btn { font-size: 0.76rem; padding: 8px 12px; }

  .form-grid { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }

  .client-strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .client-links { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .client-link { white-space: nowrap; flex: none; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 38px 0 28px; }
  .footer-brand { grid-column: auto; }
  .footer-col--contact { order: 1; }
  .footer-col--offices { order: 2; }
  .footer-col--paths { order: 3; }
  .footer-brand { order: 4; }
  .footer-contact .phone-link { font-size: 1.32rem; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-watermark { display: none; }

  .page-hero { min-height: 0; padding: 76px 0 46px; }
  .page-hero h1 { font-size: clamp(2.2rem, 8.8vw, 2.9rem); }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn { width: 100%; }
  .hero-route { max-width: 100%; }

  .meaning-band { min-height: 520px; }
  .long-story { padding: 24px 20px; }

  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .inline-actions { flex-direction: column; align-items: stretch; }
  .inline-actions .btn { width: 100%; }
  .final-cta .cta-call { font-size: 1.18rem; }

  .channel-chips { flex-direction: column; }
  .channel-chip { width: 100%; }

  .map-figure { display: none; }
  .city-strip {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
  }
  .city-strip .city { flex: 1; text-align: center; }
  .city-strip .city strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--forest); }
  .city-strip .city span { display: block; font-size: 0.66rem; color: var(--muted); margin-top: 2px; }
  .city-strip .city-dot { width: 8px; height: 8px; background: var(--terracotta); border-radius: 50%; margin: 0 auto 6px; animation: pinPulse 3s var(--ease) infinite; }
  .city-strip .city-line { flex: 0 0 56px; border-top: 2px dotted rgba(187, 90, 58, 0.5); }

  .check-row { padding: 15px 15px; }
  .progress-card { padding: 22px 20px; }

  .review-buttons { flex-direction: column; align-items: stretch; }
  .review-seal { justify-content: center; }

  .lang-notice { left: 14px; right: 14px; bottom: 82px; max-width: none; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.15rem; }
  .path-tile-desc { display: none; }
  .path-tile { min-height: 58px; }
  .language-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .animate-on-scroll:not(.visible),
  .js-reveal .animate-on-scroll.reveal-left:not(.visible),
  .js-reveal .animate-on-scroll.reveal-right:not(.visible),
  .js-reveal .animate-on-scroll.reveal-scale:not(.visible) {
    opacity: 1;
    transform: none;
  }
  .js-reveal .bloom:not(.is-visible) img { filter: none; }
  .bloom:hover img { transform: none; }
  .route-draw .route-line { stroke-dashoffset: 0; }
  .is-split .word { opacity: 1; transform: none; animation: none; }
  .router-grid .path-tile { animation: none; opacity: 1; translate: none; }
  .pulse-ring::after { display: none; }
  .map-pin .pin-halo { animation: none; }
  .city-strip .city-dot { animation: none; }
  .hero-bg img { transform: none !important; }
  .mobile-call-bar { transition: none; }
  .process-rail { position: static; }
  .step-card.is-active { transform: none; }
}

/* Print */
@media print {
  .site-header, .mobile-menu, .mobile-call-bar, .lang-notice, .site-footer { display: none !important; }
  body { color: #000; }
  .hero, .page-hero, .final-cta, .cta-band { background: #fff !important; color: #000 !important; }
}
