/* ============ KHOT — Premium Creative Studio ============ */
:root {
  --bg: #0A0A0A;
  --bg-2: #141414;
  --bg-3: #1C1C1C;
  --fg: #F2EDE2;
  --fg-soft: rgba(242, 237, 226, 0.68);
  --fg-mute: rgba(242, 237, 226, 0.42);
  --fg-faint: rgba(242, 237, 226, 0.22);
  --line: rgba(242, 237, 226, 0.14);
  --line-soft: rgba(242, 237, 226, 0.07);

  --cream: #F2EDE2;
  --ink: #0A0A0A;

  --accent: #E8FF3B;
  --accent-2: #FF4D1F;

  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1680px;
  --gutter: clamp(20px, 3vw, 56px);
  --nav-h: 76px;

  --ease: cubic-bezier(0.2, 0.85, 0.2, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { scroll-behavior: smooth; }
body {
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.45;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* ============ Loader ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  color: var(--fg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease 0.1s, visibility 0s linear 0.9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.loader__brand {
  font-weight: 600;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: -0.045em;
  line-height: 1;
}
.loader__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.5;
}
.loader__count {
  position: absolute; bottom: 28px; right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

/* ============ Eyebrow / labels ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--plain::before { display: none; }

/* ============ Reveals ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.split { overflow: hidden; line-height: 0.92; padding-bottom: 0.04em; }
.split__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.is-in .split__inner { transform: translateY(0); }
.split:nth-child(2) .split__inner { transition-delay: 0.08s; }
.split:nth-child(3) .split__inner { transition-delay: 0.16s; }
.split:nth-child(4) .split__inner { transition-delay: 0.24s; }
.split:nth-child(5) .split__inner { transition-delay: 0.32s; }

/* ============ Page transitions ============ */
.page {
  animation: pageIn 0.6s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px var(--gutter);
  transition: padding 0.4s ease, background 0.4s ease;
}
.nav.is-stuck {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__brand-text {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 2px;
}

/* ROUND ANIMATED LOGO MARK */
.logo-mark {
  width: 38px; height: 38px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark__ring {
  position: absolute; inset: 0;
  animation: ringSpin 18s linear infinite;
}
@keyframes ringSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.logo-mark__inner {
  position: absolute; inset: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.nav__menu {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-self: center;
}
.nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  padding: 6px 2px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav__cta:hover { transform: translateY(-1px); background: var(--cream); }
.nav__cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.nav__cta-dot::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.4);
  animation: pulse 2.4s infinite ease-out;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.nav__menu-btn {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.nav__menu-btn span {
  width: 14px; height: 1px;
  background: var(--fg);
  position: relative;
}
.nav__menu-btn span::before, .nav__menu-btn span::after {
  content: ""; position: absolute;
  left: 0; right: 0; height: 1px; background: var(--fg);
}
.nav__menu-btn span::before { top: -5px; }
.nav__menu-btn span::after { top: 5px; }

@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__menu-btn { display: inline-flex; }
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .nav__cta-wrap { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--nav-h) + 24px) var(--gutter) var(--gutter);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.mobile-menu__link {
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  align-self: flex-start;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.85) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0) 50%);
}
.hero__content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 60px) var(--gutter) clamp(40px, 6vw, 80px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 1.8s infinite ease-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__status-sub {
  color: var(--fg-soft);
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.hero__center {
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 60px;
}
.hero__title {
  font-weight: 500;
  font-size: clamp(40px, 8.5vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 1400px;
  text-wrap: balance;
}
.hero__title .accent-word {
  font-style: italic;
  color: var(--accent);
  padding-right: 0.08em;
}
.hero__title em { padding-right: 0.06em; }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
}
.hero__sub {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.45;
  color: var(--fg-soft);
  max-width: 540px;
  margin: 0;
}
.hero__meta {
  display: flex;
  gap: 40px;
  justify-self: end;
  flex-wrap: wrap;
}
@media (max-width: 880px) { .hero__meta { justify-self: start; gap: 28px; } }
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.hero__meta-value {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: clamp(20px, 3vw, 40px);
  right: var(--gutter);
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-soft);
  pointer-events: none;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--fg-soft), transparent);
  background-size: 1px 100%;
  animation: scrollLine 2s infinite linear;
  display: inline-block;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); opacity: 0; }
  20%, 50% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ============ Marquee ============ */
.marquee {
  background: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.marquee--accent { background: var(--accent); color: var(--ink); border: none; }
.marquee__track {
  display: flex;
  gap: 56px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.marquee--accent .marquee__item { color: var(--ink); font-weight: 500; }
.marquee__sep { color: var(--accent); }
.marquee--accent .marquee__sep { color: var(--ink); }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 28px)); }
}

/* ============ Sections ============ */
.section {
  padding: clamp(100px, 13vw, 200px) var(--gutter);
  position: relative;
}
.section--alt { background: var(--bg-2); }
.section--cream { background: var(--cream); color: var(--ink); }
.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 100px);
}
@media (max-width: 760px) {
  .section__head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
}
.section__title {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.section__title .accent-word { color: var(--accent); font-style: italic; padding-right: 0.08em; }
.section--cream .section__title .accent-word { color: var(--ink); font-style: italic; padding-right: 0.08em; }
.section__intro {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 480px;
  margin: 0;
  justify-self: end;
  align-self: end;
}
.section--cream .section__intro { color: rgba(10,10,10,0.62); }
@media (max-width: 760px) { .section__intro { justify-self: start; } }

/* Section subtitle (smaller heading variant) */
.section__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 720px;
}

/* ============ Featured Work (home preview) ============ */
.featured-work {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}
@media (max-width: 980px) { .featured-work { grid-template-columns: 1fr; } }

.fw-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 2px);
  background: var(--bg-3);
  display: block;
  aspect-ratio: 16/10;
}
.fw-tile--lg { aspect-ratio: 16/10; }
.fw-tile--col { display: grid; gap: 16px; aspect-ratio: auto; background: none; }
.fw-tile--col .fw-tile-inner { aspect-ratio: 4/3; }
.fw-tile-inner { position: relative; overflow: hidden; background: var(--bg-3); border-radius: var(--radius, 2px); }
.fw-tile__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.6s ease;
  filter: brightness(0.92);
}
.fw-tile-inner:hover .fw-tile__media,
.fw-tile:hover .fw-tile__media { transform: scale(1.04); filter: brightness(1.02); }

.fw-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 24px;
  color: var(--cream);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
.fw-tile__caption-l {
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  margin: 0;
}
.fw-tile__caption-r {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.82;
  white-space: nowrap;
}
.fw-tile__client {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 999px;
}

.featured-work__more {
  margin-top: 40px;
  text-align: center;
}

/* ============ Btn pill ============ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}
.btn-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn-pill:hover { color: var(--ink); border-color: var(--accent); }
.btn-pill:hover::before { transform: translateY(0); }
.btn-pill--dark { border-color: var(--ink); color: var(--ink); }
.btn-pill--dark::before { background: var(--ink); }
.btn-pill--dark:hover { color: var(--cream); border-color: var(--ink); }

/* ============ Manifesto ============ */
.manifesto__body {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 1280px;
  margin: 0;
}
.manifesto__body .accent { color: var(--accent); }
.manifesto__body .mute { color: var(--fg-mute); }

/* ============ Clients strip ============ */
.clients {
  padding: 60px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 980px) { .clients__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }
.clients__item {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.clients__item:hover { background: rgba(242, 237, 226, 0.04); }
.clients__item svg, .clients__item img {
  max-width: 120px;
  max-height: 50px;
  filter: invert(1) brightness(0.95);
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.clients__item:hover svg, .clients__item:hover img { opacity: 1; }

/* ============ Services list (full) ============ */
.svc-list {
  border-top: 1px solid var(--line);
}
.svc {
  display: grid;
  grid-template-columns: 60px 1.3fr 2fr 80px;
  gap: 36px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background 0.4s ease, padding 0.4s ease;
}
.svc:hover {
  padding-left: 18px; padding-right: 18px;
  background: rgba(232, 255, 59, 0.04);
}
.svc:hover .svc__title { color: var(--accent); }
@media (max-width: 880px) {
  .svc { grid-template-columns: 36px 1fr; gap: 14px; padding: 28px 0; }
  .svc__desc, .svc__cta { grid-column: 1 / -1; padding-left: 50px; }
  .svc__cta { margin-top: 8px; }
}

.svc__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-mute);
  padding-top: 8px;
}
.svc__head { display: flex; flex-direction: column; gap: 8px; }
.svc__title {
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  transition: color 0.4s ease;
}
.svc__lede {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  font-style: italic;
}
.svc__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 14px;
  max-width: 540px;
}
.svc__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.svc__bullets li {
  font-size: 13px;
  color: var(--fg-soft);
  padding-left: 16px;
  position: relative;
}
.svc__bullets li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--accent);
}
.svc__cta {
  display: flex; justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding-top: 12px;
}
.svc__cta-arrow {
  display: inline-block; margin-left: 6px;
  transition: transform 0.4s ease;
}
.svc:hover .svc__cta-arrow { transform: translate(4px, -4px); }
.svc:hover .svc__cta { color: var(--accent); }

/* ============ Work grid ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.work-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--radius, 2px);
  cursor: pointer;
}
.work-item__media {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.6s ease;
  filter: brightness(0.92);
}
.work-item:hover .work-item__media { transform: scale(1.04); filter: brightness(1.02); }
.work-item__index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.work-item__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px;
  color: var(--cream);
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}
.work-item__cap-l {
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}
.work-item__cap-client {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 4px;
}
.work-item__cap-r {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
  text-align: right;
}

/* Layout variations */
.work-item:nth-child(8n+1) { grid-column: span 7; aspect-ratio: 16/10; }
.work-item:nth-child(8n+2) { grid-column: span 5; aspect-ratio: 4/5; }
.work-item:nth-child(8n+3) { grid-column: span 4; aspect-ratio: 3/4; }
.work-item:nth-child(8n+4) { grid-column: span 4; aspect-ratio: 3/4; }
.work-item:nth-child(8n+5) { grid-column: span 4; aspect-ratio: 3/4; }
.work-item:nth-child(8n+6) { grid-column: span 5; aspect-ratio: 4/5; }
.work-item:nth-child(8n+7) { grid-column: span 7; aspect-ratio: 16/10; }
.work-item:nth-child(8n+8) { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 880px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work-item { grid-column: span 1 !important; aspect-ratio: 4/5 !important; }
  .work-item:nth-child(8n+1), .work-item:nth-child(8n+7), .work-item:nth-child(8n+8) {
    grid-column: span 2 !important; aspect-ratio: 16/10 !important;
  }
}

/* ============ Project modal ============ */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.35s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  animation: rise 0.5s var(--ease) both;
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 2;
}
.modal__count, .modal__title-row {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.modal__title-row {
  text-align: center;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--fg);
}
.modal__close {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.modal__close-x {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
}
.modal__hero {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-3);
  overflow: hidden;
}
.modal__hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal__body {
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}
@media (max-width: 880px) {
  .modal__body { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
}
.modal__meta {
  display: flex; flex-direction: column; gap: 18px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
@media (max-width: 880px) { .modal__meta { border: none; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; } }
.modal__meta-item { display: flex; flex-direction: column; gap: 4px; }
.modal__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.modal__meta-value { font-size: 14px; font-weight: 400; color: var(--fg); }
.modal__title {
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.modal__summary {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 26px;
}
.modal__services {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.modal__service {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
}
.modal__link {
  display: inline-flex; align-items: center; gap: 10px;
}
.modal__nav {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 26px;
}
.modal__nav button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.25s ease;
}
.modal__nav button:hover { color: var(--accent); }

/* ============ Studio page ============ */
.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}
@media (max-width: 980px) { .studio-grid { grid-template-columns: 1fr; } }
.studio__intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 560px;
  margin: 0 0 40px;
}
.studio__sections { display: flex; flex-direction: column; gap: 36px; }
.studio__section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .studio__section { grid-template-columns: 1fr; gap: 12px; } }
.studio__section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.studio__section-body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg);
}
.studio__quote {
  border-left: 2px solid var(--accent);
  padding: 24px 32px;
  background: var(--bg-2);
}
.studio__quote-text {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.studio__quote-author {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.studio__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
@media (max-width: 760px) { .studio__stats { grid-template-columns: repeat(2, 1fr); } }
.studio__stat-num {
  font-weight: 500;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
  color: var(--accent);
}
.studio__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============ Process steps ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process__step {
  border-top: 1px solid var(--accent);
  padding-top: 22px;
}
.process__step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 10px;
}
.process__step-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.process__step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-soft);
}

/* ============ Journal ============ */
.journal-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.journal-post {
  display: grid;
  grid-template-columns: 90px 1.5fr 1fr 90px;
  gap: 32px;
  padding: 36px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s ease, background 0.4s ease;
}
.journal-post:hover {
  padding-left: 18px; padding-right: 18px;
  background: rgba(232, 255, 59, 0.04);
}
.journal-post:hover .journal-post__title { color: var(--accent); }
@media (max-width: 880px) {
  .journal-post { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
}
.journal-post__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
}
.journal-post__title {
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  line-height: 1.1;
  transition: color 0.4s ease;
}
.journal-post__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin: 0;
}
.journal-post__read {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  justify-self: end;
}
@media (max-width: 880px) { .journal-post__read { justify-self: start; } }

/* Journal single post */
.journal-single {
  max-width: 800px;
  margin: 0 auto;
}
.journal-single__cover {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 40px;
}
.journal-single__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 20px;
  display: flex; gap: 14px;
}
.journal-single__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 28px;
}
.journal-single__body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg);
  white-space: pre-wrap;
}

/* ============ Contact page ============ */
.contact-hero {
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
}
.contact-hero__title {
  font-weight: 500;
  font-size: clamp(54px, 11vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.contact-hero__title a {
  position: relative;
  display: inline-block;
}
.contact-hero__title a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.04em;
  height: 0.05em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.contact-hero__title a:hover { color: var(--accent); }
.contact-hero__title a:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--fg-soft);
  max-width: 640px;
  margin: 32px 0 0;
  line-height: 1.5;
}

.contact-form-section {
  padding: 60px var(--gutter) 100px;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 18px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--fg);
  font: 15px/1.5 var(--font-sans);
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font: 500 14px/1 var(--font-sans);
  transition: transform 0.3s ease, background 0.3s ease;
}
.contact-form button:hover { transform: translateY(-2px); background: var(--cream); }

.contact-info {
  display: flex; flex-direction: column; gap: 28px;
  padding-left: 0;
}
.contact-info__block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.contact-info__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 10px;
}
.contact-info__value {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-info__value a { transition: color 0.2s ease; }
.contact-info__value a:hover { color: var(--accent); }

/* ============ Big CTA strip ============ */
.cta-strip {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-strip__title {
  font-weight: 500;
  font-size: clamp(48px, 9vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0;
  text-wrap: balance;
}
.cta-strip__title a {
  display: inline-block;
  position: relative;
  transition: opacity 0.3s ease;
}
.cta-strip__title a:hover { opacity: 0.7; }
.cta-strip__sub {
  margin: 28px 0 0;
  font-size: 17px;
  max-width: 520px;
  color: rgba(10, 10, 10, 0.7);
}

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  padding: 26px 0;
  align-items: center;
  text-align: left;
  color: var(--fg);
}
@media (max-width: 760px) { .faq-q { grid-template-columns: 36px 1fr 30px; gap: 14px; } }
.faq-q-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-mute);
}
.faq-q-text {
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq-q-icon { width: 26px; height: 26px; position: relative; }
.faq-q-icon::before, .faq-q-icon::after {
  content: ""; position: absolute;
  background: var(--fg);
  transition: transform 0.4s ease;
}
.faq-q-icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q-icon::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.is-open .faq-q-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 30px 84px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 720px;
}
@media (max-width: 760px) { .faq-a-inner { padding-left: 50px; } }

/* ============ Footer ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) var(--gutter) 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand-title {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 16px;
}
.footer__brand-sub {
  color: var(--fg-soft);
  max-width: 380px;
}
.footer__col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 18px;
}
.footer__col-list { display: flex; flex-direction: column; gap: 8px; }
.footer__col-list a {
  font-size: 14px;
  color: var(--fg-soft);
  transition: color 0.25s ease;
}
.footer__col-list a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============ WhatsApp floating button ============ */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.wa-fab svg { width: 28px; height: 28px; fill: white; }
.wa-fab::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2.4s infinite ease-out;
}
@keyframes waPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============ Generic helpers ============ */
.container { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.center { text-align: center; }
.muted { color: var(--fg-mute); }

/* ============ 404 ============ */
.notfound {
  padding: calc(var(--nav-h) + 100px) var(--gutter) 100px;
  text-align: center;
}
.notfound h1 {
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0 0 20px;
  color: var(--accent);
}
.notfound p {
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}
