/* ==========================================================================
   Vizion Media — stylesheet
   Hand-written replacement for the Framer build. No frameworks, no build step.

   Contents
   01. Tokens
   02. Reset & base
   03. Layout primitives
   04. Typography helpers
   05. Buttons & links
   06. Header / nav
   07. Hero
   08. Trust bar
   09. About + stat rows
   10. Work grid
   11. Features
   12. Services
   13. Pricing
   14. Process
   15. Testimonials
   16. FAQ
   17. CTA + footer
   18. Contact form
   19. Motion / reveal
   20. Responsive
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */

:root {
  /* colour */
  --bg:            #f7f5f2;
  --surface:       #ffffff;
  --surface-sunk:  #f0eee9;
  --surface-alt:   #f5f5f5;
  --ink:           #000000;
  --ink-muted:     #666666;
  --ink-faint:     #9a968f;
  --accent:        #ff3030;
  --accent-dark:   #e01f1f;
  --line:          rgba(0, 0, 0, 0.1);
  --line-soft:     rgba(0, 0, 0, 0.06);

  /* type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step-eyebrow: 0.9375rem;   /* 15px */
  --step-body:    1.125rem;    /* 18px */
  --step-small:   0.9375rem;   /* 15px */
  --step-h4:      1.75rem;     /* 28px */
  --step-h3:      2.625rem;    /* 42px */
  --step-h2:      3.125rem;    /* 50px */
  --step-h1:      3.75rem;     /* 60px */

  /* shape */
  --radius-card:  20px;
  --radius-media: 16px;
  --radius-sm:    12px;
  --radius-pill:  999px;

  /* layout */
  --container:    1152px;
  --gutter:       24px;
  --grid-gap:     18px;
  --section-gap:  120px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.5s;
}

/* 02. Reset & base ------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

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

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

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; }

/* 03. Layout primitives -------------------------------------------------- */

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

.section { padding-block: var(--section-gap); }
.section--tight { padding-block: 80px; }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 56px;
}
.section__head .lead { max-width: 46ch; }
.section__head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
}

/* 04. Typography helpers ------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--step-eyebrow);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 0.52em;
}

.display {
  font-size: var(--step-h1);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.heading {
  font-size: var(--step-h2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.heading-sm {
  font-size: var(--step-h4);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.lead {
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.muted  { color: var(--ink-muted); }
.accent { color: var(--accent); }

/* 05. Buttons & links ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1c1c1c; }

.btn--block { display: flex; width: 100%; padding-block: 17px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.btn-text svg { transition: transform 0.25s var(--ease); }
.btn-text:hover svg { transform: translateX(4px); }

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

/* 06. Header / nav ------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 245, 242, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand img { width: 32px; height: 32px; border-radius: 7px; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.nav a:hover { opacity: 1; }

/* the CTA pill inside the nav keeps its own colours */
.nav a.btn {
  color: #fff;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 07. Hero --------------------------------------------------------------- */

.hero {
  padding-top: 100px;
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 658fr 470fr;
  gap: var(--gutter);
  align-items: start;
}

.hero__card {
  position: relative;
  overflow: hidden;
  min-height: 716px;
  padding: 38px 32px 32px;
  display: flex;
  flex-direction: column;
}

.hero__decor {
  position: absolute;
  right: -90px;
  bottom: -40px;
  width: 585px;
  max-width: none;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.hero__card > *:not(.hero__decor) { position: relative; z-index: 1; }

.hero__title {
  margin-top: 18px;
  max-width: 13ch;
}
.hero__title .is-faded { color: var(--ink-muted); }

.hero__lead {
  margin-top: 18px;
  max-width: 34ch;
}

.hero__actions { margin-top: 32px; }

.hero__quote {
  margin-top: auto;
  padding: 24px 24px 20px;
  background: var(--surface-alt);
  border-radius: var(--radius-media);
  max-width: 460px;
}
.hero__quote p {
  font-size: var(--step-small);
  line-height: 1.6;
  color: var(--ink-muted);
}
.hero__quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.hero__quote cite {
  font-style: normal;
  font-weight: 500;
  font-size: var(--step-small);
}
.hero__quote img {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
}

.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 13px; height: 13px; }
.stars .is-empty { color: rgba(0, 0, 0, 0.18); }

/* Hero media — cross-fading slideshow */

.slideshow {
  position: relative;
  aspect-ratio: 470 / 700;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-media);
}

.slideshow__stage {
  position: relative;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-alt);
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.slideshow__slide.is-active { opacity: 1; }

.slideshow__dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.slideshow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.slideshow__dot.is-active {
  width: 20px;
  border-radius: var(--radius-pill);
  background: #fff;
}

/* 08. Trust bar ---------------------------------------------------------- */

.trust {
  position: relative;
  padding-block: 96px;
  text-align: center;
}
.trust__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin-inline: auto;
}
.trust__laurel {
  position: absolute;
  top: 50%;
  width: 160px;
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
}
.trust__laurel--left  { left: max(var(--gutter), calc(50% - 420px)); }
.trust__laurel--right { right: max(var(--gutter), calc(50% - 420px)); }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--step-small);
  font-weight: 500;
}
.rating__divider { width: 1px; height: 16px; background: var(--line); }

.avatars { display: inline-flex; }
.avatars img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatars img:first-child { margin-left: 0; }

/* 09. About + stat rows -------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}
.stat {
  text-align: center;
  padding-inline: 24px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value {
  font-size: var(--step-h3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat__label {
  margin-top: 10px;
  font-size: var(--step-small);
  color: var(--ink-muted);
}

/* 10. Work grid ---------------------------------------------------------- */

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.work__item {
  position: relative;
  aspect-ratio: 372 / 560;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-media);
}
.work__item--wide {
  grid-column: span 2;
  aspect-ratio: 762 / 560;
}
.work__item video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-alt);
}

.work__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* 11. Features ----------------------------------------------------------- */

.features__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.features__head .heading { max-width: 16ch; }
.features__head .lead { max-width: 38ch; }

.feature-list {
  padding: 8px 32px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.feature-list li + li { border-top: 1px solid var(--line-soft); }

.feature-list .icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.feature-list .icon svg { width: 17px; height: 17px; }

/* 12. Services ----------------------------------------------------------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.service {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.service__num {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--accent);
}
.service__art {
  position: absolute;
  top: -18px;
  right: -26px;
  width: 155px;
  height: 155px;
  object-fit: contain;
  pointer-events: none;
}
.service__title { margin-top: auto; }
.service__body {
  margin-top: 14px;
  font-size: var(--step-small);
  line-height: 1.6;
  color: var(--ink-muted);
}

/* 13. Pricing ------------------------------------------------------------ */

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.plan {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.plan__decor {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 585px;
  max-width: none;
  opacity: 0.35;
  transform: translateY(-50%);
  pointer-events: none;
}
.plan > *:not(.plan__decor) { position: relative; z-index: 1; }

.plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.plan__desc {
  margin-top: 12px;
  max-width: 46ch;
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
}
.plan__amount {
  font-size: var(--step-h3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__period { font-size: var(--step-small); color: var(--ink-muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #ffeaea;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.plan__features {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.plan__features li { display: flex; gap: 14px; }
.plan__features .icon { flex: none; margin-top: 2px; color: var(--ink); }
.plan__features .icon svg { width: 18px; height: 18px; }
.plan__features strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.plan__features span {
  display: block;
  margin-top: 3px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.plan .btn { margin-top: 36px; }

/* 14. Process ------------------------------------------------------------ */

.steps { border-top: 1px solid var(--line-soft); }
.steps li { border-bottom: 1px solid var(--line-soft); }

.step__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding-block: 26px;
  text-align: left;
}
.step__arrow { color: var(--ink-faint); flex: none; }
.step__title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step__num {
  font-size: 0.8125rem;
  color: var(--accent);
}

.collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.collapse > div { overflow: hidden; }
[aria-expanded="true"] + .collapse { grid-template-rows: 1fr; }

.step__body {
  padding: 0 0 26px 34px;
  max-width: 52ch;
  font-size: var(--step-small);
  line-height: 1.6;
  color: var(--ink-muted);
}

/* 15. Testimonials ------------------------------------------------------- */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.testimonial blockquote {
  font-size: var(--step-small);
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial cite {
  font-style: normal;
  font-weight: 500;
  font-size: var(--step-small);
}

.testimonials__footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* 16. FAQ ---------------------------------------------------------------- */

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid var(--line-soft);
}
.faq__list li { border-bottom: 1px solid var(--line-soft); }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: 24px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq__answer {
  padding-bottom: 26px;
  max-width: 64ch;
  font-size: var(--step-small);
  line-height: 1.7;
  color: var(--ink-muted);
}

.faq__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 48px auto 0;
  padding: 26px 30px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.faq__contact-label {
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.faq__contact a.email {
  display: block;
  margin-top: 2px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq__contact a.email:hover { color: var(--accent); }

/* 17. CTA + footer ------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__decor {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 585px;
  max-width: none;
  opacity: 0.4;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta .actions { margin-top: 16px; }

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.socials a:hover { background: var(--ink); color: #fff; }
.socials svg { width: 15px; height: 15px; }

.cta__media {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 64px auto 0;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-media);
}
.cta__media video {
  width: 100%;
  aspect-ratio: 920 / 520;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-alt);
}

.site-footer {
  padding-block: 40px 48px;
  border-top: 1px solid var(--line-soft);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.site-footer .brand { font-size: 1.25rem; color: var(--ink); }

/* 18. Contact form ------------------------------------------------------- */

.form-card {
  padding: 40px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field select { appearance: none; cursor: pointer; }

.form-status {
  margin-top: 18px;
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.form-status[data-state="error"] { color: var(--accent); }

/* 19. Motion / reveal ---------------------------------------------------- */

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 20. Responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --step-h1: 3.25rem;
    --step-h2: 2.625rem;
    --step-h3: 2.375rem;
    --section-gap: 100px;
  }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { min-height: 0; }
  .hero__title { max-width: 20ch; }
  .slideshow {
    width: 100%;               /* grid item + auto margins would otherwise collapse */
    aspect-ratio: 3 / 4;
    max-width: 460px;
    margin-inline: auto;
  }
  .trust__laurel { width: 120px; opacity: 0.35; }
}

@media (max-width: 900px) {
  :root { --section-gap: 84px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 92px var(--gutter) 28px;
    background: var(--bg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-102%);
    transition: transform 0.4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a {
    padding-block: 14px;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav .btn {
    margin-top: 20px;
    border-bottom: 0;
    color: #fff;
  }

  .work__grid,
  .services__grid,
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .work__item--wide { grid-column: span 2; }

  .plan { padding: 32px 26px; }
  .form-card { padding: 30px 24px; }
}

@media (max-width: 640px) {
  :root {
    --step-h1: 2.5rem;
    --step-h2: 2.125rem;
    --step-h3: 2rem;
    --step-h4: 1.5rem;
    --step-body: 1.0625rem;
    --gutter: 18px;
    --section-gap: 68px;
  }

  .brand { font-size: 1.25rem; }
  .brand img { width: 28px; height: 28px; }

  .hero { padding-top: 88px; }
  .hero__card { padding: 28px 22px 24px; }
  .hero__decor { right: -140px; opacity: 0.35; }
  .hero__quote { max-width: none; padding: 20px; }

  .trust__laurel { display: none; }

  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }

  .work__grid,
  .services__grid,
  .testimonials__grid { grid-template-columns: 1fr; }
  .work__item--wide { grid-column: span 1; aspect-ratio: 16 / 11; }

  .feature-list { padding-inline: 22px; }
  .service { min-height: 0; padding: 24px; }
  .service__art { width: 120px; height: 120px; right: -16px; }

  .plan__head { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }

  .faq__contact { flex-direction: column; align-items: flex-start; }
  .section__head { margin-bottom: 36px; }
}

/* Production accessibility and narrow-screen fixes */
.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-note{font-size:.875rem;color:var(--ink-muted);max-width:60ch}.form-note a{text-decoration:underline}.field select{appearance:auto}.field :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.slideshow__slide:not(.is-active){visibility:hidden}.slideshow__dots{bottom:64px}.slideshow__dot{min-width:28px;min-height:24px;background-clip:content-box;padding:9px 2px}.slideshow__pause{position:absolute;z-index:5;top:16px;right:16px;color:white;background:#000b;padding:8px 14px;border-radius:30px;font-size:13px}.plan__price{flex-wrap:wrap}.rating{flex-wrap:wrap;justify-content:center}.hero__grid>*{min-width:0}.service__art{pointer-events:none}.form-card{max-width:850px;margin-inline:auto}video{color:white}.nav-toggle{position:relative;z-index:105}
@media(max-width:900px){.nav:not(.is-open){visibility:hidden}.nav.is-open{visibility:visible}}
@media(max-width:400px){.hero__card{padding:24px 18px}.hero__quote{padding:16px}.plan{padding:25px 20px}.plan__price{font-size:2rem}.rating{font-size:12px;gap:7px}.actions{gap:14px}.service__art{width:85px;height:85px}}

.hero__decor{opacity:.09}.plan__decor,.cta__decor{opacity:.08}

.hero__decor{opacity:.09}.plan__decor,.cta__decor{opacity:.08}

.analytics-choices{padding:12px 0;font-size:13px;color:#666;text-decoration:underline}.analytics-banner{position:fixed;right:20px;bottom:20px;width:430px;max-width:calc(100% - 40px);padding:22px;background:#fff;border:1px solid #ddd;border-radius:18px;box-shadow:0 8px 40px #0002;z-index:300;font-size:14px;line-height:1.5}.analytics-banner[hidden]{display:none}.analytics-banner p{margin:8px 0 14px;color:#555}.analytics-banner a{text-decoration:underline}.analytics-banner .actions{gap:10px;flex-wrap:wrap}.analytics-banner button{font-size:14px;padding:10px 18px;border-radius:24px;background:#111;color:white}.analytics-banner button[data-choice="decline"]{background:#eee;color:#111}.analytics-banner strong{font-size:17px}
