/* Reda El Fatehy portfolio
   Black + yellow. Oswald display, Open Sans body. Dark-only by brand choice.
   Radius system: 6px on everything rectangular; icon-only buttons are circles. */

@font-face { font-family: "Oswald"; src: url(fonts/oswald-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(fonts/oswald-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(fonts/oswald-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(fonts/oswald-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/open-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/open-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d0d0d;
  --surface: #151515;
  --surface-2: #1d1d1d;
  --line: #2b2b2b;
  --text: #f2f2ef;
  --muted: #b0b0aa;
  --faint: #85857f;
  --accent: #f5cf2e;
  --accent-ink: #0d0d0d;
  --radius: 6px;
  --wrap: 1240px;
  --head-h: 68px;
  --gutter: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* z-index scale: header 50, menu sheet 60, lightbox 100 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }

/* ---------- icons (Tabler, used as masks so they take currentColor) ---------- */
.i { display: inline-block; flex: none; width: 20px; height: 20px; background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-ig { --i: url(icons/brand-instagram.svg); }
.i-in { --i: url(icons/brand-linkedin.svg); }
.i-up { --i: url(icons/brand-upwork.svg); }
.i-mail { --i: url(icons/mail.svg); }
.i-out { --i: url(icons/arrow-up-right.svg); }
.i-left { --i: url(icons/arrow-left.svg); }
.i-right { --i: url(icons/arrow-right.svg); }
.i-x { --i: url(icons/x.svg); }
.i-menu { --i: url(icons/menu-2.svg); }
.i-top { --i: url(icons/arrow-up.svg); }
.i-play { --i: url(icons/player-play.svg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; white-space: nowrap;
  font: 500 16px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffdb45; }
.btn-ghost { border-color: #4a4a4a; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: none;
  transition: color .15s, background-color .15s;
}
.icon-btn:hover { color: var(--accent); background: var(--surface-2); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(13, 13, 13, .88); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { font: 600 24px/1 var(--display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; margin-left: 28px; }
.nav a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.socials { display: flex; gap: 2px; }
.lang { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 8px; }
.lang button {
  border: 0; background: none; cursor: pointer; min-width: 36px; height: 30px;
  font: 600 12px/1 var(--body); letter-spacing: .08em; color: var(--faint); border-radius: 4px;
}
.lang button[aria-pressed="true"] { background: var(--text); color: var(--accent-ink); }
.menu-btn { display: none; color: var(--text); }

.menu-sheet {
  position: fixed; inset: var(--head-h) 0 auto 0; z-index: 60;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet nav a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 500 24px/1.2 var(--display); text-transform: uppercase; text-decoration: none;
}
.menu-sheet .menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.menu-sheet .lang { margin: 0; }

/* ---------- hero ---------- */
/* Full-screen reel of Reda behind a huge centered headline (vertical footage, cropped to cover). */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--head-h));
  display: flex; align-items: center; justify-content: center;
  padding: calc(64px + 26vh) 0 64px;   /* extra top padding sits the centered text lower */
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.82) saturate(.95); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .5) 75%),
    linear-gradient(to bottom, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, 0) 22%, rgba(13, 13, 13, 0) 70%, var(--bg) 100%);
}
.hero-center { text-align: center; }
.hero h1 {
  font-weight: 400; font-size: clamp(40px, 6.6vw, 112px); line-height: .98; letter-spacing: .02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .45);
}
.hero h1 span { display: block; }
.hero-sub {
  font-size: 18px; line-height: 1.6; color: rgba(242, 242, 239, .85); max-width: 36em;
  margin: 28px auto 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(13, 13, 13, .5); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s;
}
.hero-toggle:hover { background: var(--accent); color: var(--accent-ink); }
.hero-toggle .i { width: 16px; height: 16px; }
.i-pause { --i: url(icons/player-pause.svg); }

/* ---------- clients ---------- */
/* Dock: each .client gets --s (scale) from script.js based on cursor distance.
   The disc grows upward from its base; the active one reveals its name inside,
   over a soft bottom vignette. Sizes inside the disc are relative to --size. */
.clients { padding: 0 0 104px; }
.clients .wrap { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.clients-label { font-size: 15px; color: var(--muted); text-align: center; }
.client-row {
  --size: 80px;
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 34px;
}
.client { position: relative; width: var(--size); height: var(--size); flex: none; }
.client-disc {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--surface);
  transform: scale(var(--s, 1)); transform-origin: 50% 100%;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.client-disc img { width: 100%; height: 100%; object-fit: cover; }
.client-disc::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 8, 8, .9) 0%, rgba(8, 8, 8, .62) 36%, rgba(8, 8, 8, 0) 66%),
    radial-gradient(circle at 50% 45%, transparent 55%, rgba(8, 8, 8, .35) 100%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.client-name {
  position: absolute; left: 50%; bottom: 17%; z-index: 2;
  width: 76%; translate: -50% 4px; text-align: center; pointer-events: none;
  font: 300 calc(var(--size) * .118)/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: #f7f7f4; text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  opacity: 0; transition: opacity .25s var(--ease), translate .3s var(--ease);
}
.client.is-active { z-index: 2; }
.client.is-active .client-disc { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 0 22px 2px rgba(255, 255, 255, .16); }
.client.is-active .client-disc::after { opacity: 1; }
.client.is-active .client-name { opacity: .9; translate: -50% 0; }
/* Extend the hover area over the space the discs grow into, so the dock doesn't flicker. */
@media (hover: hover) and (pointer: fine) {
  .client-row { padding: 44px 16px 12px; margin: -44px -16px -12px; }
}

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats ul { list-style: none; margin: 0; padding: 36px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats li { padding-left: 20px; border-left: 2px solid var(--accent); }
.stat-num { display: block; font: 600 46px/1 var(--display); }
.stat-label { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- sections ---------- */
.band { padding: 112px 0; }
.band-head { max-width: 720px; margin-bottom: 56px; }
.band-head h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.band-head p { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 42em; }

/* ---------- media play affordance ---------- */
.play {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.play .i { width: 18px; height: 18px; margin-left: 2px; }

/* ---------- short-form grid ---------- */
.shorts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px var(--gutter); padding-bottom: 56px; }
.shorts .card:nth-child(4n+2), .shorts .card:nth-child(4n+4) { transform: translateY(56px); }
.card-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  overflow: hidden; border-radius: var(--radius); background: var(--surface);
}
.shorts .card-media { aspect-ratio: 9 / 16; }
.card-media video, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-tag { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 18px; }
.card-title { font-size: 23px; line-height: 1.15; margin-top: 8px; }
.card-credit { font-size: 14px; color: var(--muted); margin-top: 4px; }
.card-note { font-size: 14px; line-height: 1.55; color: var(--faint); margin-top: 8px; }

@media (hover: hover) and (pointer: fine) {
  .card-media:hover video, .card-media:hover img { transform: scale(1.03); }
  .card-media:hover .play { transform: scale(1.08); }
}

/* ---------- long-form: featured player + list ---------- */
.longs { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.feature .card-media { aspect-ratio: 16 / 9; }
.feature iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature h3 { font-size: 30px; line-height: 1.15; text-transform: none; margin-top: 20px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.meta span { font: 600 12px/1 var(--body); letter-spacing: .06em; padding: 7px 9px; border-radius: 4px; background: var(--surface-2); color: var(--muted); }
.meta .fr { background: var(--accent); color: var(--accent-ink); }
.feature .card-credit { margin-top: 12px; font-size: 15px; }
.feature .card-note { font-size: 15px; }

.lf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lf-item {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center;
  width: 100%; padding: 10px; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.lf-item:hover { border-color: #444; }
.lf-item[aria-current="true"] { border-color: var(--accent); background: var(--surface-2); }
.lf-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.lf-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 500 17px/1.25 var(--display); }
.lf-item small { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.about-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { font: 500 clamp(32px, 3.8vw, 54px)/1.06 var(--display); text-transform: uppercase; }
.quote .accent { font-weight: 600; }
.about-body { display: grid; gap: 18px; margin-top: 32px; max-width: 40em; }
.about-body p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 14px; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.chips li.hl { border-color: var(--accent); color: var(--accent); }

/* ---------- contact ---------- */
/* Desk photo behind the contact section, darkened so text and form stay readable. */
.contact-band { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.contact-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url(images/desk.webp) center 38% / cover no-repeat;
}
.contact-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .9) 0%, rgba(13, 13, 13, 0) 18%, rgba(13, 13, 13, 0) 82%, rgba(13, 13, 13, .95) 100%),
    linear-gradient(90deg, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .62) 45%, rgba(13, 13, 13, .28) 100%);
}
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.contact-sub { font-size: 17px; color: var(--muted); margin-top: 22px; max-width: 28em; }
.mail-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font: 500 clamp(20px, 2.4vw, 28px)/1.2 var(--display); color: var(--accent); text-decoration: none; word-break: break-all;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.mail-link .i { width: 24px; height: 24px; }
.contact-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; max-width: 420px; }
.contact-links a {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13, 13, 13, .72); text-decoration: none;
  transition: border-color .15s, color .15s;
}
.contact-links a:hover { border-color: var(--accent); }
.contact-links .i-out { margin-left: auto; color: var(--faint); width: 18px; height: 18px; }
.contact-links strong { font-weight: 600; }
.contact-links small { color: var(--faint); font-size: 13px; margin-left: 4px; }

.form { display: grid; gap: 18px; background: rgba(13, 13, 13, .8); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--text);
  background: var(--surface); border: 1px solid #3a3a3a; border-radius: var(--radius); padding: 13px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #8f8f89; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 207, 46, .18); }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 15px; min-height: 1.5em; color: var(--accent); }
.form-status.is-error { color: #ff9f8f; }
.form-status a { color: inherit; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--faint); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.site-foot .i { width: 16px; height: 16px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #0a0a0a;
  display: none; align-items: center; justify-content: center; gap: 48px; padding: 24px 96px;
}
.lightbox.is-open { display: flex; }
.lb-video { height: min(86dvh, 880px); aspect-ratio: 9 / 16; max-width: 100%; background: #000; border-radius: var(--radius); }
.lb-info { width: 320px; }
.lb-info h3 { font-size: 36px; line-height: 1.1; margin-top: 8px; }
.lb-info .card-tag { margin-top: 0; }
.lb-info .card-note { font-size: 15px; margin-top: 14px; }
.lb-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--accent); }
.lb-link[hidden] { display: none; }
.lb-count { margin-top: 28px; font: 500 14px/1 var(--display); letter-spacing: .12em; color: var(--faint); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background-color .15s, color .15s;
}
.lb-btn:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 24px; top: 50%; margin-top: -24px; }
.lb-next { right: 24px; top: 50%; margin-top: -24px; }

/* ---------- motion (gated) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* The dock only moves under direct pointer control, so it keeps a short, gentle transition. */
  .client-disc { transition: transform .15s ease-out !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .head-cta { display: none; }
  .client-row { --size: 64px; gap: 22px; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 1000px) {
  .client-row { --size: 58px; gap: 16px; }
  .shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shorts .card:nth-child(4n+2), .shorts .card:nth-child(4n+4) { transform: none; }
  .shorts .card:nth-child(3n+2) { transform: translateY(48px); }
  .longs { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .about-photo { max-width: 460px; }
  .lightbox { flex-direction: column; gap: 16px; padding: 72px 16px calc(84px + env(safe-area-inset-bottom)); }
  .lb-video { height: auto; max-height: 64dvh; width: auto; max-width: 100%; }
  .lb-info { width: 100%; max-width: 440px; text-align: center; }
  .lb-info h3 { font-size: 24px; }
  .lb-info .card-note { margin-top: 6px; }
  .lb-link { margin-top: 10px; }
  .lb-count { display: none; }
  .lb-prev, .lb-next { top: auto; margin: 0; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --head-h: 60px; }
  .logo { font-size: 20px; }
  .head-right > .lang { display: none; }
  .socials .icon-btn { width: 36px; height: 36px; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero { padding: calc(48px + 14vh) 0 64px; }
  .hero-bg video { object-position: 50% 22%; }
  .hero-toggle { right: 16px; bottom: 16px; width: 36px; height: 36px; }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { flex: 1 1 0; padding: 0 12px; }
  .clients { padding: 0 0 64px; }
  .clients .wrap { gap: 20px; }
  .clients-label { font-size: 14px; }
  .client-row { --size: 56px; display: grid; grid-template-columns: repeat(5, var(--size)); gap: 16px 14px; }
  .client-disc { transform-origin: 50% 50%; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding: 28px 0; }
  .stats li { padding-left: 14px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 13px; }
  .band { padding: 72px 0; }
  .band-head { margin-bottom: 36px; }
  .band-head p { font-size: 16px; }
  .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; padding-bottom: 36px; }
  .shorts .card:nth-child(3n+2) { transform: none; }
  .shorts .card:nth-child(2n) { transform: translateY(36px); }
  .card-tag { font-size: 11px; margin-top: 12px; }
  .card-title { font-size: 18px; }
  .card-credit { font-size: 13px; word-break: break-word; }
  .card-note { display: none; }
  .lb-info .card-note { display: block; font-size: 14px; }
  .play { width: 36px; height: 36px; right: 8px; bottom: 8px; }
  .play .i { width: 15px; height: 15px; }
  .feature h3 { font-size: 22px; margin-top: 16px; }
  .lf-item { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 8px; }
  .lf-item strong { font-size: 15px; }
  .quote { font-size: 32px; }
  .about-photo { max-width: none; }
  .contact-band::after { background: linear-gradient(180deg, rgba(13, 13, 13, .96) 0%, rgba(13, 13, 13, .8) 30%, rgba(13, 13, 13, .88) 100%); }
  .about-body { margin-top: 24px; }
  .about-body p { font-size: 16px; }
  .form { padding: 20px; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
}

/* ---------- Upwork-safe page (upwork.html): no off-platform contact ---------- */
.upwork-cta { max-width: 760px; text-align: center; }
.upwork-cta h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.upwork-cta .contact-sub { margin: 22px auto 32px; }
