/* Crytter Labs — crytterlabs.com
   Brand: THE CUBE. Ink #17171C, bone #F5F1E8, gold #D9A62E (logo package, locked Nov 15 2026).
   Voice: clean studio grotesque — Inter throughout, tight tracking, generous space. */

:root{
  --ink:#0c0c0f;
  --ink-2:#101014;
  --panel:#17171c;
  --panel-2:#1d1d24;
  --bone:#f5f1e8;
  --bone-dim:rgba(245,241,232,.72);
  --bone-faint:rgba(245,241,232,.5);
  --gold:#d9a62e;
  --gold-soft:rgba(217,166,46,.12);
  --line:rgba(245,241,232,.13);
  --radius:16px;
  --wrap:1120px;
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ink);color:var(--bone);font-family:var(--font);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:var(--gold);text-decoration:none}
a:hover{text-decoration:underline}
::selection{background:var(--gold);color:#17171c}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 24px;
  background:rgba(12,12,15,.85);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;transition:border-color .25s ease;
}
.site-header.scrolled{border-bottom-color:var(--line)}
.brand-lockup{height:34px;width:auto}
.site-nav{display:flex;align-items:center;gap:28px}
.site-nav a{color:var(--bone-dim);font-size:.95rem;font-weight:500}
.site-nav a:hover{color:var(--bone);text-decoration:none}
.site-nav .nav-cta{
  color:#17171c;background:var(--gold);font-weight:600;padding:9px 18px;border-radius:999px;
}
.site-nav .nav-cta:hover{background:#e7b83f;color:#17171c}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:10px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--bone);margin:5px 0}

/* ---------- hero ---------- */
.hero{
  max-width:var(--wrap);margin:0 auto;
  padding:120px 24px 110px;text-align:left;
}
.hero-cube{width:150px;height:150px;margin-bottom:44px}
.hero h1{
  font-size:clamp(2.6rem,6.5vw,4.6rem);font-weight:800;letter-spacing:-.03em;line-height:1.06;
  max-width:820px;
}
.hero-lede{max-width:640px;color:var(--bone-dim);font-size:1.16rem;margin-top:26px}
.hero-lede a{font-weight:600}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:38px}
.btn{
  display:inline-block;font-weight:600;font-size:1rem;line-height:1;
  padding:15px 28px;border-radius:999px;border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:#17171c}
.btn-gold:hover{background:#e7b83f}
.btn-ghost{background:transparent;color:var(--bone);border-color:rgba(245,241,232,.35)}
.btn-ghost:hover{border-color:var(--bone)}

/* ---------- sections ---------- */
.section{padding:100px 0}
.section-alt{background:var(--ink-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.kicker{
  font-size:.8rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);
  margin-bottom:16px;
}
h2{font-size:clamp(1.8rem,4.2vw,2.6rem);font-weight:800;letter-spacing:-.02em;line-height:1.15}
.fineprint{font-size:.88rem;color:var(--bone-faint);margin-top:24px;max-width:720px}

/* reveal initial state applies ONLY with JS (see glyphrip note) */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .btn:hover{transform:none}
}

/* ---------- product ---------- */
.product{
  margin-top:48px;background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  display:grid;grid-template-columns:1.15fr 1fr;
}
.product-media{position:relative;min-height:340px}
.product-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.product-chip{
  position:absolute;left:18px;bottom:18px;
  background:rgba(12,12,15,.82);backdrop-filter:blur(6px);
  border:1px solid rgba(217,166,46,.5);color:var(--bone);
  font-size:.82rem;font-weight:600;letter-spacing:.04em;
  padding:8px 14px;border-radius:999px;
}
.product-body{padding:42px 40px;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.product-emblem{width:54px;height:54px;margin-bottom:20px}
.product-body h3{font-size:2rem;font-weight:800;letter-spacing:.1em}
.product-line{color:var(--gold);font-weight:600;margin-top:6px}
.product-body>p{color:var(--bone-dim);margin-top:16px;font-size:1rem}
.product-facts{list-style:none;margin:20px 0 28px;display:grid;gap:9px}
.product-facts li{color:var(--bone-dim);font-size:.95rem;padding-left:20px;position:relative}
.product-facts li::before{
  content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;border-radius:2px;
  background:var(--gold);transform:rotate(45deg);
}
.future{
  margin-top:20px;display:flex;gap:20px;align-items:flex-start;
  border:1px dashed rgba(245,241,232,.28);border-radius:var(--radius);padding:28px;
}
.future img{opacity:.85;margin-top:4px}
.future h3{font-size:1.15rem;margin-bottom:6px}
.future p{color:var(--bone-dim);font-size:.98rem;max-width:640px}

/* ---------- principles ---------- */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px}
.card h3{font-size:1.18rem;font-weight:700;margin-bottom:10px}
.card p{color:var(--bone-dim);font-size:.99rem}

/* ---------- studio ---------- */
.studio-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:start}
.studio-copy{color:var(--bone-dim);margin-top:20px;max-width:600px}
.studio-facts{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.studio-facts div{padding:18px 22px;background:var(--panel);border-bottom:1px solid var(--line)}
.studio-facts div:last-child{border-bottom:0}
.studio-facts dt{font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:4px}
.studio-facts dd{color:var(--bone);font-weight:500}

/* ---------- community ---------- */
.social-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px}
.social-row a{
  border:1px solid var(--line);border-radius:999px;padding:11px 20px;color:var(--bone);
  font-size:.95rem;font-weight:500;background:rgba(245,241,232,.03);
  transition:border-color .2s ease, transform .2s ease;
}
.social-row a:hover{border-color:rgba(217,166,46,.6);text-decoration:none;transform:translateY(-1px)}

/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--line);background:#08080a;padding:54px 0 42px}
.footer-grid{display:grid;gap:24px}
.footer-brand{display:flex;gap:15px;align-items:center}
.footer-name{font-weight:800;letter-spacing:.16em;font-size:1rem}
.footer-brand p{color:var(--bone-dim);font-size:.94rem}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 28px}
.footer-nav a{color:var(--bone-dim);font-size:.94rem}
.footer-nav a:hover{color:var(--bone)}
.footer-legal{color:var(--bone-faint);font-size:.86rem;border-top:1px solid var(--line);padding-top:20px}

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .product{grid-template-columns:1fr}
  .product-media{min-height:260px;position:relative;height:260px}
  .cards-3{grid-template-columns:1fr}
  .studio-grid{grid-template-columns:1fr;gap:36px}
}
@media (max-width: 640px){
  body{font-size:16px}
  .section{padding:72px 0}
  .hero{padding:84px 24px 76px}
  .hero-cube{width:112px;height:112px;margin-bottom:34px}
  .product-body{padding:32px 26px}
  .nav-toggle{display:block;z-index:60}
  .site-nav{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:flex-start;gap:0;
    background:rgba(12,12,15,.97);border-bottom:1px solid var(--line);
    padding:8px 24px 18px;display:none;
  }
  .site-nav.open{display:flex}
  .site-nav a{padding:11px 0;width:100%}
  .site-nav .nav-cta{margin-top:10px;text-align:center;width:auto;padding:11px 22px}
  .future{flex-direction:column;gap:12px}
}
