/* Kraft AI, one-page draft v4: one typeface (Jost, local, SIL OFL 1.1), three text styles, one axis.
   The page loads nothing from third parties. */
@font-face{font-family:'Jost';font-style:normal;font-weight:200 500;font-display:swap;src:url('fonts/Jost-latin.woff2') format('woff2')}
:root{
  --void:#020305;
  --cream:230,220,198;           /* #e6dcc6 */
  --gold:#d9b98a;
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--void);color:rgb(var(--cream));font-family:"Jost",system-ui,sans-serif;font-weight:300;font-style:normal;
  overflow:hidden;height:100vh;height:100svh;-webkit-font-smoothing:antialiased}
#net{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
/* soft dark area behind the block + deep vignette at the edges */
.veil{position:fixed;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(ellipse 46% 44% at 50% 45%,rgba(2,3,5,.92) 0%,rgba(2,3,5,.7) 45%,rgba(2,3,5,0) 100%),
    radial-gradient(ellipse at center,transparent 45%,rgba(0,0,0,.85) 100%)}
a{color:inherit}
:focus-visible{outline:1px solid var(--gold);outline-offset:8px}

/* one axis, block slightly above the middle */
.hero{position:relative;z-index:2;height:100%;display:flex;align-items:center;justify-content:center;padding:24px;padding-bottom:calc(24px + 8vh)}
.block{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;max-width:960px}
h1,p{margin:0;font-weight:300}

/* a) TITLE */
.title{font-size:clamp(44px,8.5vw,112px);line-height:1;letter-spacing:.32em;text-transform:uppercase;white-space:nowrap;
  padding-left:.32em;            /* balances the trailing letter-space so the word sits optically centred */
  color:rgb(var(--cream))}

/* b) BODY */
.line{font-size:clamp(18px,2vw,26px);letter-spacing:.01em;line-height:1.4;color:rgba(var(--cream),.85);margin-top:24px}
.sentence{font-size:16px;line-height:1.6;letter-spacing:.01em;max-width:520px;color:rgba(var(--cream),.65);margin-top:24px}

/* c) LABEL */
.label,.btn{font-size:13px;letter-spacing:.22em;text-transform:uppercase;line-height:1.6}
.label{color:rgba(var(--cream),.65);padding-left:.22em}
.l2{margin-top:8px}

/* the rule */
.rule{display:block;width:40px;height:1px;background:var(--gold);margin:40px 0 24px}

/* the one button */
.btn{display:inline-block;margin-top:40px;padding:16px 24px 16px calc(24px + .22em);font-weight:400;text-decoration:none;color:rgba(var(--cream),.85);
  background:transparent;border:1px solid var(--gold);border-radius:2px;transition:background .6s,color .6s}
.btn:hover{background:var(--gold);color:#0d0b08}

/* phones: same system, tighter steps; title stays on one line */
@media(max-width:560px){
  .title{font-size:clamp(34px,10.5vw,44px)}
  .line{margin-top:16px}
  .rule{margin:24px 0 16px}
  .sentence{margin-top:16px}
  .btn{margin-top:24px}
}
@media(max-height:620px){.rule{margin:24px 0 16px}.btn{margin-top:24px}.line,.sentence{margin-top:16px}}

/* slow fade-in, only when JS runs and motion is allowed */
.rv{transition:opacity 2.8s cubic-bezier(.2,.7,.2,1),transform 2.8s cubic-bezier(.2,.7,.2,1)}
.js.motion .hero:not(.in) .rv{opacity:0;transform:translateY(8px)}
.d1{transition-delay:.4s!important}.d2{transition-delay:.8s!important}.d3{transition-delay:1.2s!important}.d4{transition-delay:1.6s!important}
@media(prefers-reduced-motion:reduce){.rv{transition:none}}
.btn.rv{transition:opacity 2.8s cubic-bezier(.2,.7,.2,1),transform 2.8s cubic-bezier(.2,.7,.2,1),background .6s,color .6s}

/* phone-only fixes (v5) */
@media(max-width:600px){
  .label{font-size:11px;letter-spacing:.2em;padding-left:.2em;white-space:nowrap}
  .line .br{display:block}
  .sentence{font-size:14px}
}
