:root {
  --bg: #090b0f;
  --bg-elevated: #12161d;
  --bg-soft: #1a2029;
  --line: rgba(210, 230, 235, 0.1);
  --text: #eef4f5;
  --muted: #93a0a8;
  --accent: #f0a43a;
  --accent-2: #ffd27a;
  --accent-deep: #c56f12;
  --teal: #2ec4b6;
  --teal-deep: #178a80;
  --danger: #d45a4a;
  --radius: 2px;
  --container: 1180px;
  --font-brand: "Rubik", "Segoe UI", Arial, sans-serif;
  --font-display: "Rubik", "Segoe UI", Arial, sans-serif;
  --font-body: "Rubik", "Segoe UI", Arial, sans-serif;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --reveal-delay: 0ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-synthesis: none;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 85% -8%, rgba(240, 164, 58, 0.16), transparent 55%),
    radial-gradient(800px 480px at 0% 18%, rgba(46, 196, 182, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1117 0%, var(--bg) 42%, #07090c 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(12, 13, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    background 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-hidden {
  transform: translateY(-100%);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .header {
  transform: none;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(12, 13, 16, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding-block: 0.35rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.footer .logo__img {
  height: 64px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a,
.nav__link--btn {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.35s ease;
}

.nav__link--btn {
  display: inline-flex;
  align-items: center;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0.95rem 0 0;
  cursor: pointer;
}

.nav__link--btn::before {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.28rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin 0.35s ease;
}

[dir="rtl"] .nav__link--btn {
  padding: 0 0 0 0.95rem;
}

.nav__link--btn.is-open::before {
  margin-top: -0.05rem;
  transform: rotate(225deg);
}

.nav a::after,
.nav__link--btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .nav a::after,
[dir="rtl"] .nav__link--btn::after {
  transform-origin: right center;
}

.nav a:hover,
.nav__link--btn:hover {
  color: var(--text);
}

.nav a.is-active,
.nav a.is-current,
.nav__link--btn.is-open {
  color: var(--accent-2);
}

.nav a.is-active::after,
.nav a.is-current::after,
.nav__link--btn.is-open::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(25, 29, 31, 0.42);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.45s ease;
}

.menu.is-open .menu__backdrop {
  opacity: 1;
}

.menu__panel {
  position: relative;
  z-index: 1;
  max-height: 100%;
  overflow: auto;
  padding: 6.75rem 0 3.25rem;
  background: #0c0d10;
  color: var(--text);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu.is-open .menu__panel {
  clip-path: inset(0 0 0 0);
}

.menu__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.95fr;
  gap: 2.4rem 2rem;
  align-items: start;
}

.menu__heading {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
}

.menu__link {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition:
    color 0.3s ease,
    padding-inline-start 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu__link strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.menu__link span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.menu__link:hover {
  color: var(--accent);
  padding-inline-start: 0.55rem;
}

.menu__link:hover span {
  color: inherit;
}

.menu__aside {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.menu__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(18px);
}

.menu__cta,
.menu__mail,
.menu__aside .menu__heading {
  opacity: 0;
  transform: translateY(18px);
}

.menu__mail {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu__mail:hover {
  color: var(--accent);
}

.menu.is-open .menu__heading,
.menu.is-open .menu__link,
.menu.is-open .menu__cta,
.menu.is-open .menu__mail,
.menu.is-open .menu__note {
  animation: menuIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 50ms + 140ms);
}

.menu.is-open .menu__heading {
  animation-delay: 90ms;
}

.menu.is-closing .menu__heading,
.menu.is-closing .menu__link,
.menu.is-closing .menu__cta,
.menu.is-closing .menu__mail,
.menu.is-closing .menu__note {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (max-width: 1100px) {
  .menu__layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu__panel {
    padding-top: 5.75rem;
  }
}

@keyframes menuIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.lang__btn {
  min-width: 2.1rem;
  min-height: 1.9rem;
  padding: 0.2rem 0.45rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang__btn:hover {
  color: var(--text);
}

.lang__btn.is-active {
  background: rgba(46, 196, 182, 0.16);
  color: var(--teal);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__copy {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .price-card,
  .price-card:hover,
  .price-card--featured,
  .price-card--featured:hover,
  .price-card--featured.reveal.is-visible,
  .price-card--featured.reveal.is-visible:hover {
    transform: none !important;
  }

  .menu,
  .menu.is-open,
  .menu__panel,
  .header,
  .header.is-hidden {
    clip-path: none !important;
    transition: none !important;
  }

  .menu.is-open .menu__heading,
  .menu.is-open .menu__link,
  .menu.is-open .menu__cta,
  .menu.is-open .menu__mail,
  .menu.is-open .menu__note,
  .header.is-hidden {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__showreel img,
  .hero__showreel img.is-on {
    transform: none !important;
    transition: none !important;
  }

  .team__avatar img,
  .team__card:hover .team__avatar img,
  .work__img,
  .work__link:hover .work__img,
  .work__link:hover .work__frame {
    transform: none !important;
    transition: none !important;
  }
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  place-items: center;
  gap: 6px;
  cursor: pointer;
}

body.menu-open .burger {
  display: grid;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.burger.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.burger.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 55%, #e08920);
  color: #15100a;
  box-shadow: 0 12px 34px rgba(240, 164, 58, 0.28);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: rgba(46, 196, 182, 0.5);
  color: var(--teal);
}

.btn--line {
  border-color: rgba(238, 244, 245, 0.22);
  background: rgba(9, 11, 15, 0.35);
  backdrop-filter: blur(8px);
}

.btn--line:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 0;
  overflow: clip;
  color: #fffdf9;
}

.hero__showreel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #121417;
}

.hero__showreel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.15s ease, transform 7.5s linear;
}

.hero__showreel img.is-on {
  opacity: 1;
  transform: scale(1);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.72) 0%, rgba(12, 14, 16, 0.38) 55%, rgba(12, 14, 16, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.22) 0%, rgba(12, 14, 16, 0.2) 45%, rgba(12, 14, 16, 0.55) 100%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding: 1.5rem 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__kicker {
  margin: 0 0 1.35rem;
  max-width: 22rem;
  color: rgba(255, 253, 249, 0.82);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 9.2vw, 7.4rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: #fffdf9;
  max-width: 12ch;
}

.hero__dash {
  margin: 1.35rem 0 0;
  color: rgba(255, 253, 249, 0.88);
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: var(--muted);
}

.browser {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  border: 1px solid rgba(238, 244, 245, 0.12);
  background: linear-gradient(160deg, rgba(20, 26, 34, 0.95), rgba(10, 13, 18, 0.98));
  box-shadow: var(--shadow), 0 0 0 1px rgba(46, 196, 182, 0.08);
  overflow: hidden;
}

.browser__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(238, 244, 245, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.browser__chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3a4450;
}

.browser__chrome span:first-child { background: #e06a5a; }
.browser__chrome span:nth-child(2) { background: #e0b45a; }
.browser__chrome span:nth-child(3) { background: #5ad0a0; }

.browser__url {
  flex: 1;
  margin-inline-start: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 244, 245, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.75rem;
  font-family: var(--font-body);
}

.browser__stage {
  padding: 0;
  background: #0a0d12;
}

.browser__page {
  min-height: 0;
}

.browser__page--shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e131a;
}

.browser__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.browser:hover .browser__shot {
  transform: scale(1.04);
}

.section {
  padding: 5.5rem 0;
}

.section__head {
  margin-bottom: 2rem;
}

.section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Process / approach */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.process__item {
  position: relative;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.process__num {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process__item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.process__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2.25rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 45%),
    rgba(18, 20, 26, 0.55);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 196, 182, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.price-card--featured {
  border-color: rgba(245, 166, 35, 0.45);
  background:
    linear-gradient(165deg, rgba(245, 166, 35, 0.12), transparent 50%),
    rgba(22, 18, 14, 0.7);
}

.price-card--featured.reveal.is-visible {
  transform: translateY(-8px);
}

.price-card--featured:hover,
.price-card--featured.reveal.is-visible:hover {
  transform: translateY(-12px);
  border-color: rgba(245, 166, 35, 0.7);
}

.price-card__badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.price-card__price {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card__term {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.price-card__list {
  margin: 0.75rem 0 1.1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card__list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card__list li::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

[dir="rtl"] .price-card__list li {
  padding-left: 0;
  padding-right: 1.15rem;
}

[dir="rtl"] .price-card__list li::before {
  left: auto;
  right: 0;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.price-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* About on home */
.about-home__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-home__card {
  padding: 1.35rem 1.2rem;
  border-top: 1px solid var(--line);
}

.about-home__card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.about-home__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-home__stats {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filters--sub {
  margin-bottom: 2rem;
}

.filter {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter:hover,
.filter.is-active {
  color: #10151a;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  border-color: transparent;
}

.filter--chip {
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.filter--chip.is-active,
.filter--chip:hover {
  background: rgba(46, 196, 182, 0.12);
  color: var(--teal);
  border-color: rgba(46, 196, 182, 0.4);
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem 1.5rem;
}

.work {
  min-width: 0;
  animation: rise 0.6s ease both;
}

.work--featured {
  grid-column: 1 / -1;
}

.work.is-hidden {
  display: none;
}

.work__link {
  display: grid;
  gap: 0.95rem;
  height: 100%;
  color: inherit;
}

.work__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf9;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.work__link:hover .work__frame {
  transform: translateY(-5px);
  border-color: rgba(25, 29, 31, 0.45);
}

.work__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  background: #191d1f;
}

.work__chrome span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3a4450;
}

.work__chrome span:first-child { background: #e06a5a; }
.work__chrome span:nth-child(2) { background: #e0b45a; }
.work__chrome span:nth-child(3) { background: #5ad0a0; }

.work__url {
  flex: 1;
  margin-inline-start: 0.55rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #c8c4bc;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  direction: ltr;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work__stage {
  container-type: size;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #ece8e1;
}

.work--featured .work__stage {
  aspect-ratio: 16 / 8.2;
}

.work__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translateY(0);
  transition: transform 3.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.work__link:hover .work__img {
  transform: translateY(min(0px, calc(100cqh - 100%)));
}

.work__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: start;
}

.work__index {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}

.work__copy {
  min-width: 0;
}

.work__tag {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.work__meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}

.work__link:hover .work__meta h3 {
  color: var(--accent);
}

.work--featured .work__meta h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.work__more {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.work__link:hover .work__more {
  color: var(--accent);
}

.works__empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 1.1rem 1rem 1.1rem 0;
  border-top: 1px solid var(--line);
}

.stat + .stat {
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid var(--line);
}

.stat__value {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-2);
}

.stat__label {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--bg);
  padding: 2rem 1.6rem;
  transition: background 0.25s ease;
}

.service:hover {
  background: var(--bg-elevated);
}

.service__index {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(232, 161, 74, 0.14), transparent 45%),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.cta-band__inner {
  max-width: 720px;
}

.cta-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.faq__list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
}

.faq__item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 0 1.2rem;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 60ch;
}

.partners__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.partners__row span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.post a {
  display: block;
}

.post__visual {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--tone) 65%, white), transparent 42%),
    linear-gradient(150deg, color-mix(in srgb, var(--tone) 40%, #101218), #14161c);
  transition: transform 0.3s ease;
}

.post a:hover .post__visual {
  transform: translateY(-3px);
}

.post__body span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.post__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.contact__links a {
  color: var(--accent-2);
  font-weight: 600;
}

.contact__form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.contact__form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0e1015;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  outline: none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(232, 161, 74, 0.55);
}

.footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #090a0d;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer a,
.footer p {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--text);
}

.footer__copy {
  margin-top: 1.25rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes figureIn {
  from {
    opacity: 0;
    transform: translate(40px, 20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}


@media (max-width: 980px) {
  .works,
  .blog__grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners__row,
  .footer__grid,
  .contact__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__copy {
    padding: 1.25rem 0;
  }

  .hero__title {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .work--featured .work__stage {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .burger {
    display: grid;
  }

  .nav {
    display: none;
  }

  .process,
  .pricing__grid,
  .about-home__grid {
    grid-template-columns: 1fr;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 76px);
    padding: 0;
  }

  .hero__copy {
    padding: 1.25rem 0;
  }

  .hero__title {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
    max-width: none;
  }

  .browser__page--shot {
    aspect-ratio: 16 / 11;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat + .stat {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .stat:nth-child(2n) {
    padding-inline-start: 1rem;
    border-inline-start: 1px solid var(--line);
  }

  .works,
  .blog__grid,
  .services__list,
  .partners__row,
  .footer__grid,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }
}

/* —— Inner pages —— */

.page-hero {
  position: relative;
  padding: 8rem 0 3rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(240, 164, 58, 0.14), transparent 60%),
    radial-gradient(500px 260px at 10% 0%, rgba(46, 196, 182, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(16, 18, 24, 0.2), transparent);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: rise 0.75s ease both;
}

.page-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a:hover {
  color: var(--accent-2);
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.45;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.prose h2 {
  font-size: 1.6rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.prose p,
.prose li {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ol,
.prose ul {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.55rem;
}

.prose a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal {
  max-width: 760px;
}

.legal__note {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(232, 161, 74, 0.28);
  background: rgba(232, 161, 74, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.legal__updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.about__panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.about__panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.about__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about__panel li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.about__panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about__panel strong {
  font-family: var(--font-display);
}

.about__panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  column-gap: 2rem;
  align-items: start;
  position: relative;
}

.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(5.5rem + 1rem - 0.5px);
  top: 1.1rem;
  bottom: -1.75rem;
  width: 1px;
  background: var(--line);
}

.timeline__year {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--accent-2);
  text-align: right;
  padding-top: 0.1rem;
}

.timeline__body {
  grid-column: 2;
  position: relative;
  padding-left: 1.75rem;
  min-width: 0;
}

.timeline__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 161, 74, 0.15);
  z-index: 1;
}

.timeline__body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
}

.timeline__body p {
  margin: 0;
  color: var(--muted);
}

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team__card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.team__avatar {
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e8e1d7;
}

.team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.team__card:hover .team__avatar img {
  transform: scale(1.04);
}

.team__card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.team__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.case__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.case__cover {
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #ece8e1;
}

.case__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case__aside {
  position: sticky;
  top: 96px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: grid;
  gap: 1rem;
}

.case__aside h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.case__meta {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.case__meta div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.case__meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.case__meta dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.case__meta dd {
  margin: 0;
  font-weight: 600;
}

.case__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.case__shot {
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--tone, #2f6f8f) 55%, white), transparent 40%),
    linear-gradient(160deg, #1a1d26, #0e1015);
}

.case__shot--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.15rem;
}

.related .work__more {
  display: none;
}

.related .work__meta {
  grid-template-columns: auto 1fr;
}

.related .work__stage {
  aspect-ratio: 16 / 11;
}

.contact-page__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(232, 161, 74, 0.4);
  background: var(--bg-elevated);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.contact-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.brief__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 3rem 2.5rem;
  align-items: start;
}

.brief__steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
  counter-reset: brief-step;
}

.brief__steps li {
  position: relative;
  padding-inline-start: 2.75rem;
  counter-increment: brief-step;
}

.brief__steps li::before {
  content: counter(brief-step, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 0.1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.brief__steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.brief__steps span,
.brief__hint {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.brief__hint {
  margin: 1.75rem 0 0;
}

.brief__form {
  display: grid;
  gap: 1.15rem;
  padding: 1.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.brief__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.brief__form label,
.brief__fieldset {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.brief__fieldset legend {
  padding: 0;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.brief__form input,
.brief__form textarea,
.brief__form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0e1015;
  color: inherit;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  outline: none;
}

.brief__form input:focus,
.brief__form textarea:focus,
.brief__form select:focus {
  border-color: rgba(232, 161, 74, 0.55);
}

.brief__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.brief__type {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  color: var(--text);
}

.brief__type input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--accent);
}

.brief__type strong,
.brief__type em {
  display: block;
  font-style: normal;
}

.brief__type em {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.brief__type:has(input:checked) {
  border-color: var(--accent);
  background: rgba(239, 91, 63, 0.08);
}

.brief__check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
}

.brief__check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.brief__check a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brief__form .btn {
  justify-self: start;
}

@media (max-width: 980px) {
  .process,
  .pricing__grid,
  .about-home__grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card--featured {
    transform: none;
  }

  .price-card--featured:hover {
    transform: translateY(-6px);
  }

  .about__grid,
  .case__layout,
  .brief__layout {
    grid-template-columns: 1fr;
  }

  .case__aside {
    position: static;
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
  }

  .related {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: 6.5rem 0 2.5rem;
  }

  .team,
  .related,
  .case__gallery,
  .contact-page__cards,
  .brief__row,
  .brief__types {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    row-gap: 0.45rem;
  }

  .timeline__item:not(:last-child)::after {
    left: 0.3rem;
    top: 2.4rem;
  }

  .timeline__year {
    grid-column: 1;
    text-align: left;
    padding-left: 1.75rem;
  }

  .timeline__body {
    grid-column: 1;
  }

  .lang {
    order: -1;
  }
}

/* RTL */
[dir="rtl"] .hero__title {
  letter-spacing: 0;
}

[dir="rtl"] .timeline__year {
  text-align: left;
}

[dir="rtl"] .timeline__item:not(:last-child)::after {
  left: auto;
  right: calc(5.5rem + 1rem - 0.5px);
}

[dir="rtl"] .timeline__body {
  padding-left: 0;
  padding-right: 1.75rem;
}

[dir="rtl"] .timeline__body::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .faq__item summary::after {
  margin-inline-start: 0;
  margin-inline-end: auto;
  order: -1;
}

[dir="rtl"] .faq__item summary {
  flex-direction: row-reverse;
}

[dir="rtl"] .section__title,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .hero__title,
[dir="rtl"] .logo::after {
  letter-spacing: 0;
}

[dir="rtl"] .hero__title {
  color: #fffdf9;
}

@media (max-width: 760px) {
  [dir="rtl"] .timeline__item:not(:last-child)::after {
    right: auto;
    left: 0.3rem;
  }

  [dir="rtl"] .timeline__year {
    padding-left: 0;
    padding-right: 1.75rem;
    text-align: right;
  }
}

/* Studio refresh */
:root {
  --bg: #f5f2ec;
  --bg-elevated: #fffdf9;
  --bg-soft: #e9e4dc;
  --line: rgba(25, 29, 31, 0.14);
  --text: #191d1f;
  --muted: #687073;
  --accent: #ef5b3f;
  --accent-2: #ff7857;
  --accent-deep: #bd3f2b;
  --teal: #2b6f73;
  --teal-deep: #1d5559;
  --radius: 4px;
  --shadow: 0 24px 70px rgba(30, 32, 28, 0.14);
}

body {
  background:
    linear-gradient(rgba(25, 29, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 29, 31, 0.035) 1px, transparent 1px),
    radial-gradient(900px 500px at 100% 0%, rgba(239, 91, 63, 0.13), transparent 62%),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.noise { opacity: 0.018; mix-blend-mode: multiply; }
.header { background: rgba(245, 242, 236, 0.96); border-bottom-color: var(--line); }
.header.is-scrolled,
body.menu-open .header {
  background: #f5f2ec;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(25, 29, 31, 0.05);
}
.logo__img { display: none; }
.logo::after { content: "WebLine"; color: var(--text); font-family: var(--font-brand); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.04em; }
.nav a,
.nav__link--btn { color: var(--muted); }
.nav a.is-active,
.nav a.is-current,
.nav__link--btn.is-open { color: var(--accent); }
.menu { background: transparent; color: var(--text); }
.menu__panel { background: #f5f2ec; }
.menu__link { color: var(--text); border-bottom-color: var(--line); }
.menu__link:hover { color: var(--accent); }
.menu__aside { background: #fffdf9; border-color: var(--line); }
.menu__mail { color: var(--muted); }
.lang { border-color: var(--line); background: rgba(255, 255, 255, 0.32); }
.lang__btn.is-active { background: var(--text); color: #fffdf9; }
.btn { clip-path: none; border-radius: 999px; }
.btn--primary { background: var(--text); color: #fffdf9; box-shadow: 0 12px 24px rgba(25, 29, 31, 0.16); }
.btn--primary:hover { background: var(--accent); filter: none; }
.btn--ghost, .btn--line { border-color: var(--line); background: rgba(255, 255, 255, 0.32); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--accent); color: var(--accent); }

.hero { min-height: calc(100svh - 76px); padding: 0; color: #fffdf9; }
.hero .btn--primary { background: #fffdf9; color: var(--text); box-shadow: none; }
.hero .btn--primary:hover { background: var(--accent); color: #fffdf9; }
.hero .btn--line {
  border-color: rgba(255, 253, 249, 0.38);
  background: transparent;
  color: #fffdf9;
}
.hero .btn--line:hover { border-color: #fffdf9; color: #fffdf9; }
.section__lead { color: var(--muted); }
.browser { border-color: rgba(25, 29, 31, 0.18); background: var(--bg-elevated); box-shadow: var(--shadow); transform: none; }
.browser__chrome { background: #191d1f; border-bottom: 0; }
.browser__url { color: #d9d5ce; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.1); }
.browser__stage { background: #fffdf9; }

.section { padding: 7rem 0; }
.section__eyebrow { color: var(--accent); }
.section__title, .process__item h3, .price-card h3, .about-home__card strong, .team__card h3 { letter-spacing: -0.035em; }
.process__item { border-top-color: var(--text); }
.process__num { color: var(--accent); }
.pricing { background: #191d1f; color: #fffdf9; }
.pricing .section__lead, .pricing .price-card__label, .pricing .price-card__list li { color: #aeb6b5; }
.pricing .price-card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.pricing .price-card:hover { border-color: var(--accent-2); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.pricing .price-card--featured { border-color: var(--accent); background: rgba(239,91,63,.16); }
.pricing .price-card__price { color: #fffdf9; }
.pricing .price-card__term { color: #7fc2be; }
.pricing .price-card__list li { border-top-color: rgba(255,255,255,.12); }
.pricing .price-card__list li::before { background: var(--accent-2); }
.pricing .btn--ghost { color: #fffdf9; border-color: rgba(255,255,255,.25); background: transparent; }
.pricing .btn--ghost:hover { color: #fffdf9; border-color: var(--accent-2); }
.pricing .btn--primary { background: var(--accent); }
.filters { margin-top: 2.5rem; }
.filter { border-radius: 10px; border-color: var(--line); color: var(--muted); }
.filter:hover, .filter.is-active { color: #fffdf9; background: var(--text); border-color: var(--text); }
.portfolio { background: #fffdf9; }
.portfolio .filters {
  gap: 0.1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.portfolio .filter {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  background: transparent;
  color: var(--muted);
}
.portfolio .filter:hover,
.portfolio .filter.is-active {
  color: var(--text);
  background: transparent;
  border-color: transparent;
  border-bottom-color: var(--accent);
}
.work__frame { box-shadow: 0 18px 44px rgba(25, 29, 31, 0.08); }
.contact__form,
.brief__form { background: #fffdf9; }
.contact__form input,
.contact__form textarea,
.brief__form input,
.brief__form textarea,
.brief__form select {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.contact__form input:focus,
.contact__form textarea:focus,
.brief__form input:focus,
.brief__form textarea:focus,
.brief__form select:focus { border-color: var(--accent); }
.brief__type { background: #fff; }
.brief__type:has(input:checked) { background: rgba(239, 91, 63, 0.08); border-color: var(--accent); }
.about-home { background: #e8e1d7; }
.about-home__card { border-top-color: var(--text); }
.stat { border-top-color: var(--text); }
.stat + .stat { border-inline-start-color: var(--line); }
.stat__value { color: var(--accent); }
.text-link { color: var(--accent); font-weight: 700; border-bottom: 1px solid currentColor; }
.team-home { background: #fffdf9; }
.team--home .team__card { border: 0; border-top: 1px solid var(--text); padding: 1.4rem 0 0; background: transparent; }
.cta-band { background: var(--accent); color: #fffdf9; border-block-color: var(--accent); }
.cta-band p { color: rgba(255,253,249,.82); }
.cta-band .btn--primary { background: #fffdf9; color: var(--text); }
.footer { background: var(--text); border-top-color: var(--text); color: #fffdf9; }
.footer .logo::after { color: #fffdf9; }
.footer a, .footer p { color: #aeb6b5; }
.footer a:hover { color: #fffdf9; }

@media (max-width: 760px) {
  .nav { background: rgba(245, 242, 236, 0.98); }
  .hero { min-height: calc(100svh - 76px); padding: 0; }
  .hero__copy { padding: 1.25rem 0; }
  .hero__title { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .browser { transform: none; }
  .section { padding: 4.5rem 0; }
  .process,
  .pricing__grid,
  .about-home__grid,
  .team--home {
    grid-template-columns: 1fr;
  }
  .works {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .work__meta {
    grid-template-columns: auto 1fr;
  }
  .work__more {
    display: none;
  }
  .work--featured .work__stage {
    aspect-ratio: 16 / 10;
  }
}

.lang {
  position: relative;
  display: block;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
}

.lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 4.25rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.lang__chevron {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.lang.is-open .lang__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 100%;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: 0 14px 30px rgba(25, 29, 31, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang__menu .lang__btn {
  min-width: 3.5rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang__menu .lang__btn:hover,
.lang__menu .lang__btn.is-active {
  background: var(--text);
  color: #fffdf9;
}

.btn,
.burger,
.lang__trigger,
.lang__menu .lang__btn {
  border-radius: 0;
}

.filter {
  border-radius: 10px;
}

[dir="rtl"] .lang__menu {
  right: auto;
  left: 0;
}