/* ============================================================
   SAAD MIRZA — Video Editor
   Dark theme · lime green + white + black
   Clean layout, responsive
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* black */
  --ink: #000000;
  --ink-soft: #050505;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #161616;

  /* white */
  --text: #ffffff;
  --muted: #a3a3a3;
  --muted-strong: #d4d4d4;

  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);

  /* lime green */
  --accent: #c8ff4d;
  --accent-2: #e2ff9e;
  --accent-deep: #9fd63d;
  --lime: #c8ff4d;

  --gradient: linear-gradient(100deg, #ffffff 0%, #c8ff4d 100%);

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --header-h: 78px;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.72, 0.22, 1);
  --shadow-card: 0 30px 70px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

::selection { background: var(--accent); color: #000000; }

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

[hidden] { display: none !important; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 18px; height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #000000;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 3. Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  color: var(--text);
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  box-shadow: 0 10px 28px rgba(200, 255, 77, 0.14);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(200, 255, 77, 0.24);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(200, 255, 77, 0.07);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-ghost .icon { width: 15px; height: 15px; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-underline:hover { gap: 12px; color: var(--accent); border-color: var(--accent); }

/* ---------- 5. Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding-block: 18px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding-block: 11px;
  background: rgba(0, 0, 0, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body.nav-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

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

.brand {
  position: relative;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-dot { color: var(--accent); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-foot { display: none; }

.nav-actions { position: relative; z-index: 80; display: flex; align-items: center; gap: 12px; }

.nav-cta { min-height: 44px; padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-toggle-box {
  position: absolute;
  top: 50%; left: 50%;
  width: 19px; height: 12px;
  transform: translate(-50%, -50%);
}
.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 19px; height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle-box span:first-child { top: 1px; }
.nav-toggle-box span:last-child { top: 9px; width: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child { top: 5px; width: 19px; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(56px, 8vw, 96px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(900px, 100%);
  margin-inline: auto;
}
.hero-inner .eyebrow { align-self: center; }
.hero-inner h1 { max-width: 14ch; }
.hero-inner .lede { margin-inline: auto; }

.lede {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.15vw, 1.09rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- 7. Section shell ---------- */
.section { position: relative; padding-block: clamp(74px, 9.5vw, 128px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 56px);
  margin-bottom: clamp(34px, 4.5vw, 54px);
}
.section-head-copy h2 { margin-top: 0; }

/* ---------- 8. Reels ---------- */
.reels-board {
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
}

.reels-row {
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}

.reel-card {
  flex: 1 1 0;
  min-width: 150px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.reel-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.reel-media {
  position: relative;
  aspect-ratio: 9 / 16; /* 9:16 reel */
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200, 255, 77, 0.05), transparent 55%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.reel-media::before,
.reel-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.10);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.reel-ratio {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--muted-strong);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.reel-play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.55);
  color: var(--accent);
  transform: translate(-50%, -50%);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.reel-play .icon { width: 20px; height: 20px; margin-left: 2px; }
.reel-card:hover .reel-play {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  transform: translate(-50%, -50%) scale(1.07);
}

/* ---------- 9. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.about-visual { width: 100%; max-width: 420px; justify-self: center; }

.about-avatar {
  display: grid;
  place-items: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.05), transparent 60%), var(--surface);
  overflow: hidden;
}
.about-avatar img {
  width: 64%; height: 64%;
  object-fit: contain;
  color: var(--muted);
}

.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.section-tag) {
  max-width: 54ch;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.78;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  margin: 26px 0 28px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
  font-size: 0.86rem;
}
.about-points .icon { width: 15px; height: 15px; color: var(--accent); }

.about-sign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.signature {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1;
  transform: rotate(-3deg);
}
.sign-role {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

/* ---------- 10. Services ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.45s var(--ease);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.service-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(200, 255, 77, 0.06);
  color: var(--accent);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { margin-bottom: 10px; font-size: 1.4rem; letter-spacing: -0.025em; }
.service-card > p {
  max-width: 48ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.service-list { display: grid; gap: 8px; margin-bottom: 26px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted-strong); font-size: 0.85rem; }
.service-list li::before {
  content: "";
  width: 5px; height: 5px;
  flex: none;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.service-link .icon { width: 14px; height: 14px; }
.service-link:hover { gap: 12px; color: var(--accent); border-color: var(--accent); }

/* ---------- 11. Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px clamp(16px, 2vw, 26px);
  border-right: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}
.process-step:last-child { border-right: 0; }
.process-step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.14);
}
.process-step:hover { background: rgba(255, 255, 255, 0.02); }
.process-num { color: var(--accent); font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; }
.process-body h3 { margin-bottom: 7px; font-size: 1.12rem; letter-spacing: -0.02em; }
.process-body p { color: var(--muted); font-size: 0.85rem; line-height: 1.72; }
.process-meta {
  margin-top: auto;
  padding-top: 14px;
  color: rgba(163, 163, 163, 0.8);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.process-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 17px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}
.process-note .icon { width: 19px; height: 19px; color: var(--accent); }
.process-note strong { color: var(--text); font-weight: 600; }

/* ---------- 12. Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 2.7vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.quote-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.quote-card blockquote { color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; line-height: 1.8; }
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  object-fit: cover;
  overflow: hidden;
}
.quote-card figcaption strong { display: block; font-size: 0.85rem; font-weight: 600; }
.quote-card figcaption small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.71rem; line-height: 1.4; }

/* ---------- 13. Contact ---------- */
.contact-panel {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 4.8vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-copy h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.6vw, 3rem); }
.contact-lede { max-width: 42ch; margin-bottom: 30px; color: var(--muted); font-size: 0.95rem; line-height: 1.78; }

.contact-list { display: grid; gap: 17px; margin-bottom: 28px; }
.contact-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--muted-strong); font-size: 0.88rem; line-height: 1.55; }
.contact-list li small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-list a { border-bottom: 1px solid transparent; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.contact-list a:hover { color: var(--accent); border-color: var(--accent); }

.contact-ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}
.contact-ic .icon { width: 17px; height: 17px; }

.contact-socials { display: flex; gap: 8px; }
.contact-socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-socials .icon { width: 17px; height: 17px; }
.contact-socials a:hover { background: var(--accent); border-color: var(--accent); color: #000000; transform: translateY(-2px); }

/* ---------- 14. Footer ---------- */
.site-footer {
  padding-block: 46px 28px;
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-line { color: var(--muted); font-size: 0.86rem; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; transition: color 0.3s var(--ease); }
.footer-mail .icon { width: 15px; height: 15px; }
.footer-mail:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.74rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom nav a { transition: color 0.25s var(--ease); }
.footer-bottom nav a:hover { color: var(--text); }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.9);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.to-top .icon { width: 18px; height: 18px; transform: rotate(-45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #000000; }

/* ---------- 15. Reveal & animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.4s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 16. Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { border: 2px solid #000000; border-radius: 10px; background: #2a2a2a; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

/* tablet / mobile nav */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 100px 24px 40px;
    background: rgba(0, 0, 0, 0.985);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }

  .nav-list { flex-direction: column; gap: 2px; text-align: center; }
  .nav-list li { opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  .nav.is-open .nav-list li { opacity: 1; transform: none; }
  .nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.06s; }
  .nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.11s; }
  .nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.16s; }
  .nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.21s; }
  .nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.26s; }
  .nav-list a {
    padding: 10px 22px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 6vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.03em;
  }
  .nav-list a:hover, .nav-list a.is-active { background: transparent; color: var(--accent); }

  .nav-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease) 0.32s, transform 0.4s var(--ease) 0.32s;
  }
  .nav.is-open .nav-foot { opacity: 1; transform: none; }
  .nav-foot-mail { color: var(--muted-strong); font-size: 0.85rem; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
  .nav-foot-social { display: flex; gap: 8px; }
  .nav-foot-social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
  }
  .nav-foot-social a:hover { color: var(--text); border-color: var(--accent); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-sub { max-width: 56ch; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .about-visual { max-width: 400px; }
  .contact-panel { gap: 38px; }
  .contact-copy { max-width: 560px; }
}

/* small tablet */
@media (max-width: 820px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid .quote-card:last-child { grid-column: span 2; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2n) { border-right: 0; }
  .process-step:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* mobile */
@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .site-header { padding-block: 12px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .section { padding-block: 68px; }
  .section-head { margin-bottom: 32px; }
  .section-sub { font-size: 0.92rem; }

  .reels-row { gap: 10px; }
  .reel-card { min-width: 0; }
  .reel-play { width: 44px; height: 44px; }
  .reel-play .icon { width: 16px; height: 16px; }

  .about-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .signature { font-size: 2.2rem; }

  .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
  .testimonials-grid .quote-card:last-child { grid-column: auto; }

  .process-list { grid-template-columns: minmax(0, 1fr); }
  .process-step { padding: 24px 8px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .process-note { align-items: flex-start; padding: 15px 16px; font-size: 0.8rem; }

  .contact-panel { padding: 24px 20px; border-radius: 22px; }
  .contact-copy h2 { font-size: 2.15rem; }

  .footer-top { align-items: flex-start; gap: 14px; }
  .footer-line { order: 3; width: 100%; font-size: 0.8rem; }
  .footer-mail { width: 100%; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.84rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 11px; }

  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* small phones */
@media (max-width: 430px) {
  h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .contact-copy h2 { font-size: 1.95rem; }
}

/* wide screens */
@media (min-width: 1500px) {
  :root { --container: 1340px; }
  .hero { padding-top: calc(var(--header-h) + 110px); }
}

/* ---------- 18. Motion & print preferences ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .nav-cta { display: none !important; }
  body { background: #fff; color: #111; }
  .section { padding-block: 24px; }
}
