/* ==========================================================================
   Motionmint Studio — public stylesheet
   1. Fonts            6. Work / player      11. Contact
   2. Tokens + reset   7. Process            12. Footer
   3. Layout helpers   8. Testimonials       13. Utilities + motion
   4. Header + hero    9. FAQ
   5. About/services  10. Services features
   ========================================================================== */

/* -- 1. Fonts ------------------------------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Inter-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Inter-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Inter-ExtraBold.woff2') format('woff2'); }

/* -- 2. Tokens + reset ---------------------------------------------------- */
:root {
  --bg:         #06070b;
  --bg-soft:    #0a0c14;
  --surface:    #101322;
  --surface-2:  #171b2d;
  --line:       rgba(255, 255, 255, .09);
  --line-soft:  rgba(255, 255, 255, .055);
  --text:       #f3f5fa;
  --muted:      #99a0b6;
  --muted-dim:  #6d7488;
  --accent:     #6ee7ff;
  --accent-2:   #a78bfa;
  --accent-3:   #f472b6;
  --grad:       linear-gradient(115deg, #6ee7ff 0%, #a78bfa 52%, #f472b6 100%);
  --glow:       0 24px 70px -30px rgba(110, 231, 255, .55);
  --radius:     20px;
  --radius-sm:  12px;
  --shell:      1200px;
  --header-h:   74px;
  --ease:       cubic-bezier(.22, .8, .26, 1);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.032em; font-weight: 800; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(167, 139, 250, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

body::before {
  content: '';
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 70vh;
  background:
    radial-gradient(48% 60% at 20% 10%, rgba(110, 231, 255, .13), transparent 62%),
    radial-gradient(42% 55% at 82% 0%,  rgba(167, 139, 250, .15), transparent 60%),
    radial-gradient(30% 40% at 50% 40%, rgba(244, 114, 182, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* -- 3. Layout helpers ---------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.section { position: relative; z-index: 1; padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 6vw, 84px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .icon { width: 15px; height: 15px; color: var(--accent); }
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px rgba(110, 231, 255, .9);
}

.head { max-width: 720px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin-top: 18px; font-size: clamp(1.85rem, 4.1vw, 3rem); letter-spacing: -.04em; }
.head p { margin-top: 16px; color: var(--muted); font-size: 1.03rem; }
.head--center p { margin-inline: auto; max-width: 62ch; }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border: 0; border-radius: 999px;
  background: var(--grad);
  color: #06070b;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
  box-shadow: var(--glow);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 30px 60px -26px rgba(167, 139, 250, .8); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; border-color: rgba(255, 255, 255, .2); }
.btn--sm { padding: 10px 17px; font-size: .875rem; }
.btn--block { width: 100%; }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.card:hover { border-color: rgba(255, 255, 255, .2); }

/* -- 4. Header + hero ----------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 7, 11, .78);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 26px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); color: #06070b;
  font-size: 1.05rem; font-weight: 800;
  box-shadow: 0 10px 26px -12px rgba(110, 231, 255, .9);
}
.brand__name { font-size: 1.06rem; }
.brand__sub { display: block; font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-dim); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .055); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .04); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon--close { display: none; }
.is-menu-open .nav-toggle .icon--menu { display: none; }
.is-menu-open .nav-toggle .icon--close { display: block; }

.hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 86px)); padding-bottom: clamp(48px, 6vw, 76px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.045em; }
.hero h1 .hero__line { display: block; }
.hero__em { display: inline-block; }
.hero p.lede { margin-top: 22px; max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted-dim); font-size: .86rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .icon { width: 15px; height: 15px; color: var(--accent-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 42px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line-soft); }
.stat { padding: 18px 16px; background: var(--bg); }
.stat__value { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.04em; }
.stat__label { margin-top: 2px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }

.hero__visual { position: relative; display: grid; place-items: center; }
.device {
  position: relative; width: min(320px, 82%); aspect-ratio: 9 / 16;
  border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04));
  box-shadow: 0 50px 100px -50px rgba(110, 231, 255, .6), 0 0 0 1px rgba(255, 255, 255, .06);
}
.device__screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #05060a; }
.device__screen video { width: 100%; height: 100%; object-fit: cover; }
.device__ui { position: absolute; inset: auto 0 0 0; padding: 14px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(0deg, rgba(3, 4, 8, .88), transparent); font-size: .8rem; color: #dfe3ee; }
.device__ui .icon { width: 16px; height: 16px; color: var(--accent); }
.device__notch { position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 74px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); z-index: 2; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(13, 16, 27, .82);
  backdrop-filter: blur(14px);
  font-size: .82rem; font-weight: 600;
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, .95);
  animation: float 7s var(--ease) infinite;
}
.float-chip .icon { width: 17px; height: 17px; color: var(--accent); }
.float-chip--a { top: 8%;  left: -2%; }
.float-chip--b { top: 44%; right: -6%; animation-delay: -2.4s; }
.float-chip--c { bottom: 9%; left: 0; animation-delay: -4.8s; }
.float-chip small { display: block; font-weight: 500; color: var(--muted-dim); font-size: .74rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { position: relative; z-index: 1; padding-block: 22px; border-block: 1px solid var(--line-soft); overflow: hidden; background: rgba(255, 255, 255, .012); }
.marquee::before, .marquee::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 120px; background: linear-gradient(90deg, var(--bg), transparent); z-index: 2; }
.marquee::after { inset: 0 0 0 auto; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee__item { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; color: var(--muted-dim); white-space: nowrap; transition: color .25s; }
.marquee:hover .marquee__item { color: var(--muted); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* -- 5. About ------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__lead { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #dfe3ee; line-height: 1.55; }
.about__body p { margin-top: 16px; color: var(--muted); }
.value-grid { display: grid; gap: 12px; margin-top: 28px; }
.value {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .022);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.value:hover { border-color: rgba(110, 231, 255, .38); background: rgba(110, 231, 255, .05); transform: translateX(4px); }
.value__icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(110, 231, 255, .1); color: var(--accent); }
.value__icon .icon { width: 20px; height: 20px; }
.value h3 { font-size: 1rem; letter-spacing: -.02em; }
.value p { margin-top: 3px; font-size: .9rem; color: var(--muted); }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.signature__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #06070b; font-weight: 800; }
.signature strong { display: block; font-size: .95rem; }
.signature span { font-size: .84rem; color: var(--muted-dim); }

/* -- Services ------------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 46px; }
.service { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.service::after {
  content: ''; position: absolute; inset: -60% 40% auto auto; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(110, 231, 255, .16), transparent 68%);
  opacity: 0; transition: opacity .45s;
}
.service:hover { transform: translateY(-4px); }
.service:hover::after { opacity: 1; }
.service__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(110, 231, 255, .16), rgba(167, 139, 250, .12));
  color: var(--accent);
}
.service__icon .icon { width: 22px; height: 22px; }
.service h3 { font-size: 1.16rem; letter-spacing: -.028em; }
.service p { color: var(--muted); font-size: .93rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tag {
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .02em;
}

/* -- 10. Key features of the editing process ------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 42px; }
.feature { padding: 22px; }
.feature__top { display: flex; align-items: center; gap: 12px; }
.feature__top .icon { width: 20px; height: 20px; color: var(--accent-2); }
.feature h3 { font-size: .99rem; letter-spacing: -.02em; }
.feature p { margin-top: 9px; font-size: .89rem; color: var(--muted); }

/* -- 6. Work / adaptive video cards --------------------------------------- */
.work-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.filter {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  font-size: .87rem; font-weight: 600; color: var(--muted);
  transition: all .22s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.filter.is-active { background: var(--grad); border-color: transparent; color: #06070b; box-shadow: 0 14px 34px -18px rgba(110, 231, 255, .9); }

.work-grid { columns: 3; column-gap: 18px; margin-top: 26px; }
@media (max-width: 1000px) { .work-grid { columns: 2; } }
@media (max-width: 620px)  { .work-grid { columns: 1; } }

.work-card { display: block; break-inside: avoid; margin-bottom: 18px; }
.work-card[hidden] { display: none; }

.player {
  position: relative;
  aspect-ratio: var(--ar, 9 / 16);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 25% 15%, rgba(110, 231, 255, .2), transparent 65%),
    radial-gradient(80% 70% at 80% 85%, rgba(167, 139, 250, .2), transparent 65%),
    #0b0e19;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
  isolation: isolate;
}
.work-card:hover .player { border-color: rgba(255, 255, 255, .24); transform: translateY(-4px); box-shadow: 0 34px 70px -40px rgba(0, 0, 0, .95); }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; background: #05060a; }
.player.is-ready .player__video { opacity: 1; }
.player__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 4, 8, .55) 0%, transparent 26%, transparent 46%, rgba(3, 4, 8, .82) 100%); }

.player__top { position: absolute; inset: 14px 14px auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chip {
  padding: 5px 11px; border-radius: 999px;
  background: rgba(9, 11, 18, .72); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #e8ecf7;
}
.chip--featured { background: var(--grad); border-color: transparent; color: #06070b; }
.player__duration { font-size: .74rem; font-weight: 600; color: #cfd5e6; font-variant-numeric: tabular-nums;
  padding: 4px 9px; border-radius: 8px; background: rgba(9, 11, 18, .6); backdrop-filter: blur(8px); }

.player__toggle {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4;
  width: 66px; height: 66px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(12, 15, 25, .5);
  backdrop-filter: blur(12px);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .28s var(--ease), background .28s, opacity .28s, border-color .28s;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .95);
}
.player__toggle .icon { width: 26px; height: 26px; color: #fff; }
.player__toggle .icon--pause { display: none; }
.player__toggle:hover { background: rgba(110, 231, 255, .9); border-color: transparent; transform: translate(-50%, -50%) scale(1.07); }
.player__toggle:hover .icon { color: #06070b; }
/* A running clip must never have the circle parked on the picture, so the
   overlay button retires for the whole of playback — including on hover, which
   is what used to bring it back the moment a preview started under the pointer.
   Pausing (or the clip ending) brings it straight back. The small button in the
   bottom row takes over as the play/pause control while the clip runs. */
.player.is-playing .player__toggle { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.86); pointer-events: none; }
.player.is-playing .player__toggle .icon--play  { display: none; }
.player.is-playing .player__toggle .icon--pause { display: block; }

/* The play/pause button that lives in the bottom control row. */
.player__play .icon--pause { display: none; }
.player.is-playing .player__play .icon--play  { display: none; }
.player.is-playing .player__play .icon--pause { display: block; }

.player__bottom { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 0 14px 15px; display: flex; align-items: flex-end; gap: 12px; }
/* Auto-hide: a couple of seconds into playback the chip row and the control row
   fade out (JS adds .is-idle) and come back as soon as the pointer moves. Only
   opacity is touched, so the copy stays in the accessibility tree, and the
   progress bar is left alone — it is a 3px line, nothing is hidden by it. */
.player__top, .player__bottom, .player__shade { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.player.is-playing.is-idle .player__top,
.player.is-playing.is-idle .player__bottom,
.player.is-playing.is-idle .player__shade { opacity: 0; }
.player.is-playing.is-idle .player__top,
.player.is-playing.is-idle .player__bottom { pointer-events: none; }
.player.is-playing.is-idle .player__bottom { transform: translateY(10px); }
.player__meta { min-width: 0; flex: 1; }
.player__meta h3 { font-size: 1.02rem; letter-spacing: -.026em; }
.player__meta p { margin-top: 2px; font-size: .82rem; color: #c2c9dc; }
.player__meta .tags { padding-top: 8px; gap: 5px; }
.player__meta .tag { background: rgba(9, 11, 18, .6); border-color: rgba(255, 255, 255, .13); color: #c9d0e2; backdrop-filter: blur(6px); font-size: .69rem; }

.player__actions { display: flex; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  width: 36px; height: 36px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(9, 11, 18, .6); backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn:hover { background: rgba(110, 231, 255, .9); color: #06070b; border-color: transparent; }
.icon-btn .icon--muted { display: none; }
.icon-btn.is-muted .icon--muted { display: block; }
.icon-btn.is-muted .icon--sound { display: none; }

.player__bar { position: absolute; inset: auto 0 0 0; z-index: 5; height: 3px; background: rgba(255, 255, 255, .14); }
.player__progress { display: block; height: 100%; width: 0%; background: var(--grad); transition: width .12s linear; }

.player[data-format="landscape"] { --ar: 16 / 9; }
.player[data-format="square"]    { --ar: 1 / 1; }
.player[data-format="vertical"]  { --ar: 9 / 16; }

/* Full screen -------------------------------------------------------------
   The player — not the bare <video> — goes full screen, so the progress bar and
   the controls stay usable. In there `object-fit: contain` replaces the card's
   `cover`: a landscape clip fills the width, a vertical reel stands full height
   in the middle of the screen instead of being cropped into a widescreen frame,
   and a square stays square. Nothing is stretched or cut off. */
.work-card:hover .player:fullscreen { transform: none; box-shadow: none; border-color: transparent; }
.player:fullscreen, .player:-webkit-full-screen {
  width: 100%; height: 100%; aspect-ratio: auto;
  border: 0; border-radius: 0; background: #000;
  transform: none; box-shadow: none;
}
.player:fullscreen .player__video,
.player:-webkit-full-screen .player__video { object-fit: contain; }
/* Fallback path: iOS Safari can only full-screen the element itself. */
.player__video:fullscreen, .player__video:-webkit-full-screen { object-fit: contain; }
.player:fullscreen.is-idle, .player:-webkit-full-screen.is-idle { cursor: none; }

.work-empty { margin-top: 30px; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* -- 7. Process ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; margin-top: 48px; }
.step { position: relative; padding: 28px 24px; overflow: hidden; }
.step__number {
  position: absolute; top: 14px; right: 20px;
  font-size: 3.6rem; font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: rgba(255, 255, 255, .045);
}
.step__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--grad); color: #06070b; box-shadow: var(--glow); }
.step__icon .icon { width: 22px; height: 22px; }
.step h3 { margin-top: 18px; font-size: 1.22rem; }
.step > p { margin-top: 10px; color: var(--muted); font-size: .93rem; }
.step ul { margin-top: 18px; display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.step li { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: #c9d0e2; }
.step li .icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--accent); }
.step:hover { border-color: rgba(110, 231, 255, .35); }

/* -- 8. Testimonials ------------------------------------------------------ */
.slider { position: relative; margin-top: 42px; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(88%, 380px), 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 8px; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.quote__mark { width: 30px; height: 30px; color: var(--accent-2); opacity: .8; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: #e4e8f2; }
.quote__stars { display: flex; gap: 3px; color: #fbbf24; }
.quote__stars .icon { width: 15px; height: 15px; fill: currentColor; }
.quote__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(110, 231, 255, .9), rgba(167, 139, 250, .9)); color: #06070b; font-weight: 800; font-size: .88rem; }
.quote__person strong { display: block; font-size: .93rem; }
.quote__person span { font-size: .82rem; color: var(--muted-dim); }
.slider__nav { display: flex; gap: 8px; }
.slider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* -- 9. FAQ --------------------------------------------------------------- */
.faq-list { margin-top: 40px; display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .02); overflow: hidden; transition: border-color .3s, background .3s; }
.faq[open] { border-color: rgba(110, 231, 255, .32); background: rgba(110, 231, 255, .04); }
.faq summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 19px 22px; font-weight: 600; font-size: 1.01rem; letter-spacing: -.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__toggle { margin-left: auto; flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.faq__toggle .icon { width: 15px; height: 15px; }
.faq__toggle .icon--minus { display: none; }
.faq[open] .faq__toggle { background: var(--grad); border-color: transparent; color: #06070b; }
.faq[open] .faq__toggle .icon--plus  { display: none; }
.faq[open] .faq__toggle .icon--minus { display: block; }
.faq__answer { padding: 0 22px 22px; color: var(--muted); font-size: .95rem; }

/* -- 11. Contact ---------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__card { padding: clamp(24px, 3vw, 34px); }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(5, 6, 11, .6); color: var(--text);
  font: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(110, 231, 255, .6); background: rgba(5, 6, 11, .9);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { margin-top: 14px; font-size: .83rem; color: var(--muted-dim); display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; color: var(--accent); }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-status.is-ok    { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #a7f3d0; }
.form-status.is-error { display: block; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }

.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .022); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.contact-list a:hover { border-color: rgba(110, 231, 255, .4); background: rgba(110, 231, 255, .05); transform: translateX(4px); }
.contact-list .icon { width: 19px; height: 19px; color: var(--accent); flex: 0 0 19px; }
.contact-list strong { display: block; font-size: .93rem; }
.contact-list small { color: var(--muted-dim); font-size: .82rem; }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); font-size: .85rem; color: #a7f3d0; }
.availability::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

/* -- 12. Footer ----------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: rgba(8, 9, 15, .72); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)); gap: 34px; padding-block: 54px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .92rem; max-width: 34ch; }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); color: var(--muted); transition: all .22s var(--ease); }
.socials a:hover { color: #06070b; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); font-weight: 700; }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; color: var(--muted); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-block: 22px; border-top: 1px solid var(--line-soft); font-size: .84rem; color: var(--muted-dim); }

/* -- 13. Scroll reveal + utilities --------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--accent); color: #06070b; border-radius: 0 0 12px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

/* -- Responsive ----------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .device { width: min(260px, 62%); }
  .float-chip--b { right: -2%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 14px clamp(18px, 4vw, 32px) 22px;
    background: rgba(6, 7, 11, .97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .is-menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-cta { display: none; }
  .is-menu-open .header-cta { display: flex; flex-direction: column; margin: 8px clamp(18px, 4vw, 32px) 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-chip--a, .float-chip--b { display: none; }
  .device { width: min(230px, 70%); }
  .player__toggle { width: 58px; height: 58px; }
}

/* -- Extra utilities ------------------------------------------------------ */
.icon-flip { transform: scaleX(-1); }
.work-head .eyebrow + h2 { margin-top: 18px; }

/* -- Legal pages (Privacy Policy / Terms of Use) -------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(44px, 6vw, 80px)); padding-bottom: clamp(8px, 2vw, 24px); }
.page-hero h1 { margin-top: 18px; font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.045em; }
.page-hero > .shell > p { margin-top: 18px; max-width: 70ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.08rem); }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted-dim); font-size: .86rem; }
.page-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-meta .icon { width: 15px; height: 15px; color: var(--accent); }
.page-meta a { color: var(--muted); }
.page-meta a:hover { color: var(--accent); }

.legal__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 22px); padding: 22px 22px 24px; }
.legal-toc h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); }
.legal-toc ol { margin-top: 14px; display: grid; gap: 9px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 9px; font-size: .89rem; line-height: 1.4; color: var(--muted); transition: color .2s; }
.legal-toc a::before { content: counter(toc) '.'; color: var(--muted-dim); font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--accent); }

.legal-body > section + section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line-soft); }
.legal-body h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: -.03em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body p { margin-top: 14px; color: var(--muted); font-size: .96rem; line-height: 1.72; }
.legal-body ul { margin-top: 14px; display: grid; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; color: var(--muted); font-size: .94rem; line-height: 1.62; }
.legal-body li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal-body code { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: .86em; color: var(--text); }
.legal-note { margin-top: 34px; padding: 16px 19px; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted-dim); font-size: .88rem; display: flex; gap: 12px; align-items: flex-start; }
.legal-note .icon { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--accent); }
.legal-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Copyright line + legal links on the left, availability + login on the right. */
.footer-legal, .footer-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
}
