/* ============================================================
   NVFX Studio — Design version 4 · "Editorial Cobalt"
   Version 1's editorial type and layout (heavy tight Poppins,
   square buttons, hairline grids) in version 3's palette:
   royal blue for trust, coral for actions, blush as the warm tint.
   ============================================================ */

:root {
  --ink: #1f1f1f;
  --ink-2: #333;
  --muted: #6b6b6b;
  --line: #e6e4e4;
  --paper: #fff;
  --grey: #f7f7f7;
  --blush: #fbd3d0;
  --blush-2: #fdeeec;
  --blue: #174ee2;
  --blue-2: #0f3bb8;
  --coral: #f5503f;
  --coral-ink: #c92a20;
  --sans: "Poppins", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

body.v4 {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
.v4 h1, .v4 h2, .v4 h3, .v4 h4, .v4 h5 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.v4 h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -0.05em; }
.dot { color: var(--coral); }
.mono { font-family: var(--mono); }
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.kicker { font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 14px; }

/* ---------- loader ---------- */
.v4 #loader { background: var(--blue); }
.v4 .loader-logo { width: min(230px, 58vw); }
.v4 .loader-count {
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.v4 .loader-count span:last-child { color: var(--coral); }
.v4 .loader-bar { background: rgba(255, 255, 255, 0.2); }
.v4 .loader-bar i { background: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.btn:hover { background: var(--coral); color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--coral); color: var(--ink); }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.play-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.play-dot svg { width: 14px; fill: #fff; margin-left: 3px; transition: fill 0.3s ease; }
.play-link:hover .play-dot { transform: scale(1.1); background: #fff; }
.play-link:hover .play-dot svg { fill: var(--coral); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--coral);
  transition: color 0.25s ease;
}
.text-link:hover { color: var(--blue); }
.text-link .badge { background: #f5c518; color: #000; padding: 0 6px; font-size: 12px; }

/* ---------- nav + menu ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo img { height: 44px; width: auto; transition: filter 0.35s ease; }
.nav.is-scrolled .nav-logo img { filter: invert(1); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-cta { font-weight: 700; font-size: 14px; color: #fff; position: relative; transition: color 0.35s ease; }
.nav.is-scrolled .nav-cta { color: var(--ink); }
.nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav-cta:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.3s ease;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.35s ease, background 0.3s ease; }
.nav.is-scrolled .menu-btn { background: var(--ink); }
.nav.is-scrolled .menu-btn span { background: #fff; }
.menu-btn:hover, .nav.is-scrolled .menu-btn:hover { background: var(--coral); }
.menu-btn:hover span { background: var(--ink); }
body.menu-open .nav { background: transparent; box-shadow: none; }
body.menu-open .nav .nav-logo img { filter: none; }
body.menu-open .nav .nav-cta { color: #fff; }
body.menu-open .nav .menu-btn { background: #fff; }
body.menu-open .nav .menu-btn span { background: var(--ink); }
body.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad) 60px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu nav a {
  display: block;
  width: fit-content;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 1.12;
  color: #fff;
  transition: color 0.25s ease, transform 0.35s ease;
}
.menu nav a:hover { color: var(--blush); transform: translateX(10px); }
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: 46px;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- hero ---------- */
.v4 .hero {
  position: relative;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 110px 0 70px;
  overflow: hidden;
}
@media (min-width: 881px) { .v4 .hero { height: max(100vh, 660px); } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.v4 .hero .kicker { color: #fff; }
/* the H1 carries the keywords at kicker size; the display line below is the visual headline */
.v4 h1.kicker { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; }
.v4 .hero-title { font-weight: 700; color: #fff; font-size: clamp(3rem, 7.4vw, 6.6rem); letter-spacing: -0.055em; line-height: 0.98; }
.v4 .hero-title .h1-warm { color: var(--blush); }
.hero-sub { margin-top: 26px; max-width: 52ch; color: rgba(255, 255, 255, 0.84); font-size: 1.02rem; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 36px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 9px;
  vertical-align: 2px;
}
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.scroll-cue::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--coral);
  transform-origin: left;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleX(0.2); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0.2); } }

/* ---------- roto frame (v4 skin: warm portrait card on cobalt) ---------- */
.v4 .roto { background: #fff; box-shadow: 0 60px 100px -45px rgba(4, 16, 70, 0.7); }
.v4 .roto-bar { font-family: var(--mono); color: var(--ink); }
.v4 .roto-top { border-bottom: 1px solid var(--line); }
.v4 .roto-bottom { border-top: 1px solid var(--line); }
.v4 .roto-mode { background: var(--blue); color: #fff; }
.v4 .roto-track { background: var(--line); }
.v4 .roto-track i { background: var(--blue); }
.v4 .roto-track b { background: #fff; border: 1.5px solid var(--blue); }
.v4 .roto-steps { border-top: 1px solid var(--line); font-weight: 600; font-size: 12.5px; }
.v4 .roto-steps li { color: #b9b9b9; }
.v4 .roto-steps li.is-on { color: var(--ink); }
.v4 .roto-steps li.is-on::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 7px;
  vertical-align: 2px;
}
.v4 .roto-hint { background: var(--ink); color: #fff; font-family: var(--mono); }

.v4 .r-plate-a { stop-color: #fde3e0; }
.v4 .r-plate-b { stop-color: #f7c1bc; }
.v4 .r-hair-a { stop-color: #f5503f; }
.v4 .r-hair-b { stop-color: #cf2a22; }
.v4 .r-skin-a { stop-color: #f7a39b; }
.v4 .r-skin-b { stop-color: #ee837a; }
.v4 .r-comp-a { stop-color: #2159ec; }
.v4 .r-comp-b { stop-color: #0f3bb8; }
.v4 .r-comp-glow { display: none; }
.v4 .r-comp-sun { fill: var(--blush); }
.v4 .r-comp-ring { stroke: #fff; stroke-width: 2; opacity: 0.3; }
.v4 .r-comp-line { stroke: #fff; stroke-width: 2; opacity: 0.08; }
.v4 .r-fly { stroke: #d9352b; stroke-width: 2.2; }
.v4 .r-hair-hl { stroke: #ff8a7c; stroke-width: 2.6; opacity: 0.75; }
.v4 .r-shade { fill: #df6a62; opacity: 0.4; }
.v4 .r-cheek { fill: #e8645b; opacity: 0.3; }
.v4 .r-lips { fill: #c92a20; }
.v4 .r-ear-in { stroke: #d6625a; stroke-width: 3; }
.v4 .r-eye { stroke: #6d201d; stroke-width: 3; }
.v4 .r-rig { stroke: var(--ink); stroke-width: 1.6; opacity: 0.45; }
.v4 .r-marker { stroke: var(--ink); stroke-width: 2; opacity: 0.4; }
.v4 .r-s1 { stroke: var(--ink); stroke-width: 2.4; }
.v4 .r-s2 { stroke: #fff; stroke-width: 2.2; }
.v4 .r-h1 { stroke: var(--ink); stroke-width: 1.2; opacity: 0.6; }
.v4 .r-h2 { stroke: #fff; stroke-width: 1.2; opacity: 0.9; }
.v4 .r-hd1 { fill: var(--ink); }
.v4 .r-hd2 { fill: #fff; }
.v4 .r-sq1 { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.v4 .r-sq2 { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.v4 .r-tag { font-family: var(--mono); fill: var(--ink); }

/* ---------- background spline ---------- */
.v4 .bg-spline-path { stroke: var(--coral); stroke-width: 1.6; opacity: 0.6; }
.v4 .bg-h { stroke: var(--coral); stroke-width: 1; opacity: 0.55; }
.v4 .bg-hd { fill: var(--coral); opacity: 0.8; }
.v4 .bg-sq { fill: #fff; stroke: var(--coral); stroke-width: 1.6; }

/* ---------- marquee ---------- */
.v4 .marquee { background: var(--ink); color: #fff; padding: 26px 0; }
.v4 .marquee-track > span {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  padding-right: 34px;
}
.v4 .marquee-track > span::after { content: "✦"; color: var(--coral); font-size: 0.6em; margin-left: 34px; }

/* ---------- services ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 50px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.sec-head > p { max-width: 44ch; color: var(--muted); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  position: relative;
  padding: 38px 34px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.4s ease;
}
.svc:hover { background: var(--blush-2); }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--coral-ink); letter-spacing: 0.1em; }
.svc-icon { width: 54px; height: 54px; margin: 24px 0 22px; transition: transform 0.4s ease; }
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }
.svc-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.tags span.ai { background: var(--coral); border-color: var(--coral); color: var(--ink); }

/* ---------- AI pipeline ---------- */
.v4 .ai { background: var(--ink); color: #bdbdbd; }
.v4 .ai h2, .v4 .ai .kicker { color: #fff; }
.v4 .ai h2 .h2-warm { color: var(--blush); }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ai-copy > p { margin-top: 20px; max-width: 52ch; }
.ai-copy strong { color: #fff; font-weight: 600; }
.ai-points { margin-top: 38px; border-top: 1px solid #353535; }
.ai-point {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #353535;
}
.ai-point .mark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--blush); padding-top: 3px; }
.ai-point h3 { color: #fff; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 3px; }
.ai-point p { font-size: 0.92rem; }
.pipe { background: #292929; padding: clamp(28px, 3.4vw, 46px); }
.pipe-title {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
  padding-bottom: 18px;
  border-bottom: 1px solid #3a3a3a;
}
.pipe-title .live { color: var(--blush); }
.pipe li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #3a3a3a;
}
.pipe li:last-child { border-bottom: 0; padding-bottom: 0; }
.pipe .node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #555;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: #ddd;
}
.pipe li.is-ai .node { background: var(--blue); border-color: var(--blue); color: #fff; }
.pipe h3 { color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.pipe .chip {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  background: var(--coral);
  color: var(--ink);
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.pipe p { font-size: 0.88rem; margin-top: 2px; }

/* ---------- showreel ---------- */
.v4 .reel { background: var(--blush); overflow: hidden; }
.reel-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 40px; }
.reel-grid h2 { font-size: clamp(2.6rem, 6.5vw, 5.8rem); }
.reel-grid p { margin-top: 22px; max-width: 46ch; color: #4b4b4b; }
.reel-btn { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin-left: auto; display: grid; place-items: center; }
.spin-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-text text { font-family: var(--sans); font-weight: 700; font-size: 14.5px; fill: var(--blue); }
.reel-core {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  transition: transform 0.45s ease, background 0.3s ease;
}
.reel-core svg { width: 30%; fill: #fff; margin-left: 7%; }
.reel-btn:hover .reel-core { transform: scale(1.08); background: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- credits ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(50px, 7vw, 90px);
}
.metric { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line); }
.metric .val { font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.metric .val small { color: var(--blue); font-size: 0.5em; margin-left: 3px; letter-spacing: -0.02em; }
.metric .cap { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.posters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--grey); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.poster:hover img { transform: scale(1.07); }
.poster figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transform: translateY(101%);
  transition: transform 0.45s ease;
}
.poster:hover figcaption { transform: none; }
@media (hover: none) { .poster figcaption { transform: none; } }
.poster figcaption span { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.1em; color: var(--blush); margin-top: 3px; }
.credits-links { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 44px; }

/* ---------- service pages ---------- */
.v4 .hero.hero--page { height: auto; min-height: 0; padding: 150px 0 100px; }
.v4 .hero--page .hero-title { font-size: clamp(2.6rem, 5.2vw, 4.8rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--coral); }
.crumbs a { color: #fff; border-bottom: 1px solid transparent; transition: border-color 0.25s ease; }
.crumbs a:hover { border-color: var(--coral); }
.spec {
  background: #fff;
  color: var(--ink);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 60px 100px -45px rgba(4, 16, 70, 0.7);
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.spec-title { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 14px; }
.spec dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec dd { font-weight: 600; font-size: 0.95rem; line-height: 1.45; }

.overview-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose > p:not(.kicker) { margin-top: 20px; max-width: 62ch; font-size: 1.04rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.list-title { font-size: 1.2rem; margin-bottom: 8px; }
.checklist { border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  background: #fff;
  border: 1.6px solid var(--coral);
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.v4 .ai .sec-head > p { color: #c4c4c4; }
.step { border-top: 1px solid #3a3a3a; padding-top: 22px; }
.step-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--blush); }
.step h3 { color: #fff; font-size: 1.1rem; letter-spacing: -0.02em; margin: 10px 0 8px; }
.step p { font-size: 0.92rem; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-cell { padding: 34px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-cell h3 { font-size: 1.3rem; margin-bottom: 14px; }
.spec-cell li { padding: 7px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.spec-cell li:last-child { border-bottom: 0; }

.v4 .page .reel .posters, .page .reel .posters { grid-template-columns: repeat(6, 1fr); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-card { display: block; padding: 34px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.35s ease; }
.related-card:hover { background: var(--blush-2); }
.related-card h3 { font-size: 1.35rem; margin: 18px 0 10px; }
.related-card p { color: var(--muted); font-size: 0.95rem; }
.related-go { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--coral); }

.svc-link { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 0.92rem; color: var(--ink); border-bottom: 2px solid var(--coral); transition: color 0.25s ease; }
.svc-link:hover { color: var(--blue); }
.menu-services { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; max-width: 900px; }
.menu-services a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: color 0.25s ease, border-color 0.25s ease; }
.menu-services a:hover { color: var(--blush); border-color: var(--blush); }
.footer-services { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 26px 0; border-bottom: 1px solid #333; }
.footer-services a { font-weight: 600; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); transition: color 0.25s ease; }
.footer-services a:hover { color: var(--blush); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -0.03em; line-height: 1.3; transition: color 0.25s ease; }
.faq-list summary:hover h3 { color: var(--blue); }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--blush-2);
  color: var(--coral-ink);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.faq-list details[open] summary::after { content: "−"; background: var(--coral); color: var(--ink); }
.faq-list details p { padding: 0 56px 26px 0; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.v4 .contact { background: var(--blue); color: rgba(255, 255, 255, 0.84); }
.v4 .contact h2, .v4 .contact .kicker { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info > p { margin-top: 20px; max-width: 44ch; }
.contact-lines { margin-top: 36px; display: grid; gap: 20px; }
.contact-line .lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.contact-line .val { font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; transition: color 0.25s ease; }
a.contact-line:hover .val { color: var(--blush); }
.form { background: #fff; padding: clamp(28px, 4vw, 50px); color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a8a8a8; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot .hint { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.form-status { margin-top: 16px; font-weight: 600; font-size: 0.95rem; min-height: 1.5em; }
.form-status.is-ok { color: var(--blue); }
.form-status.is-err { color: var(--coral-ink); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9a9a9a; padding: 64px 0 40px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 38px;
  border-bottom: 1px solid #333;
}
.footer-logo img { height: 50px; width: auto; }
.footer-tag { font-weight: 700; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.045em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 30px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { transition: color 0.25s ease; }
.footer-links a:hover { color: #fff; }

/* ---------- modal accent ---------- */
.v4 .reel-close { background: var(--coral); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .posters { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid, .ai-grid, .contact-grid, .reel-grid, .faq-grid, .overview-grid { grid-template-columns: 1fr; }
  .spec { justify-self: stretch; max-width: none; }
  .v4 .hero.hero--page { padding: 120px 0 70px; }
  .spec-grid, .related-grid { grid-template-columns: 1fr; }
  .page .reel .posters { grid-template-columns: repeat(3, 1fr); }
  .v4 .hero { padding-top: 116px; }
  .hero-visual { margin-top: 20px; }
  .nav-cta { display: none; }
  .reel-btn { margin: 10px auto 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .posters { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .ai-point { grid-template-columns: 1fr; gap: 4px; }
  .hero-cta .btn { width: 100%; }
  .roto-bar { font-size: 9px; padding: 8px 10px; }
}
