:root {
  --bg: #f2f2ee;
  --fg: #090909;
  --muted: #707070;
  --line: #111;
  --pad: clamp(18px, 2.4vw, 40px);
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 48px;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { padding-top: 48px; }
.content-axis {
  position: relative;
  isolation: isolate;
}
.content-axis::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #b9b9b3;
  filter: blur(3px);
  opacity: .35;
  pointer-events: none;
}
body.is-menu-open, body.is-modal-open { overflow: hidden; }
body.is-modal-open {
  position: fixed;
  width: 100%;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 50;
  height: 48px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(242,242,238,.94);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.brand { letter-spacing: -.02em; }
.desktop-nav { display: flex; gap: 28px; justify-self: center; }
.desktop-nav a, .top-cta { transition: opacity .2s ease; }
.desktop-nav a {
  position: relative;
  padding-block: 18px;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.desktop-nav a:hover, .top-cta:hover { opacity: .48; }
.top-cta { justify-self: end; }
.menu-btn, .mobile-nav { display: none; }

.hero {
  padding: clamp(44px, 6vw, 104px) var(--pad) clamp(44px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 28px);
  overflow: hidden;
}
.hero-meta, .micro, .per {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-meta { display: flex; justify-content: space-between; }
.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(72px, 13.2vw, 220px);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.hero h1.hero-video-word {
  position: relative;
  font-family: "Inter", "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(64px, 11.5vw, 196px);
  letter-spacing: .0034875em;
  width: 100%;
  max-width: none;
  isolation: isolate;
  cursor: default;
}
.hero-video-word__outline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  /* Keep the heading legible while the hero video is still loading. */
  color: #000;
  white-space: nowrap;
  -webkit-text-stroke: 0 transparent;
  transition: color .18s ease;
}
.hero-video-word__line { display: block; width: 100%; }
.hero-video-word__canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(.68) contrast(.9) brightness(.98);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s cubic-bezier(.22, 1, .36, 1), filter .65s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.hero-video-word.is-ready .hero-video-word__canvas { clip-path: inset(0 0 0 0); }
.hero-video-word.is-ready .hero-video-word__outline { color: transparent; }
.hero-video-word:hover .hero-video-word__canvas {
  filter: saturate(.78) contrast(1.08) brightness(.98);
}
.hero-video-word__source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-word__canvas { transition: none; }
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  gap: 40px;
  align-items: end;
}
.hero-copy {
  max-width: 950px;
  margin: 0;
  font-size: clamp(22px, 2.45vw, 40px);
  line-height: .98;
  letter-spacing: -.05em;
}
.hero-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.btn {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.btn.dark { background: var(--fg); color: #fff; }
.btn.line { background: transparent; }
.section-title {
  padding: 20px var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.section-title--center { text-align: center; }
.section-title h2 {
  margin: 0;
  font-size: clamp(31px, 4.333vw, 72px);
  line-height: .82;
  letter-spacing: -.075em;
  clip-path: none;
  transform: none;
}

/* Keep the section rhythm consistent with the space after the portfolio. */
#services { padding-bottom: 110px; }

.work {
  padding: 0 var(--pad) 110px;
}
.work-heading {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 20px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.work-heading::before,
.work-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100vw - var(--pad) - var(--pad));
  height: 1px;
  transform: translateX(-50%);
}
.work-heading::before { background: var(--line); }
.work-item::before { background: #b9b9b3; }
.work-heading p {
  width: min(430px, 42vw);
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}
.portfolio-grid {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.work-item {
  position: relative;
  min-height: 620px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
}
.work-item:first-child::before { display: none; }
.portfolio-grid.is-focus-mode .work-item {
  filter: grayscale(1) blur(3px);
  opacity: .28;
  transition: filter .55s ease, opacity .45s ease;
}
.portfolio-grid.is-focus-mode .work-item.is-focused {
  position: relative;
  z-index: 1;
  filter: none;
  opacity: 1;
}
.portfolio-grid.is-focus-mode .work-item:not(.is-focused) .media-card {
  pointer-events: none;
}
.portfolio-grid.is-focus-mode .work-item::before {
  filter: blur(3px);
  opacity: .35;
}
.work-item.is-focused .media-card {
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.work-item--portrait .media-card {
  width: min(100%, 470px);
  min-height: auto;
  justify-self: end;
  aspect-ratio: 9 / 16;
}
.work-item--landscape {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.work-item--landscape .media-card {
  width: min(100%, 720px);
  justify-self: end;
  aspect-ratio: 16 / 9;
}
.work-item--reverse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-item--reverse.work-item--landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-item--reverse .media-card { grid-column: 2; grid-row: 1; justify-self: start; }
.work-item--reverse .work-copy { grid-column: 1; grid-row: 1; text-align: right; }
.work-item--reverse .work-copy p { align-self: flex-end; }
.work-copy {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work-no {
  display: block;
  margin-bottom: clamp(34px, 7vh, 82px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.work-copy h2 {
  max-width: 100%;
  margin: 0 0 28px;
  font-size: clamp(50px, 5.5vw, 92px);
  line-height: .78;
  letter-spacing: -.075em;
}
.work-copy p {
  max-width: 430px;
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.media-card {
  position: relative;
  min-width: 0;
  min-height: 280px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #c9c9c4;
  cursor: pointer;
  border-radius: 0;
}
.media-card.landscape { aspect-ratio: 16 / 9; min-height: auto; }
.media-card video,
.media-card .media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
  border-radius: 0;
}
.media-card video { z-index: 0; }
.media-card .media-cover { z-index: 1; transition: opacity .25s ease, transform .55s ease; }
.media-card:hover .media-cover { transform: scale(1.025); }
.media-card.is-playing .media-cover { opacity: 0; }
.media-card > span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 4;
  padding: 4px 6px;
  background: rgba(242,242,238,.82);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.media-card::after,
.media-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  transition: opacity .2s ease;
}
.media-card::after {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(0,0,0,.32);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.media-card::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.media-card.is-playing::before,
.media-card.is-playing::after { opacity: 0; }
.media-card.is-loading::before {
  width: 28px;
  height: 28px;
  margin-left: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.services-list { border-bottom: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-item:last-child { border-bottom: 0; }
.service-trigger {
  width: 100%;
  padding: 24px var(--pad);
  display: grid;
  grid-template-columns: 1fr 4fr auto;
  gap: 20px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
}
.service-no, .service-sign { font-size: 10px; font-weight: 700; }
.service-sign { font-size: 24px; font-weight: 400; }
.service-trigger h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 68px);
  line-height: .9;
  letter-spacing: -.06em;
}
.service-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.service-content p {
  overflow: hidden;
  margin: 0 0 0 calc(20% + var(--pad));
  max-width: 900px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, padding .25s ease;
}
.service-item.is-open .service-content { grid-template-rows: 1fr; }
.service-item.is-open .service-content p {
  padding: 0 var(--pad) 28px 0;
  opacity: 1;
  transform: translateY(0);
}

.sochi {
  width: min(100%, 1440px);
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sochi-copy {
  padding: 28px var(--pad) 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}
.sochi-copy h2 {
  max-width: 980px;
  margin: 15vh 0 40px;
  font-size: clamp(31px, 4.333vw, 72px);
  line-height: .84;
  letter-spacing: -.075em;
}
.sochi-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.sochi-media { border-left: 0; aspect-ratio: auto !important; min-height: 680px !important; }

.pricing {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#packages {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
/* The packages use a short, local axis instead of the page-wide centre line. */
.packages-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 var(--pad);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
#packages .packages-title {
  padding: clamp(48px, 6vw, 104px) var(--pad) clamp(52px, 5vw, 88px);
  border-bottom: 0;
}
.pricing::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  bottom: 28px;
  left: 50%;
  width: 1px;
  background: #b9b9b3;
  filter: blur(3px);
  opacity: .35;
  pointer-events: none;
}
.card {
  position: relative;
  z-index: 1;
  grid-column: 1;
  width: min(calc(100% - var(--pad)), 470px);
  min-height: 580px;
  padding: 22px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-self: end;
  text-align: right;
  transition: filter .55s ease, opacity .45s ease, background-color .2s ease, box-shadow .35s ease;
}
.card:nth-child(1) { grid-row: 1; }
.card:nth-child(2) { grid-row: 2; }
.card:nth-child(3) { grid-row: 3; }
.card:nth-child(even) { grid-column: 2; justify-self: start; }
.card:last-child { border-bottom: 0; }
.card:hover { background: #e7e7e1; }
.pricing.is-focus-mode .card {
  filter: grayscale(1) blur(3px);
  opacity: .28;
}
.pricing.is-focus-mode .card.is-focused {
  z-index: 1;
  filter: none;
  opacity: 1;
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}
.card-head { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.card h3 { margin: 78px 0 12px; font-size: clamp(28px, 2.8vw, 46px); letter-spacing: -.055em; }
.price { font-size: clamp(50px, 5.2vw, 86px); line-height: .9; letter-spacing: -.07em; font-weight: 700; }
.per { margin-top: 8px; color: var(--muted); }
.total { margin: 12px 0 0; font-size: 13px; line-height: 1.25; }
.package-description { margin: 22px 0 0 auto; max-width: 360px; font-size: 15px; line-height: 1.28; }
.saving { margin: 22px 0 0; font-size: clamp(22px, 2vw, 34px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.card ul { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.card li { padding: 11px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid currentColor; font-size: 12px; }
.card b { font-size: 11px; }

.end { position: relative; z-index: 1; }
.end::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #fff;
  filter: blur(3px);
  opacity: .35;
  pointer-events: none;
}
.custom-quote { padding: 0 var(--pad); background: var(--bg); color: var(--fg); }
.custom-quote-topline { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.custom-quote-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(44px, 6vw, 104px) 0; border-bottom: 1px solid var(--line); }
.custom-quote h2 { align-self: center; margin: 0; padding-right: clamp(20px, 3.2vw, 56px); text-align: right; font-size: clamp(52px, 7.8vw, 132px); line-height: .8; letter-spacing: -.09em; }
.custom-quote-copy { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 64px); padding-left: clamp(20px, 3.2vw, 56px); }
.custom-quote-copy p { max-width: 580px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 22px); line-height: 1.2; letter-spacing: -.045em; }
.custom-quote-copy .custom-quote-emphasis { color: var(--fg); font-weight: 700; }
.custom-quote-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(34px, 4vw, 64px) 0 clamp(28px, 3vw, 48px); }
.custom-quote-action { align-self: start; margin: 0; padding-right: clamp(24px, 4vw, 72px); font-size: clamp(32px, 4.1vw, 68px); font-weight: 700; line-height: .9; letter-spacing: -.07em; white-space: nowrap; }
.custom-quote-action span { display: inline-block; margin-left: .15em; }
.custom-quote-messengers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-left: clamp(24px, 4vw, 72px); }
.messenger-link { min-height: 108px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px; background: var(--fg); color: #fff; font-size: clamp(17px, 1.6vw, 26px); font-weight: 700; letter-spacing: -.045em; transition: background-color .2s ease, color .2s ease; }
.messenger-link:hover { background: transparent; color: var(--fg); outline: 1px solid var(--fg); }
.messenger-link svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.messenger-link[href*="t.me"] svg { fill: currentColor; stroke: none; }
.custom-quote-messengers p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: clamp(14px, 1.25vw, 20px); line-height: 1.2; letter-spacing: -.025em; }

.end {
  min-height: 86vh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--fg);
  color: #fff;
}
.end h2 {
  margin: 10vh 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(54px, 6.6vw, 120px);
  line-height: .78;
  letter-spacing: -.075em;
}
.end h2 span { grid-column: 1; display: block; white-space: nowrap; text-align: right; }
.end h2 span:nth-child(1) { grid-row: 1; }
.end h2 span:nth-child(2) { grid-column: 2; grid-row: 2; }
.end h2 span:nth-child(3) { grid-row: 3; }
.end-bottom { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.end-bottom p { max-width: 620px; margin: 0; font-size: clamp(18px, 1.8vw, 30px); line-height: 1; letter-spacing: -.035em; }
.end-actions { flex: 1; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 11px; font-weight: 700; }
.end-actions a { padding: 12px 18px 9px; border-bottom: 1px solid currentColor; font-size: clamp(24px, 3vw, 48px); line-height: .9; letter-spacing: -.06em; }

.site-footer {
  padding: 14px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--fg);
  color: #fff;
  border-top: 1px solid #3a3a3a;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.site-footer > :nth-child(2) { text-align: center; }
.site-footer > :last-child { justify-self: end; }

body[data-page="contacts"] {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.contacts-page {
  flex: 1;
  padding-top: 48px;
}
body[data-page="contacts"] .site-footer { margin-top: auto; }
.contacts-hero {
  padding: clamp(34px, 4vw, 64px) var(--pad) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(44px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}
.contacts-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.contacts-messenger-panel {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-details { padding: 0 var(--pad); }
.contact-row {
  min-height: clamp(112px, 12vw, 184px);
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 2fr) auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.contact-row__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-row strong {
  font-size: clamp(30px, 5.2vw, 88px);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.07em;
}
.contact-row > :last-child { font-size: clamp(24px, 3vw, 52px); font-weight: 400; }
a.contact-row { transition: opacity .2s ease; }
a.contact-row:hover { opacity: .5; }

.contact-brief { padding: clamp(80px, 10vw, 160px) var(--pad); }
.contact-brief__content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: end;
  margin-top: clamp(44px, 7vw, 110px);
}
.contact-brief h2 {
  margin: 0;
  font-size: clamp(58px, 9vw, 154px);
  line-height: .76;
  letter-spacing: -.085em;
}
.contact-brief ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-brief li {
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.contact-brief li span { font-size: 10px; font-weight: 700; }
.contact-brief li p { margin: 0; font-size: clamp(16px, 1.35vw, 22px); line-height: 1.15; letter-spacing: -.03em; }

.contact-final {
  min-height: 76vh;
  min-height: 76svh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--fg);
  color: #fff;
}
.contact-final h2 {
  margin: auto 0;
  font-size: clamp(72px, 12vw, 200px);
  line-height: .75;
  letter-spacing: -.085em;
}
.contact-final > a {
  align-self: flex-end;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(28px, 4vw, 68px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.065em;
}

.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 47px;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.motion-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--stagger, 0ms);
}
.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.headline-reveal {
  clip-path: inset(0 100% 0 0);
  transform: translateY(.12em);
  transition:
    clip-path 1s cubic-bezier(.16, 1, .3, 1),
    transform 1s cubic-bezier(.16, 1, .3, 1);
}
.headline-reveal.is-visible {
  clip-path: inset(0);
  transform: translateY(0);
}

.magnetic-target {
  will-change: transform;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fg);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55);
  transition:
    opacity .18s ease,
    transform .38s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
  will-change: left, top, transform;
}
.site-cursor span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-cursor.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.is-modal-open .site-cursor { opacity: 0; }
.has-enhanced-pointer .cursor-zone { cursor: none; }
.has-enhanced-pointer .media-card::before,
.has-enhanced-pointer .media-card::after { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(12px);
}
.modal-backdrop.is-open { display: grid; }
.modal-dialog {
  position: relative;
  width: min(92vw, calc(90vh * 9 / 16));
  max-height: 90vh;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
}
.modal-dialog.is-landscape { width: min(92vw, calc(82vh * 16 / 9)); aspect-ratio: 16 / 9; }
.modal-dialog video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.modal-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease; }
.modal-dialog.is-playing .modal-cover { opacity: 0; }
.modal-spinner { position: absolute; left: 50%; top: 50%; z-index: 2; width: 32px; height: 32px; transform: translate(-50%,-50%); border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; opacity: 0; }
.modal-dialog.is-loading .modal-spinner { opacity: 1; }
.modal-close { position: absolute; right: 12px; top: 12px; z-index: 3; min-height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; }

@media (min-width: 981px) {
  .media-card.landscape video,
  .media-card.landscape .media-cover,
  .modal-dialog.is-landscape video,
  .modal-dialog.is-landscape .modal-cover { object-position: center center; }

  .media-card.landscape::before,
  .media-card.landscape::after {
    left: 50%;
    top: 50%;
  }

}

@media (max-width: 980px) {
  .content-axis::before, .end::after { display: none; }
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .desktop-nav, .top-cta { display: none; }
  .menu-btn {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 7px 0;
    align-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }
  .menu-btn span { display: block; width: 24px; height: 1px; background: var(--fg); transition: transform .2s ease; }
  .menu-btn.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-btn.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    inset: 48px 0 0;
    height: auto;
    min-height: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    column-gap: 24px;
    padding: clamp(20px, 5vw, 32px) var(--pad) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--fg);
    color: #fff;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav::before {
    content: "";
    flex: 1 1 auto;
    min-height: 0;
  }
  .mobile-nav a {
    min-width: 0;
    flex: 0 0 auto;
    padding: 9px 0;
    border-bottom: 1px solid #444;
    overflow-wrap: anywhere;
    font-size: clamp(32px, 9.2vw, 50px);
    line-height: .95;
    letter-spacing: -.06em;
  }
  .hero-bottom, .sochi { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-title { grid-template-columns: 1fr; }
  .sochi-copy { border-bottom: 0; }
  .sochi-media { min-height: 480px !important; }
  .pricing { grid-template-columns: 1fr; }
  .pricing::before { display: none; }
  .card, .card:nth-child(even) { grid-column: 1; grid-row: auto; width: 100%; justify-self: stretch; min-height: auto; }
  .custom-quote-main, .custom-quote-contact { grid-template-columns: 1fr; }
  .custom-quote h2 { padding: 0 0 40px; }
  .custom-quote-copy, .custom-quote-messengers { padding-left: 0; }
  .custom-quote-contact { gap: 34px; }
  .card { min-height: 540px; }
  .service-trigger { grid-template-columns: auto 1fr auto; }
  .service-content p { margin-left: 64px; }
  .work-item,
  .work-item--landscape,
  .work-item--reverse,
  .work-item--reverse.work-item--landscape {
    min-height: 540px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .work-item--reverse .media-card { grid-column: 2; }
  .work-item--reverse .work-copy { grid-column: 1; }
  .work-copy h2 { font-size: clamp(44px, 7vw, 72px); }
  .contact-brief__content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }
  .hero { padding-block: 34px; gap: 20px; }
  .hero-bottom { gap: 20px; }
  .hero h1 { font-size: clamp(46px, 15.6vw, 90px); }
  .hero-copy { font-size: 22px; }
  .contacts-hero { padding-block: 26px 34px; gap: 44px; }
  .contacts-kicker { align-items: flex-start; }
  .contacts-kicker > :last-child { max-width: 110px; text-align: right; }
  .contact-row { min-height: 126px; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; }
  .contact-row strong { font-size: clamp(25px, 8vw, 40px); line-height: .92; overflow-wrap: anywhere; }
  .contact-brief { padding-block: 74px; }
  .contact-brief__content { gap: 52px; margin-top: 38px; }
  .contact-brief h2 { font-size: clamp(50px, 15vw, 82px); }
  .contact-brief li { min-height: 78px; }
  .contact-final { min-height: 68svh; }
  .contact-final h2 { font-size: clamp(61px, 18vw, 96px); }
  .site-footer { grid-template-columns: 1fr auto; gap: 10px 18px; }
  .site-footer > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: left; color: #9a9a9a; }
  .work { padding-bottom: 58px; }
  #services { padding-bottom: 58px; }
  .sochi { margin: 0 auto 58px; }
  .work-heading { padding-bottom: 34px; }
  .work-heading p { width: min(62vw, 270px); font-size: 13px; }
  .work-item,
  .work-item--landscape,
  .work-item--reverse,
  .work-item--reverse.work-item--landscape {
    min-height: 0;
    padding: 16px 0 30px;
    grid-template-columns: 1fr;
    column-gap: 16px;
    row-gap: 20px;
  }
  .work-item--portrait {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .work-item--portrait .media-card { width: 100%; aspect-ratio: 9 / 16; }
  .work-item--portrait .work-copy { min-width: 0; padding: 8px 0 4px; }
  .work-item--portrait .work-copy h2 { font-size: clamp(24px, 7vw, 36px); }
  .work-item--landscape::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    z-index: 0;
    width: 1px;
    background: var(--bg);
  }
  .work-item--landscape > * { position: relative; z-index: 1; }
  .work-item--landscape .media-card,
  .work-item--reverse .media-card { grid-column: 1; grid-row: 1; }
  .work-item--landscape .work-copy,
  .work-item--reverse .work-copy { grid-column: 1; grid-row: 2; }
  .work-item--portrait.work-item--reverse .media-card { grid-column: 2; grid-row: 1; }
  .work-item--portrait.work-item--reverse .work-copy { grid-column: 1; grid-row: 1; }
  .work-item--landscape .work-copy {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    align-items: start;
  }
  .work-item--landscape .work-no { grid-column: 1; }
  .work-item--landscape h2 { grid-column: 1; }
  .work-item--landscape p { grid-column: 2; grid-row: 2; }
  .work-no { margin-bottom: 28px; font-size: 9px; }
  .work-copy h2 { margin-bottom: 18px; font-size: clamp(35px, 10.5vw, 52px); line-height: .8; }
  .work-copy p { font-size: clamp(14px, 3.2vw, 16px); line-height: 1.08; }
  .media-card { min-height: 0; }
  .media-card.landscape { aspect-ratio: 16 / 9; }
  .service-trigger { padding-block: 18px; }
  .service-trigger h3 { font-size: clamp(28px, 10vw, 46px); }
  .service-content p { margin-left: 48px; }
  .sochi-copy h2 { margin-top: 10vh; font-size: clamp(29px, 8.667vw, 52px); }
  .sochi-media { min-height: 380px !important; }
  .card { min-height: 510px; }
  .custom-quote-topline { align-items: flex-start; }
  .packages-topline { align-items: flex-start; }
  .packages-topline .micro:last-child { text-align: right; }
  #packages .packages-title { padding-block: 48px 52px; }
  .custom-quote-topline .micro:last-child { text-align: right; }
  .custom-quote-main { padding-block: 40px; }
  .custom-quote h2 { padding-bottom: 32px; font-size: clamp(48px, 14.2vw, 76px); }
  .custom-quote-copy { gap: 28px; }
  .custom-quote-copy p { font-size: 20px; }
  .custom-quote-contact { gap: 30px; padding-block: 32px; }
  .custom-quote-action { font-size: clamp(30px, 10vw, 48px); white-space: normal; }
  .custom-quote-messengers { grid-template-columns: 1fr; gap: 10px; }
  .messenger-link {
    min-height: 62px;
    display: grid;
    grid-template-columns: 34px 170px;
    justify-content: center;
    column-gap: 16px;
    font-size: 18px;
  }
  .messenger-link span { text-align: left; }
  .messenger-link svg { width: 26px; height: 26px; }
  .custom-quote-messengers p { margin-top: 12px; font-size: 14px; }
  .end { min-height: 72vh; }
  .end h2 {
    width: 100%;
    display: block;
    font-size: clamp(32px, 10.5vw, 52px);
    line-height: .9;
    word-spacing: .06em;
  }
  .end h2 span { text-align: left; }
  .end-bottom { flex-direction: column; align-items: stretch; }
  .end-actions { width: 100%; }
  footer { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .motion-item, .headline-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .portfolio-grid.is-focus-mode .work-item,
  .pricing.is-focus-mode .card { filter: none; opacity: 1; transform: none; }
  .site-cursor { display: none !important; }
  .hero-video-word__canvas { filter: saturate(.65) contrast(.94) brightness(.98); }
}
