/* =========================================================
   Veritage AI Creative Studio
   ========================================================= */

:root {
  --ink:        #070B16;
  --ink-soft:   #0B1223;
  --ink-lift:   #101B33;
  --paper:      #F1F4FC;
  --muted:      #9DA9C2;
  --dim:        #7E8CA8;
  --accent:     #6B8CFF;
  --accent-soft:#94ABFF;
  --lilac:      #7695EC;
  --line:       rgba(241, 244, 252, 0.12);
  --line-soft:  rgba(241, 244, 252, 0.07);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--accent-soft);
}

p { margin: 0; }

::selection {
  background: var(--accent);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 4px;
}
.skip:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Type atoms ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #315BDD, #193AA8);
  color: var(--paper);
  border: 1px solid #5074E1;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: linear-gradient(135deg, #416DEC, #244ACB);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn span { transition: transform 0.35s var(--ease); }
.btn:hover span { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--paper);
  border-color: rgba(241, 244, 252, 0.4);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.wordmark__image {
  position: relative;
  display: block;
  width: clamp(144px, 18vw, 180px);
  aspect-ratio: 180 / 56;
  overflow: visible;
}
.wordmark__image img {
  position: absolute;
  width: 110%;
  max-width: none;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  color: var(--muted);
}
.nav__links a { position: relative; padding: 4px 0; transition: color 0.3s var(--ease); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { padding: 11px 20px; font-size: 12.5px; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--paper);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(2.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateX(-50%) translateY(-2.5px) rotate(-45deg); }

.mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--pad) 24px;
  background: rgba(7, 11, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile a {
  padding: 14px 0;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.mobile a:last-child {
  color: var(--accent);
  border-bottom: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 190px);
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

.hero__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background:
    radial-gradient(circle at 30% 30%, rgba(35, 72, 212, 0.22), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(58, 100, 230, 0.16), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 5%, 0) scale(1.08); }
}

.hero .wrap { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.85rem, 8.2vw, 6.6rem);
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 15ch;
  letter-spacing: -0.03em;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 60px);
  margin-top: clamp(34px, 5vw, 62px);
  padding-bottom: clamp(48px, 7vw, 84px);
  border-bottom: 1px solid var(--line-soft);
}

.hero__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.09rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.marquee__track i {
  font-style: normal;
  color: var(--accent);
  font-size: 9px;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(70px, 11vh, 130px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.section--alt {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(58, 100, 230, 0.05), transparent 55%),
    var(--ink-soft);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
}

#capabilities .section__head,
#process .section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 32px;
  container-type: inline-size;
}

#capabilities .section__title,
#process .section__title {
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}
#capabilities .section__title { font-size: 12.8cqw; }
#process .section__title { font-size: 10.8cqw; }

@media (max-width: 860px) {
  #capabilities .section__head,
  #process .section__head { grid-template-columns: minmax(0, 1fr); }
  #capabilities .section__title { font-size: 20.8cqw; }
  #process .section__title { font-size: 17.6cqw; }
}

.section__note {
  max-width: 34ch;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
}

/* ---------- Work grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 40px);
}

.card { position: relative; }

.card__body { padding: 18px 2px 0; }

.card__body h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}

.card__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 44ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.tags li {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 11px;
}

/* ---------- Capabilities ---------- */

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.cap {
  padding: clamp(26px, 3.4vw, 42px) clamp(0px, 3vw, 44px) clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.cap:nth-child(odd) { padding-right: clamp(20px, 4vw, 56px); }
.cap:nth-child(even) {
  padding-left: clamp(20px, 4vw, 56px);
  border-left: 1px solid var(--line-soft);
}

.cap__num {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}

.cap h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  margin-bottom: 12px;
}

.cap p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 42ch;
}

/* ---------- Process ---------- */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  counter-reset: steps;
}

.process li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  position: relative;
}
.process li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.9s var(--ease);
}
.process li:hover::before { width: 100%; }

.process__num {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  display: block;
  margin-bottom: 16px;
}

.process h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  margin-bottom: 10px;
}

.process p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- Studio ---------- */

.studio {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(30px, 5.5vw, 80px);
  align-items: start;
}

.studio__figure { margin: 0; align-self: center; }

.studio__portraits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  padding-block: 24px;
}

.studio__person { min-width: 0; }

.studio__name {
  margin-top: 14px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-align: center;
}

.studio__role {
  margin-top: 7px;
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: center;
}

.studio__note {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

.studio__portrait {
  min-width: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #5074E1;
  box-shadow: 0 0 0 3px rgba(35, 72, 212, 0.12),
              0 8px 24px rgba(7, 11, 22, 0.35);
}

.studio__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.studio__portrait--first img {
  transform: scale(1.3);
  transform-origin: 52% 60%;
}

.studio__portrait--third img {
  object-position: 80% center;
  transform: translateX(-3%) scale(1.12);
  transform-origin: center 25%;
}

.studio__team-title {
  font-family: var(--serif);
  font-size: clamp(49.7664px, 6.2208vw, 74.6496px);
  position: relative;
  top: -16px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.21;
  text-align: center;
  color: var(--paper);
}
.studio__team-title em { color: var(--accent-soft); }

.studio__location {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}

.studio__title {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-top: 20px;
  max-width: 14ch;
}

.studio__copy {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.72;
  max-width: 52ch;
}
.studio__copy + .studio__copy { margin-top: 18px; }

.facts {
  margin: clamp(30px, 4vw, 46px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.facts > div:nth-child(even) { padding-left: 20px; }
.facts dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--paper);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  padding: clamp(80px, 13vh, 150px) 0 clamp(70px, 10vh, 120px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(35, 72, 212, 0.14), transparent 62%),
    var(--ink);
}

.contact .wrap { position: relative; z-index: 1; }

.contact__title {
  font-size: clamp(2.3rem, 6.6vw, 5rem);
  letter-spacing: -0.03em;
  margin: 20px 0 22px;
  max-width: 18ch;
}

.contact__lede {
  color: var(--muted);
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}

.contact__trigger, .footer__trigger {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.contact-links {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 48px 28px 28px;
  color: var(--paper);
  background: linear-gradient(145deg, #101F40, #080E20);
  border: 1px solid #5074E1;
  border-radius: 16px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}
.contact-links::backdrop { background: rgba(3, 7, 18, 0.8); backdrop-filter: blur(8px); }
.contact-links h2 { margin-top: 16px; font-size: 42px; }
.contact-links__intro { margin: 16px 0 24px; color: var(--muted); font-size: 14px; }
.contact-links__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-size: 28px;
  cursor: pointer;
}
.contact-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  margin-top: 12px;
  border: 1px solid rgba(107, 140, 255, 0.4);
  border-radius: 8px;
  background: rgba(35, 72, 212, 0.12);
}
.contact-links__item:hover { background: rgba(35, 72, 212, 0.3); border-color: var(--accent); }
.contact-links__item strong { display: block; font-weight: 500; }
.contact-links__item small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.contact__mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
  color: var(--paper);
  margin-top: clamp(28px, 4vw, 42px);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact__mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(38px, 6vw, 64px);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact__meta span[aria-hidden] { color: var(--accent); font-size: 8px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 26px 0;
  font-size: 12px;
  color: var(--dim);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}

.footer nav {
  display: flex;
  gap: 22px;
}
.footer nav a { transition: color 0.3s var(--ease); }
.footer nav a:hover { color: var(--paper); }

.footer__note { color: #55545E; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px 26px; }
  .studio { grid-template-columns: 1fr; }
  .studio__title { max-width: 20ch; }
  .studio__figure { width: 100%; max-width: 720px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .mobile[hidden] { display: none; }
  .mobile { display: flex; }
  .nav.is-open { background: rgba(7, 11, 22, 0.96); }

  .hero__foot { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .cap,
  .cap:nth-child(odd),
  .cap:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }
  .section__head { flex-direction: column; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(even) { padding-left: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__note { display: none; }
}

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

/* ---------- Film cards (real work) ---------- */

.grid--films {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.card__film {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  background: #090F1D;
  isolation: isolate;
}

.card__film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.02);
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
}

.card:hover .card__film video {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.03);
}

.card__film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
}

.card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 11, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
}

.grid--films .card__body { padding-top: 16px; }

.card__kicker {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}

.grid--films .card__body h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.18;
  margin-bottom: 10px;
}

.grid--films .card__body h3 em {
  display: block;
  font-size: 0.86em;
  margin-top: 2px;
}

.grid--films .card__body p {
  font-size: 12.8px;
  line-height: 1.65;
}

.grid--films .tags li { font-size: 9.5px; padding: 4px 9px; }

@media (max-width: 1080px) {
  .grid--films { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 620px) {
  .grid--films { grid-template-columns: 1fr; gap: 34px; }
  .grid--films .card__body p { font-size: 13.5px; }
}
