@font-face {
  font-family: "Zalando Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/zalando-sans.woff2") format("woff2");
}

/* ==========================================================================
   Volta Studio (demo company) — homepage
   Palette: chartreuse + ink, with violet / cobalt / mint accents
   ========================================================================== */
:root {
  --bg: #d4f542;
  /* Page background: lime on the hero, soft grey from the services on,
     pale lime at the contact area (changed by main.js while scrolling) */
  --page-bg: #d4f542;
  --bg-mid: #e9e8e3;
  --bg-end: #e6ff7a;
  --ink: #111410;
  --ink-soft: #3d4237;
  --cream: #f6f4ea;
  --violet: #5b3cff;
  --cobalt: #1f3bff;
  --mint: #9ff5d2;
  --rose: #ff7ab8;
  --line: rgba(17, 20, 16, 0.85);
  --tag: #00000017;
  --pad: 60px;
  --max: 1700px;
  --radius: 10px;
  --ease: cubic-bezier(0.3, 1, 0.3, 1);
  --font: "Zalando Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.25px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 10px; top: 10px; z-index: 999; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 4px; }

.eyebrow { font-size: 12.1875px; font-weight: 500; letter-spacing: 0.02em; line-height: 16px; text-transform: uppercase; }

/* Underlined link with animated line */
.text-link { position: relative; display: inline-block; }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease);
}
.text-link:hover::after { transform: scaleX(0); }
.text-link--big { font-size: 28.5px; font-weight: 300; line-height: 31px; }
.text-link--big::after { transform: scaleX(0); transform-origin: left; }
.text-link--big:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; isolation: isolate;
}
/* Frosted bar: appears once the page is scrolled, stays put the whole way down */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--page-bg) 55%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(17, 20, 16, 0.06);
  opacity: 0; transition: opacity 0.4s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.header__inner {
  height: 80px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 20px; color: #000000; }
.logo__mark { flex: none; display: block; }
.header-actions { display: flex; align-items: center; gap: 40px; height: 80px; }
.pill-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  width: 118px; height: 46px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 200px;
  font-size: 17px; line-height: 1; color: #000000;
}
.pill-btn::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.pill-btn span { position: relative; transition: color 0.4s; }
.pill-btn:hover::before { transform: translateY(0); }
.pill-btn:hover span { color: var(--bg); }
.menu-btn { width: 40px; height: 21px; position: relative; }
.menu-btn span {
  position: absolute; left: 6px; right: 6px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 6px; }
.menu-btn span:nth-child(2) { top: 13px; }
.menu-btn:hover span:nth-child(1) { transform: translateY(-2px); }
.menu-btn:hover span:nth-child(2) { transform: translateY(2px); }

/* ---------- Menu (page slides aside, links on the right) ---------- */
/* Like the original, the scrollbar is always shown (even while the menu is open),
   so opening the menu never changes the page width. Scrolling is locked in main.js instead. */
html { overflow-y: scroll; }
html.menu-open body { background: var(--ink); }
.page { position: relative; z-index: 2; background: var(--page-bg); }
.menu { position: fixed; inset: 0; z-index: 1; pointer-events: none; visibility: hidden; background: var(--ink); }
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 35.5vw; padding: 0 40px 0 89px; color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
}
.menu__list li { overflow: hidden; }
.menu__list a {
  position: relative; display: inline-block; font-size: 34px; font-weight: 400; line-height: 47.5px; letter-spacing: -0.01em;
}
.menu__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.menu__list a:hover::after, .menu__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.menu__foot { position: absolute; bottom: 36px; left: 89px; font-size: 13px; color: var(--cream); opacity: 0.6; }
.menu__close {
  position: fixed; z-index: 60; left: calc(64.5vw - 23px); top: calc(50vh - 23px); width: 46px; height: 46px; border-radius: 50%;
  background: #ffffff; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); visibility: hidden; opacity: 0;
}
.menu__close span, .menu__close span::after {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: var(--ink); transform: rotate(45deg);
}
.menu__close span::after { content: ""; left: 0; top: 0; margin: 0; transform: rotate(90deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
}
.hero__inner {
  position: relative; height: 100vh; min-height: 620px; max-height: 1100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 var(--pad) 64px;
}
.hero__title {
  /* exactly 199.5px on a 1440 screen (1425px wide once the always-on scrollbar is taken off) */
  font-size: calc(199.5px + (100vw - 1425px) * 0.14);
  text-align: center; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.hero__title .line {
  display: block; overflow: hidden; padding: 0 0.04em;
  font-size: inherit; font-weight: 700; line-height: 0.855; letter-spacing: -0.035em;
}
.hero__title .line__in { display: inline-block; }
.hero__meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 30px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.hero__meta .eyebrow:last-child { text-align: right; }
.hero__tag { font-size: 16.25px; line-height: 24px; }

/* ---------- Services ---------- */
.services__head { padding-top: 171px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.services__head h2 { max-width: 600px; font-size: 48.75px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.services__link { margin-bottom: 0; white-space: nowrap; line-height: 24px; }
.carousel { margin-top: 43px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.carousel.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.card {
  position: relative; flex: 0 0 auto; width: 321px; height: 499px; border-radius: var(--radius);
  overflow: hidden; color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  user-select: none; isolation: isolate;
}
.card h3 { position: relative; z-index: 2; font-size: 27.625px; font-weight: 300; line-height: 36px; letter-spacing: -0.01em; }
.tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 5px; }
.tags li {
  font-size: 11.4px; line-height: 1.4; padding: 5.7px 11.4px; border-radius: 100px;
  background: rgba(0, 0, 0, 0.32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card__art { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.card:hover .card__art { transform: scale(1.06); }
.card__art img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card__art::after { /* keeps the title and tags readable on any photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.6) 100%);
}

/* ---------- Manifesto ---------- */
.manifesto__inner { padding: 228px var(--pad) 0; display: flex; justify-content: center; }
.manifesto__text {
  max-width: 1000px; width: 70vw; text-align: center; text-transform: uppercase;
  font-size: calc(92.625px + (100vw - 1425px) * 0.065); /* exactly 92.625px on a 1440 screen */ font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
}
.manifesto__text .word { display: inline-block; color: rgba(17, 20, 16, 0.1); }
.manifesto__text .chip { display: inline-block; vertical-align: middle; width: 1.76em; height: 1.1em; margin: -0.18em 0.04em 0; object-fit: cover; border-radius: 999px; }

/* ---------- Work ---------- */
.work__in { position: relative; padding-top: 229px; }
.work .eyebrow { margin-bottom: 19px; }
.work__list { border-bottom: 1px solid var(--line); }
.work__list li { border-top: 1px solid var(--line); }
.work__list li + li { margin-top: -1px; }
.work__list li + li .work__row { height: 94px; }
.work__row {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 93px; overflow: hidden;
}
.work__row h2 {
  position: relative; font-size: 48.75px; font-weight: 400; line-height: 63px; letter-spacing: -0.02em;
  transition: transform 0.7s var(--ease);
}
.work__row .arrow { position: relative; font-size: 28px; line-height: 1; transition: transform 0.7s var(--ease); }
.work__row::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.work__row:hover::before { transform: scaleY(1); }
.work__row:hover h2 { transform: translateX(20px); color: var(--bg); }
.work__row:hover .arrow { transform: translateX(-20px) rotate(45deg); color: var(--bg); }
.work__float {
  position: absolute; top: 0; left: 0; width: 280px; height: 190px; pointer-events: none; z-index: 5;
  border-radius: var(--radius); overflow: hidden; opacity: 0; transform: scale(0.6);
}
.work__float-in { position: absolute; inset: 0; background: var(--ink); }
.work__float-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.work__float-in[data-art="1"] img[data-art="1"], .work__float-in[data-art="2"] img[data-art="2"],
.work__float-in[data-art="3"] img[data-art="3"], .work__float-in[data-art="4"] img[data-art="4"],
.work__float-in[data-art="5"] img[data-art="5"] { opacity: 1; }

/* ---------- Testimonials ---------- */
.voices__in { padding-top: 171px; padding-bottom: 143px; }
/* Every slide shares one grid cell, so the section is always as tall as the longest quote
   and nothing below it moves when the slide changes. */
.voices__stage { display: grid; max-width: 900px; margin: 0 auto; }
.voices__slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; visibility: hidden; }
.voices__slide.is-active { opacity: 1; visibility: visible; }
.voices__quote { margin: 0; }
.voices__quote p { font-size: 28.5px; line-height: 1.55; letter-spacing: -0.01em; }
.voices__person { display: flex; align-items: center; gap: 14px; margin-top: 32px; text-align: left; }
.voices__avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
}
.voices__who { display: flex; flex-direction: column; }
.voices__name { font-size: 16.25px; font-weight: 500; line-height: 22px; }
.voices__role { font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.voices__controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 44px; }
.voices__nav {
  flex: none; width: 54px; height: 54px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; transition: background 0.35s ease, color 0.35s ease;
}
.voices__nav svg { display: block; transition: transform 0.45s var(--ease); }
.voices__nav:hover { background: var(--ink); color: var(--bg); }
.voices__prev:hover svg { transform: translateX(-3px); }
.voices__next:hover svg { transform: translateX(3px); }
.voices__nav:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.voices__count { display: flex; align-items: center; gap: 6px; min-width: 44px; justify-content: center; font-size: 14px; font-weight: 500; line-height: 20px; font-variant-numeric: tabular-nums; }
.voices__slot { display: block; height: 20px; overflow: hidden; }
.voices__digits { display: block; transition: transform 0.6s var(--ease); }
.voices__digits span { display: block; height: 20px; }

/* ---------- Reel (now a single photo strip) ---------- */
.reel { position: relative; height: 630px; }
.reel__in { position: relative; height: 100%; isolation: isolate; }
.reel__in::before { /* the rounded frame */
  content: ""; position: absolute; inset: 0 var(--pad); border-radius: var(--radius); background: var(--ink); z-index: -1;
}
.reel__art, .reel__word {
  position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad); border-radius: var(--radius); overflow: hidden;
}
/* Taller than its frame so the scroll drift never shows an edge */
.reel__art img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.reel__art::after { /* keeps the caption readable */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.12) 32%, rgba(0,0,0,0.12) 65%, rgba(0,0,0,0.45) 100%);
}
.reel__word {
  z-index: 2; white-space: nowrap; display: flex; align-items: flex-end; pointer-events: none;
  font-size: 13vw; font-weight: 800; line-height: 0.8; letter-spacing: -0.05em; color: rgba(246, 244, 234, 0.22);
}
.reel__word-in { display: inline-block; }
.reel__word { top: auto; height: 0.8em; }
.reel__bar {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start;
  padding: 26px calc(var(--pad) + 38px) 0;
}
.reel__cell--mid { text-align: center; }
.reel__cell--end { text-align: right; }
.reel__meta {
  color: #fff; font-size: 12.1875px; font-weight: 500; letter-spacing: 0.02em; line-height: 28px;
  text-transform: uppercase;
}

/* ---------- Contact / footer ---------- */
.contact { padding-top: 143px; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 546px 1fr; column-gap: 213px; }
.contact__form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form input[type="tel"] {
  width: 100%; height: 44px; padding: 0 12px; background: #1212131c; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 4px; font: inherit; font-size: 14px; outline: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.contact__form input::placeholder { color: var(--ink-soft); opacity: 0.85; }
.contact__form input:focus { background: rgba(255, 255, 255, 0.35); box-shadow: 0 0 0 3px rgba(17, 20, 16, 0.15); }
.checks { border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.checks input { appearance: none; -webkit-appearance: none; width: 15px; height: 15px; margin: 0; border: 1px solid var(--ink); border-radius: 3px; display: grid; place-items: center; cursor: pointer; }
.checks input:checked { background: var(--ink); }
.checks input:checked::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
/* Book a Call: same simple hover as the original — it just fades slightly */
.submit {
  height: 48px; border-radius: 200px; background: var(--ink); color: #fff;
  font-size: 14.625px; font-weight: 500; letter-spacing: -0.01em;
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.33, 1);
}
.submit:hover, .submit:focus-visible { opacity: 0.85; }
.form-msg { min-height: 20px; font-size: 13px; margin-top: -10px; }
.contact__info h3 { margin-top: 4px; font-weight: 300; }
.eyebrow--gap { margin-top: 68px; }
.socials { display: flex; flex-wrap: wrap; gap: 0 20px; }
.giant { margin-top: 86px; font-weight: 700; line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap; }
.giant__in { display: inline-block; }
.giant .ch { display: inline-block; }
.giant .ch:last-child { letter-spacing: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 34px; padding-bottom: 28px;
  font-size: 12.1875px; font-weight: 500; letter-spacing: 0.02em; line-height: 16px; text-transform: uppercase;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 999px) {
  :root { --pad: 25px; }
  .site-header { top: 12px; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0; }
  .header__inner { display: contents; }
  .site-header::before { top: -12px; bottom: -12px; }
  .logo { margin-left: var(--pad); }
  .header-actions { margin-right: var(--pad); }
  .header-actions { height: 36px; gap: 20px; }
  .pill-btn { height: 36px; width: auto; font-size: 14px; }
  .hero__title { font-size: max(47px, 7.25vw); }
  .services__head { flex-wrap: wrap; justify-content: flex-start; gap: 16px 0; }
  .services__head h2 { font-size: 36px; max-width: 50%; flex-basis: 100%; }
  .services__link { flex-basis: 100%; padding-left: calc(50% - 45px); }
  .carousel { margin-top: 17px; }
  .giant { margin-top: 71px; }
  .manifesto__inner { padding-top: 194px; }
  .manifesto__text { font-size: 6.43vw; width: 65.3vw; }
  .work__in { padding-top: 204px; }
  .work__row h2 { font-size: 36px; line-height: 48px; }
  .work__row, .work__list li + li .work__row { height: 87px; }
  .voices__in { padding-top: 95px; }
  .voices__stage { max-width: 620px; }
  .voices__quote p { font-size: 24px; line-height: 37px; }
  .contact { padding-top: 99px; }
  .contact__grid { grid-template-columns: 1fr; row-gap: 70px; }
  .eyebrow--gap { margin-top: 44px; }
}

@media (max-width: 690px) {
  :root { --pad: 6vw; }
  .menu__panel { width: 85vw; padding-left: 41px; }
  .menu__list a { font-size: 30px; line-height: 47px; }
  .menu__foot { left: 41px; }
  .menu__close { left: auto; right: 30px; top: 28px; background: transparent; box-shadow: none; }
  .menu__close span, .menu__close span::after { background: var(--cream); }
  body { font-size: 16px; }
  .site-header { top: 10px; }
  .hero__meta { grid-template-columns: 1fr; bottom: 30px; text-align: center; }
  .hero__meta .eyebrow { display: none; }
  .services__head { padding-top: 100px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .services__head h2 { font-size: 31px; line-height: 1.15; max-width: none; }
  .services__link { padding-left: 0; }
  .carousel { margin-top: 24px; }
  .card { width: 287px; height: 385px; }
  .manifesto__inner { padding-top: 94px; }
  .manifesto__text { font-size: 9.5vw; width: 82vw; }
  .work__in { padding-top: 100px; }
  .work__row h2 { font-size: 31px; line-height: 40px; }
  .work__row, .work__list li + li .work__row { height: 79px; }
  .voices__in { padding-top: 120px; padding-bottom: 90px; }
  .voices__quote p { font-size: 22px; line-height: 32px; }
  .voices__person { margin-top: 26px; }
  .voices__controls { margin-top: 34px; }
  .voices__nav { width: 48px; height: 48px; }
  .reel { height: 450px; }
  .reel__bar { padding: 20px calc(var(--pad) + 14px) 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .reel__meta { font-size: 10px; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  .contact { padding-top: 40px; }
  .field-row { grid-template-columns: 1fr; gap: 22px; }
  .checks { grid-template-columns: 1fr; }
  .text-link--big { font-size: 22px; line-height: 28px; }
  .giant { margin-top: 60px; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 26px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
