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


html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--primary);
  line-height: 1.15;
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Tag ===== */
.section-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.32);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.42);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--primary);
  border-color: var(--paper);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.22);
}

.btn-nav:hover {
  background: var(--accent);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--paper-rgb), 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s ease;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  background: rgba(var(--paper-rgb), 0.98);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 78px;
  width: auto;
  transition: height 0.4s ease;
}

.site-header.scrolled .logo-img {
  height: 62px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
  padding-bottom: 4px;
}

.nav-links li a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links li a:not(.btn):hover::after {
  width: 100%;
}

.nav-links li a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-image) center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  padding-top: 170px;
  padding-bottom: 110px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
  padding-left: 0;
}

.hero-tag::before {
  display: none;
}

.hero h1 {
  font-size: 3.7rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-soft);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(var(--paper-rgb), 0.82);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(var(--paper-rgb), 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--paper-rgb), 0.16);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover {
  background: rgba(var(--paper-rgb), 0.14);
  border-color: rgba(var(--paper-rgb), 0.28);
  transform: translateX(8px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.trust-card div:last-child {
  display: flex;
  flex-direction: column;
}

.trust-card strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.2;
}

.trust-card span {
  font-size: 0.85rem;
  color: rgba(var(--paper-rgb), 0.65);
  font-weight: 500;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--accent-dark);
  padding: 18px 0;
  border-bottom: 3px solid var(--primary);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(var(--paper-rgb), 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-badge svg {
  color: var(--accent-soft);
}

/* ===== Section Shared ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.9rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Services ===== */
.services {
  padding: 120px 0;
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 0 4px 0;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--paper);
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.service-link:hover {
  color: var(--accent);
}

.service-link:hover span {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
}

.services-cta p {
  font-size: 1.1rem;
  color: rgba(var(--paper-rgb), 0.9);
  font-weight: 500;
}

.services-cta a {
  color: var(--accent-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.services-cta a:hover {
  color: var(--paper);
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  position: relative;
  position: sticky;
  top: 120px;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo:hover .about-img {
  transform: translateY(-4px);
}

.about-photo-accent {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo:hover .about-photo-accent {
  top: 16px;
  left: 16px;
}

.about-content h2 {
  font-size: 2.9rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-lead {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--gray-700);
  font-weight: 500;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--gray-500);
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0 32px;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.value:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

.value strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 4px;
}

.value span {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.about-close {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-style: italic;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 120px 0;
  background: var(--primary-dark);
  position: relative;
}

.testimonials .section-header h2 {
  color: var(--paper);
}

.testimonials .section-tag {
  color: var(--accent-soft);
}

.testimonials .section-tag::before {
  background: var(--accent-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial {
  background: rgba(var(--paper-rgb), 0.05);
  border: 1px solid rgba(var(--paper-rgb), 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial:hover {
  background: rgba(var(--paper-rgb), 0.08);
  border-color: rgba(var(--accent-soft-rgb), 0.45);
  transform: translateY(-6px);
}

.testimonial-stars {
  color: var(--accent-soft);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial p {
  font-size: 0.95rem;
  color: rgba(var(--paper-rgb), 0.86);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  font-family: var(--sans);
}

.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: rgba(var(--paper-rgb), 0.5);
}

.testimonial cite strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
}

/* ===== FAQ ===== */
.faq {
  padding: 110px 0;
  background: var(--paper);
}

.faq .faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 26px 24px;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.contact-card-primary {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-color: transparent;
}

.contact-card-icon {
  width: 64px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 24px;
}

.contact-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-card-primary h3 {
  color: var(--paper);
}

.contact-card p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 340px;
}

.contact-card-primary p {
  color: rgba(var(--paper-rgb), 0.78);
}

.contact-card .btn {
  margin-top: auto;
}

.contact-email {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  word-break: break-all;
}

.contact-email:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ===== Legal pages ===== */
.legal {
  padding: 150px 0 100px;
  background: var(--paper);
}

.legal-inner {
  max-width: 800px;
}

.legal h1 {
  font-size: 2.9rem;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}

.legal p,
.legal li {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  padding: 56px 0;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 72px;
  width: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(var(--paper-rgb), 0.45);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(var(--paper-rgb), 0.65);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-copy p {
  color: rgba(var(--paper-rgb), 0.32);
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .trust-card {
    flex: 1;
    min-width: 180px;
  }

  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .about-content h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-img {
    height: 52px;
  }

  .site-header.scrolled .logo-img {
    height: 46px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 3px solid var(--accent);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-visual {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    position: relative;
    top: auto;
    max-width: 320px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .about-content h2,
  .legal h1 {
    font-size: 2.05rem;
  }

  .legal {
    padding: 120px 0 70px;
  }

  .services,
  .about,
  .testimonials,
  .faq,
  .contact {
    padding: 80px 0;
  }

  .trust-bar-inner {
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .contact-card {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===== Accessibility (WCAG 2.1 AA) =====
   Standard on every build since 2026-10-01. Keep this block when re-skinning for a client,
   then run a11y-check/check.mjs on the site folder before it goes live.
   When you change the palette: text and button colors need 4.5:1 against their background. */
.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 3000;
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* keyboard focus is always visible: dark ring on light sections, white ring on dark ones */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.hero :focus-visible,
.trust-bar :focus-visible,
.services-cta :focus-visible,
.testimonials :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible { outline-color: var(--white); }
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

/* form: field edges people can see, optional marker, sent / failed message */
.form-group input,
.form-group select,
.form-group textarea { border-color: #7f8581; }
.optional { font-weight: 500; }
.form-status { text-align: center; font-size: 0.88rem; font-weight: 700; color: var(--gray-700); margin-top: 12px; }
.form-status:empty { margin: 0; }
.form-note a,
.legal a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.services-cta a { text-decoration: underline; text-underline-offset: 3px; }

.testimonial cite { color: rgba(255,255,255,0.75); }

/* footer text bright enough to read on the dark green */
.footer-brand .logo span { color: var(--accent-soft); }
.footer-brand p { color: rgba(255,255,255,0.75); }
.footer-links { flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: var(--accent-soft); }
.footer-copy p { color: rgba(255,255,255,0.7); }

/* closed mobile menu is out of the tab order, not just invisible */
@media (max-width: 768px) {
  .nav-links {
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s 0.4s;
  }
  .nav-links.open { visibility: visible; transition-delay: 0s; }
}

/* visitors who ask for less motion get the page with everything already in place */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ===== Legal pages (privacy policy, accessibility) ===== */
.legal { padding: 150px 0 100px; background: var(--white); }
.legal-inner { max-width: 800px; }
.legal h1 { font-size: 2.9rem; margin-bottom: 8px; }
.legal-date { font-size: 0.85rem; font-weight: 600; color: var(--gray-500); margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p,
.legal li { color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
@media (max-width: 768px) {
  .legal { padding: 120px 0 72px; }
  .legal h1 { font-size: 2.2rem; }
}


/* ===== Contact: form variant =====
   Used when the site JSON sets contact.mode to "form" (the original Classic Template layout:
   details on the left, form on the right). The "cards" variant above is the Calendly layout. */
.contact.has-form { background: var(--paper); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-600);
  transition: transform 0.3s ease;
}

.contact-item:hover { transform: translateX(4px); }

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-wrap { background: var(--primary); color: var(--white); }

.contact-item a,
.contact-item span {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid #7f8581;
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-700);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
  font-weight: 400;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-full { width: 100%; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 14px;
}

/* three contact cards (Calendly, email and phone) share the row */
.contact-cards.contact-cards-3 { grid-template-columns: repeat(3, 1fr); max-width: none; }

@media (max-width: 1024px) {
  .contact-info h2 { font-size: 2.35rem; }
  .contact-cards.contact-cards-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-info h2 { font-size: 2.05rem; }
  .contact-cards.contact-cards-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 28px; border-radius: var(--radius-lg); }
}

/* ===== Text logo =====
   Sites without a logo image set logo.text and logo.accent in the JSON. */
.logo:not(:has(img)) {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo:not(:has(img)) span { font-weight: 400; color: var(--accent); }
.footer-logo:not(:has(img)) {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
}
.footer-logo:not(:has(img)) span { font-weight: 400; color: var(--accent-soft); }

/* ===== Blog =====
   blog.html lists every post in content/<slug>/; each post gets its own page.
   Sites that point blog.url at Blogger get only the nav link and none of this. */
.blog { padding: 150px 0 100px; background: var(--paper); }
.blog .section-header { margin-bottom: 48px; }
.blog .section-header h1 { font-size: 2.9rem; margin-bottom: 16px; letter-spacing: -0.01em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); color: inherit; }
.post-card h2 { font-size: 1.45rem; margin: 8px 0 12px; }
.post-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.post-card .service-link { margin-top: auto; }
.post-meta { font-size: 0.82rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.02em; }

.post { padding: 150px 0 100px; background: var(--white); }
.post-inner { max-width: 760px; }
.post-inner h1 { font-size: 2.9rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.post-inner .post-meta { display: block; margin-bottom: 36px; }
.post-body { font-size: 1.05rem; color: var(--gray-600); line-height: 1.85; }
.post-body h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.post-body h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--primary); }
.post-body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body .callout {
  padding: 18px 22px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-700);
}
.post-cta {
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
}
.post-cta h2 { color: var(--paper); font-size: 1.7rem; margin-bottom: 10px; }
.post-cta p { color: rgba(var(--paper-rgb), 0.85); margin-bottom: 22px; }
.post-more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.post-more h2 { font-size: 1.3rem; margin-bottom: 12px; }
.post-more ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.post-more a { color: var(--accent); font-weight: 600; }
.post-more a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .blog .section-header h1, .post-inner h1 { font-size: 2.35rem; }
}
@media (max-width: 768px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog, .post { padding: 120px 0 72px; }
  .blog .section-header h1, .post-inner h1 { font-size: 2.05rem; }
}

/* ===== Optional sections, appended to every design by build-assets.mjs =====
   How it works, Pricing, Industries served and the member's own sections (renderer/blocks.mjs).
   One layout for all three designs. The colors, radius and type sizes come from the --x-*
   tokens each design sets beside its brand tokens, and every text and background pair those
   tokens produce is in that design's contrastPairs(). */
.x-sec { padding: 110px 0; background: var(--x-bg); border-top: 1px solid var(--x-border); }
.x-sec p, .x-sec li { color: var(--x-text); overflow-wrap: break-word; }
.x-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.x-head h2 { font-size: clamp(2.1rem, 4.6vw, var(--x-h2)); margin: 14px 0 16px; }
.x-sec .x-intro { color: var(--x-muted); font-size: 1.06rem; line-height: 1.75; max-width: 600px; margin: 0 auto; }

.x-grid { display: grid; gap: 26px; list-style: none; margin: 0; padding: 0; }
.x-grid.x-n1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.x-grid.x-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-left: auto; margin-right: auto; }
.x-grid.x-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-grid.x-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.x-item { position: relative; background: var(--x-card); border: 1px solid var(--x-border); border-radius: var(--x-radius); padding: 34px 28px; }
.x-item h3 { font-size: var(--x-h3); color: var(--x-head); margin: 0 0 10px; overflow-wrap: break-word; }
.x-sec .x-item p { font-size: 0.98rem; line-height: 1.7; margin: 0; }
.x-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--x-badge-bg); color: var(--x-badge-fg); font-family: var(--x-sans); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0; margin-bottom: 18px;
}

/* Pricing */
.x-plan { display: flex; flex-direction: column; }
.x-plan.x-featured { border: 2px solid var(--x-accent); }
.x-badge {
  align-self: flex-start; background: var(--x-badge-bg); color: var(--x-badge-fg); font-family: var(--x-sans);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.x-sec .x-price { margin: 4px 0 14px; color: var(--x-muted); font-size: 0.95rem; }
.x-price strong { display: block; font-family: var(--x-display); font-size: 2.3rem; line-height: 1.15; font-weight: var(--x-price-weight, 600); color: var(--x-head); overflow-wrap: break-word; }
.x-features { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--x-border); display: flex; flex-direction: column; gap: 10px; }
.x-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; }
.x-features svg { flex: none; margin-top: 3px; color: var(--x-accent); }
.x-link { align-self: flex-start; margin-top: auto; padding-top: 24px; font-family: var(--x-sans); font-weight: 700; color: var(--x-accent); text-decoration: underline; text-underline-offset: 4px; }
.x-link:hover { color: var(--x-head); }
.x-sec .x-note { text-align: center; color: var(--x-muted); font-size: 0.95rem; line-height: 1.6; max-width: 640px; margin: 34px auto 0; }

/* The member's own section */
.x-own { max-width: 780px; margin: 0 auto; }
.x-own.x-has-image { max-width: none; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.x-media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--x-radius); }
.x-body h2 { font-size: clamp(2rem, 4.2vw, var(--x-h2)); margin: 14px 0 20px; overflow-wrap: break-word; }
.x-body { min-width: 0; }
.x-sec .x-body p { font-size: 1.05rem; line-height: 1.8; margin: 0 0 16px; }
.x-sec .x-body .x-action { margin: 26px 0 0; }
.x-sec .x-placeholder { color: var(--x-muted); font-style: italic; }

@media (max-width: 1024px) {
  .x-grid.x-n3, .x-grid.x-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-own.x-has-image { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .x-sec { padding: 72px 0; }
  .x-head { margin-bottom: 40px; }
  .x-grid.x-n1, .x-grid.x-n2, .x-grid.x-n3, .x-grid.x-n4 { grid-template-columns: minmax(0, 1fr); }
}

/* Client Login in the menu (every design): the menu's own link style plus a small padlock. */
.nav-links a.nav-login { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-links a.nav-login svg { width: 15px; height: 15px; flex: none; }

/* Numbers band: up to four big figures with a short label each */
.x-sec.x-numbers { padding: 64px 0; }
.x-numbers .x-head { margin-bottom: 36px; }
.x-stats { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 20px; max-width: 1040px; }
.x-stats.x-n1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.x-stats.x-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
.x-stats.x-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-stats.x-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.x-stat { text-align: center; padding: 6px 14px; }
.x-stat + .x-stat { border-left: 1px solid var(--x-border); }
.x-stat strong { display: block; font-family: var(--x-display); font-size: clamp(2.3rem, 4.2vw, 3.1rem); line-height: 1.1; font-weight: var(--x-price-weight, 600); color: var(--x-head); overflow-wrap: anywhere; }
.x-sec .x-stat span { display: block; margin-top: 8px; color: var(--x-muted); font-size: 0.98rem; line-height: 1.45; overflow-wrap: break-word; }
.x-stat strong.x-stat-empty { font-family: var(--x-sans); font-size: 1rem; font-weight: 700; color: var(--x-muted); border: 1px dashed var(--x-border); border-radius: 10px; padding: 12px 8px; }
@media (max-width: 720px) {
  .x-stats.x-n3, .x-stats.x-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .x-stat + .x-stat { border-left: 0; }
}

/* Blog cover photos (every design): on the post's card and at the top of the post */
.post-card-img { display: block; aspect-ratio: 16 / 9; margin: 0 0 18px; border-radius: var(--x-radius); overflow: hidden; background: var(--x-border); }
.post-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-cover { margin: 26px 0 34px; border-radius: var(--x-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--x-border); }
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== First-screen fit, appended to this design by build-assets.mjs =====
   The top of the page must fit the first screen: headline, paragraph, buttons and trust cards
   with no scrolling. shared/site.js measures it and, only when it would not fit, adds .fit-1
   (tighter spacing), then scales the headline down, then adds .fit-2 (tightest). It also sets
   --header-h to the real height of the menu bar, so nothing ever starts underneath it.
   scripts/hero-fit.mjs is the gate. */
.hero.fit-1 .hero-inner, .hero.clear-header .hero-inner { padding-top: calc(var(--header-h, 90px) + 28px); }
.hero.fit-1 .hero-inner { padding-bottom: 36px; gap: 48px; }
.hero.fit-1 .hero-tag { margin-bottom: 12px; }
.hero.fit-1 h1 { margin-bottom: 14px; }
.hero.fit-1 .hero-sub { margin-bottom: 24px; line-height: 1.6; }
.hero.fit-1 .hero-visual { gap: 10px; }
.hero.fit-1 .trust-card { padding: 12px 18px; }
.hero.fit-2 .hero-inner { padding-top: calc(var(--header-h, 90px) + 14px); padding-bottom: 20px; gap: 26px; }
.hero.fit-2 .hero-sub { font-size: 1rem; margin-bottom: 18px; line-height: 1.5; }
.hero.fit-2 .hero-cta { gap: 10px; }
.hero.fit-2 .hero-cta .btn { padding-top: 12px; padding-bottom: 12px; }
.hero.fit-2 .trust-card { padding: 8px 14px; gap: 12px; }
.hero.fit-2 .trust-icon { width: 36px; height: 36px; }
.hero.fit-2 .trust-card strong { font-size: 1.05rem; }

/* The menu folded because it did not fit on one line (see shared/site.js). Same as the phone menu. */
html.nav-collapsed .nav-toggle { display: flex; }
html.nav-collapsed .nav-links {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column;
  padding: 24px; gap: 16px; box-shadow: var(--shadow-lg); border-bottom: 3px solid var(--accent);
  transform: translateY(-10px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.4s;
}
html.nav-collapsed .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }

/* ===== Reflow guard, appended to every design by build-assets.mjs =====
   WCAG 1.4.10 and 1.4.4: nothing may sit wider than the screen at 320px or at 200% zoom.
   scripts/reflow.mjs is the gate for this. */
html { overflow-x: clip; }

/* Sections that slide in from the side make a phone page wider than its screen until they
   have played, which pushes the menu button off the edge. Wherever the layout is a single
   column they rise into place instead. */
@media (max-width: 1100px) {
  .reveal-left, .reveal-right { transform: translateY(30px); }
  .reveal-left.revealed, .reveal-right.revealed { transform: none; }
}

/* A long email address or pasted link wraps instead of pushing its box wider. */
a[href^="mailto:"], .post-body a, .legal a, .footer-contact a { overflow-wrap: anywhere; }

/* Grid and flex children may shrink below their longest word. */
.contact-grid > *, .contact-inner > *, .contact-card > div, .about-split > *,
.faq-inner > *, .intro-inner > *, .form-row > *, .hero-inner > * { min-width: 0; }

/* A long word in the headline breaks instead of pushing the hero wider than the screen. */
.hero h1, .hero-sub, .hero-tag, .hero-kicker { overflow-wrap: anywhere; }

/* A long practice name wraps onto two lines instead of pushing the menu button off the screen. */
.site-header .nav > .logo { min-width: 0; flex: 0 1 auto; overflow-wrap: anywhere; }
.footer-logo, .footer-logo * { overflow-wrap: anywhere; }
.site-header .nav-toggle { flex: none; }

/* Phones. Buttons with long words wrap instead of running off the screen; form fields are at
   least 16px so an iPhone does not zoom in when one is tapped (scripts/phone.mjs checks both). */
@media (max-width: 768px) {
  .btn, [class*="btn-"], .x-action a { white-space: normal; max-width: 100%; overflow-wrap: break-word; text-align: center; }
}
/* Any touch screen, a phone held sideways or a tablet included. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { font-size: max(16px, 1em) !important; }
}

/* Small links get a bigger area to tap without moving anything: the extra padding is taken
   back by a matching negative margin, and inline links ignore both for layout. */
.nav-links a, footer a, .footer a, .service-link, .legal a, .x-link, .section-tag a, .label-tag a, .post-more a { padding-block: 5px; margin-block: -5px; }
.nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }

/* The open phone menu never runs past the bottom of a short screen. */
.nav-links.open { max-height: calc(100vh - 60px); overflow-y: auto; }

/* On a desktop-width menu bar the logo keeps its natural width (up to about half the bar), so
   a crowded menu folds into the menu button (site.js) instead of squeezing a long practice
   name until a word breaks in the middle. Once folded, the logo may shrink as usual. */
@media (min-width: 769px) {
  html:not(.nav-collapsed) .site-header .logo { flex-shrink: 0; max-width: 46%; }
}
html.nav-measuring .nav-links, html.nav-measuring .nav-links * { transition: none !important; }

/* ===== Section animations (migration 0017), appended to every design by build-assets.mjs =====
   A section the member gave an animation carries data-anim. Its pieces start hidden only once
   site.js has run (the reveal classes are what it watches), so a page without scripts shows
   everything. "none" shows the section as it is; reduced motion turns every animation off. */
[data-anim] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) {
  filter: none; transition: opacity .7s ease, transform .7s ease;
}
[data-anim="fade"] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) { opacity: 0; transform: none; }
[data-anim="slide"] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) { opacity: 0; transform: translateY(40px); }
[data-anim="zoom"] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) { opacity: 0; transform: scale(.92); }
[data-anim] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur).revealed,
[data-anim] .fade-up.visible { opacity: 1; transform: none; }
[data-anim="none"] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  [data-anim] :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .fade-up) {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
