/* ============================================
   Eleven Edge — Main Stylesheet
   Layout, components, sections, responsive
   ============================================ */

@import url('tokens.css');

/* ============================================
   1. Utilities
   ============================================ */

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out),
              transform 0.9s var(--ease-out);
}

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

/* ============================================
   2. Buttons
   ============================================ */

.btn-primary {
  background: var(--navy-900);
  color: var(--paper);
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease,
              transform 0.2s ease,
              box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(11, 22, 64, 0.4);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  color: var(--navy-900);
  padding: 18px 24px;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--navy-900);
  border-radius: 0;
}

/* ============================================
   3. Navigation
   ============================================ */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease,
              box-shadow 0.3s ease,
              backdrop-filter 0.3s ease;
}

.nav-wrap.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:not(.cta-btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--navy-900);
  transition: width 0.35s var(--ease-out);
}

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

.cta-btn {
  background: var(--navy-900);
  color: var(--paper) !important;
  padding: 12px 22px !important;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease,
              transform 0.2s ease;
}

.cta-btn:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   4. Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, #f1ecdf 100%);
  padding: 140px var(--gutter) 80px;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--navy-700);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--navy-700);
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
}

.hero h1 .underline::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  right: 0;
  height: 0.08em;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  animation: drawLine 1.4s 0.6s forwards var(--ease-out);
}

@keyframes drawLine {
  to { transform: scaleX(1); }
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero visual — polygonal art card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 30px 60px -20px rgba(11, 22, 64, 0.4);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(74, 111, 214, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(139, 168, 232, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.hero-visual svg.facets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-visual .visual-meta {
  position: absolute;
  inset: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  z-index: 2;
}

.visual-meta .top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.visual-meta .big-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.visual-meta .big-quote::before {
  content: '"';
  color: var(--gold);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 4px;
}

.visual-meta .quote-author {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ============================================
   5. Trust strip (marquee)
   ============================================ */

.trust {
  background: var(--navy-900);
  color: var(--paper);
  padding: 24px var(--gutter);
  overflow: hidden;
}

.trust-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============================================
   6. Section base
   ============================================ */

section.block {
  padding: 140px var(--gutter);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.section-head .label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head .label .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: normal;
  text-transform: none;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--navy-700);
}

/* ============================================
   7. Services
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: 50px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s ease;
}

.service:last-child {
  border-right: 0;
}

.service:hover {
  background: rgba(11, 22, 64, 0.03);
}

.service .svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 24px;
}

.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.service p.svc-lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

.service ul {
  margin-bottom: 36px;
}

.service ul li {
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service ul li:last-child {
  border-bottom: 0;
}

.service ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--blue-500);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.service-cta {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy-900);
  transition: gap 0.25s ease;
}

.service-cta:hover {
  gap: 16px;
}

/* ============================================
   8. Difference (dark band)
   ============================================ */

.difference {
  background: var(--navy-900);
  color: var(--paper);
  overflow: hidden;
}

.difference::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 111, 214, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.difference .section-head h2 { color: var(--paper); }
.difference .section-head h2 em { color: var(--blue-300); }
.difference .section-head .label { color: var(--blue-300); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  margin-top: 30px;
}

.diff-item .diff-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 300;
}

.diff-item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.diff-item p {
  color: var(--blue-100);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.85;
}

/* ============================================
   9. Process timeline
   ============================================ */

.process-track {
  position: relative;
  margin-top: 30px;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  position: relative;
}

.step {
  position: relative;
}

.step .marker {
  width: 64px;
  height: 64px;
  background: var(--paper);
  border: 1px solid var(--navy-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--navy-900);
  margin-bottom: 36px;
  transition: background 0.3s ease,
              color 0.3s ease,
              transform 0.3s ease;
}

.step:hover .marker {
  background: var(--navy-900);
  color: var(--paper);
  transform: scale(1.05);
}

.step .step-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

.step p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   10. Testimonials
   ============================================ */

.testimonials {
  background: var(--ivory);
  overflow: hidden;
}

.testimonial-stage {
  position: relative;
  margin-top: 30px;
  min-height: 360px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease,
              transform 0.6s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial .quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 140px;
  line-height: 0.4;
  color: var(--gold);
  height: 60px;
  margin-bottom: 0;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--navy-900);
  max-width: 1000px;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.testimonial cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.testimonial cite strong {
  color: var(--navy-900);
  font-weight: 600;
  margin-right: 12px;
}

.test-controls {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.test-dots {
  display: flex;
  gap: 10px;
}

.test-dots button {
  width: 28px;
  height: 2px;
  background: var(--line);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease,
              width 0.3s ease;
}

.test-dots button.active {
  background: var(--navy-900);
  width: 48px;
}

.test-arrows {
  display: flex;
  gap: 12px;
}

.test-arrows button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy-900);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  transition: background 0.25s ease,
              color 0.25s ease;
}

.test-arrows button:hover {
  background: var(--navy-900);
  color: var(--paper);
}

/* ============================================
   11. About Danny
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.about-portrait .portrait-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait .portrait-mark img {
  width: 50%;
  opacity: 0.95;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.about-portrait .portrait-card {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: var(--paper);
  padding: 24px 28px;
  border-top: 4px solid var(--gold);
}

.about-portrait .portrait-card .name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.about-portrait .portrait-card .name-degree {
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
}

.about-portrait .portrait-card .role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-body p {
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 22px;
  line-height: 1.65;
}

.about-body p.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--navy-700);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.credentials {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.credential .cred-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.credential .cred-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy-900);
  line-height: 1.25;
}

/* ============================================
   12. CTA / Contact
   ============================================ */

.cta-section {
  background: var(--navy-900);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(74, 111, 214, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(139, 168, 232, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section .label {
  color: var(--blue-300);
  justify-content: center;
  display: inline-flex;
}

.cta-section .label::before {
  background: var(--gold);
}

.cta-section .label .num {
  color: var(--gold);
}

.cta-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px auto 28px;
  max-width: 900px;
}

.cta-section h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-300);
}

.cta-section p {
  font-size: 19px;
  color: var(--blue-100);
  max-width: 620px;
  margin: 0 auto 48px;
}

.cta-section .btn-primary {
  background: var(--paper);
  color: var(--navy-900);
}

.cta-section .btn-primary:hover {
  background: var(--ivory);
}

.contact-row {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
  text-align: left;
}

.contact-item .ci-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 14px;
}

.contact-item .ci-value {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--paper);
}

.contact-item .ci-value a:hover {
  color: var(--gold);
}

/* ============================================
   13. Footer
   ============================================ */

footer {
  background: var(--ink);
  color: var(--blue-100);
  padding: 80px var(--gutter) 32px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(214, 224, 245, 0.6);
  max-width: 360px;
}

.footer-col h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-col a {
  color: rgba(214, 224, 245, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.disclaimer {
  max-width: var(--max);
  margin: 36px auto 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(214, 224, 245, 0.45);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(214, 224, 245, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   14. Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 5 / 4;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service {
    border-right: 0;
  }
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process-track::before {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-portrait {
    max-width: 460px;
  }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .nav-wrap nav {
    padding: 18px var(--gutter-mobile);
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: 24px var(--gutter-mobile);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open li {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open li:last-child {
    border-bottom: 0;
    padding-top: 18px;
  }
  .nav-links.open li a {
    font-size: 16px;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 120px var(--gutter-mobile) 60px;
    min-height: auto;
  }
  section.block {
    padding: 90px var(--gutter-mobile);
  }
  footer {
    padding: 60px var(--gutter-mobile) 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .credentials {
    grid-template-columns: 1fr;
  }
  .test-controls {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .hero-scroll {
    display: none;
  }
}

@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
