/* Limone con Amore — studio site
   Ivory paper, olive ink, lemon as a signature. */

.page-studio {
  background:
    radial-gradient(90% 50% at 100% -10%, color-mix(in srgb, var(--lemon) 22%, transparent), transparent 55%),
    var(--ivory);
}

.page-studio .site-header {
  background: color-mix(in srgb, var(--ivory) 78%, transparent);
}

.page-studio .site-header.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
}

.page-studio .site-header:has(.nav-toggle[aria-expanded="true"]),
.page-studio .mobile-nav {
  background: var(--ivory);
}

.page-studio h2 em {
  display: inline;
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

.studio-hero {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 1.25rem) 0 3.5rem;
}

.studio-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  width: min(calc(100% - 2.5rem), 1160px);
}

.studio-kicker {
  margin-bottom: 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.studio-hero h1 {
  max-width: 11ch;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(3.1rem, 6.3vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--teal);
}

.title-letters {
  display: block;
}

.title-word {
  display: inline-block;
  white-space: nowrap;
}

.title-word + .title-word {
  margin-left: 0.22em;
}

.title-word > span {
  display: inline-block;
}

.studio-hero__lead {
  max-width: 38rem;
  margin-top: 1.4rem;
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  margin-top: 2rem;
}

/* The only call to action above the fold, so it carries the weight: a lemon
   halo that breathes, a sheen that sweeps across on hover, and an arrow in a
   lemon disc. The halo lives outside the button because the button clips. */
.hero-cta {
  position: relative;
  display: inline-flex;
}

.hero-cta__halo {
  position: absolute;
  inset: -58% -20%;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lemon) 72%, transparent), transparent 74%);
  opacity: 0.7;
  pointer-events: none;
}

.btn--hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  gap: 0.9rem;
  min-height: 3.9rem;
  padding: 0 0.55rem 0 2.1rem;
  font-size: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--forest) 0%, var(--teal) 58%, color-mix(in srgb, var(--teal) 88%, black) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(22, 56, 51, 0.24),
    0 2px 6px rgba(22, 56, 51, 0.18);
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--ease);
}

.btn--hero:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 52px rgba(22, 56, 51, 0.28),
    0 2px 6px rgba(22, 56, 51, 0.2);
}

.btn--hero:active {
  transform: translateY(-1px);
}

.btn__sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.16) 47%,
    color-mix(in srgb, var(--lemon) 30%, transparent) 50%,
    rgba(255, 255, 255, 0.16) 53%,
    transparent 64%
  );
  translate: -130% 0;
  pointer-events: none;
}

.btn--hero:hover .btn__sheen,
.btn--hero:focus-visible .btn__sheen {
  translate: 130% 0;
  transition: translate 0.9s var(--ease);
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  font-size: 1rem;
  color: var(--teal);
  background: var(--lemon);
  border-radius: 50%;
  transition: transform 0.45s var(--spring);
}

.btn--hero:hover .btn__arrow {
  transform: translateX(3px);
}

.page-studio .btn--line {
  min-height: 3rem;
  padding-inline: 1.2rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  box-shadow: none;
}

.page-studio .btn--line:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 80%, transparent);
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.now-playing {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-soft);
}

.now-playing:hover {
  color: var(--ink);
}

.pulse {
  flex: none;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--dot, #5f9a68);
}

.pulse--wait {
  --dot: var(--lemon);
}

.pulse--quiet {
  --dot: color-mix(in srgb, var(--gold) 70%, var(--parchment));
}

/* An open circle — the idea that does not exist yet. */
.pulse--empty {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 32%, transparent);
}

/* Hero stage — the product creation system */

.stage {
  /* --r is the orbit radius, shared by the ring and the chips so the chips
     travel along the drawn path. It is a container unit rather than a
     percentage so the orbit slots can stay zero-sized and never widen the
     page. */
  container-type: inline-size;
  --r: 44cqw;
  --px: 0;
  --py: 0;
  position: relative;
  height: min(540px, 70vw);
  max-height: 560px;
}

.stage__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 72%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lemon) 42%, white) 0%, transparent 68%);
  filter: blur(6px);
}

.stage__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: calc(var(--r) * 2);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, transparent);
}

.stage__satellite {
  position: absolute;
  inset: -4px;
}

.stage__satellite::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lemon);
  translate: -50% -50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lemon) 22%, transparent);
}

.stage__lemon {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(232px, 48%);
  translate: calc(-50% + var(--px) * 1px * var(--depth)) calc(-54% + var(--py) * 1px * var(--depth));
}

.stage__lemon img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(154, 122, 46, 0.18));
}

/* Orbiting state chips.
   Four nested layers so each owns one transform: polar position, counter-sway,
   cursor parallax, idle float. */

.orbit {
  position: absolute;
  inset: 0;
  transform-origin: 50% 46%;
}

/* A zero-sized point at the centre of the composition that swings its chip
   out to the orbit radius, then unrotates so the chip hangs level. */
.orbit__slot {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  transform: rotate(var(--a)) translateX(calc(var(--r) * var(--rk, 1)))
    rotate(calc(-1 * var(--a)));
}

.orbit__hold,
.orbit__drift {
  position: absolute;
  left: 0;
  top: 0;
}

.orbit__drift {
  translate: calc(var(--px) * 1px * var(--depth)) calc(var(--py) * 1px * var(--depth));
}

/* Each chip is a sized card: the orbit slot has no width of its own, and the
   clipped reveal cannot contribute an intrinsic one. */
.chip {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 0;
  width: var(--w, 7rem);
  padding: 0.6rem 0.85rem;
  translate: -50% -50%;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--parchment) 80%, white);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(28, 43, 38, 0.09);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), scale 0.45s var(--spring);
}

.chip__label {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-deep);
}

.chip--idea { --w: 5.9rem; }
.chip--sketch { --w: 7.2rem; }
.chip--build { --w: 7rem; }
.chip--live { --w: 7.9rem; }

.chip--live .chip__label {
  color: var(--moss);
}

/* The peek is clipped to zero height until the chip is hovered. */
.chip__peek {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  translate: 0 -3px;
  transition: max-height 0.4s var(--spring), opacity 0.3s var(--ease), translate 0.4s var(--spring),
    margin-top 0.4s var(--spring);
}

.chip:hover {
  z-index: 4;
  scale: 1.06;
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 20px 44px rgba(28, 43, 38, 0.13);
}

.chip:hover .chip__peek {
  max-height: 4.5rem;
  margin-top: 0.5rem;
  opacity: 1;
  translate: 0 0;
}

.peek-spark {
  width: 4.1rem;
  height: auto;
  color: var(--gold);
}

.peek-wire {
  display: grid;
  gap: 0.3rem;
  width: 5.3rem;
}

.peek-wire__bar,
.peek-wire__line,
.peek-wire__row i {
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--forest) 42%, var(--parchment));
}

.peek-wire__bar { width: 58%; }
.peek-wire__line { width: 100%; }
.peek-wire__line--short { width: 62%; }

.peek-wire__box {
  height: 1.35rem;
  border-radius: 5px;
  background: color-mix(in srgb, var(--parchment) 72%, white);
  border: 1px solid color-mix(in srgb, var(--forest) 16%, transparent);
}

.peek-code {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink-soft);
}

.peek-code__fn { color: var(--moss); font-weight: 600; }
.peek-code__str { color: var(--gold-deep); }

/* Both stores, stacked so the reveal stays as narrow as the chip. */
.peek-stores {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.peek-store {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem 0.25rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ivory);
  background: var(--teal);
  border-radius: 7px;
}

.peek-store svg {
  width: 0.8rem;
  height: 0.8rem;
}

.peek-store--play {
  color: var(--teal);
  background: color-mix(in srgb, var(--lemon) 72%, white);
}

/* Sections */

.studio-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.studio-section h2,
.cta h2,
.metrics-hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--teal);
}

.statement {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.statement__inner {
  max-width: 40rem;
}

.statement__lead {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--forest);
}

/* Product universe */

.universe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.8rem;
}

.universe__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  transition: translate 0.5s var(--spring), box-shadow 0.5s var(--ease);
}

.universe__card--live {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--parchment) 70%, white);
  box-shadow: 0 22px 50px rgba(28, 43, 38, 0.06);
}

.universe__card--building {
  color: var(--ivory);
  background:
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--gold) 32%, transparent), transparent 58%),
    var(--teal);
  box-shadow: 0 22px 50px rgba(22, 56, 51, 0.16);
}

.universe__card:hover {
  translate: 0 -7px;
}

.universe__card--live:hover {
  box-shadow: 0 30px 64px rgba(28, 43, 38, 0.11);
}

.universe__card--building:hover {
  box-shadow: 0 30px 64px rgba(22, 56, 51, 0.22);
}

.universe__status {
  position: absolute;
  z-index: 3;
  top: 1.1rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.72rem 0.34rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--parchment) 70%, white);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.universe__media {
  position: relative;
  display: block;
  height: clamp(260px, 30vw, 360px);
  overflow: hidden;
  background: #f4e6c0;
}

.universe__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  transition: scale 0.7s var(--spring);
}

.universe__card:hover .universe__shot {
  scale: 1.04;
}

/* The real app icon, sitting on the screenshot like a product badge. */
.universe__icon {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 5rem;
  height: 5rem;
  border-radius: 1.2rem;
  box-shadow: 0 14px 30px rgba(28, 43, 38, 0.32);
  transition: translate 0.6s var(--spring), rotate 0.6s var(--spring);
}

.universe__card:hover .universe__icon {
  translate: 0 -5px;
  rotate: -5deg;
}

.universe__card--building .universe__media {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--teal) 86%, black);
}

.universe__mark {
  width: 8.2rem;
  height: 8.2rem;
  object-fit: cover;
  border-radius: 1.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  transition: scale 0.7s var(--spring);
}

.universe__card--building:hover .universe__mark {
  scale: 1.04;
}

/* Three bars that read as "work in progress", not as data. */
.universe__wip {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 1.5rem;
}

.universe__wip i {
  width: 0.3rem;
  border-radius: 2px;
  background: color-mix(in srgb, var(--lemon) 70%, transparent);
}

.universe__wip i:nth-child(1) { height: 42%; }
.universe__wip i:nth-child(2) { height: 72%; }
.universe__wip i:nth-child(3) { height: 56%; }

.universe__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
}

.universe__kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.universe__card--building .universe__kicker {
  color: color-mix(in srgb, var(--lemon) 78%, white);
}

.universe__card h3 {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.universe__card h3 a {
  text-decoration: none;
  color: var(--teal);
}

.universe__card--building h3 a,
.universe__card--building .text-link,
.universe__card--building .text-link:hover {
  color: var(--ivory);
}

.universe__card--building .prose {
  color: color-mix(in srgb, var(--ivory) 78%, var(--sage));
}

.universe__body .prose {
  margin-top: 0.85rem;
  font-size: 1.02rem;
}

.universe__meta {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.universe__card--building .universe__meta {
  color: color-mix(in srgb, var(--ivory) 62%, var(--sage));
}

.universe__body .text-link {
  margin-top: auto;
  padding-top: 1.35rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--teal);
}

.text-link .arrow {
  transition: transform 0.35s var(--spring);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* Philosophy */

.craft {
  color: var(--ivory);
  background:
    radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 50%),
    var(--teal);
}

.craft h2,
.craft .statement__lead {
  color: var(--ivory);
}

.craft .eyebrow,
.craft .eyebrow--light {
  color: color-mix(in srgb, var(--lemon) 75%, white);
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.8rem;
  border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent);
  list-style: none;
}

.craft__grid li {
  padding: 1.35rem 1rem 1.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  letter-spacing: -0.02em;
}

.craft__grid span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--lemon) 80%, white);
}

.craft__close {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: color-mix(in srgb, var(--ivory) 90%, var(--lemon));
}

/* Lab */

.lab-list {
  display: grid;
  margin-top: 2.2rem;
  border-top: 1px solid color-mix(in srgb, var(--parchment) 80%, var(--sage));
  list-style: none;
}

.lab-list li + li {
  border-top: 1px solid color-mix(in srgb, var(--parchment) 80%, var(--sage));
}

.lab-row,
.lab-list a {
  display: grid;
  grid-template-columns: 10rem 1.4fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0.2rem;
  text-decoration: none;
  color: inherit;
}

.lab-list a:hover .lab-row__name {
  color: var(--forest);
}

.lab-row__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lab-row__name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  color: var(--teal);
  transition: color 0.3s var(--ease);
}

.lab-row__note {
  color: var(--ink-soft);
  font-weight: 300;
}

.lab-row__go {
  color: var(--ink-soft);
  transition: transform 0.35s var(--spring);
}

.lab-list a:hover .lab-row__go {
  transform: translateX(4px);
}

.lab-list__quiet .lab-row__name,
.lab-list__quiet .lab-row__note {
  color: color-mix(in srgb, var(--ink-soft) 52%, var(--parchment));
}

.lab-list__quiet .lab-row__status {
  color: color-mix(in srgb, var(--ink-soft) 60%, var(--parchment));
}

/* Proof */

.proof {
  padding-top: 0;
}

.proof h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.proof__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--parchment) 75%, white);
  border-radius: 28px;
}

.proof__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.proof__note {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.proof__note a {
  color: var(--forest);
}

/* CTA */

.cta {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.cta__inner {
  display: grid;
  justify-items: start;
  max-width: 40rem;
}

.cta__mark {
  width: 4.4rem;
  height: auto;
  margin-bottom: 1.2rem;
}

.cta .prose {
  margin-top: 1rem;
  margin-bottom: 1.6rem;
}

/* Final CTA — the most spacious moment on the page. */

.cta--finale {
  padding: clamp(6rem, 13vw, 11rem) 0 clamp(6rem, 12vw, 10rem);
  background:
    radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--lemon) 16%, transparent), transparent 70%),
    color-mix(in srgb, var(--cream) 40%, var(--ivory));
  border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
}

.cta--finale .cta__inner {
  justify-items: center;
  max-width: 46rem;
  text-align: center;
}

.cta--finale .cta__mark {
  width: 5.4rem;
  margin-bottom: 1.6rem;
}

.cta__headline {
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
}

.cta__sub {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--forest);
}

.btn--finale {
  gap: 0.5rem;
  margin-top: 2.6rem;
  min-height: 3.6rem;
  padding-inline: 2rem;
  font-size: 1.02rem;
  border-radius: 999px;
}

.btn--finale .arrow {
  transition: transform 0.4s var(--spring);
}

.btn--finale:hover .arrow {
  transform: translateX(5px);
}

.cta__mail {
  margin-top: 0.95rem;
  font-size: 0.95rem;
}

.cta--finale .cta__mail {
  margin-top: 2rem;
}

.cta__mail a {
  color: var(--forest);
}

/* Footer */

.page-studio .site-footer {
  padding: 3.2rem 0 2rem;
  background: color-mix(in srgb, var(--cream) 45%, var(--ivory));
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.footer--studio {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
}

.footer__label {
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.footer__links {
  display: grid;
  gap: 0.45rem;
}

.footer__links a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink-soft);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer--studio .footer__tag {
  max-width: 16rem;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.footer--studio .footer__copy {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* Metrics placeholder */

.metrics-hero {
  display: flex;
  align-items: center;
  min-height: calc(100dvh - 8rem);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.metrics-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  width: min(calc(100% - 2.5rem), 920px);
}

.metrics-hero h1 {
  max-width: 12ch;
}

.metrics-hero .prose + .prose {
  margin-top: 0.8rem;
}

.metrics-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 999px;
}

.metrics-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  margin-top: 2rem;
}

.metrics-hero__mark {
  width: min(168px, 36vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2.15rem;
  box-shadow: 0 18px 40px rgba(22, 56, 51, 0.16);
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .studio-hero__copy > *:not(h1) {
    animation: studio-rise 0.95s var(--spring) both;
  }

  .studio-hero__copy > *:nth-child(1) { animation-delay: 0.04s; }
  .studio-hero__copy > *:nth-child(3) { animation-delay: 0.55s; }
  .studio-hero__copy > *:nth-child(4) { animation-delay: 0.63s; }
  .studio-hero__copy > *:nth-child(5) { animation-delay: 0.71s; }

  .title-word > span {
    animation: letter-in 0.5s var(--spring) both;
    animation-delay: calc(0.12s + var(--i) * 0.028s);
  }

  .stage__lemon img { animation: float-y 8.5s ease-in-out infinite; }
  .stage__satellite { animation: orbit 32s linear infinite; }
  .metrics-hero__mark { animation: float-y 9s ease-in-out infinite; }

  /* Slow enough to read as light rather than motion. */
  .hero-cta__halo { animation: halo-breathe 7s ease-in-out infinite; }

  /* The orbit sways instead of spinning a full circle, so the chips never
     drift over the headline. Each chip counter-sways to stay upright. */
  .orbit { animation: orbit-sway 26s ease-in-out infinite; }
  .chip { animation: orbit-sway-rev 26s ease-in-out infinite, float-y var(--float, 10s) ease-in-out infinite; }

  .stage.is-held .orbit,
  .stage.is-held .chip,
  .stage.is-held .stage__satellite {
    animation-play-state: paused;
  }

  .pulse {
    animation: pulse 2.6s ease-in-out infinite;
  }
}

@keyframes studio-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes letter-in {
  from { opacity: 0; transform: translateY(0.28em); }
  to { opacity: 1; transform: none; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.52; transform: scale(0.93); }
  50% { opacity: 0.92; transform: scale(1.05); }
}

@keyframes orbit-sway {
  0%, 100% { rotate: -7deg; }
  50% { rotate: 7deg; }
}

@keyframes orbit-sway-rev {
  0%, 100% { rotate: 7deg; }
  50% { rotate: -7deg; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .universe__card,
  .chip {
    --px: 0;
    --py: 0;
  }

  .universe__card:hover,
  .chip:hover {
    translate: 0;
    scale: 1;
  }

  .btn--hero:hover {
    transform: none;
  }

  .btn--hero:hover .btn__sheen,
  .btn--hero:focus-visible .btn__sheen {
    translate: -130% 0;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .studio-hero {
    min-height: 0;
    align-items: start;
  }

  .studio-hero__grid,
  .metrics-hero__inner {
    grid-template-columns: 1fr;
  }

  .stage {
    order: 2;
    width: 100%;
    height: 390px;
    max-width: 480px;
    margin: 0.5rem auto 0;
  }

  /* The stage is wider than it is tall here, so pull the orbit in. */
  .stage {
    --r: 34cqw;
  }

  .metrics-hero__mark {
    width: 112px;
    border-radius: 1.6rem;
  }

  .universe,
  .proof__panel,
  .footer--studio {
    grid-template-columns: 1fr;
  }

  .proof__stores {
    justify-content: flex-start;
  }

  .craft__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer--studio .footer__brand {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 760px) {
  .studio-hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .lab-row,
  .lab-list a {
    grid-template-columns: 1fr auto;
    gap: 0.2rem 1rem;
  }

  .lab-row__status { grid-column: 1; }
  .lab-row__go { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
  .lab-row__name,
  .lab-row__note { grid-column: 1; }

  .universe__media {
    height: 240px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* A single pill reads better at its own size than stretched edge to edge. */
  .hero-actions .btn--hero {
    width: auto;
  }
}

@media (max-width: 600px) {
  .studio-hero__grid,
  .metrics-hero__inner {
    width: calc(100% - 1.6rem);
  }

  .stage {
    height: 340px;
    --r: 31cqw;
  }

  .stage__lemon {
    width: 140px;
  }

  .chip {
    padding: 0.5rem 0.7rem;
  }

  .chip--idea { --w: 5.2rem; }
  .chip--sketch { --w: 6.4rem; }
  .chip--build { --w: 6.2rem; }
  .chip--live { --w: 7rem; }

  .chip__label {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .craft__grid {
    grid-template-columns: 1fr;
  }

  .store-btn {
    width: 100%;
  }
}

/* Container query units carry the orbit radius. Browsers without them get a
   fixed radius so the chips still sit around the lemon. */
@supports not (width: 1cqw) {
  .stage {
    --r: 144px;
  }
}
