/* ============================================================
   INDIRA STUDIOS — mobile-first, scroll-driven one-pager
   ============================================================ */

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

:root {
  --ink: #08080a;
  --ink-2: #101014;
  --bone: #f3f1ea;
  --lime: #d8ff3e;
  --violet: #6d4bff;
  --muted: rgba(243, 241, 234, 0.54);
  --line: rgba(243, 241, 234, 0.14);
  --pad: 20px;
  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- texture + progress ---------- */

.grain {
  position: fixed;
  inset: -60%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(3) infinite;
}

@keyframes grainShift {
  0%   { transform: translate3d(0, 0, 0); }
  33%  { transform: translate3d(-2%, 1%, 0); }
  66%  { transform: translate3d(1%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 10000;
  will-change: transform;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) var(--pad) 12px;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(8, 8, 10, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo span {
  font-size: 9px;
  vertical-align: super;
  color: var(--lime);
  letter-spacing: 0;
}

.nav__toggle {
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav__toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--bone);
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1), background 0.3s ease;
}

body.menu-open .nav {
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.menu-open .nav__logo { color: var(--ink); }
body.menu-open .nav__logo span { color: var(--ink); }
body.menu-open .nav__toggle { background: var(--ink); border-color: var(--ink); }
body.menu-open .nav__toggle span { background: var(--lime); }
body.menu-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .nav__toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- menu overlay ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: calc(84px + env(safe-area-inset-top)) var(--pad) calc(26px + env(safe-area-inset-bottom));
  background: var(--lime);
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.62s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }

.menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 13vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.menu-open .menu__link {
  opacity: 1;
  transform: none;
  transition-delay: var(--d, 0s);
}

.menu__link em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.3em;
  vertical-align: super;
  opacity: 0.55;
  letter-spacing: 0;
}

.menu__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(8, 8, 10, 0.2);
  padding-top: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.2s, transform 0.5s ease 0.2s;
}

body.menu-open .menu__foot { opacity: 1; transform: none; }

/* ---------- shared bits ---------- */

.label {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 16.8vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 10px 0 30px;
}

.section-title--sm { font-size: clamp(2.6rem, 15vw, 5rem); }

.chip {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(82px + env(safe-area-inset-top)) var(--pad) calc(84px + env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  width: 135vw; height: 135vw;
  left: -45vw; top: -55vw;
  background: radial-gradient(circle at 50% 50%, rgba(109, 75, 255, 0.62), rgba(109, 75, 255, 0) 62%);
  transform: translate3d(calc(var(--p, 0) * -10vw), calc(var(--p, 0) * 8vw), 0);
  pointer-events: none;
  z-index: -1;
  filter: blur(6px);
}

.hero__glow--lime {
  width: 90vw; height: 90vw;
  left: auto; right: -38vw; top: auto; bottom: -30vw;
  background: radial-gradient(circle at 50% 50%, rgba(216, 255, 62, 0.34), rgba(216, 255, 62, 0) 65%);
  transform: translate3d(calc(var(--p, 0) * 12vw), calc(var(--p, 0) * -10vw), 0);
}

.hero__inner { width: 100%; position: relative; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.7);
  animation: pulse 2.2s ease-out infinite;
  flex: 0 0 auto;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(216, 255, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.8;
  letter-spacing: -0.045em;
  opacity: 0;
  animation: titleIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes titleIn {
  from { opacity: 0; transform: translate3d(0, 46px, 0); }
  to   { opacity: 1; transform: none; }
}

.hero__line {
  display: block;
  will-change: transform;
}

.hero__line--a {
  font-size: clamp(3.5rem, 23vw, 13rem);
  color: var(--bone);
  transform: translate3d(calc(var(--p, 0) * -5vw), 0, 0) scale(calc(1 + var(--p, 0) * 0.05));
  transform-origin: 0 100%;
}

.hero__line--b {
  font-size: clamp(2.9rem, 18vw, 10.6rem);
  color: transparent;
  -webkit-text-stroke: 1.3px var(--bone);
  text-stroke: 1.3px var(--bone);
  transform: translate3d(calc(var(--p, 0) * 4vw), 0, 0) scale(calc(1 + var(--p, 0) * 0.03));
  transform-origin: 100% 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.hero__bottom {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.hero__bio {
  margin: 0;
  max-width: 30ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(243, 241, 234, 0.82);
}

.hero__bio em {
  font-style: normal;
  color: var(--lime);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* rotating badge */
.badge {
  position: absolute;
  right: var(--pad);
  bottom: calc(22px + env(safe-area-inset-bottom));
  width: 94px; height: 94px;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
  will-change: transform;
}

.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge text {
  fill: var(--bone);
  font-family: var(--font-body);
  font-size: 8.2px;
  letter-spacing: 1.55px;
  text-transform: uppercase;
}
.badge__star { font-size: 25px; color: var(--lime); line-height: 1; }

.hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: calc(26px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero__scroll i {
  display: block;
  width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--bone) 0%, rgba(243, 241, 234, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--lime);
  animation: swipe 2.1s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes swipe {
  0%   { transform: translateX(-110%); }
  55%  { transform: translateX(260%); }
  100% { transform: translateX(260%); }
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  background: var(--ink-2);
}

.ticker--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.ticker__track > span {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 4.4vw, 1.5rem);
  letter-spacing: -0.01em;
  padding-right: 0.5em;
  text-transform: uppercase;
}

.ticker__track em { font-style: normal; color: var(--lime); }
.ticker--lime .ticker__track em { color: var(--ink); opacity: 0.4; }

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

/* ---------- manifesto ---------- */

.manifesto {
  position: relative;
  height: 220svh;
}

.manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 90px var(--pad) 40px;
}

.manifesto__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6.7vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.manifesto__text .w {
  color: rgba(243, 241, 234, 0.16);
  transition: color 0.3s ease;
}

.manifesto__text .w.is-on { color: var(--bone); }
.manifesto__text .w.is-hot { color: var(--lime); }

.manifesto__sign {
  margin: 0;
  align-self: flex-end;
  max-width: 22ch;
  text-align: right;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- work rail ---------- */

.work {
  position: relative;
  height: 320svh;
  background: linear-gradient(180deg, var(--ink) 0%, #0b0b10 50%, var(--ink) 100%);
}

.work__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
}

.work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.work__count {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.work__track {
  display: flex;
  gap: 12px;
  padding: 0 var(--pad);
  will-change: transform;
  align-items: stretch;
}

.card {
  position: relative;
  flex: 0 0 auto;
  width: min(76vw, 400px);
  height: clamp(280px, 54svh, 470px);
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121216;
  isolation: isolate;
}

.card__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(125% 95% at 15% 0%, var(--c1) 0%, transparent 58%),
    radial-gradient(110% 90% at 95% 100%, var(--c2) 0%, transparent 62%),
    #101014;
  filter: saturate(1.05);
}

.card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 16%, rgba(8, 8, 10, 0.1) 72%);
}

.card__glyph {
  position: absolute;
  right: -4%;
  top: 2%;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(7rem, 34vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.1);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card__year {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.card__bottom { display: flex; flex-direction: column; gap: 6px; }

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: #fff;
}

.card__sub {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.work__hint {
  margin: 0;
  padding: 0 var(--pad);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-align: right;
}

/* ---------- services ---------- */

.services {
  padding: 12svh var(--pad) 8svh;
  border-top: 1px solid var(--line);
}

.svc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.svc__row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.svc__row.is-in { opacity: 1; transform: none; }
.svc__row:nth-child(2) { transition-delay: 0.05s; }
.svc__row:nth-child(3) { transition-delay: 0.1s; }
.svc__row:nth-child(4) { transition-delay: 0.15s; }

.svc__num {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  padding-top: 0.5em;
}

.svc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 7.6vw, 2.3rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.svc__desc {
  grid-column: 2;
  margin: 6px 0 0;
  max-width: 44ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.svc__tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.svc__tags li {
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* stats */

.stats {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 15vw, 4.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  max-width: 46%;
}

/* ---------- process stack ---------- */

.process {
  padding: 10svh var(--pad) 16svh;
  border-top: 1px solid var(--line);
}

.stack { display: grid; gap: 12px; }

.step {
  position: sticky;
  top: calc(76px + env(safe-area-inset-top) + var(--i) * 12px);
  min-height: min(62svh, 430px);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  color: var(--ink);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.step--bone { background: var(--bone); }
.step--lime { background: var(--lime); }
.step--violet { background: var(--violet); color: var(--bone); }
.step--ink { background: var(--ink-2); color: var(--bone); border: 1px solid var(--line); }

.step__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.62;
}

.step__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 12.4vw, 3.1rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.step__text {
  margin: 0;
  max-width: 30ch;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.72;
}

/* ---------- cta ---------- */

.cta {
  position: relative;
  padding: 12svh var(--pad) 12svh;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 90vw; height: 90vw;
  right: -40vw; bottom: -30vw;
  background: radial-gradient(circle, rgba(109, 75, 255, 0.45), transparent 66%);
  pointer-events: none;
  z-index: -1;
}

.cta__title {
  margin: 12px 0 30px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 18.4vw, 8.6rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.cta__title span { display: block; }
.cta__title span:nth-child(2) { text-align: right; }

.cta__stroke {
  color: transparent;
  -webkit-text-stroke: 1.3px var(--bone);
  text-stroke: 1.3px var(--bone);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(0.9rem, 4.2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

.btn:active { transform: scale(0.98); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.95rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(243, 241, 234, 0.22);
  color: var(--bone);
}

.btn--ghost .btn__arrow { background: var(--lime); color: var(--ink); }

/* ---------- book a call ---------- */

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(216, 255, 62, 0.16);
}

.book-btn span { font-size: 0.95rem; line-height: 1; }
.book-btn:active { transform: scale(0.97); }

.book-btn--wide {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  margin-bottom: 10px;
  font-size: 0.72rem;
}

/* ---------- booking dialog ---------- */

.book {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0;
  width: 100%;
  max-width: none;
  max-height: 92svh;
  overflow-y: auto;
  border: 0;
  border-radius: 22px 22px 0 0;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  background: #0e0e12;
  color: var(--bone);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.6);
}

.book::backdrop {
  background: rgba(4, 4, 6, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.book[open] { animation: sheetUp 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }

@keyframes sheetUp {
  from { transform: translateY(18px); }
  to   { transform: translateY(0); }
}

.book__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.book__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.book__title {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 10.5vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.book__sub {
  margin: 0 0 16px;
  max-width: 36ch;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}

.book__form { margin: 0; }

.field { display: block; margin-bottom: 12px; }

.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(243, 241, 234, 0.18);
  background: #17171d;
  color: var(--bone);
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder { color: rgba(243, 241, 234, 0.32); }

.field input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 62, 0.14);
}

.book__error {
  margin: 2px 0 10px;
  font-size: 0.78rem;
  color: #ff8080;
}

.book__submit { width: 100%; margin-top: 4px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.book__note {
  margin: 10px 0 0;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.book__done { padding: 6px 0 2px; text-align: center; }

.book__check {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 23px;
}

.book__done .book__sub { margin-inline: auto; }
.book__done .btn { width: 100%; margin-top: 6px; }

.book__textbtn {
  margin-top: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta__row a { color: var(--bone); border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ---------- footer ---------- */

.foot { padding-bottom: env(safe-area-inset-bottom); }

.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 16px var(--pad) 18px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- desktop ---------- */

@media (min-width: 760px) {
  :root { --pad: 40px; }

  .nav { padding-top: calc(16px + env(safe-area-inset-top)); }
  .nav__logo { font-size: 20px; }
  .nav__toggle { width: 52px; height: 52px; }

  .hero { padding-top: 120px; }
  .hero__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
  }
  .hero__cta { align-items: flex-end; }
  .hero__bio { font-size: 1.05rem; }
  .hero__meta { flex-direction: column; align-items: flex-end; text-align: right; }
  .hero__scroll { bottom: 40px; }
  .badge { width: 118px; height: 118px; right: var(--pad); bottom: 28px; }

  .manifesto { height: 250svh; }
  .manifesto__sticky { padding-inline: 12vw; }

  .work { height: 300svh; }
  .card { width: min(38vw, 440px); height: min(58svh, 520px); padding: 22px; }

  .services { padding-inline: 8vw; }
  .svc__row { grid-template-columns: 60px 1fr; padding: 26px 0; }
  .svc__desc { font-size: 0.95rem; }

  .stats { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 0; border-bottom: 0; }
  .stat__label { text-align: left; max-width: none; }

  .process { padding-inline: 8vw; }
  .step { min-height: min(56svh, 460px); padding: 34px; top: calc(96px + var(--i) * 16px); }
  .step__text { font-size: 1rem; max-width: 36ch; }

  .cta { padding-inline: 8vw; padding-bottom: 14svh; }
  .cta__title { font-size: clamp(4rem, 13vw, 10rem); }
  .btn { width: 52%; min-height: 68px; font-size: 1.05rem; padding-inline: 24px; }
  .book-btn--wide { width: 52%; min-height: 68px; }

  .book {
    inset: 0;
    margin: auto;
    max-width: 460px;
    max-height: 88svh;
    height: max-content;
    border-radius: 22px;
    padding: 28px;
  }
  .book__title { font-size: 2.6rem; }
}

@media (max-width: 380px) {
  .hero__line--a { font-size: 22.5vw; }
  .hero__line--b { font-size: 17.6vw; }
  .badge { width: 84px; height: 84px; }
}

@media (max-width: 340px) {
  .btn { font-size: 0.72rem; padding: 12px 14px; }
  .btn__arrow { width: 28px; height: 28px; }
  .cta__row { font-size: 0.56rem; }
}

@media (prefers-reduced-motion: reduce) {
  .grain,
  .hero__glow,
  .ticker__track,
  .hero__scroll i::after,
  .dot { animation: none !important; }
  .hero__title { opacity: 1; animation: none; transform: none; }
  .hero__line--a,
  .hero__line--b { transform: none; }
  .hero__eyebrow,
  .hero__bottom,
  .badge,
  .hero__scroll { opacity: 1; animation: none; }
  .reveal, .svc__row { opacity: 1; transform: none; transition: none; }
  .book[open] { animation: none; }
  .manifesto__text .w { color: var(--bone); }
  .work { height: auto; padding: 80px 0; }
  .work__pin { position: static; height: auto; }
  .work__track { flex-direction: column; }
  .card { width: 100%; height: 320px; }
  .manifesto { height: auto; padding: 90px 0; }
  .manifesto__sticky { position: static; height: auto; }
}
