@font-face{font-family:'Replicut Editorial';src:url('/assets/crt/editorial-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Replicut Editorial';src:url('/assets/crt/editorial-bold-italic.woff2') format('woff2');font-style:italic;font-weight:700;font-display:swap}
@font-face{font-family:'Replicut Interface';src:url('/assets/crt/interface-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Replicut Interface';src:url('/assets/crt/interface-bold.woff2') format('woff2');font-weight:700;font-display:swap}

.home-page {background:#1e0f0b;color:#15070b}
.home-page #main {overflow:clip}
.crt-hero {
  --crt-ink:#15070b;--crt-wine:#31000f;--crt-paper:#f4ebe6;--crt-cream:#fae5ce;
  container-type:inline-size;position:relative;isolation:isolate;
  width:100%;height:100svh;min-height:540px;
  background:var(--crt-paper);color:var(--crt-ink);
  font-family:'Replicut Interface',Arial,sans-serif;font-synthesis:none;
}
.crt-stage {position:absolute;inset:0;overflow:hidden;z-index:-1}
.crt-world {position:absolute;left:50%;top:50%;width:2048px;height:1152px;transform:translate(-50%,-50%) scale(var(--scene-scale,1));transform-origin:center}
.crt-backdrop,.crt-film,.crt-foreground,.scene-plate {position:absolute;inset:0;width:2048px;height:1152px;max-width:none}
.scene-plate {object-fit:fill;pointer-events:none}
.crt-backdrop {z-index:0}
.crt-film {z-index:1;pointer-events:none}
.crt-film canvas {display:block;width:2048px;height:1152px}
.crt-foreground {z-index:2;pointer-events:none}
.scene-unlit {opacity:0;transition:opacity 420ms ease-out}
.crt-hero[data-lamp=off] .scene-unlit {opacity:1}
.crt-brand,.crt-title,.crt-header,.crt-actions {z-index:3}
.crt-brand {position:absolute;left:1.7%;top:6%;width:28%;text-align:center}
.crt-brand-link {display:block;width:100%}
.crt-wordmark {display:block;width:100%;height:auto;object-fit:contain}
.crt-tagline {width:100%;margin:1.5cqw 0 0;padding:0;text-align:center;font-size:2.15cqw;line-height:1.23;letter-spacing:.1em;text-transform:uppercase;font-weight:400}
.crt-nav {position:absolute;top:2.604167%;left:62.451172%;right:3.710938%;height:5.208333%;display:flex;align-items:center;justify-content:space-between;font-size:1.171875cqw;letter-spacing:-.04em}
.crt-nav a {min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.crt-nav a:not(.crt-get-started):hover {text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1px}
.crt-nav .crt-get-started {width:10.644531cqw;height:100%;min-height:36px;gap:.683594cqw;background:var(--crt-wine);color:#fff9f5;border-radius:100px;letter-spacing:-.025em}
.crt-hero a:focus-visible,.crt-lamp-switch:focus-visible {outline:2px solid #b36a43;outline-offset:5px}
.crt-hero .arrow-icon {width:1.074219cqw;height:1.074219cqw;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.crt-title {position:absolute;left:76.4%;top:14.8%;margin:0;font-family:'Replicut Editorial',Georgia,serif;font-size:3.1cqw;font-weight:400;line-height:1.12;letter-spacing:-.04em;text-wrap:nowrap}
.crt-title span,.crt-title em {display:block}
.crt-title span {transform-origin:left center}
.crt-title span:first-child {transform:scaleX(.934)}
.crt-title span:nth-child(2) {transform:scaleX(.904)}
.crt-title em {font-size:1.1em;font-weight:700;line-height:1.08;letter-spacing:-.035em}
.crt-actions {position:absolute;left:36.328125%;bottom:3.645833%;display:flex;gap:1.660156cqw;height:6.684028%;font-size:1.171875cqw;letter-spacing:-.035em}
.crt-actions a {display:flex;align-items:center;justify-content:center;border-radius:100px;gap:.488281cqw;white-space:nowrap;min-height:44px}
.crt-project {width:12.988281cqw;background:var(--crt-cream);border:1px solid #fff1e2;color:#13100c}
.crt-examples {width:11.962891cqw;color:#fff9f5;border:1px solid #f3dfcc;background:#1c0e0730}
.crt-project:hover {background:#fff1df}
.crt-examples:hover {background:#fbe6d025}
.crt-get-started:hover {background:#4c1020}
.crt-actions a:active,.crt-get-started:active {transform:translateY(1px)}
.crt-hero ::selection {background:#492131;color:#fff3e5}
.crt-lamp-switch {position:absolute;z-index:4;left:475px;top:528px;width:165px;height:177px;border-radius:65px;background:none;padding:0;cursor:pointer;touch-action:manipulation}
.crt-lamp-switch:focus-visible {outline-color:#ffe1b8}
.lamp-hint {position:absolute;bottom:calc(100% + 18px);left:50%;transform:translateX(-50%);padding:10px 16px;border-radius:30px;background:#30121f;color:#fff3e4;white-space:nowrap;font-size:20px;opacity:0;pointer-events:none;transition:opacity 160ms ease-out}
.crt-lamp-switch:hover .lamp-hint,.crt-lamp-switch:focus-visible .lamp-hint {opacity:1}
.crt-media,.visually-hidden {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.crt-media {pointer-events:none;top:0;left:0}

/* The background covers the viewport; copy stays in its ivory clear areas. */
@media(min-width:901px) and (max-aspect-ratio:17/10) {
  .crt-brand {left:1.6%;width:25.6%;top:7%}
  .crt-tagline {font-size:1.95cqw}
  .crt-title {left:78.7%;font-size:2.55cqw;top:16%}
}
@media(min-width:901px) and (min-aspect-ratio:2/1) {
  .crt-brand {top:2.4%;width:28%}
  .crt-tagline {font-size:3.4svh;margin-top:1.8svh}
  .crt-title {top:12%;font-size:6svh}
}

@media(max-width:900px) {
  .home-page {background:#f4ebe6}
  .crt-hero {height:auto;min-height:100svh;display:flex;flex-direction:column;padding:18px 22px 0}
  .crt-header {order:0;position:relative}
  .crt-nav {position:static;display:flex;height:44px;font-size:clamp(11px,3.1vw,14px);gap:10px;justify-content:space-between;letter-spacing:-.025em}
  .crt-nav .crt-get-started {width:auto;min-height:38px;height:38px;padding:0 12px;gap:7px}
  .crt-hero .arrow-icon {width:15px;height:15px}
  .crt-brand {order:1;position:static;width:min(100%,560px);margin:22px auto 0}
  .crt-brand-link {width:100%}
  .crt-tagline {font-size:22px;line-height:1.3;letter-spacing:.1em;margin:14px 0 0}
  .crt-title {position:static;order:2;font-size:clamp(31px,9vw,58px);line-height:1.08;margin:25px 0 0;letter-spacing:-.04em}
  .crt-title span:first-child,.crt-title span:nth-child(2) {transform:none}
  .crt-stage {order:3;position:relative;inset:auto;z-index:0;width:calc(100% + 44px);height:auto;aspect-ratio:1.04;margin:25px -22px 0}
  .crt-actions {order:4;position:relative;inset:auto;height:auto;flex-grow:1;align-items:flex-start;gap:12px;margin:-18px -22px 0;padding:0 22px 24px;background:#1e0f0b;font-size:14px;z-index:4}
  .crt-actions a {min-height:48px;gap:6px;width:auto;flex:1}
  .lamp-hint {font-size:30px}
}
@media(max-width:360px) {
  .crt-hero {padding-inline:16px}
  .crt-nav {gap:6px}
  .crt-nav .crt-get-started {padding-inline:9px}
  .crt-get-started .arrow-icon {display:none}
  .crt-brand {width:100%;margin-inline:0}
  .crt-tagline {font-size:20px}
  .crt-stage {width:calc(100% + 32px);margin-inline:-16px}
  .crt-actions {margin-inline:-16px;padding-inline:16px}
}
@media(prefers-reduced-motion:reduce) {
  .crt-hero *,.crt-hero *::before,.crt-hero *::after {animation:none;transition:none}
  .crt-actions a:active,.crt-get-started:active {transform:none}
}
