/* nuclai — brand guidelines v2
   Split sheet: ink panel carries the identity, paper panel carries the work.
   The slash is the mark. The red square period is the only signal.
   Light-mode by design: no dark variant. */

:root{
  --bone:      #EFEDE8;
  --graphite:  #131417;
  --ink-2:     #1d1f24;   /* ghost slash on graphite */
  --assay:     #D9441E;
  --rule:      #8A8B90;
  --rule-pap:  #d7d3ca;   /* hairline on bone */
  --body:      #43444a;
  --mute:      #9a978f;

  --font-display: "Archivo", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--graphite);
  color: var(--graphite);
  font-family: var(--font-display);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

/* ── shell ─────────────────────────────────────────────────────────── */

.page{
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .42fr) .58fr;
}

/* ── mono labels: measurement, not prose ───────────────────────────── */

.label{
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rule);
  margin: 0;
}
.label--wide{ letter-spacing: .3em; }

a.label{ text-decoration: none; transition: color .15s; }
a.label:hover, a.label:focus-visible{ color: var(--assay); }

/* ── ink panel ─────────────────────────────────────────────────────── */

.ink{
  background: var(--graphite);
  color: var(--bone);
  padding: clamp(28px, 3.5vw, 52px) clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.ink > *{ position: relative; }

/* the mark, at scale: the divider from nuclai / finance */
.ghost{
  position: absolute;
  right: -8%;
  top: -8%;
  font-size: min(46vw, 560px);
  font-weight: 800;
  line-height: .78;
  color: var(--ink-2);
  user-select: none;
  pointer-events: none;
}

.wordmark{
  margin: 0;
  font-weight: 800;
  font-size: clamp(3.5rem, 7.4vw, 6.5rem);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: lowercase;   /* never Nuclai, never NuclAI */
}
/* the square period: a plotted point, not decoration */
.wordmark__dot{
  display: inline-block;
  width: .14em;
  height: .14em;
  margin-left: .05em;
  background: var(--assay);
}

.practices{
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  font-size: .75rem;
  line-height: 2.1;
  letter-spacing: .24em;
}

.ink__foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ── paper panel ───────────────────────────────────────────────────── */

.paper{
  background: var(--bone);
  display: flex;
  flex-direction: column;
}

.lang{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .625rem;
  padding: clamp(18px, 2vw, 26px) clamp(24px, 3.6vw, 52px);
  border-bottom: 1px solid var(--rule-pap);
}
.lang__sep{
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--rule);
  opacity: .5;
}
.lang__btn{
  appearance: none;
  background: none;
  border: 0;
  padding: .25rem .125rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rule);
  transition: color .15s;
}
.lang__btn:hover{ color: var(--graphite); }
.lang__btn[aria-current="true"]{ color: var(--graphite); }

/* ── voice ─────────────────────────────────────────────────────────── */

.voice{ padding: clamp(44px, 6vw, 76px) clamp(24px, 3.6vw, 52px) clamp(36px, 4vw, 52px); }
.voice__line{
  margin: 0;
  font-size: clamp(2.125rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: lowercase;
  color: var(--mute);
}
.voice__line--2{
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--graphite);
}

/* ── the slash system ──────────────────────────────────────────────── */

.tiles{
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-pap);
}
.tile{
  flex: 1;
  padding: clamp(30px, 3.4vw, 44px) clamp(24px, 3.6vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 40px);
}
.tile + .tile{ border-top: 1px solid var(--rule-pap); }

.tile__kicker{
  color: var(--assay);
  padding-top: .5625rem;
  min-width: 74px;
}

/* same wordmark, same weight — the divider does all the work */
.slash{
  margin: 0 0 .875rem;
  font-weight: 800;
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: lowercase;
}
.slash__div{ color: var(--rule); font-weight: 400; }

.tile__desc{
  margin: 0;
  font-weight: 500;
  font-size: .9375rem;
  line-height: 1.65;
  max-width: 42ch;
  color: var(--body);
  text-wrap: pretty;
}

/* ── status ────────────────────────────────────────────────────────── */

.status{
  padding: clamp(16px, 2vw, 22px) clamp(24px, 3.6vw, 52px);
  border-top: 1px solid var(--rule-pap);
  display: flex;
  align-items: center;
  gap: .875rem;
}
.status__rule{ width: 22px; height: 1px; background: var(--assay); }
.status__text{ color: var(--graphite); letter-spacing: .28em; }

/* ── narrow: the panels stack, ink first ───────────────────────────── */

@media (max-width: 820px){
  .page{ grid-template-columns: 1fr; }
  .ink{ min-height: 78svh; }
  .ghost{ font-size: min(70vw, 420px); }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ── print: it was always a printed thing ──────────────────────────── */

@media print{
  .lang{ display: none; }
  .page{ grid-template-columns: 1fr; }
  .ghost{ display: none; }
  .ink{ background: #fff; color: var(--graphite); }
  .ink .label{ color: var(--rule); }
}
