:root {
  --black: #000;
  --ink: #080808;
  --panel: #101010;
  --panel-light: #171717;
  --white: #fff;
  --muted: #a6a6a6;
  --muted-strong: #d7d7d7;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --radius: 14px;
  --portfolio-gap: 12px;
  --portfolio-nudge: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.1), transparent 18rem);
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 14px;
  font-weight: 850;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
main:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(1240px, calc(100% - clamp(24px, 8vw, 80px)));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: translateX(-50%);
}

.brand,
.hero-actions,
.lang-switcher,
.header-socials,
.contact-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: center;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.lang-switcher button,
.header-socials a,
.contact-links a,
.site-footer a {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.lang-switcher button:hover,
.contact-links a:hover,
.site-footer a:hover {
  color: var(--white);
}

.lang-switcher {
  justify-self: start;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-switcher button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.lang-switcher button.active {
  color: var(--black);
  background: var(--white);
}

.header-socials {
  justify-self: end;
  gap: 10px;
}

.header-socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
}

.header-socials a:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-socials a:nth-child(2) svg,
.header-socials a:nth-child(3) svg,
.header-socials a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

.header-socials a:nth-child(4) svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 124px clamp(18px, 5vw, 48px) 44px;
}

.hero-content {
  max-width: 850px;
}

.hero-identity {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 320px;
  opacity: 0.96;
}

.hero-identity img {
  width: min(100%, 250px);
  filter: drop-shadow(0 0 36px rgba(255, 255, 255, 0.14));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5.7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted-strong);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.68;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--white);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--black);
  background: var(--white);
}

.button.ghost {
  color: var(--white);
  border-color: var(--line-strong);
  background: transparent;
}

.button.ghost:hover {
  border-color: var(--white);
}

.hero-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-panel div,
.result-list div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-panel strong,
.result-list strong {
  display: block;
  margin-bottom: 7px;
  font-size: 26px;
  line-height: 1;
}

.hero-panel span,
.result-list span {
  color: var(--muted);
  font-size: 14px;
}

section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px clamp(18px, 5vw, 48px);
}

.section-band {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.showreel-copy h2,
.result-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro-text p,
.showreel-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.64;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-card {
  min-height: 230px;
  padding: 18px;
  background: var(--panel);
}

.service-card span,
.timeline span,
.work-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-card h3 {
  margin: 44px 0 12px;
  font-size: 20px;
  line-height: 1.06;
}

.service-card p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.56;
}

.showreel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: center;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.showreel-copy {
  max-width: 460px;
  justify-self: end;
}

.showreel-frame {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.showreel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.04) 66%);
  pointer-events: none;
}

.showreel-frame img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.frame-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #060606;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-info {
  display: grid;
  gap: 7px;
  min-height: 124px;
  padding: 14px;
}

.team-info h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.05;
}

.team-info span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.work-grid {
  direction: ltr;
  overflow: hidden;
}

.portfolio-controls {
  display: flex;
  justify-content: flex-end;
  max-width: 1280px;
  margin: 0 auto 12px;
  padding: 0 clamp(18px, 5vw, 48px);
}

.motion-toggle {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.motion-toggle:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.works {
  direction: ltr;
  max-width: 100%;
  overflow: hidden;
}

.work-track {
  direction: ltr;
  display: flex;
  gap: var(--portfolio-gap);
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.work-sequence {
  display: flex;
  flex: 0 0 auto;
  gap: var(--portfolio-gap);
  padding-right: var(--portfolio-gap);
}

.work-card {
  position: relative;
  flex: 0 0 clamp(220px, 23vw, 340px);
  aspect-ratio: 9 / 16;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.work-card.large {
  flex-basis: clamp(220px, 23vw, 340px);
}

.work-card.wide {
  flex-basis: clamp(220px, 23vw, 340px);
}

.portrait-card {
  flex-basis: clamp(220px, 23vw, 340px);
  aspect-ratio: 9 / 16;
}

.photo-card {
  flex-basis: clamp(250px, 28vw, 390px);
  aspect-ratio: 4 / 5;
}

.photo-card.landscape {
  flex-basis: clamp(360px, 48vw, 720px);
  aspect-ratio: 16 / 9;
}

.work-card img {
  width: 100%;
  height: 100%;
  opacity: 0.96;
  transition: transform 600ms ease, opacity 600ms ease;
}

.work-card img {
  object-fit: cover;
}

.work-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.work-card div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
}

.work-card h3 {
  max-width: 420px;
  margin: 8px 0 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.08;
}

.clients {
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%);
}

.client-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.client-logo {
  position: relative;
  display: grid;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f0f0ed 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.client-logo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  pointer-events: none;
}

.client-logo img {
  width: min(100%, 205px);
  height: 152px;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.04);
  transition: transform 220ms ease, filter 220ms ease;
}

.client-logo:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: translateY(-4px) scale(1.04);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

.timeline li {
  min-height: 190px;
  padding: 18px;
  background: var(--panel);
}

.timeline h3 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.results {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: end;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 36px;
  overflow: hidden;
}

.contact-links {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.contact-links a[href^="mailto"] {
  max-width: min(100%, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .hero,
html[dir="rtl"] .intro,
html[dir="rtl"] .showreel,
html[dir="rtl"] .results,
html[dir="rtl"] .contact,
html[dir="rtl"] .section-heading {
  direction: rtl;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .lang-switcher,
html[dir="rtl"] .header-socials,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .site-footer {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact-links {
  direction: ltr;
  justify-content: flex-end;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--white);
  background: var(--black);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--white);
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px clamp(18px, 5vw, 48px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}

.hero-panel strong,
.result-list strong {
  unicode-bidi: isolate;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand span:first-child {
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.footer-brand span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.legal-notice {
  grid-column: 1 / -1;
  max-width: 980px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.legal-notice strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.legal-notice p {
  margin: 0;
}

.footer-legal-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.footer-legal-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
}

.legal-page {
  width: min(940px, calc(100% - 28px));
  margin: 0 auto;
  padding: 116px 0 64px;
  color: var(--muted-strong);
}

.legal-header {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal-header a {
  width: fit-content;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.04;
}

.legal-header p,
.legal-section p,
.legal-section li {
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.8;
}

.legal-content {
  display: grid;
  gap: 24px;
}

.legal-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.16;
}

.legal-section ul {
  margin: 0;
  padding-inline-start: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 1080px) {
  .hero,
  .intro,
  .showreel,
  .results,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-identity {
    min-height: 210px;
    order: -1;
  }

  .hero-identity img {
    width: min(42vw, 190px);
  }

  .showreel-copy {
    justify-self: start;
    max-width: 720px;
  }

  .service-grid,
  .client-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card {
    flex-basis: clamp(220px, 26vw, 340px);
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: auto 1fr;
    justify-items: center;
    top: 16px;
    width: calc(100% - 24px);
    gap: 12px;
  }

  .brand {
    grid-column: 1 / -1;
    order: -1;
    justify-self: center;
    font-size: clamp(27px, 8vw, 36px);
  }

  .lang-switcher {
    justify-self: start;
  }

  .header-socials {
    justify-self: end;
    gap: 8px;
  }

  .header-socials a {
    width: 38px;
    height: 38px;
  }

  .header-socials svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    min-height: auto;
    gap: 18px;
    padding-top: 142px;
    padding-bottom: 34px;
  }

  .hero-identity {
    min-height: 140px;
  }

  .hero-identity img {
    width: min(42vw, 150px);
  }

  h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.98;
  }

  h2,
  .section-heading h2,
  .showreel-copy h2,
  .result-copy h2,
  .contact-copy h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .hero-copy,
  .intro-text p,
  .showreel-copy p,
  .contact-copy p {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-panel {
    gap: 0;
    border-radius: 10px;
  }

  .hero-panel div,
  .result-list div {
    padding: 14px;
  }

  .hero-panel strong,
  .result-list strong {
    font-size: 23px;
  }

  .hero-panel span,
  .result-list span {
    font-size: 12px;
  }

  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading,
  .hero-panel,
  .result-list,
  .service-grid,
  .timeline,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-track {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 0 14px 12px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    transform: translate3d(0, 0, 0);
    will-change: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    scrollbar-width: none;
  }

  .portfolio-controls {
    padding-right: 14px;
    padding-left: 14px;
  }

  .works {
    max-width: 100%;
    overflow: hidden;
  }

  .work-track::-webkit-scrollbar {
    display: none;
  }

  .work-card.large,
  .work-card.wide,
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(5),
  .work-card:nth-child(6),
  .work-card:nth-child(n + 7) {
    display: block;
    flex: 0 0 clamp(220px, 36vw, 310px);
    grid-column: auto;
    grid-row: auto;
  }

  .photo-card {
    flex-basis: clamp(230px, 42vw, 340px);
  }

  .photo-card.landscape {
    flex-basis: clamp(320px, 66vw, 560px);
  }

  .work-card {
    height: auto;
    aspect-ratio: 9 / 16;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
    scroll-snap-align: start;
  }

  .work-card:nth-child(3n + 1) {
    flex-basis: clamp(220px, 36vw, 310px);
  }

  .work-card.portrait-card,
  .work-card.portrait-card:nth-child(3n + 1) {
    flex: 0 0 clamp(220px, 36vw, 310px);
  }

  .photo-card:nth-child(3n + 1) {
    flex-basis: clamp(230px, 42vw, 340px);
  }

  .photo-card.landscape:nth-child(3n + 1) {
    flex-basis: clamp(320px, 66vw, 560px);
  }

  .service-card,
  .client-logo,
  .timeline li {
    min-height: auto;
    padding: 18px;
  }

  .client-logo {
    min-height: 196px;
  }

  .client-logo img {
    width: min(100%, 180px);
    height: 132px;
  }

  .service-card h3,
  .timeline h3 {
    margin-top: 28px;
  }

  .showreel {
    gap: 22px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-info {
    min-height: 116px;
    padding: 12px;
  }

  .team-info h3 {
    font-size: 18px;
  }

  .team-info p {
    font-size: 13px;
  }

  .contact {
    gap: 24px;
    overflow: visible;
  }

  .contact-links {
    gap: 8px;
    font-size: 13px;
  }

  .contact-form {
    max-width: 100%;
    padding: 16px;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding-top: 96px;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 18px);
    gap: 10px;
  }

  .lang-switcher button {
    min-width: 31px;
    height: 28px;
    font-size: 11px;
  }

  .header-socials {
    gap: 6px;
  }

  .header-socials a {
    width: 34px;
    height: 34px;
  }

  .header-socials svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
    padding-top: 136px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .work-grid {
    --portfolio-gap: 9px;
  }

  .portfolio-controls {
    justify-content: stretch;
  }

  .motion-toggle {
    width: 100%;
  }

  .work-track {
    padding-right: 14px;
    padding-left: 14px;
    transform: translate3d(0, 0, 0);
  }

  .work-card {
    flex-basis: min(62vw, 250px);
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 7px;
  }

  .work-card:nth-child(3n + 1) {
    flex-basis: min(62vw, 250px);
  }

  .work-card.portrait-card,
  .work-card.portrait-card:nth-child(3n + 1) {
    flex: 0 0 min(62vw, 250px);
  }

  .photo-card,
  .photo-card:nth-child(3n + 1) {
    flex-basis: min(64vw, 260px);
    aspect-ratio: 4 / 5;
  }

  .photo-card.landscape,
  .photo-card.landscape:nth-child(3n + 1) {
    flex-basis: min(74vw, 360px);
    aspect-ratio: 16 / 9;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    min-height: 168px;
  }

  .team-card {
    display: grid;
    grid-template-columns: minmax(126px, 42%) 1fr;
    align-items: stretch;
  }

  .team-card img {
    height: 100%;
    min-height: 174px;
  }

  .team-info {
    min-height: 0;
  }

  .contact-form {
    padding: 14px;
  }

  .site-footer {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (hover: none) {
  .work-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
