/* Design layer for the studio homepage only, not the FORMA or TON sites. */
body:has(#landing:not([hidden])) {
  --studio-night:#1b1f21;
  --studio-panel:#262c2e;
  --studio-paper:#f4f3ed;
  --studio-card:#fbfaf6;
  --studio-muted:#545a56;
  --studio-accent:#d7ee98;
  --studio-hair:#dbdcd2;
  background:var(--studio-paper);
}
body:has(#landing:not([hidden])) .header {
  background:#1b1f21;
  border-color:#ffffff26;
  color:#f7f7ec;
}
body:has(#landing:not([hidden])) .top {height:66px}
body:has(#landing:not([hidden])) .header .brand svg {width:30px;height:30px}
body:has(#landing:not([hidden])) .header :is(.brand svg,.sl) {color:var(--studio-accent)}
body:has(#landing:not([hidden])) .nav {font-size:13px;color:#d7ddd6;gap:clamp(15px,2vw,29px)}
body:has(#landing:not([hidden])) .nav a:hover {color:var(--studio-accent);text-decoration:none}
body:has(#landing:not([hidden])) .langs {border-color:#ffffff36}
body:has(#landing:not([hidden])) .langs button {color:#ebf0e3}
body:has(#landing:not([hidden])) .langs [aria-pressed=true] {background:var(--studio-accent);color:#22271c}
#landing {
  --muted:var(--studio-muted);
  --warm:#4c632e;
  --line:var(--studio-hair);
  color:var(--studio-night);
}
#landing .hero-shell {
  background:radial-gradient(ellipse at 84% 44%,#303a34 0,transparent 62%),var(--studio-night);
  color:#f5f6ee;
}
#landing .hero {padding-block:clamp(56px,7vw,108px) clamp(42px,5.5vw,84px);gap:clamp(24px,4vw,65px);grid-template-columns: minmax(0,1fr) minmax(0,1.05fr)}
#landing .hero :is(.eyebrow,h1 em) {color:var(--studio-accent)}
#landing .hero .signal {background:var(--studio-accent);box-shadow:0 0 0 4px #d7ee9826;flex:none}
#landing .hero h1 {
  font:650 clamp(42px,5.35vw,80px)/.99 system-ui,-apple-system,sans-serif;
  letter-spacing:-.054em;
  text-wrap:balance;
}
#landing .hero h1 em {font-weight:inherit;font-style:normal}
#landing .hero .lede {max-width:43ch;color:#d0d6cc;font-size:clamp(15px,1.4vw,19px);line-height:1.55}
#landing .btn {border-radius:100px;padding:12px 21px}
#landing .hero .primary,#landing .contact .primary {background:var(--studio-accent);color:#22271c}
#landing .hero .primary:hover,#landing .contact .primary:hover {background:#e8f6c6}
#landing .hero .secondary {border-color:#667061;color:#f5f6ee}
#landing .hero .secondary:hover {background:#363e35}
#landing .hero :focus-visible,#landing .contact :focus-visible,body:has(#landing:not([hidden])) .header :focus-visible {outline-color:#effdbf}
#landing .studio-scene {
  height:clamp(318px,33vw,480px);
  border-color:#6f7c6b;
  border-radius:18px;
  background:radial-gradient(ellipse at 69% 30%,#6a7964 0,#3e4a3e 52%,#2a352d 100%);
  box-shadow:0 20px 50px -26px #090c09d0;
}
#landing .studio-scene::before {background-image:linear-gradient(#e6f4d420 1px,transparent 1px),linear-gradient(90deg,#e6f4d420 1px,transparent 1px)}
#landing .scene-glow {background:radial-gradient(ellipse at 65% 43%,#d9eeaa3b,transparent 65%)}
#landing .scene-meta,#landing .scene-index {color:#edf4e7}
#landing .scene-meta i {background:var(--studio-accent);box-shadow:0 0 12px #cfe98a}
#landing .scene-stage {inset:20% 13% 19% 10%}
#landing .scene-wire {border-color:#dfedc99c}
#landing .scene-window {background:#eeede4;box-shadow:7px 12px 0 #17211759,0 20px 40px #1824188c}
#landing .scene-browser {background:#273128;color:#e5eedf}
#landing .scene-browser i,#landing .scene-progress i {background:var(--studio-accent)}
#landing .scene-page {grid-template-columns:.89fr 1.11fr}
#landing .scene-page-copy strong {font-size:clamp(20px,3.3vw,49px)}
#landing .scene-page-copy small,#landing .scene-ticket small,#landing .scene-ticket b {color:#43592e}
#landing .scene-bars {background-image:linear-gradient(#7d8475 0 2px,transparent 2px 8px,#9da595 8px 10px)}
#landing .scene-cta {background:#405437}
#landing .scene-ticket {color:#22271c;background:#ebf2d9;border-color:#bac997;box-shadow:0 10px 27px #1a241973}
#landing .scene-check {background:var(--studio-accent)}
#landing .scene-index {position:absolute;right:6%;bottom:5.4%;font:700 9px ui-monospace,monospace;letter-spacing:.11em}
#landing .band {background:var(--studio-accent);color:#273023}
#landing .band-inner {font-size:clamp(10px,1.1vw,14px);font-weight:750;padding-block:18px}
#landing .band-inner span:not(:first-child) {border-color:#70804c80}
#landing .section :is(h2),#landing .contact h2 {
  font-family:system-ui,-apple-system,sans-serif;font-weight:690;line-height:1.025;letter-spacing:-.049em;
  font-size:clamp(33px,5vw,66px);text-wrap:pretty;
}
#landing .section-head {margin-bottom:clamp(21px,3.5vw,39px)}
#landing .section-head > p {max-width:43ch}
#landing .demo-grid,#landing .work-grid {gap:clamp(14px,2vw,25px)}
#landing .demo-card {border-radius:16px;background:var(--studio-card)}
#landing .demo-img {height:auto;aspect-ratio:1.68;display:block}
#landing .demo-copy,#landing .case-copy {padding:clamp(16px,2.2vw,25px)}
#landing .demo-preview-label {left:16px;bottom:16px;background:#fffef6f5;border-radius:8px}
#landing .demo-copy h3,#landing .case-copy h3 {line-height:1.2}
#landing .round {background:#e9eddc;color:#26311f;border:0}
#landing .round:hover {background:var(--studio-accent)}
#landing .work-section {background:var(--studio-night);color:#f5f6ed}
#landing .work-section :is(.eyebrow,.case-copy h3 span) {color:var(--studio-accent)}
#landing .work-section :is(.section-head>p,.case-copy p) {color:#cfd5cb}
#landing .case {
  display:flex;flex-direction:column;
  background:var(--studio-panel);border:1px solid #4a564b;border-radius:16px;
}
#landing .case:focus-visible {outline-color:var(--studio-accent)}
#landing .case-poster {
  height:auto;min-height:0;aspect-ratio:1.42;padding:30px 12px 14px;
  background-image:radial-gradient(ellipse at 60% 23%,#ffffff1b,transparent 70%);
}
#landing .case-poster::after {
  content:"";position:absolute;inset:10px;border:1px solid #f4f5ed38;border-radius:9px;pointer-events:none;
}
#landing .krup .case-poster::after {border-color:#201e2226}
#landing .case-poster small {
  top:17px;left:17px;padding:4px 6px;border-radius:3px;
  background:#151d19b8;color:#f5f6ef;letter-spacing:.1em;font-size:9px;
}
#landing .krup .case-poster small {background:#f9f7ef;color:#272324}
#landing .case-logo {max-height:clamp(87px,11vw,159px)}
#landing .candy .case-logo {width:67%}
#landing .krup .case-logo {width:66%}
#landing .steps {gap:clamp(14px,2vw,25px)}
#landing .steps article {background:var(--studio-card);border:1px solid var(--studio-hair);border-radius:14px;padding:clamp(17px,2.6vw,30px)}
#landing .steps b {display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e7ecd9;color:#3a4d2b;margin-bottom:9px}
#landing .growth-section {background:#e9ede2;color:#273125;border-color:#d6dfcd}
#landing .growth-proof,#landing .growth-grid,#landing .growth-footer {border-radius:14px}
#landing .contact {background:var(--studio-night);border-radius:18px}
#landing .contact .eyebrow {color:var(--studio-accent)}
#landing .contact :is(p:not(.eyebrow),small) {color:#d2dbd0}
@media(max-width:850px) {
  #landing .hero h1 {font-size:clamp(38px,6vw,54px)}
}
@media(max-width:680px) {
  body:has(#landing:not([hidden])) .top {height:58px}
  #landing .hero {grid-template-columns:minmax(0,1fr);gap:24px;padding-block:35px 24px}
  #landing .hero h1 {font-size:clamp(36px,9.3vw,59px);text-wrap:initial;letter-spacing:-.053em}
  #landing .hero .lede {margin:17px 0 19px}
  #landing .hero .buttons {gap:8px}
  #landing .hero .btn {font-size:13px;padding-inline:14px}
  #landing .studio-scene {height:clamp(220px,65vw,330px);border-radius:14px}
  #landing .scene-stage {inset:22% 12% 22% 10%}
  #landing .scene-page-copy strong {font-size:clamp(19px,6.2vw,40px)}
  #landing .band-inner {padding-block:13px}
  #landing .case-poster {aspect-ratio:1.75}
  #landing .case-logo {max-height:125px}
  #landing .rehome-lockup {font-size:clamp(17px,5.5vw,27px)}
}

/* Keep the full offer legible without pushing the contact button below the fold. */
#landing .hero h1 {font-size:clamp(41px,5vw,74px)}
@media(min-width:681px) and (max-width:900px){#landing .hero h1{font-size:clamp(35px,5.05vw,46px)}}
@media(max-width:680px){#landing .hero h1{font-size:clamp(33px,8.6vw,53px)}}

/* The duplicated set is visual only. The original wraps when motion is stopped. */
#landing .studio-ticker {display:flex;align-items:stretch;position:relative;min-width:0}
.ticker-view {flex:1;min-width:0;overflow:hidden;container-type:inline-size}
.ticker-group {margin:0;list-style:none;padding:13px clamp(14px,3vw,49px);display:flex;flex-wrap:wrap;gap:10px clamp(16px,3vw,48px);justify-content:center;font-size:clamp(12px,1.05vw,15px);line-height:1.35;font-weight:750}
.ticker-group li {display:flex;align-items:baseline;gap:10px}
.ticker-group li::before {content:"";align-self:center;width:6px;height:6px;flex:none;rotate:45deg;background:#51633b}
.ticker-copy,.ticker-play {display:none}
.ticker-toggle {background:none;color:inherit;flex:0 0 47px;border:0;border-left:1px solid #6a7a4988;padding:0;min-height:45px;font:700 15px/1 system-ui;cursor:pointer}
.ticker-toggle:hover {background:#1f32151a}
.ticker-toggle:focus-visible {outline:2px solid #25321a;outline-offset:-5px}
.ticker-still .ticker-play {display:inline}
.ticker-still .ticker-pause {display:none}
@media(prefers-reduced-motion:no-preference) {
  .ticker-ready:not(.ticker-still) .ticker-track {display:flex;width:max-content;animation:ticker-left var(--ticker-period,33s) linear infinite;will-change:transform}
  .ticker-ready:not(.ticker-still) .ticker-group {display:flex;min-width:100cqi;flex:none;flex-wrap:nowrap;gap:clamp(28px,4vw,74px);padding:14px calc(clamp(28px,4vw,74px) / 2);white-space:nowrap;justify-content:space-around}
  .ticker-ready.ticker-away .ticker-track {animation-play-state:paused}
}
@keyframes ticker-left {from {transform:translateX(0)}to {transform:translateX(-50%)}}
@media(max-width:680px){.ticker-group{justify-content:flex-start}.ticker-toggle{flex-basis:44px}}
