/* ============================================================
   Nextivox — "Studio" theme
   ============================================================ */
:root {
  --ground: #09080d;
  --surface: #131119;
  --surface-2: #1a1722;
  --line: rgba(245, 243, 248, .09);
  --line-2: rgba(245, 243, 248, .16);
  --text: #f5f3f8;
  --muted: #a19dad;
  --dim: #6f6b7a;
  --blue: #00e5ff;
  --violet: #7c3aff;
  --purple: #e83cff;
  --accent: linear-gradient(90deg, var(--blue), var(--purple));
  --gutter: clamp(20px, 3.6vw, 56px);
  --maxw: 1380px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --head: "Schibsted Grotesk", "Nunito Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 16px/1.5 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; margin: 0; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent-text {
  background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 "Nunito Sans", sans-serif; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-light { background: var(--text); color: var(--ground); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: rgba(245,243,248,.4); background: rgba(255,255,255,.04); }
.btn-accent { height: 40px; padding: 0 18px; font-size: 15px; color: #fff; background: linear-gradient(90deg, #0a7cff, #8b2cff); }
.btn-accent:hover { box-shadow: 0 6px 24px -6px rgba(139,44,255,.75); }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.arrow-link .ar { transition: transform .25s var(--ease); }
.arrow-link:hover .ar { transform: translateX(4px); }

/* ---------- Navigation (pill that tightens on scroll) ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - var(--gutter) * 2 + 16px), calc(var(--maxw) + 16px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(19, 17, 25, .55); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: width .6s var(--ease), top .4s var(--ease), background .4s;
}
.nav.scrolled { width: min(calc(100% - 24px), 620px); top: 12px; background: rgba(19, 17, 25, .85); }
.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo img { display: block; width: auto; }
.nav-logo .logo-mark { height: 30px; }
.nav-name .logo-name { height: 19px; }
.nav-name {
  display: block; white-space: nowrap;
  padding-left: 14px; border-left: 1px solid var(--line-2);
  max-width: 220px; overflow: hidden; transition: max-width .6s var(--ease), opacity .4s, padding .6s var(--ease);
}
.nav.scrolled .nav-name { max-width: 0; opacity: 0; padding-left: 0; border-left-color: transparent; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 16px; color: var(--text); opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line-2); }
.nav-menu { display: none; }

/* ---------- Hero ---------- */
.hero { min-height: min(88svh, 900px); display: flex; flex-direction: column; padding-top: 150px; overflow: hidden; }
.hero-copy { text-align: center; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { font-size: clamp(48px, 7.3vw, 104px); line-height: .95; letter-spacing: -.03em; margin-bottom: 28px; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }

.strip {
  margin-top: auto; padding-top: 56px; position: relative;
  display: flex; justify-content: center; align-items: flex-end; gap: 16px;
}
.strip::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent); opacity: .8;
}
.shot {
  --c1: #333; --c2: #555;
  position: relative; flex: 0 0 auto; width: clamp(120px, 11.4vw, 164px); aspect-ratio: 9 / 17.5;
  border-radius: 22px 22px 0 0; overflow: hidden;
  background: linear-gradient(165deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transform: translateY(var(--y, 0)); opacity: 0;
  animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s);
  transition: transform .5s var(--ease);
}
.shot.done { animation: none; opacity: 1; }
/* Hero cards are 28px taller than they look: that part sits below the line (see --y in main.js) */
.strip .shot { aspect-ratio: auto; height: calc(clamp(120px, 11.4vw, 164px) * 17.5 / 9 + 28px); }
.strip .shot.done:hover { transform: translateY(calc(var(--y, 0px) - 12px)); }
@keyframes rise { from { opacity: 0; transform: translateY(calc(var(--y, 0px) + 80px)); } to { opacity: 1; transform: translateY(var(--y, 0)); } }
.shot-title {
  position: absolute; top: 14px; left: 10px; right: 10px; text-align: center;
  font: 800 clamp(13px, 1.2vw, 17px)/1.1 "Nunito Sans", sans-serif; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35); letter-spacing: -.01em;
}
.shot-phone {
  position: absolute; left: 12%; right: 12%; top: 34%; bottom: 0;
  border-radius: 16px 16px 0 0; background: rgba(9, 8, 13, .82);
  box-shadow: 0 -8px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.12);
  display: flex; flex-direction: column; align-items: center; padding-top: 16%;
}
.shot-phone::before { content: ""; position: absolute; top: 6px; width: 26%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); }
.shot-phone .app-icon { width: 54%; border-radius: 22%; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.shot-phone .bars { width: 70%; margin-top: 14%; display: grid; gap: 6px; }
.shot-phone .bars span { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); }
.shot-phone .bars span:nth-child(2) { width: 70%; }
.shot-phone .bars span:nth-child(3) { width: 85%; background: linear-gradient(90deg, var(--c1), var(--c2)); opacity: .8; }
.shot > img.real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Real screenshots get a thin frame in the background color (a phone bezel) that hides rough edges */
.shot.has-shot { border: 4px solid var(--ground); background: var(--ground); box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.strip .shot.has-shot { border-bottom: 0; }
.feat-visual .shot.has-shot { border: 6px solid var(--surface); background: var(--surface); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.16); }

/* ---------- App icon ---------- */
.app-icon { aspect-ratio: 1; border-radius: 22%; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section headings ---------- */
.section { padding-top: 96px; padding-bottom: 48px; }
.section h2 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1; letter-spacing: -.03em; }

/* ---------- Featured cards ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.feat {
  --c1: #444; --c2: #666;
  position: relative; display: flex; flex-direction: column; min-height: 920px;
  padding: 48px 48px 0; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.feat::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -120px; height: 220px;
  background: radial-gradient(ellipse at center, var(--c2), transparent 70%); opacity: .28; filter: blur(30px);
  transition: opacity .5s;
}
.feat:hover { border-color: var(--line-2); }
.feat:hover::after { opacity: .5; }
.feat .app-icon { width: 64px; border-radius: 16px; }
.feat h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.02em; line-height: 1.05; margin: 32px 0 14px; }
.feat p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; max-width: 340px; }
.feat .arrow-link { color: var(--text); width: max-content; margin-top: 26px; }
.feat:nth-child(2) .arrow-link, .feat:nth-child(4) .arrow-link { color: #b49bff; }
.feat-visual { position: relative; margin-top: auto; height: 560px; }
.feat-visual .shot {
  position: absolute; bottom: -40px; opacity: 1; animation: none; width: clamp(205px, 18.8vw, 270px);
  border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.14);
}
.feat-visual .shot:nth-child(1) { right: clamp(195px, 17.4vw, 250px); transform: rotate(-8deg) translateY(30px); }
.feat-visual .shot:nth-child(2) { right: 28px; transform: rotate(4deg); width: clamp(225px, 20.8vw, 300px); }
.feat:hover .feat-visual .shot:nth-child(1) { transform: rotate(-10deg) translate(-10px, 16px); }
.feat:hover .feat-visual .shot:nth-child(2) { transform: rotate(6deg) translateY(-12px); }
.feat-visual .shot .shot-phone { top: 26%; }

/* ---------- All apps, 4 per row ---------- */
.apps-section h2 { text-align: center; }
#apps, #contact { scroll-margin-top: 60px; }
.app-list {
  --gap: 20px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
  margin: 56px auto 0; max-width: 1180px; perspective: 1200px;
}
.app-card {
  --c1: #444; --c2: #666; --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 calc((100% - var(--gap) * 3) / 4);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 22px 30px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.app-card.rv { transform: translateY(28px); transition: transform .9s var(--ease), opacity .9s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.app-card.rv.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
/* soft color wash from the app's colors */
.app-card::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 70%);
  opacity: .55; transition: opacity .5s;
}
/* light that follows the pointer */
.app-card-glow {
  position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%);
}
/* gradient border that lights up on hover */
.app-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--c1), transparent 45%, transparent 60%, var(--c2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.app-card .app-icon {
  width: 104px; border-radius: 26px;
  box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--c2) 85%, transparent), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .6s var(--ease);
}
.app-card h3 { margin-top: 24px; font: 600 18px/1.3 var(--head); letter-spacing: -.01em; max-width: 220px; }
.app-card-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #b49bff;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease);
}
.app-card-go .ar { transition: transform .3s var(--ease); }
.app-card:hover { border-color: transparent; box-shadow: 0 30px 70px -34px var(--c2); }
.app-card:hover::before { opacity: 1; }
.app-card:hover::after, .app-card:hover .app-card-glow { opacity: 1; }
.app-card:hover .app-icon { transform: translateY(-6px) scale(1.07) rotate(-4deg); }
.app-card:hover .app-card-go { opacity: 1; transform: none; }
.app-card:hover .app-card-go .ar { transform: translateX(3px); }
.app-card:focus-visible { outline: 2px solid #b49bff; outline-offset: 3px; }
@media (hover: none) { .app-card-go { opacity: 1; transform: none; } }

/* ---------- Studio ---------- */
.studio { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; padding: 120px 0 96px; }
.lab-kicker { margin: 0 0 28px; font: 500 clamp(22px, 2.1vw, 30px)/1.25 var(--head); letter-spacing: -.01em; color: var(--muted); }
.lab-lines { display: grid; counter-reset: lab; font-size: clamp(46px, 5.6vw, 86px); line-height: 1; letter-spacing: -.04em; }
.lab-lines > span {
  counter-increment: lab; display: flex; align-items: center; gap: 28px;
  padding: 22px 0; border-top: 1px solid var(--line);
  transition: padding .4s var(--ease), color .4s;
}
.lab-lines > span:last-child { border-bottom: 1px solid var(--line); }
.lab-lines > span::before {
  content: counter(lab, decimal-leading-zero); flex: 0 0 auto; width: 2.4em;
  font: 400 13px/1 "Nunito Sans", sans-serif; letter-spacing: .14em; color: var(--dim);
}
.lab-lines > span:hover { padding-left: 10px; }
.lab-lines .accent-text { padding-bottom: .04em; }
.studio-side { padding-top: 4px; }
.studio-side p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.contact { display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; display: block; padding: 26px 18px 10px; border-radius: 18px;
  font: 400 16px/1.5 "Nunito Sans", sans-serif; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 210px; }
.field label {
  position: absolute; left: 19px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus {
  border-color: #8b7bff; background: var(--surface-2); box-shadow: 0 0 0 4px rgba(139,123,255,.16);
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.78); color: #b49bff;
}
.btn-send {
  justify-self: start; height: 54px; padding: 0 30px; border: 0; color: #fff; font-weight: 600;
  background: linear-gradient(90deg, #5b8cff, #a66bff);
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(166,107,255,.8); }
.btn-send .ar { transition: transform .25s var(--ease); }
.btn-send:hover .ar { transform: translateX(4px); }
.studio-side .form-note { margin: 0; min-height: 1.5em; font-size: 15px; color: #b49bff; }

/* ---------- Footer ---------- */
.footer { padding-bottom: 40px; }
.footer-line { height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--purple)); opacity: .85; }
.footer-cols { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h4 { font: 400 12px/1 "Nunito Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-cols a, .footer-cols li { font-size: 15px; color: #dcd9e3; }
.footer-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-logo .logo-full { display: block; height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.footer-bottom span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cookie message ---------- */
.cookie {
  position: fixed; z-index: 60; left: 20px; bottom: 20px; width: min(380px, calc(100% - 40px));
  padding: 20px 20px 18px; border-radius: 22px;
  background: rgba(26, 23, 34, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .75);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cookie.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie .cookie-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 600 17px/1.2 var(--head); color: var(--text); }
.cookie p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.cookie p a:hover { text-decoration-color: var(--text); }
.cookie-ok { padding: 0 22px; }
@media (max-width: 560px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Main app spotlight ---------- */
.shot.main { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 0 60px -6px rgba(123,92,255,.8); }
.shot.main.has-shot { box-shadow: 0 0 0 1.5px rgba(255,255,255,.45), 0 0 60px -6px rgba(123,92,255,.8); }
.spot-wrap { padding-top: 96px; scroll-margin-top: 40px; }
.spot {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px 64px; align-items: center;
  padding: 64px; border-radius: 36px; background: var(--surface); border: 1px solid var(--line);
}
.spot::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(600px 380px at 8% 0%, rgba(123,92,255,.30), transparent 70%),
    radial-gradient(520px 320px at 95% 100%, rgba(255,214,10,.10), transparent 70%);
}
.spot-app { display: flex; align-items: center; gap: 16px; margin: 6px 0 30px; }
.spot-app .app-icon { width: 64px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(123,92,255,.8); }
.spot-app b { display: block; font: 600 20px/1.2 var(--head); }
.spot h2 { font-size: clamp(44px, 5.4vw, 84px); line-height: .98; letter-spacing: -.035em; }
.spot-text { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 480px; margin: 26px 0 34px; }
.spot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.spot-media { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot:hover .spot-media img { transform: scale(1.03); }
.spot-gallery {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px;
}
.spot-gallery figure { margin: 0; }
.sg-img { border-radius: 24px; overflow: hidden; aspect-ratio: 540 / 760; background: linear-gradient(160deg, #8b6cff, #4b2fd6); transition: transform .5s var(--ease); }
.sg-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.spot-gallery figure:hover .sg-img { transform: translateY(-8px); }
.spot-gallery figcaption { padding: 16px 4px 0; }
.spot-gallery figcaption b { display: block; font: 500 17px/1.25 var(--head); }
@media (max-width: 1000px) {
  .spot-gallery {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -40px; padding: 0 40px 6px; scroll-padding: 0 40px;
  }
  .spot-gallery::-webkit-scrollbar { display: none; }
  .spot-gallery figure { flex: 0 0 220px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .spot-gallery { margin: 0 -22px; padding: 0 22px 6px; scroll-padding: 0 22px; }
  .spot-gallery figure { flex-basis: 70%; }
}
@media (max-width: 1000px) {
  .spot { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 40px; }
  .spot-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .spot-wrap { padding-top: 64px; }
  .spot { padding: 26px 22px; border-radius: 26px; gap: 32px; }
  .spot-media { aspect-ratio: 1 / 1; border-radius: 20px; }
  .spot-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feat { min-height: 820px; padding: 36px 36px 0; }
  .feat-visual { height: 470px; }
  .feat-visual .shot { width: 210px; }
  .feat-visual .shot:nth-child(2) { width: 235px; right: 22px; }
  .feat-visual .shot:nth-child(1) { right: 190px; }
}
@media (max-width: 760px) {
  .app-card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 860px) {
  .nav { padding-left: 16px; }
  .nav-links, .nav .btn-accent { display: none; }
  .nav-menu {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer;
  }
  .nav.open { border-radius: 26px; flex-wrap: wrap; width: min(calc(100% - 24px), 620px); }
  .nav.open .nav-links { display: grid; gap: 4px; width: 100%; padding: 8px 4px 6px; order: 3; }
  .nav.open .nav-links a { display: block; padding: 10px 6px; font-size: 18px; }
  .nav.open .btn-accent { display: inline-flex; order: 4; margin: 0 0 8px 4px; }
  .feat-grid { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .strip { gap: 12px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .feat { min-height: 690px; padding: 30px 26px 0; border-radius: 26px; }
  .feat-visual { height: 390px; }
  .feat-visual .shot { width: 152px; }
  .feat-visual .shot:nth-child(2) { width: 176px; right: 6px; }
  .feat-visual .shot:nth-child(1) { right: 118px; }
  .app-list { --gap: 12px; margin-top: 40px; }
  .app-card { padding: 30px 14px 22px; border-radius: 22px; }
  .app-card .app-icon { width: 76px; border-radius: 20px; }
  .app-card h3 { margin-top: 18px; font-size: 16px; }
  .contact-row { grid-template-columns: 1fr; }
  .btn-send { justify-self: stretch; justify-content: center; }
  .nav-logo { gap: 11px; }
  .nav-name { padding-left: 11px; }
  .nav-name .logo-name { height: 17px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shot, .rv { opacity: 1; transform: none; }
}
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .rv, .static .shot { opacity: 1; transform: translateY(var(--y, 0)); }
.static .rv { transform: none; }
.static .app-card.rv { transform: none; }
