/* ==========================================================================
   Erwee Incorporated - static rebuild
   Values below are not invented: they are the computed styles measured off the
   live Replit build (1440x900, 2026-08-27) so the conversion is pixel-faithful.

   Two properties of the original look wrong but are reproduced deliberately,
   because this is a conversion and not a redesign:
     1. every element computes to font-weight 300 (the original's base layer
        sets `font-weight: 300 !important` on `*`, which beats every
        font-bold / font-black utility).
     2. body copy and headings compute to black, not maroon. The original
        defines --primary as `hsl(345,55%,27%)` and then feeds it to Tailwind
        as `hsl(var(--primary))`, producing `hsl(hsl(345,55%,27%))` - invalid,
        so the colour is dropped. Maroon only survives where it was hardcoded
        as #6B1D2A. The gold accent never renders at all.
   Both are recorded in the client dossier; changing them is Kyle's call.
   ========================================================================== */

:root {
  --maroon: #6b1d2a;
  --silver: #9ca3af;
  --ooba: #00c853;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;

  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-600: #d97706;
  --amber-800: #92400e;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --nav-h: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* the original forces weight 300 on every element - see header note */
h1, h2, h3, h4, h5, h6, p, span, div, a, label, button, input, textarea, select, li, strong, b {
  font-family: var(--font);
  font-weight: 300;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-lg); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--nav-h);
}

.nav__logo { flex-shrink: 0; transition: opacity 0.2s; }
.nav__logo:hover { opacity: 0.8; }
.nav__logo img { height: 80px; width: auto; object-fit: contain; }

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}
.nav__links a {
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--maroon);
  white-space: nowrap;
  transition: all 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  background: var(--maroon);
  color: #fff;
}

.nav__lang {
  display: none;
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: 4px;
  background: var(--maroon);
  color: #fff;
  transition: all 0.2s;
}
.nav__lang:hover { background: #5c1924; box-shadow: var(--shadow-lg); }

.nav__toggle { color: var(--maroon); padding: 8px; }
.nav__toggle .icon-x { display: none; }
.nav.is-open .nav__toggle .icon-x { display: block; }
.nav.is-open .nav__toggle .icon-menu { display: none; }

.nav__mobile { display: none; padding-bottom: 16px; }
.nav.is-open .nav__mobile { display: block; }
.nav__mobile-list { display: flex; flex-direction: column; gap: 8px; }
.nav__mobile-list a,
.nav__mobile-list button {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 4px;
  color: var(--maroon);
  transition: all 0.2s;
}
.nav__mobile-list a[aria-current="page"] { background: var(--maroon); color: #fff; }
.nav__mobile-list button { background: var(--maroon); color: #fff; text-align: center; }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__lang { display: block; }
  .nav__toggle { display: none; }
  .nav.is-open .nav__mobile { display: none; }
}

/* ── Page shell ─────────────────────────────────────────────────────────── */

.page { padding-top: 80px; }

section { position: relative; }

/* ── Hero (home carousel) ───────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; }
.hero__track { display: flex; transition: transform 0.5s ease; }
.hero__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.hero__panel {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Slide backgrounds. The original referenced these off the firm's previous
   Drupal host, where they no longer resolved, so the hero had only ever shown
   the scrim below. Rescued and restored on Kyle's call, 2026-08-27. */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__bg--litigation { background-image: image-set(url("assets/legacy-slide-litigation-1400.webp") type("image/webp"), url("assets/legacy-slide-litigation-1400.jpg") type("image/jpeg")); }
.hero__bg--services   { background-image: image-set(url("assets/legacy-slide-services-1400.webp") type("image/webp"), url("assets/legacy-slide-services-1400.jpg") type("image/jpeg")); }
.hero__bg--goals      { background-image: image-set(url("assets/legacy-slide-goals-1400.webp") type("image/webp"), url("assets/legacy-slide-goals-1400.jpg") type("image/jpeg")); }
@media (max-width: 800px) {
  .hero__bg--litigation { background-image: image-set(url("assets/legacy-slide-litigation-768.webp") type("image/webp"), url("assets/legacy-slide-litigation-768.jpg") type("image/jpeg")); }
  .hero__bg--services   { background-image: image-set(url("assets/legacy-slide-services-768.webp") type("image/webp"), url("assets/legacy-slide-services-768.jpg") type("image/jpeg")); }
  .hero__bg--goals      { background-image: image-set(url("assets/legacy-slide-goals-768.webp") type("image/webp"), url("assets/legacy-slide-goals-768.jpg") type("image/jpeg")); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.7));
}
.hero__body {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 80px 0;
}
.hero__eyebrow { font-size: 24px; line-height: 32px; margin-bottom: 16px; }
.hero__title {
  font-size: 60px;
  line-height: 60px;
  margin-bottom: 24px;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.4);
}
.hero__sub { font-size: 24px; line-height: 32px; margin-bottom: 32px; opacity: 0.95; }
.hero__ctas { display: flex; flex-direction: row; gap: 16px; justify-content: center; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgb(107 29 42 / 0.8);
  color: #fff;
  padding: 12px;
  border-radius: 9999px;
  transition: background 0.2s;
}
.hero__arrow:hover { background: var(--maroon); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero__dot {
  width: 12px; height: 12px;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.5);
  transition: all 0.2s;
}
.hero__dot.is-active { width: 32px; background: #fff; }

@media (max-width: 767px) {
  .hero__title { font-size: 36px; line-height: 40px; }
  .hero__eyebrow, .hero__sub { font-size: 20px; line-height: 28px; }
  .hero__ctas { flex-direction: column; }
}

/* ── Inner page hero ────────────────────────────────────────────────────── */

.phero { padding: 96px 0; overflow: hidden; }
.phero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Page hero backgrounds: 1280w by default, 768w on phones. */
.phero__bg--hero-about { background-image: image-set(url("assets/hero-about-1280.webp") type("image/webp"), url("assets/hero-about-1280.jpg") type("image/jpeg")); }
.phero__bg--hero-services { background-image: image-set(url("assets/hero-services-1280.webp") type("image/webp"), url("assets/hero-services-1280.jpg") type("image/jpeg")); }
.phero__bg--hero-social { background-image: image-set(url("assets/hero-social-1280.webp") type("image/webp"), url("assets/hero-social-1280.jpg") type("image/jpeg")); }
.phero__bg--hero-calculators { background-image: image-set(url("assets/hero-calculators-1280.webp") type("image/webp"), url("assets/hero-calculators-1280.jpg") type("image/jpeg")); }
.phero__bg--unsplash-contact-hero { background-image: image-set(url("assets/unsplash-contact-hero-1200.webp") type("image/webp"), url("assets/unsplash-contact-hero-1200.jpg") type("image/jpeg")); }
@media (max-width: 800px) {
  .phero__bg--hero-about { background-image: image-set(url("assets/hero-about-768.webp") type("image/webp"), url("assets/hero-about-768.jpg") type("image/jpeg")); }
  .phero__bg--hero-services { background-image: image-set(url("assets/hero-services-768.webp") type("image/webp"), url("assets/hero-services-768.jpg") type("image/jpeg")); }
  .phero__bg--hero-social { background-image: image-set(url("assets/hero-social-768.webp") type("image/webp"), url("assets/hero-social-768.jpg") type("image/jpeg")); }
  .phero__bg--hero-calculators { background-image: image-set(url("assets/hero-calculators-768.webp") type("image/webp"), url("assets/hero-calculators-768.jpg") type("image/jpeg")); }
  .phero__bg--unsplash-contact-hero { background-image: image-set(url("assets/unsplash-contact-hero-768.webp") type("image/webp"), url("assets/unsplash-contact-hero-768.jpg") type("image/jpeg")); }
}

.phero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.7));
}
.phero .container { position: relative; z-index: 10; }
.phero__title {
  font-size: 48px;
  line-height: 1;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.4);
}
.phero__sub {
  font-size: 20px;
  line-height: 28px;
  color: #fff;
  text-align: center;
  max-width: 672px;
  margin: 0 auto;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.4);
}
@media (max-width: 767px) {
  .phero__title { font-size: 36px; }
}

/* ── Shared section furniture ───────────────────────────────────────────── */

.sec { padding: 80px 0; }
.sec--16 { padding: 64px 0; }
.sec--10 { padding: 40px 0; }
.sec--white { background: #fff; }
.sec--gray { background: var(--gray-50); }
.sec--wash {
  background-image: linear-gradient(to bottom right, var(--gray-50), #fff, var(--gray-50));
}

.sec__title {
  font-size: 36px;
  line-height: 40px;
  text-align: center;
  margin-bottom: 16px;
}
.sec__title--30 { font-size: 30px; line-height: 36px; margin-bottom: 48px; }
.sec__lede {
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  max-width: 672px;
  margin: 0 auto 48px;
}

.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.narrow-4xl { max-width: 896px; margin-left: auto; margin-right: auto; }
.narrow-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.narrow-6xl { max-width: 1152px; margin-left: auto; margin-right: auto; }

@media (max-width: 1023px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: minmax(0, 1fr); }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 4px;
  background: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
}
.btn:hover { background: #5c1924; transform: translateY(-4px); }

.btn--sm { padding: 12px 32px; border-radius: 8px; box-shadow: var(--shadow-md); }
.btn--sm:hover { transform: none; box-shadow: var(--shadow-lg); }
.btn--outline {
  background: none;
  color: var(--maroon);
  border: 2px solid var(--maroon);
  box-shadow: none;
}
.btn--outline:hover { background: rgb(107 29 42 / 0.05); transform: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; background: var(--maroon); }

/* ── Bank panel ─────────────────────────────────────────────────────────── */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 64px;
}
.logo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 224px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.logo-card:hover { box-shadow: var(--shadow-lg); }
.logo-card--cover img { width: 100%; height: 100%; object-fit: cover; }
.logo-card--contain img { max-height: 96px; max-width: 100%; object-fit: contain; padding: 16px; }

@media (max-width: 767px) { .logo-row { gap: 40px; } }

/* ── Service cards (home) ───────────────────────────────────────────────── */

.svc-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--maroon);
  transition: all 0.3s;
}
.svc-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-8px); }
.svc-card__icon { margin-bottom: 24px; color: var(--maroon); transition: transform 0.3s; }
.svc-card:hover .svc-card__icon { transform: scale(1.1); }
.svc-card__icon svg { width: 48px; height: 48px; }
.svc-card h3 { font-size: 24px; line-height: 32px; margin-bottom: 16px; }
.svc-card p { line-height: 1.625; }

/* ── Property steps ─────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; }
.step__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; width: 100%; }
.step__badge {
  width: 64px; height: 64px;
  border-radius: 9999px;
  background: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 10;
}
.step__badge svg { width: 28px; height: 28px; color: #fff; }
.step__num {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgb(107 29 42 / 0.1);
  color: var(--maroon);
}
.step h3 { font-size: 16px; margin-bottom: 8px; color: var(--gray-900); }
.step p { font-size: 14px; line-height: 1.625; color: var(--gray-500); }
.step__arrow { position: absolute; top: 32px; right: -12px; z-index: 20; color: var(--maroon); }
.step__arrow svg { width: 24px; height: 24px; }
.step__rule { display: none; }

@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .step__arrow { display: none; }
  .step__rule { display: flex; justify-content: center; margin: 8px 0; }
  .step__rule i { display: block; width: 2px; height: 24px; background: var(--maroon); opacity: 0.3; }
}
@media (max-width: 639px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* ── Stats ──────────────────────────────────────────────────────────────── */

.stat-card {
  text-align: center;
  background: rgb(255 255 255 / 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border-bottom: 4px solid transparent;
  transition: all 0.3s;
}
.stat-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-8px); }
.stat-card__num { font-size: 48px; line-height: 1; margin-bottom: 8px; transition: transform 0.3s; }
.stat-card:hover .stat-card__num { transform: scale(1.1); }
.stat-card__label { font-size: 18px; line-height: 28px; }

.stat-card--flat { background: #fff; box-shadow: var(--shadow-md); border-bottom: 0; }
.stat-card--flat:hover { transform: none; box-shadow: var(--shadow-md); }
.stat-card--plain { background: none; box-shadow: var(--shadow-md); border-bottom: 0; }
.stat-card--plain:hover { transform: none; box-shadow: var(--shadow-md); }

/* ── Ooba partner ───────────────────────────────────────────────────────── */

.ooba {
  max-width: 1024px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.ooba__left {
  width: 40%;
  background-image: linear-gradient(to bottom right, #00c853, #00a844);
  padding: 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 250px;
}
.ooba__logo-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: var(--shadow-lg); }
.ooba__logo-card img { height: 64px; width: auto; object-fit: contain; }
.ooba__right { width: 60%; padding: 48px; }
.ooba__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ooba);
}
.ooba__eyebrow svg { width: 24px; height: 24px; }
.ooba__right h3 { font-size: 30px; line-height: 36px; margin-bottom: 16px; color: var(--gray-900); }
.ooba__right > p { color: var(--gray-600); margin-bottom: 24px; line-height: 1.625; }
.ooba__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ooba); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  transition: all 0.2s;
}
.ooba__cta:hover { background: #00a844; box-shadow: var(--shadow-lg); }
.ooba__cta svg { width: 16px; height: 16px; }

@media (max-width: 767px) {
  .ooba { flex-direction: column; }
  .ooba__left, .ooba__right { width: 100%; }
  .ooba__right { padding: 40px; }
}

/* ── Testimonials ───────────────────────────────────────────────────────── */

.quote-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--maroon);
  position: relative;
  transition: all 0.3s;
}
.quote-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-8px); }
.quote-card__mark { position: absolute; top: 24px; right: 24px; opacity: 0.1; color: var(--maroon); }
.quote-card__mark svg { width: 40px; height: 40px; }
.quote-card__stars { display: flex; margin-bottom: 16px; }
.quote-card__stars svg { width: 20px; height: 20px; fill: var(--maroon); color: var(--maroon); }
.quote-card__body { line-height: 1.625; margin-bottom: 24px; position: relative; z-index: 10; }
.quote-card__by { border-top: 1px solid var(--gray-200); padding-top: 16px; }
.quote-card__by span { display: block; }
.quote-card__role { font-size: 14px; }

.rating {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px; padding: 12px 24px;
  background: rgb(107 29 42 / 0.1);
}
.rating__stars { display: flex; }
.rating__stars svg { width: 24px; height: 24px; fill: var(--maroon); color: var(--maroon); }
.rating__num { font-size: 24px; line-height: 32px; }
.rating__label { font-size: 14px; }

/* ── About page ─────────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.split img { border-radius: 8px; box-shadow: var(--shadow-xl); width: 100%; }
.prose > p + p { margin-top: 16px; }
.prose p { line-height: 1.625; }
.prose--tight > p + p { margin-top: 12px; }

@media (max-width: 1023px) { .split { grid-template-columns: minmax(0, 1fr); } }

.founder { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; max-width: 1152px; margin: 0 auto; }
.founder__photo { width: 192px; height: 192px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.founder h4 { font-size: 18px; line-height: 28px; margin-bottom: 16px; }
@media (max-width: 1023px) { .founder { grid-template-columns: minmax(0, 1fr); } }

.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 896px; margin: 0 auto; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 8px; }
.check-item svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 4px; }
@media (max-width: 767px) { .check-list { grid-template-columns: minmax(0, 1fr); } }

.bee-card {
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  border: 2px solid #000;
  color: #000;
}
.bee-card__star { font-size: 60px; line-height: 1; margin-bottom: 16px; }
.bee-card h3 { font-size: 24px; line-height: 32px; margin-bottom: 12px; }
.bee-card p { margin-bottom: 12px; }
.bee-card__reg { font-size: 18px; line-height: 28px; }

.list-card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: var(--shadow-md); }
.list-card h4 { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
.list-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.list-card li { display: flex; align-items: center; gap: 8px; }
.list-card li svg { width: 20px; height: 20px; flex-shrink: 0; }

.team-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
}
.team-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); }
.team-card__photo { height: 256px; overflow: hidden; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 24px; }
.team-card h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.team-card__role { margin-bottom: 12px; }
.team-card__contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.team-card__contact div { display: flex; align-items: center; gap: 8px; }
.team-card__contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.team-card__bio { font-size: 14px; line-height: 1.625; }

/* ── Services page accordion ────────────────────────────────────────────── */

.acc { display: flex; flex-direction: column; gap: 24px; max-width: 1152px; margin: 0 auto; }
.acc__item {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid #000;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.acc__item:hover { box-shadow: var(--shadow-2xl); }
.acc__head {
  width: 100%;
  padding: 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.acc__head h3 { font-size: 24px; line-height: 32px; }
.acc__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.acc__more { font-size: 14px; }
.acc__item[data-open="true"] .acc__more { display: none; }
.acc__chev { transition: transform 0.3s; }
.acc__chev svg { width: 24px; height: 24px; }
.acc__item[data-open="true"] .acc__chev { transform: rotate(180deg); }
.acc__panel { display: none; padding: 0 24px 24px; }
.acc__item[data-open="true"] .acc__panel { display: block; }
.acc__panel p { line-height: 1.625; }

/* ── Calculators ────────────────────────────────────────────────────────── */

.calc-shell {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}
.calc-tabs { display: flex; border-bottom: 1px solid var(--gray-200); }
.calc-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 24px;
  font-size: 18px;
  background: var(--gray-50);
  color: var(--maroon);
  transition: all 0.2s;
}
.calc-tab svg { width: 24px; height: 24px; }
.calc-tab:hover { background: var(--gray-100); }
.calc-tab[aria-selected="true"] { background: var(--maroon); color: #fff; }
.calc-panel { display: none; padding: 32px; }
.calc-panel.is-active { display: block; }

.field { display: block; }
.field__label { display: block; font-size: 14px; margin-bottom: 8px; }
.field__wrap { position: relative; }
.field__prefix, .field__suffix {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
}
.field__prefix { left: 12px; }
.field__suffix { right: 12px; }
.field input, .field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 16px;
  outline: none;
}
.field input.has-prefix { padding-left: 32px; }
.field input.has-suffix { padding-right: 40px; }
.field input:focus, .field select:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 2px var(--maroon);
}

.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.calc-grid .span-2 { grid-column: span 2; }
.calc-actions { display: flex; gap: 16px; margin-bottom: 32px; }
@media (max-width: 767px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-grid .span-2 { grid-column: auto; }
}

.calc-results { display: none; border-top: 1px solid var(--gray-200); padding-top: 32px; }
.calc-results.is-shown { display: block; }
.calc-total { background: var(--maroon); border-radius: 12px; padding: 24px; margin-bottom: 32px; text-align: center; }
.calc-total__label { color: rgb(255 255 255 / 0.8); font-size: 18px; margin-bottom: 4px; }
.calc-total__value { font-size: 36px; line-height: 40px; color: #fff; }
.calc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1023px) { .calc-cols { grid-template-columns: minmax(0, 1fr); } }
.calc-box { background: var(--gray-50); border-radius: 12px; padding: 24px; }
.calc-box h3 { font-size: 20px; line-height: 28px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--maroon); color: var(--maroon); }
.calc-box__sum { font-size: 24px; line-height: 32px; color: var(--maroon); margin-bottom: 16px; }
.calc-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--gray-200); }
.calc-line:last-child { border-bottom: 0; }
.calc-line__k { font-size: 14px; }
.calc-note { margin-top: 32px; background: var(--amber-50); border: 1px solid var(--amber-200); border-radius: 12px; padding: 24px; }
.calc-note__inner { display: flex; align-items: flex-start; gap: 12px; }
.calc-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--amber-600); }
.calc-note div { font-size: 14px; color: var(--amber-800); }
.calc-note div > p + p { margin-top: 8px; }

.bond-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 1023px) { .bond-grid { grid-template-columns: minmax(0, 1fr); } }
.bond-fields { display: flex; flex-direction: column; gap: 20px; }
.bond-results h3 { font-size: 20px; line-height: 28px; margin-bottom: 24px; color: var(--maroon); }
.bond-lines { background: var(--gray-50); border-radius: 12px; padding: 24px; }
.bond-lines .calc-line { padding: 12px 0; }

/* ── Contact ────────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 896px; margin: 0 auto; }
@media (max-width: 767px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: #fff; border-radius: 8px; padding: 32px; box-shadow: var(--shadow-lg); }
.contact-card__inner { display: flex; align-items: flex-start; gap: 16px; }
.contact-card__icon { background: rgb(107 29 42 / 0.1); padding: 12px; border-radius: 8px; flex-shrink: 0; }
.contact-card__icon svg { width: 24px; height: 24px; color: var(--maroon); }
.contact-card h4 { font-size: 18px; line-height: 28px; margin-bottom: 8px; color: var(--maroon); }
.contact-card p, .contact-card a { color: var(--gray-700); }
.contact-card a:hover { color: var(--maroon); }

.map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 384px;
  max-width: 896px;
  margin: 24px auto 0;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Social responsibilities ────────────────────────────────────────────── */

.csr-card { background: #fff; border-radius: 8px; padding: 32px; box-shadow: var(--shadow-md); text-align: center; transition: box-shadow 0.3s; }
.csr-card:hover { box-shadow: var(--shadow-xl); }
.csr-card__icon { display: flex; justify-content: center; margin-bottom: 24px; color: var(--maroon); }
.csr-card__icon svg { width: 64px; height: 64px; }
.csr-card h3 { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
.csr-card p { line-height: 1.625; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer { background: var(--maroon); color: #fff; padding: 80px 0; min-height: 400px; }
.footer__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-bottom: 64px; }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* h-32 w-auto object-contain, clamped by the preflight `img{max-width:100%}`:
   the box is 128px tall and column-wide, with the wordmark letterboxed inside. */
.footer__logo-wrap { margin-bottom: 20px; }
.footer__logo-wrap img {
  height: 128px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer__blurb { font-size: 14px; line-height: 1.625; margin-bottom: 16px; }
.footer__bee { background: var(--silver); border-radius: 8px; padding: 12px 16px; display: inline-block; box-shadow: var(--shadow-lg); }
.footer__bee p { color: var(--maroon); }
.footer__bee p:first-child { font-size: 14px; }
.footer__bee p:last-child { font-size: 12px; }

.footer h4 {
  font-size: 20px;
  line-height: 28px;
  color: var(--silver);
  margin-bottom: 20px;
  border-bottom: 2px solid rgb(156 163 175 / 0.3);
  padding-bottom: 8px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 14px; text-align: left; transition: color 0.2s; }
.footer__links a:hover { color: var(--silver); }

.footer__row { display: flex; align-items: flex-start; gap: 12px; }
.footer__row svg { width: 20px; height: 20px; color: var(--silver); flex-shrink: 0; margin-top: 2px; }
/* phone + email rows are items-center in the original; the address row is not */
.footer__row--center { align-items: center; }
.footer__row--center svg { margin-top: 0; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
/* address block is leading-relaxed; the phone/email lines are plain text-sm */
.footer__contact p { font-size: 14px; line-height: 20px; }
.footer__contact .footer__row:not(.footer__row--center) p { line-height: 1.625; }
.footer__contact a:hover { color: var(--silver); }
.footer__hours { display: flex; flex-direction: column; gap: 16px; }
.footer__hours p { font-size: 14px; line-height: 20px; }
.footer__hours p + p { opacity: 0.9; }
.footer__hours .footer__row svg { align-self: flex-start; }

.footer__band { border-top: 1px solid rgb(255 255 255 / 0.2); padding-top: 40px; margin-bottom: 40px; }
.footer__band h4 { text-align: center; border: 0; padding: 0; margin-bottom: 40px; }
/* the "Connect With Us" heading is mb-6, not the partner band's mb-10 */
.footer__band--social h4 { margin-bottom: 24px; }
.footer__partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.footer__partner {
  background: #fff; border-radius: 8px; padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 224px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.footer__partner:hover { transform: scale(1.05); }
.footer__partner img { max-height: 80px; max-width: 100%; object-fit: contain; }

.footer__social { display: flex; justify-content: center; gap: 16px; }
.footer__social a {
  background: rgb(255 255 255 / 0.1);
  padding: 16px;
  border-radius: 9999px;
  transition: all 0.3s;
  display: block;
}
.footer__social a:hover { background: var(--silver); transform: scale(1.1); }
.footer__social svg { width: 28px; height: 28px; color: #fff; }
.footer__social a:hover svg { color: var(--maroon); }

.footer__legal { border-top: 1px solid rgb(255 255 255 / 0.2); padding-top: 32px; text-align: center; }
.footer__legal p { font-size: 14px; opacity: 0.9; }

/* ── 404 ────────────────────────────────────────────────────────────────── */

.nf { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 96px 16px; text-align: center; }
.nf__code { font-size: 96px; line-height: 1; color: var(--maroon); margin-bottom: 16px; }
.nf h1 { font-size: 36px; line-height: 40px; margin-bottom: 16px; }
.nf p { font-size: 18px; line-height: 28px; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.nf__links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── Motion preference ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__track { transition: none; }
}
