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

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   B.A. Santarelli PLLC — Landing Page
   Design system + styles
   Fonts: Tenor Sans (display headings) + Inter (body/UI)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --navy:        #071B33;
  --navy-2:      #0B223F;
  --midnight:    #0A1A30;
  --ivory:       #F8F4EC;
  --ivory-2:     #FBF8F2;
  --white:       #FFFFFF;
  --gold:        #B88746;
  --gold-soft:   #C99A5A;
  --gold-tint:   rgba(184, 135, 70, 0.12);
  --slate:       #5E6B78;
  --border:      #E6E0D6;
  --border-cool: #DDE3EA;
  --evergreen:   #143D35;

  /* Text */
  --ink:         #16263A;
  --ink-soft:    #43536A;
  --on-dark:     #EAF0F7;
  --on-dark-soft:#A9B8CB;

  /* Type */
  --display: "Tenor Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1380px;
  --gutter: clamp(16px, 2.4vw, 26px);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(7, 27, 51, 0.06);
  --shadow-md: 0 14px 34px rgba(7, 27, 51, 0.10);
  --shadow-lg: 0 28px 60px rgba(7, 27, 51, 0.16);
  --shadow-gold: 0 14px 30px rgba(184, 135, 70, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-mid: 300ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 132px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
.site-icon {
  display: block;
  width: 100%;
  height: 100%;
  flex: none;
  object-fit: contain;
  filter: var(--site-icon-filter, none);
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  transform-origin: left;
  transition: transform 700ms var(--ease) 150ms;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow.reveal:not(.is-visible)::before { transform: scaleX(0); }
/* symmetric line for centered section heads */
.section__head:not(.section__head--row):not(.section__head--left) .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
}

.section__title {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.012em;
  color: var(--navy);
  font-size: clamp(1.7rem, 1rem + 2.6vw, 2.85rem);
}
.section__head--light .section__title,
.contact .section__title,
.process .section__title { color: var(--white); }

.section__lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.section__lead--center { margin-inline: auto; }

.section {
  padding-block: clamp(56px, 8vw, 116px);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.process .section__head,
.audience .section__head,
.trust .section__head,
.services .section__head {
  text-align: center;
  margin-inline: auto;
}
.section__head--row { text-align: left; }
.section__head--left { text-align: left; margin-inline: 0; }

.section__cta { text-align: center; margin-top: clamp(34px, 5vw, 52px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 50px;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border-cool); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--outline-light { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--navy);
}
.link-arrow svg { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   1. TOP HEADER
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 101;
  background: var(--midnight);
  color: var(--on-dark-soft);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
}
.topbar__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}
.topbar__pin { color: var(--gold-soft); }
.topbar__contact { display: flex; align-items: center; gap: 12px; }
.topbar__contact a { transition: color var(--t-fast) var(--ease); }
.topbar__contact a:hover { color: var(--gold-soft); }
.topbar__sep { opacity: 0.4; }
@media (max-width: 720px) {
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; }
}

/* =========================================================
   2. HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 40px;
  z-index: 100;
  background: rgba(248, 244, 236, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  transition: min-height var(--t-mid) var(--ease);
}
.header.is-scrolled .header__inner { min-height: 66px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(184,135,70,0.35);
  transition: min-height var(--t-mid) var(--ease);
}
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name-main {
  font-family: var(--display);
  font-size: 1.32rem;
  color: var(--navy);
}
.brand__name-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__list a {
  position: relative;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  padding-block: 6px;
  transition: color var(--t-fast) var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.nav__list a:hover { color: var(--navy); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: var(--navy); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__close { display: none; background: none; border: none; color: var(--navy); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 11px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 27, 51, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.nav-overlay.is-open { opacity: 1; }

/* Mobile nav */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 78px 28px 28px;
    transform: translateX(105%);
    transition: transform var(--t-mid) var(--ease);
    z-index: 101;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__close { display: block; position: absolute; top: 20px; right: 20px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__list a::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nav__actions .btn { width: 100%; }

  /* Staggered cascade as the menu opens */
  .nav__list li,
  .nav__actions {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  }
  .nav.is-open .nav__list li,
  .nav.is-open .nav__actions {
    opacity: 1;
    transform: none;
  }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: 70ms; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: 130ms; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: 190ms; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: 250ms; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: 310ms; }
  .nav.is-open .nav__actions { transition-delay: 380ms; }
}
@media (max-width: 420px) {
  .brand__name-sub { display: none; }
}

/* =========================================================
   3. HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--midnight) 100%);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  /* Skyline still serves mobile and reduced-motion users (video never loads
     there); the navy gradient on top keeps the copy readable. */
  background:
    linear-gradient(100deg, rgba(7,27,51,0.94) 0%, rgba(7,27,51,0.80) 45%, rgba(8,26,51,0.58) 100%),
    radial-gradient(900px 420px at 78% -8%, rgba(184,135,70,0.20), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(20,61,53,0.40), transparent 60%),
    url("./assets/images/hero-poster.webp") center / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(54px, 8vw, 104px);
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0.012em;
  margin-top: 4px;
  color: #fff;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  color: var(--on-dark-soft);
  max-width: 54ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  color: var(--on-dark-soft);
  letter-spacing: 0.02em;
}
.hero__facts strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 4px;
}

/* Portrait card */
.hero__media { display: flex; justify-content: center; }
.portrait-card {
  position: relative;
  width: min(440px, 100%);
}
.portrait-card__frame {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(184,135,70,0.30);
  box-shadow: var(--shadow-lg);
}
.portrait-card__frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255,255,255,0.10);
  pointer-events: none;
}
.portrait-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #16335a 0%, #0c2243 55%, #081a33 100%);
}
.portrait-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-card__badge {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  background: var(--ivory);
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.portrait-card__badge-name {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
}
.portrait-card__badge-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub, .portrait-card { margin-inline: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__facts li { align-items: center; }
  .hero__media { order: -1; margin-bottom: 14px; }
}

/* =========================================================
   4. TRUST / AUTHORITY BAR
   ========================================================= */
.trustbar {
  background: var(--navy);
  color: var(--on-dark);
  border-top: 3px solid var(--gold);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px clamp(14px, 2vw, 28px);
  padding-block: 30px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.trustbar__item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.04); }
.trustbar__icon {
  --site-icon-filter: brightness(0) invert(94%) sepia(8%) saturate(345%) hue-rotate(176deg) brightness(103%) contrast(94%);
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--ivory);
}
.trustbar__icon .site-icon { width: 100%; height: 100%; }
.trustbar__item > svg { flex: none; width: 28px; height: 28px; color: var(--ivory); }
.trustbar__item:hover .trustbar__icon,
.trustbar__item:hover > svg { color: var(--gold-soft); }
.trustbar__item:hover .trustbar__icon {
  --site-icon-filter: brightness(0) saturate(100%) invert(67%) sepia(25%) saturate(714%) hue-rotate(353deg) brightness(91%) contrast(85%);
}
@media (max-width: 980px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
}
@media (max-width: 460px) {
  .trustbar__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   5. PROBLEM / PAIN SECTION
   ========================================================= */
.problem { background: var(--ivory); }
.problem__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.problem__intro { position: sticky; top: 110px; }
.problem__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.pcard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 56px 24px 22px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.pcard::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.pcard__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--navy);
}
.pcard__icon .site-icon { width: 100%; height: 100%; }
.pcard__num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.pcard__text { display: block; }
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.pcard:hover::before { opacity: 1; }
@media (max-width: 880px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem__intro { position: static; }
}
@media (max-width: 540px) {
  .problem__cards { grid-template-columns: 1fr; }
}

/* =========================================================
   6. SERVICES SECTION
   ========================================================= */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.scard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.scard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.scard:hover::before { transform: scaleX(1); }
.scard__icon {
  --site-icon-filter: brightness(0) invert(96%) sepia(10%) saturate(404%) hue-rotate(325deg) brightness(104%) contrast(95%);
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--ivory);
  margin-bottom: 20px;
  transition: transform var(--t-mid) var(--ease);
}
.scard__icon svg,
.scard__icon .site-icon { width: 28px; height: 28px; }
.scard:hover .scard__icon { transform: translateY(-3px) rotate(-3deg); }
.scard__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.scard__text { color: var(--ink-soft); font-size: 0.98rem; }
.scard__link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
}
.scard__link span { transition: margin var(--t-fast) var(--ease); display: inline-block; }
.scard__link:hover span { margin-left: 5px; }

.scard--cta {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: transparent;
  justify-content: center;
  text-align: left;
}
.scard--cta::before { display: none; }
.scard--cta .scard__title { color: #fff; }
.scard--cta .scard__text { color: var(--on-dark-soft); margin-bottom: 22px; }
.scard--cta:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

@media (max-width: 920px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   7. ABOUT BRYAN
   ========================================================= */
.about { background: var(--ivory); }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  /* Office workspace visual per the image placement guide; the navy
     gradient behind it shows while loading. Swap for Bryan's headshot
     here if one is provided later. */
  background:
    url("./assets/images/about-bryan-premium-office-workspace.webp") center / cover no-repeat,
    radial-gradient(120% 80% at 50% 0%, #16335a, #0b2240 60%, #081a33);
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,154,90,0.35);
  border-radius: calc(var(--radius-lg) - 10px);
}
.about__stat {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  max-width: 210px;
}
.about__stat strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}
.about__stat span { font-size: 0.82rem; color: var(--slate); margin-top: 4px; }
.about__content p { color: var(--ink-soft); margin-top: 16px; }
.about__content p:first-of-type { margin-top: 22px; }
.about__points { margin: 26px 0 30px; display: grid; gap: 12px; }
.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 500;
  color: var(--ink);
}
.about__point-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--navy);
  margin-top: 1px;
}
.about__point-icon .site-icon { width: 100%; height: 100%; }
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; }
}

/* =========================================================
   8. CREDENTIALS — TABS / ACCORDION
   ========================================================= */
.credentials { background: var(--white); }
.tabs {
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: var(--navy);
}
.tabs__tab {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: var(--on-dark-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 16px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tabs__tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.tabs__tab[aria-selected="true"] { background: var(--gold); color: #fff; }

.tabs__panels { padding: clamp(22px, 3vw, 38px); }
.tabs__panel { animation: fadeUp var(--t-mid) var(--ease); }
.tabs__panel[hidden] { display: none; }
.tabs__acc { display: none; }

.cred-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 4vw, 50px);
}
.cred-cols__h {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.cred-list { display: grid; gap: 12px; }
.cred-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 1rem;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.cred-list--two { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 9px 16px;
  border-radius: 50px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip-list li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

@media (max-width: 760px) {
  .tabs__list { display: none; }
  .tabs__panels { padding: 0; }
  .tabs__panel { animation: none; }
  .tabs__panel[hidden] { display: block; }
  .tabs__acc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    border-top: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.02rem;
    text-align: left;
    padding: 18px 20px;
  }
  .tabs__panel:first-child .tabs__acc { border-top: none; }
  .tabs__acc::after {
    content: "";
    width: 11px; height: 11px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    transition: transform var(--t-fast) var(--ease);
  }
  .tabs__acc[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .tabs__panel-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t-mid) var(--ease);
  }
  .tabs__panel-body > * { overflow: hidden; }
  .tabs__panel.is-open .tabs__panel-body {
    grid-template-rows: 1fr;
    padding: 4px 20px 24px;
  }
  .cred-cols { grid-template-columns: 1fr; }
  .cred-list--two { grid-template-columns: 1fr; }
}

/* =========================================================
   9. WHO THIS IS FOR
   ========================================================= */
.audience { background: var(--ivory); }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.acard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.acard:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.acard__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--navy);
}
.acard__icon .site-icon { width: 100%; height: 100%; }
.acard h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
@media (max-width: 860px) { .audience__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .audience__grid { grid-template-columns: 1fr; } }

/* =========================================================
   10. PROCESS
   ========================================================= */
.process {
  --build-bg: linear-gradient(160deg, var(--navy), var(--navy-2));
  background: transparent;
  color: var(--on-dark);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
  counter-reset: step;
  position: relative;
  isolation: isolate;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: rgba(201,154,90,0.22);
  z-index: 0;
}
.process__steps::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1200ms var(--ease) 160ms;
  z-index: 1;
}
.process.is-visible .process__steps::after { transform: scaleX(1); }
.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  border-radius: var(--radius-lg);
  padding: 0 26px 30px;
  text-align: center;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  inset: 34px 0 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.070), rgba(255,255,255,0.038));
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.step:hover {
  transform: translateY(-5px);
}
.step:hover::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.090), rgba(255,255,255,0.050));
  box-shadow: 0 24px 52px rgba(0,0,0,0.14);
}
.step__num {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(201,154,90,0.58);
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px var(--navy-2), 0 14px 28px rgba(0,0,0,0.18);
  transition: background 500ms var(--ease), color 500ms var(--ease),
              box-shadow 500ms var(--ease), border-color 500ms var(--ease);
  transition-delay: inherit;
}
.step.is-visible .step__num {
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 8px var(--navy-2), var(--shadow-gold);
}
.step__title { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.step__text { color: var(--on-dark-soft); font-size: 0.98rem; }
@media (max-width: 760px) {
  .process__steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .process__steps::before {
    top: 28px; bottom: 28px; left: 28px; right: auto;
    width: 2px; height: auto;
    background: rgba(201,154,90,0.22);
  }
  .process__steps::after {
    top: 28px; bottom: 28px; left: 28px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold), var(--gold-soft));
    transform: scaleY(0);
    transform-origin: top;
  }
  .process.is-visible .process__steps::after { transform: scaleY(1); }
  .step {
    display: block;
    text-align: left;
    padding: 20px 20px 20px 80px;
  }
  .step::before {
    inset: 0 0 0 36px;
  }
  .step__num {
    position: absolute;
    left: 0; top: 18px;
    margin: 0;
    width: 56px;
    height: 56px;
  }
}

/* =========================================================
   11. TRUST / PRINCIPLES
   ========================================================= */
.trust { background: var(--white); }
.trust__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(18px, 2.6vw, 30px);
  align-items: stretch;
}
.trust__panel-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.trust-points {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.trust-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--on-dark);
}
.trust-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--gold-soft);
}

/* ---- Review carousel ---- */
.trust-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0; /* allow the carousel to shrink inside the grid column */
}
.trust-carousel__viewport { min-width: 0; }
.trust-slide { min-width: 0; }
.trust-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px;
  margin: -8px;
  border-radius: var(--radius-lg);
}
.trust-carousel__viewport::-webkit-scrollbar { display: none; }
.trust-carousel__viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.trust-carousel__track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
}
.trust-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

/* ---- Review card (placeholder content until verified reviews arrive) ---- */
.review-card {
  position: relative;
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.review-card__tag {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-tint);
  padding: 4px 10px;
  border-radius: 6px;
}
.review-card__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--gold);
}
.review-card__stars svg { width: 19px; height: 19px; }
.review-card__text {
  font-family: var(--display);
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
}
.review-card__who {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card__who strong {
  font-weight: 600;
  color: var(--navy);
}
.review-card__who span {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.trust-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.trust-carousel__more {
  align-self: center;
  margin-top: 24px;
}
.tc-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.tc-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.trust-carousel__dots { display: flex; align-items: center; gap: 8px; }
.tc-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  transition: background var(--t-fast) var(--ease), width var(--t-fast) var(--ease);
}
.tc-dot:hover { background: var(--gold-soft); }
.tc-dot.is-active {
  width: 24px;
  background: var(--gold);
}
.trust__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, rgba(7, 27, 51, 0.90), rgba(10, 26, 48, 0.93)),
    url("./assets/images/trust-credentials-dark-legal-texture.webp") center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  color: var(--on-dark);
  overflow: hidden;
}
.trust__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(75% 55% at 88% 0%, rgba(184,135,70,0.20), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 100% 44px;
  pointer-events: none;
}
.trust__mark {
  --site-icon-filter: brightness(0) invert(96%) sepia(10%) saturate(404%) hue-rotate(325deg) brightness(104%) contrast(95%);
  display: block;
  width: 46px; height: 46px;
  color: var(--ivory);
  margin-bottom: 24px;
}
.trust__mark .site-icon { width: 100%; height: 100%; }
.trust__sig {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
}
.trust__sig span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
  margin-top: 4px;
}
@media (max-width: 880px) {
  .trust__layout { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .trust-slide { min-height: 0; }
}

/* =========================================================
   12. LOCAL AREAS
   ========================================================= */
.areas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ivory);
  color: var(--on-dark);
}
.areas::before {
  content: "";
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  background: url("./assets/images/local-areas-bellevue-seattle-eastside-visual.webp") center / cover no-repeat;
  transform: translate3d(0, var(--areas-parallax-y, 0px), 0) scale(1.1);
  will-change: transform;
}
.areas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,27,51,0.88) 0%, rgba(7,27,51,0.72) 44%, rgba(7,27,51,0.52) 100%),
    radial-gradient(78% 70% at 82% 36%, rgba(248,244,236,0.22), transparent 68%),
    linear-gradient(180deg, rgba(7,27,51,0.12), rgba(7,27,51,0.36));
  pointer-events: none;
}
.areas__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.areas .section__title { color: #fff; }
.areas .section__lead { color: rgba(234,240,247,0.86); }
.areas__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.areas__intro .btn { margin-top: 32px; }
.areas .btn--navy {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.areas .btn--navy:hover { background: var(--gold-soft); }
.areas__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.area {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow: 0 14px 32px rgba(7,27,51,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.area::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transition: transform var(--t-fast) var(--ease);
}
.area:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(255,255,255,0.96); }
.area:hover::before { transform: scale(1.4); }
.area--wide { grid-column: 1 / -1; justify-content: center; background: var(--navy); color: #fff; }
.area--wide::before { background: var(--gold-soft); }
.area--wide:hover { background: var(--navy-2); }
@media (max-width: 880px) { .areas__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .areas::before {
    inset: 0;
    transform: none;
    will-change: auto;
  }
}
@media (max-width: 560px) { .areas__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .areas__list { grid-template-columns: 1fr; } }

/* =========================================================
   13. RESOURCES / BLOG
   ========================================================= */
.resources { background: var(--white); }
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.bcard {
  display: flex;
  flex-direction: column;
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.bcard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.bcard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, #103056, #0b2240);
}
.bcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform var(--t-mid) var(--ease);
}
.bcard:hover .bcard__img { transform: scale(1.04); }
/* scrim above the photo keeps the category badge readable */
.bcard__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(7, 27, 51, 0.30) 0%,
    rgba(7, 27, 51, 0.05) 45%,
    rgba(7, 27, 51, 0.30) 100%);
  pointer-events: none;
}
.bcard__media--2 { background: linear-gradient(150deg, #123a33, #0c2a25); }
.bcard__media--3 { background: linear-gradient(150deg, #2a2140, #14233f); }
.bcard__cat {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7,27,51,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.bcard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.bcard__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-tint);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.bcard__title { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.bcard__title a { transition: color var(--t-fast) var(--ease); }
.bcard__title a:hover { color: var(--gold); }
.bcard__excerpt { color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 880px) { .resources__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* =========================================================
   14. CONTACT
   ========================================================= */
.contact { background: var(--ivory); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: stretch;
}
.contact__panel {
  /* navy gradient at slight transparency lets the document texture show through */
  --build-bg: linear-gradient(160deg, rgba(10, 26, 48, 0.90), rgba(11, 34, 63, 0.93)),
              url("./assets/images/contact-section-dark-document-texture.webp") center / cover no-repeat;
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact__panel-inner {
  position: relative;
  height: 100%;
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
}
/* subtle document-line texture over the navy panel */
.contact__panel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 90% 100%, rgba(20,61,53,0.45), transparent 65%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 100% 46px;
  pointer-events: none;
}
.contact__panel-inner > * { position: relative; z-index: 1; }
.contact__panel .section__head { margin-bottom: 10px; max-width: none; }
.contact .section__title { text-align: left; }
.contact__lead { margin-top: 12px; color: var(--on-dark-soft); max-width: 50ch; }
.contact__details { margin-top: 30px; display: grid; gap: 16px; }
.contact__details li { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.contact__details svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,0.06); color: var(--gold-soft); }
.contact__details a { transition: color var(--t-fast) var(--ease); }
.contact__details a:hover { color: var(--gold-soft); }

/* Form */
.contact__formwrap {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-lg);
}
.cform { display: grid; gap: 18px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label,
.field__legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 168px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-tint);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa6b4; }

.field__error {
  font-size: 0.82rem;
  color: #b4452f;
  margin-top: 7px;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d06a52; background: #fdf3f0; }
.field.has-error .field__error { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }

.radio-row label , .radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.radio-row label:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); color: var(--navy); }
.radio-row label input { accent-color: var(--gold); width: 16px; height: 16px; }

.field--check { margin-top: 2px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.checkbox a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.cform__success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eef7f0;
  border: 1px solid #bcdcc4;
  color: #2c6e44;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  animation: fadeUp var(--t-mid) var(--ease);
}
.cform__success[hidden] { display: none; }
.cform__success svg { flex: none; color: #2c8a52; }

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

/* =========================================================
   15. FOOTER
   ========================================================= */
.footer { background: var(--midnight); color: var(--on-dark-soft); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
.brand--footer .brand__name-main { color: #fff; }
.brand--footer .brand__name-sub { color: var(--on-dark-soft); }
.footer__blurb { margin-top: 20px; font-size: 0.92rem; max-width: 38ch; }
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 9px 18px;
  border-radius: 50px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__social:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.footer__social svg { color: var(--gold-soft); }

.footer__h {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__contact li { font-size: 0.94rem; line-height: 1.5; }
.footer__hours li { display: flex; justify-content: space-between; gap: 14px; font-size: 0.92rem; }
.footer__hours span:last-child { color: var(--on-dark); }

.footer__legal-links {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 14px;
}
.footer__legal { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 18px 20px; }
.footer__disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7e8da0;
  max-width: 90ch;
  margin-inline: auto;
  text-align: center;
}
/* Keep the disclaimer on a single line on desktop */
@media (min-width: 1024px) {
  .footer__disclaimer { max-width: none; white-space: nowrap; }
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.footer__links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}
.footer__links a { font-size: 0.86rem; transition: color var(--t-fast) var(--ease); }
.footer__links a:hover { color: var(--gold-soft); }
.footer__copy { width: 100%; font-size: 0.82rem; color: #7e8da0; text-align: center; }
@media (max-width: 920px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal-links,
  .footer__links { justify-content: center; }
}

/* =========================================================
   Hero background video
   ========================================================= */
.hero__videowrap {
  position: absolute;
  inset: 0;
  z-index: -1; /* above .hero__bg (later in DOM), below content */
  opacity: 0;
  transition: opacity 1000ms var(--ease);
}
.hero__videowrap.is-playing { opacity: 1; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(7, 27, 51, 0.94) 0%,
    rgba(7, 27, 51, 0.78) 45%,
    rgba(8, 26, 51, 0.58) 100%);
}

/* =========================================================
   Header scroll progress
   ========================================================= */
.header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* =========================================================
   Problem section: icon transitions
   ========================================================= */
.pcard__icon {
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

/* =========================================================
   Services: card numbers + restrained pointer spotlight
   ========================================================= */
.scard { --mx: 50%; --my: 50%; }
.scard__num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.05em;
  transition: opacity var(--t-fast) var(--ease);
}
.scard:hover .scard__num { opacity: 1; }
.scard:not(.scard--cta)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(230px circle at var(--mx) var(--my),
    rgba(184, 135, 70, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
}
.scard:not(.scard--cta):hover::after { opacity: 1; }

/* =========================================================
   Credentials: sticky proof wall
   ========================================================= */
.cred-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
.cred-side {
  position: sticky;
  top: 116px;
}
.cred-side .section__head { margin-bottom: 26px; }
.cred-highlights {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.cred-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
}
.cred-highlights__icon {
  flex: none;
  width: 21px;
  height: 21px;
  color: var(--navy);
  margin-top: 2px;
}
.cred-highlights__icon .site-icon { width: 100%; height: 100%; }
.cred-layout .tabs__tab { font-size: 0.88rem; padding: 12px 14px; }
@media (max-width: 980px) {
  .cred-layout { grid-template-columns: 1fr; }
  .cred-side { position: static; }
}

/* Credentials dossier redesign */
.credentials {
  background:
    linear-gradient(180deg, var(--white), var(--ivory-2));
}
.cred-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  align-items: center;
}
.cred-side {
  max-width: 500px;
}
.cred-side .section__head {
  margin-bottom: 24px;
}
.cred-highlights {
  gap: 10px;
  margin-bottom: 30px;
  padding: 20px 0 0;
}
.cred-highlights li {
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.58);
  box-shadow: 0 10px 26px rgba(7,27,51,0.045);
}
.cred-highlights__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--gold-tint);
}
.tabs.dossier {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7,27,51,0.12);
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.dossier::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(78% 54% at 100% 0%, rgba(201,154,90,0.18), transparent 55%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 100% 42px;
  pointer-events: none;
}
.dossier__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.2vw, 42px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.dossier__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dossier__header h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.65rem, 1.24rem + 1.45vw, 2.55rem);
  line-height: 1;
  color: var(--white);
}
.dossier__seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(201,154,90,0.68);
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.25rem;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 0 0 8px rgba(201,154,90,0.08);
}
.dossier__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  min-height: clamp(420px, 44vw, 570px);
}
.dossier .tabs__list {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  padding: clamp(18px, 2.3vw, 28px) 0 clamp(18px, 2.3vw, 28px) clamp(18px, 2.3vw, 28px);
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-right: 1px solid rgba(255,255,255,0.09);
}
.dossier .tabs__tab {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 14px 18px 14px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.045);
  color: var(--on-dark-soft);
  font-size: 0.95rem;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}
.dossier .tabs__tab span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,154,90,0.34);
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 0.85rem;
}
.dossier .tabs__tab:hover {
  color: var(--white);
  background: rgba(255,255,255,0.075);
}
.dossier .tabs__tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.dossier .tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 26px;
  height: 26px;
  background: var(--gold-soft);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 10px -10px 20px rgba(7,27,51,0.08);
}
.dossier .tabs__tab[aria-selected="true"] span {
  border-color: rgba(255,255,255,0.68);
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.dossier__content {
  position: relative;
  margin: clamp(18px, 2.3vw, 28px);
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ivory), var(--ivory-2));
  border: 1px solid rgba(230,224,214,0.92);
  box-shadow: 0 22px 46px rgba(7,27,51,0.16);
  overflow: hidden;
}
.dossier__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(184,135,70,0.16) 0 1px, transparent 1px),
    linear-gradient(rgba(7,27,51,0.035) 1px, transparent 1px);
  background-size: 46px 100%, 100% 38px;
  opacity: 0.42;
  pointer-events: none;
}
.dossier .tabs__panel {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: clamp(28px, 3.6vw, 46px);
  animation: dossierPanelIn 360ms var(--ease);
}
.dossier .tabs__panel[hidden] { display: none; }
.dossier .tabs__panel-body {
  max-width: 620px;
}
.dossier .cred-cols {
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(26px, 4vw, 48px);
}
.dossier .cred-cols__h {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--gold);
}
.dossier .cred-cols__h::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.dossier .cred-list {
  gap: 12px;
}
.dossier .cred-list li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid rgba(230,224,214,0.88);
}
.dossier .cred-list li::before {
  top: 22px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(184,135,70,0.12);
}
.dossier .cred-list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
}
.dossier .chip-list {
  gap: 11px;
}
.dossier .chip-list li {
  background: rgba(255,255,255,0.72);
  border-color: rgba(184,135,70,0.26);
  box-shadow: 0 8px 20px rgba(7,27,51,0.045);
}
@keyframes dossierPanelIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 980px) {
  .cred-layout {
    grid-template-columns: 1fr;
  }
  .cred-side {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .tabs.dossier {
    background: var(--ivory-2);
  }
  .dossier::before,
  .dossier__header,
  .dossier .tabs__list {
    display: none;
  }
  .dossier__body {
    display: block;
    min-height: 0;
  }
  .dossier__content {
    margin: 0;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    background: var(--white);
  }
  .dossier__content::before {
    display: none;
  }
  .dossier .tabs__panel {
    padding: 0;
    animation: none;
  }
  .dossier .tabs__panel[hidden] {
    display: block;
  }
  .dossier .tabs__acc {
    background: var(--white);
    color: var(--navy);
  }
  .dossier .tabs__panel-body {
    max-width: none;
  }
  .dossier .tabs__panel.is-open .tabs__panel-body {
    padding: 4px 20px 24px;
  }
  .dossier .cred-cols,
  .dossier .cred-list--two {
    grid-template-columns: 1fr;
  }
  .dossier .cred-list li {
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dossier .tabs__panel {
    animation: none;
  }
}

/* =========================================================
   About: layered document stack + access chip
   ========================================================= */
.about__media { position: relative; }
.about__stack {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.about__doc {
  position: absolute;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--white), var(--ivory-2));
  box-shadow: var(--shadow-md);
}
.about__doc::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, var(--border) 0 1px, transparent 1px 12px);
  opacity: 0.7;
}
.about__doc--1 {
  width: 52%;
  height: 40%;
  right: -28px;
  top: -30px;
  transform: rotate(5deg);
}
.about__doc--2 {
  width: 44%;
  height: 32%;
  left: -32px;
  bottom: 7%;
  transform: rotate(-6deg);
}
.about__chip {
  position: absolute;
  top: 24px;
  left: -16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 17px;
  border-radius: 50px;
  border: 1px solid rgba(201, 154, 90, 0.45);
  box-shadow: var(--shadow-md);
}
.about__chip-icon {
  --site-icon-filter: brightness(0) invert(96%) sepia(10%) saturate(404%) hue-rotate(325deg) brightness(104%) contrast(95%);
  display: block;
  width: 15px;
  height: 15px;
  color: var(--ivory);
}
.about__chip-icon .site-icon { width: 100%; height: 100%; }
@media (max-width: 880px) {
  .about__doc--1 { right: -12px; top: -16px; }
  .about__doc--2 { left: -12px; }
  .about__chip { left: -6px; }
}

.areas__visual { position: relative; }
.areas__list { position: relative; }

/* =========================================================
   Resources: sliding arrow badge
   ========================================================= */
.bcard__go {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translate(8px, 8px);
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.bcard:hover .bcard__go {
  opacity: 1;
  transform: translate(0, 0);
}

/* =========================================================
   Background build effect (Process + Contact panel only)
   ========================================================= */
.bg-build { position: relative; }
.bg-build::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--build-bg, var(--navy));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 900ms var(--ease);
}
.bg-build.is-visible::before { clip-path: inset(0 0 0 0); }
.bg-build > * { position: relative; z-index: 1; }

/* =========================================================
   Intro curtain (first visit per tab session)
   ========================================================= */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--navy), var(--midnight));
  transition: transform 800ms var(--ease);
}
.intro-curtain.is-done { transform: translateY(-101%); }
.intro-curtain__inner {
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: curtainIn 600ms var(--ease) 120ms forwards;
}
.intro-curtain__mark {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: #fff;
  letter-spacing: 0.02em;
}
.intro-curtain__rule {
  display: block;
  width: 0;
  height: 1px;
  margin: 16px auto 0;
  background: var(--gold);
  animation: curtainRule 700ms var(--ease) 350ms forwards;
}
.intro-curtain__sub {
  display: block;
  margin-top: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
@keyframes curtainIn { to { opacity: 1; transform: none; } }
@keyframes curtainRule { to { width: 76px; } }

/* =========================================================
   Hero scroll drift (transform/opacity set by JS)
   ========================================================= */
.hero__inner { will-change: transform, opacity; }

/* =========================================================
   Footer curtain reveal: the page lifts off the pinned footer
   ========================================================= */
body.has-footer-reveal main {
  position: relative;
  z-index: 1;
  background: var(--ivory);
  margin-bottom: var(--footer-h, 0px);
  box-shadow: 0 28px 54px -12px rgba(7, 27, 51, 0.35);
}
body.has-footer-reveal .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

/* =========================================================
   Reveal animations + reduced motion
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal, .reveal-stagger {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible, .reveal-stagger.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Word-mask heading reveal (roeh-style) ---- */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split .wi {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 800ms var(--ease);
  will-change: transform;
}
.split.is-visible .wi { transform: none; }

/* ---- Clip-path media reveal ---- */
.reveal-mask {
  clip-path: inset(8% 0 100% 0);
  transition: clip-path 1000ms var(--ease);
  will-change: clip-path;
}
.reveal-mask.is-visible { clip-path: inset(0 0 0 0); }

/* ---- Button label slide-up on hover ---- */
.btn--slide .btn__txt {
  display: inline-grid;
  overflow: hidden;
}
.btn--slide .btn__txt > span {
  grid-area: 1 / 1;
  display: block;
  transition: transform 380ms var(--ease);
}
.btn--slide .btn__txt > span:nth-child(2) { transform: translateY(115%); }
.btn--slide:hover .btn__txt > span:first-child { transform: translateY(-115%); }
.btn--slide:hover .btn__txt > span:nth-child(2) { transform: translateY(0); }

/* ---- Parallax targets (transform set by JS) ---- */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger { opacity: 1; transform: none; }
  .split .wi { transform: none; }
  .reveal-mask { clip-path: none; }
  .bg-build::before { clip-path: inset(0 0 0 0); }
  .process__steps::before,
  .process__steps::after { transform: none; }
  .hero__videowrap { display: none; }
  .intro-curtain { display: none; }
  .nav__list li, .nav__actions { opacity: 1; transform: none; }
  .hero__inner { will-change: auto; }
}


.wpcf7-list-item.first{
  margin: 0px;
}

.checkbox br{
  display: none;
}