/* =========================================================
   GUREX.WEBSITE — "PRECISION PLAY"
   Pure HTML5 + CSS3. No frameworks, no scripts, no images.
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* palette */
  --ultramarine: #2437D8;
  --lavender:    #DCD8FF;
  --citrus:      #D9F04A;
  --pink:        #F05A8A;
  --paper:       #F5F3EA;
  --graphite:    #17191C;

  /* derived */
  --hair:        rgba(23, 25, 28, .16);
  --hair-strong: rgba(23, 25, 28, .34);
  --hair-paper:  rgba(245, 243, 234, .22);
  --ink-soft:    rgba(23, 25, 28, .62);
  --paper-soft:  rgba(245, 243, 234, .64);

  /* gradients — small objects only */
  --grad-primary:   linear-gradient(135deg, #2437D8 0%, #F05A8A 100%);
  --grad-secondary: linear-gradient(135deg, #D9F04A 0%, #DCD8FF 100%);

  /* type */
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  /* rhythm */
  --shell: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --sec-y: clamp(72px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --speed: .28s;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--body);
  font-size: clamp(15px, .55vw + 13.6px, 17px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

section { position: relative; }

/* ---------- 3. SHARED PRIMITIVES ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ultramarine);
}
.label--paper { color: var(--paper-soft); }
.label--paper::before { background: var(--citrus); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .label { font-family: var(--body); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--graphite);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: .18em;
}
.skip-link:focus { left: 8px; top: 8px; }

/* focus visibility — global */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ultramarine);
  outline-offset: 3px;
  border-radius: 1px;
}
.dark a:focus-visible,
.motion a:focus-visible,
.footer a:focus-visible,
.statement a:focus-visible {
  outline-color: var(--citrus);
}

/* buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--btn-bg);
  border: 1px solid var(--graphite);
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
}
.btn--solid {
  --btn-bg: var(--ultramarine);
  color: var(--paper);
  border-color: var(--ultramarine);
  box-shadow: 6px 6px 0 var(--graphite);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--graphite);
}
.btn--ghost { color: var(--graphite); }
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--graphite);
  color: var(--paper);
  transform: translate(0, -2px);
}
.btn--lg { padding: 19px 30px; font-size: 13px; }
.btn__sq {
  width: 10px;
  height: 10px;
  background: var(--citrus);
  display: inline-block;
  flex: none;
}

.citrus-rule {
  width: 46px;
  height: 3px;
  background: var(--citrus);
  display: inline-block;
}

.dot-citrus {
  width: 14px;
  height: 14px;
  background: var(--citrus);
  display: inline-block;
  margin-left: 14px;
  vertical-align: .34em;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--graphite);
}
.nav__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--pad);
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.nav__wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.04em;
}
.nav__suffix {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ultramarine);
}
.nav__center { justify-self: center; }
.nav__sys {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  padding: 0 16px;
}
.nav__sys .tick {
  width: 7px;
  height: 7px;
  background: var(--citrus);
  animation: blink 4s steps(1, end) infinite;
}
.nav__sys--mobile,
.nav__menu { display: none; }

.nav__right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  padding: 6px 0;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ultramarine);
  transition: width var(--speed) var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { width: 100%; }

.nav__start {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  background: var(--graphite);
  color: var(--paper);
  padding: 11px 16px;
  transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.nav__start:hover,
.nav__start:focus-visible {
  background: var(--ultramarine);
  transform: translateY(-2px);
}

@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  padding-block: clamp(48px, 7vw, 96px) var(--sec-y);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px);
  background-size: 8.3333% 100%;
  opacity: .5;
  pointer-events: none;
}
.hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas:
    "meta meta"
    "copy object";
  column-gap: clamp(24px, 4vw, 72px);
  row-gap: clamp(28px, 4vw, 54px);
  align-items: start;
}
.hero__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 40px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--ink-soft);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}
.hero__meta-live { color: var(--ultramarine); }
.hero__meta-live::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  margin-left: 8px;
  vertical-align: middle;
  animation: blink 3s steps(1, end) infinite;
}

.hero__copy { grid-area: copy; padding-top: clamp(8px, 3vw, 34px); }

.hero__title {
  font-size: clamp(3.2rem, 11.5vw, 5.4rem);
  display: flex;
  flex-direction: column;
  letter-spacing: -.045em;
}
.hero__title .line {
  display: block;
  animation: reveal .9s var(--ease) both;
}
.hero__title em { color: var(--ultramarine); font-style: normal; }
.hero__title .l1 { animation-delay: .05s; }
.hero__title .l2 { animation-delay: .14s; margin-left: clamp(16px, 6vw, 96px); }
.hero__title .l3 { animation-delay: .23s; }
.hero__title .l4 { animation-delay: .32s; margin-left: clamp(8px, 2.4vw, 38px); }

@keyframes reveal {
  from { opacity: 0; transform: translateY(.42em); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 34ch;
  font-size: clamp(1rem, 1.1vw + .7rem, 1.22rem);
  color: var(--ink-soft);
  padding-left: 18px;
  border-left: 2px solid var(--citrus);
}
.hero__actions {
  margin-top: clamp(26px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__scroll {
  margin-top: clamp(38px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--ink-soft);
}
.hero__scroll span[aria-hidden] { animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- HERO OBJECT ---------- */
.object {
  grid-area: object;
  position: relative;
  padding: 34px 30px;
  align-self: start;
  margin-top: clamp(0px, 2vw, 26px);
}
.object__coord {
  position: absolute;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.object__coord--x { top: 6px; left: 30px; }
.object__coord--y { top: 6px; right: 30px; color: var(--ultramarine); }
.object__coord--a { bottom: 6px; left: 30px; }
.object__coord--f { bottom: 6px; right: 30px; }

.object__frame {
  position: relative;
  border: 1px solid var(--graphite);
  background: var(--paper);
  padding: 18px;
  box-shadow: 10px 10px 0 rgba(36, 55, 216, .12);
}
.object__frame::before,
.object__frame::after {
  content: "";
  position: absolute;
  background: var(--hair-strong);
}
.object__frame::before { left: -18px; right: -18px; top: 50%; height: 1px; }
.object__frame::after  { top: -18px; bottom: -18px; left: 38%; width: 1px; }

.object__tag {
  position: absolute;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .22em;
  background: var(--paper);
  padding: 3px 6px;
  color: var(--ink-soft);
}
.object__tag--tl { top: -8px; left: 14px; }
.object__tag--br { bottom: -8px; right: 14px; color: var(--graphite); }

.object__strip {
  position: absolute;
  right: -14px;
  bottom: 46px;
  width: 100px;
  height: 45px;
  background: var(--grad-primary);
  animation: gridPulse 6.5s var(--ease) infinite;
}

/* the 5x5 field */
.gx {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  aspect-ratio: 1 / 1;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.gx__c {
  position: relative;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-style: normal;
  transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.gx__c--empty:hover { background: var(--lavender); }

.gx__c--ultra { background: var(--ultramarine); }
.gx__c--ultra-s::after {
  content: "";
  width: 58%;
  height: 58%;
  background: var(--ultramarine);
}
.gx__c--ultra-t::after {
  content: "";
  width: 100%;
  height: 34%;
  background: var(--ultramarine);
  align-self: end;
}
.gx__c--citrus { background: var(--citrus); }
.gx__c--citrus-s::after {
  content: "";
  width: 46%;
  height: 46%;
  background: var(--citrus);
}
.gx__c--pink::after {
  content: "";
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
}
.gx__c--pink-s::after {
  content: "";
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
}
.gx__c--ring::after {
  content: "";
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--graphite);
}
.gx__c--grad::after {
  content: "";
  width: 74%;
  height: 40%;
  background: var(--grad-primary);
}
.gx__c--line::after {
  content: "";
  width: 1px;
  height: 74%;
  background: var(--graphite);
}
.gx__c--label,
.gx__c--plus,
.gx__c--num {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
}
.gx__c--label {
  font-size: clamp(9px, 1.1vw, 13px);
  background: var(--graphite);
  color: var(--paper);
}
.gx__c--plus {
  font-size: clamp(20px, 3vw, 34px);
  color: var(--ultramarine);
  line-height: 1;
}
.gx__c--num {
  font-size: clamp(20px, 3vw, 34px);
  color: var(--graphite);
  line-height: 1;
}

/* staggered signature motion */
@keyframes gridPulse {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(5px, -5px); }
  100% { transform: translate(0, 0); }
}
.a1 { animation: gridPulse 6s var(--ease) infinite; }
.a2 { animation: gridPulse 5.4s var(--ease) .4s infinite; }
.a3 { animation: gridPulse 6.8s var(--ease) .2s infinite; }
.a4 { animation: gridPulse 5.8s var(--ease) .8s infinite; }
.a5 { animation: gridPulse 7s var(--ease) .3s infinite; }
.a6 { animation: gridPulse 6.2s var(--ease) 1s infinite; }
.a7 { animation: gridPulse 5.6s var(--ease) .6s infinite; }

/* =========================================================
   2. BRAND STATEMENT
   ========================================================= */
.statement {
  background: var(--ultramarine);
  color: var(--paper);
  padding-block: var(--sec-y);
  overflow: hidden;
}
.statement__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  grid-template-areas:
    "label label"
    "title body";
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}
.statement .label { grid-area: label; }
.statement__title {
  grid-area: title;
  font-size: clamp(3.4rem, 11vw, 8.6rem);
  display: flex;
  flex-direction: column;
  letter-spacing: -.045em;
}
.statement__title span:nth-child(2) { margin-left: clamp(20px, 7vw, 110px); }
.statement__title span:nth-child(3) { margin-left: clamp(10px, 3.4vw, 54px); }
.statement__fun { color: var(--paper); }
.statement__body {
  grid-area: body;
  max-width: 38ch;
  color: rgba(245, 243, 234, .82);
  padding-bottom: .6em;
  border-top: 1px solid var(--hair-paper);
  padding-top: 20px;
}
.statement__accent {
  position: absolute;
  right: var(--pad);
  top: -6px;
  width: 120px;
  height: 36px;
  background: var(--grad-secondary);
  animation: gridPulse 7s var(--ease) infinite;
}

/* =========================================================
   3. THREE RULES
   ========================================================= */
.rules { padding-block: var(--sec-y); }
.rules__list { border-top: 1px solid var(--hair-strong); }

.rule {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  padding: clamp(26px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--hair-strong);
  transition: padding-left var(--speed) var(--ease);
}
.rule__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--hair-strong);
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.rule__name {
  font-size: clamp(2rem, 5.6vw, 4.2rem);
  transition: transform var(--speed) var(--ease);
}
.rule__text {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 42ch;
}
.rule__arrow {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--ink-soft);
  transition: transform var(--speed) var(--ease), color var(--speed) var(--ease);
}
.rule__mark {
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 6px;
  background: var(--ultramarine);
  transform: translateY(-50%);
  transition: width var(--speed) var(--ease);
}
.rule__pink {
  position: absolute;
  right: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0;
  transform: scale(.4);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.rule:hover,
.rule:focus-within { padding-left: clamp(16px, 3vw, 44px); }
.rule:hover .rule__mark,
.rule:focus-within .rule__mark { width: clamp(8px, 2vw, 26px); }
.rule:hover .rule__num,
.rule:focus-within .rule__num {
  color: var(--ultramarine);
  transform: translateY(-6px);
}
.rule:hover .rule__name { transform: translateX(6px); }
.rule:hover .rule__arrow,
.rule:focus-within .rule__arrow {
  transform: translateX(12px);
  color: var(--ultramarine);
}
.rule:hover .rule__pink,
.rule:focus-within .rule__pink { opacity: 1; transform: scale(1); }

/* =========================================================
   4. GUREX GRID / CONSTRUCTION BOARD
   ========================================================= */
.board {
  padding-block: var(--sec-y);
  border-top: 1px solid var(--hair);
}
.board__shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.board__head { display: flex; flex-direction: column; gap: 22px; }
.board__title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  display: flex;
  flex-direction: column;
}
.board__title span:nth-child(2) { margin-left: clamp(10px, 2.6vw, 40px); color: var(--ultramarine); }
.board__title span:nth-child(4) { margin-left: clamp(6px, 1.6vw, 22px); }
.board__note {
  color: var(--ink-soft);
  max-width: 34ch;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}

.board__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 2fr;
  grid-auto-rows: minmax(84px, auto);
  gap: 1px;
  background: var(--paper);
  border: 1px solid var(--hair-strong);
}
.cell {
  position: relative;
  background: var(--paper);
  outline: 1px solid var(--hair);
  min-height: 84px;
  padding: 12px;
  display: grid;
  place-items: center;
  transition: background-color .4s var(--ease);
}
.cell:hover { background: var(--lavender); }
.cell__tag {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.cell--a { grid-row: span 2; }
.cell--c { grid-column: span 2; }
.cell--f { grid-row: span 2; }
.cell--h { grid-column: span 2; }
.cell--k { grid-row: span 2; }

.blk { display: block; }
.blk--ultra {
  width: 60%;
  height: 46%;
  background: var(--ultramarine);
  animation: gridPulse 6.4s var(--ease) infinite;
}
.blk--ultra-thin {
  width: 74%;
  height: 10px;
  background: var(--ultramarine);
}
.blk--citrus {
  width: 74px;
  height: 74px;
  background: var(--citrus);
  animation: gridPulse 5.8s var(--ease) .5s infinite;
}
.blk--citrus-s { width: 30px; height: 30px; background: var(--citrus); }
.blk--pink-circle {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  animation: gridPulse 6.9s var(--ease) .2s infinite;
}
.blk--grad {
  width: 110px;
  height: 44px;
  background: var(--grad-primary);
  animation: gridPulse 7s var(--ease) .8s infinite;
}
.blk--ring {
  width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--graphite);
  position: relative;
}
.blk--ring::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  background: var(--pink);
  border-radius: 50%;
}

/* =========================================================
   5. MOTION SYSTEM
   ========================================================= */
.motion {
  background: var(--graphite);
  color: var(--paper);
  padding-block: var(--sec-y);
  overflow: hidden;
}
.motion__shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.motion__head { display: flex; flex-direction: column; gap: 22px; }
.motion__title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  display: flex;
  flex-direction: column;
}
.motion__title span:nth-child(2) { margin-left: clamp(14px, 3.4vw, 52px); color: var(--citrus); }
.motion__desc {
  color: var(--paper-soft);
  max-width: 46ch;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.track {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--hair-paper);
}
.track:last-child { border-bottom: 1px solid var(--hair-paper); }
.track__label,
.track__val {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--paper-soft);
}
.track__val { text-align: right; }
.track__rail {
  position: relative;
  display: block;
  height: 1px;
  background: var(--hair-paper);
}
.track__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  display: block;
}
.track__dot--citrus { background: var(--citrus); animation: travel 9s var(--ease) infinite; }
.track__dot--ultra  { background: var(--ultramarine); animation: travel 11s var(--ease) .6s infinite; }
.track__dot--pink   { background: var(--pink); border-radius: 50%; animation: travel 13s var(--ease) 1.2s infinite; }

@keyframes travel {
  0%   { left: 0; transform: translateX(0) rotate(0deg); }
  45%  { left: 100%; transform: translateX(-100%) rotate(90deg); }
  55%  { left: 100%; transform: translateX(-100%) rotate(90deg); }
  100% { left: 0; transform: translateX(0) rotate(0deg); }
}

/* =========================================================
   6. COLOR PLAYGROUND
   ========================================================= */
.color {
  background: var(--lavender);
  padding-block: var(--sec-y);
  overflow: hidden;
}
.color__shell {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
}
.color__head { display: flex; flex-direction: column; gap: 20px; }
.color__title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  display: flex;
  flex-direction: column;
}
.color__title span:nth-child(3) { color: var(--ultramarine); margin-left: clamp(8px, 2vw, 30px); }
.color__note { color: rgba(23, 25, 28, .66); max-width: 30ch; }

.color__stage {
  position: relative;
  min-height: clamp(340px, 40vw, 470px);
}
.shape {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  transition: transform .45s var(--ease);
}
.shape small { font-weight: 400; opacity: .74; letter-spacing: .1em; }

.shape--ultra {
  left: 2%;
  top: 6%;
  width: clamp(150px, 27%, 230px);
  height: clamp(210px, 62%, 300px);
  background: var(--ultramarine);
  color: var(--paper);
  z-index: 2;
}
.shape--citrus {
  left: 27%;
  top: 52%;
  width: clamp(96px, 17%, 140px);
  aspect-ratio: 1;
  background: var(--citrus);
  color: var(--graphite);
  z-index: 3;
}
.shape--pink {
  right: 12%;
  top: 4%;
  width: clamp(140px, 26%, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  animation: gridPulse 7s var(--ease) infinite;
}
.shape--grad {
  right: 0;
  bottom: 8%;
  width: clamp(130px, 24%, 190px);
  height: 56px;
  background: var(--grad-primary);
  color: var(--paper);
  justify-content: center;
  z-index: 4;
}
.shape:hover { transform: translate(-4px, -6px); }

.shape__hair { position: absolute; background: rgba(23, 25, 28, .28); }
.shape__hair--h { left: 0; right: 0; top: 46%; height: 1px; }
.shape__hair--v { top: 0; bottom: 0; left: 62%; width: 1px; }

/* =========================================================
   7. DARK STATEMENT
   ========================================================= */
.dark {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(88px, 13vw, 190px);
  overflow: hidden;
}
.dark__line {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 2px;
  background: var(--ultramarine);
  transform: rotate(-4deg);
  transform-origin: center;
}
.dark__node {
  position: absolute;
  top: 52%;
  left: 68%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-50%, -50%);
  animation: gridPulse 6s var(--ease) infinite;
  z-index: 1;
}
.dark__title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.6rem, 9.4vw, 7.4rem);
  display: flex;
  flex-direction: column;
  letter-spacing: -.045em;
}
.dark__title span:nth-child(2) { margin-left: clamp(16px, 5vw, 84px); }
.dark__title span:nth-child(4) { margin-left: clamp(8px, 2.6vw, 42px); }
.dark__title em { font-style: normal; color: var(--citrus); }
.dark__meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--paper-soft);
  padding-top: 20px;
  border-top: 1px solid var(--hair-paper);
}

/* =========================================================
   8. FINAL CTA
   ========================================================= */
.cta { padding-block: var(--sec-y); }
.cta__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: end;
}
.cta__title {
  font-size: clamp(2.8rem, 8.4vw, 6.4rem);
  display: flex;
  flex-direction: column;
  letter-spacing: -.045em;
}
.cta__title span:nth-child(2) { margin-left: clamp(12px, 3.4vw, 56px); }
.cta__title span:nth-child(4) { color: var(--ultramarine); margin-left: clamp(6px, 1.8vw, 26px); }
.cta__text {
  max-width: 36ch;
  color: var(--ink-soft);
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}
.cta__actions {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta__fine {
  margin-top: 26px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--ink-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 96px) 30px;
}
.footer__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
}
.footer__brand { position: relative; }
.footer__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: .84;
  letter-spacing: -.05em;
}
.footer__word span {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--citrus);
  vertical-align: super;
  margin-left: 8px;
}
.footer__tag {
  margin-top: 18px;
  color: var(--paper-soft);
  font-style: italic;
}
.footer__grad {
  display: block;
  margin-top: 26px;
  width: 46px;
  height: 46px;
  background: var(--grad-primary);
  animation: gridPulse 6.6s var(--ease) infinite;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-content: start;
}
.footer__ch {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--citrus);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-paper);
  margin-bottom: 14px;
}
.footer__col li + li { margin-top: 8px; }
.footer__col a {
  font-size: 14px;
  color: var(--paper-soft);
  display: inline-block;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--paper);
  transform: translateX(5px);
}

.footer__bottom {
  grid-column: 1 / -1;
  margin-top: clamp(34px, 5vw, 62px);
  padding-top: 20px;
  border-top: 1px solid var(--hair-paper);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--paper-soft);
}

/* =========================================================
   RESPONSIVE — DESKTOP (hero shares its row with the object)
   ========================================================= */
@media (min-width: 1025px) {
  .hero__title { font-size: clamp(3.6rem, 6.2vw, 6rem); }
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .nav__link { display: none; }

  .hero__shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "meta" "copy" "object";
  }
  .hero::before { background-size: 16.6666% 100%; opacity: .35; }
  .object { max-width: 480px; margin-inline: auto; width: 100%; }

  .statement__shell,
  .board__shell,
  .motion__shell,
  .color__shell,
  .cta__shell,
  .footer__shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .statement .label,
  .statement__title,
  .statement__body { grid-area: auto; }
  .statement__accent { top: -4px; width: 92px; height: 28px; }

  .board__grid { grid-template-columns: 1fr 1.5fr; }
  .cell--c, .cell--h { grid-column: span 2; }

  .color__stage { min-height: 400px; }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 720px) {
  :root { --pad: 22px; }

  .nav__inner { min-height: 58px; gap: 12px; }
  .nav__suffix { display: none; }
  .nav__sys { display: none; }
  .nav__sys--mobile {
    display: inline-flex;
    border: none;
    padding: 0;
    font-size: 11px;
    letter-spacing: .2em;
  }
  .nav__start { display: none; }
  .nav__menu {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    border-bottom: 2px solid var(--ultramarine);
    padding-bottom: 3px;
  }

  .hero::before { display: none; }
  .hero__title .l2,
  .hero__title .l4 { margin-left: 0; }
  .hero__lede { max-width: none; }
  .btn { width: 100%; justify-content: space-between; }

  .object { padding: 30px 0; }
  .object__coord--x, .object__coord--a { left: 0; }
  .object__coord--y, .object__coord--f { right: 0; }
  .object__strip { right: -6px; width: 82px; height: 38px; }
  .object__frame::before,
  .object__frame::after { display: none; }

  .statement__title span:nth-child(2),
  .statement__title span:nth-child(3),
  .board__title span,
  .motion__title span,
  .color__title span,
  .dark__title span,
  .cta__title span { margin-left: 0; }

  .rule {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .rule__arrow { display: none; }
  .rule__pink { top: 12px; }

  .board__grid { grid-template-columns: 1fr 1fr; }
  .cell { min-height: 68px; padding: 10px; }
  .cell--a, .cell--f, .cell--k { grid-row: span 1; }
  .blk--citrus { width: 52px; height: 52px; }
  .blk--pink-circle { width: 46px; }
  .blk--grad { width: 88px; height: 36px; }
  .blk--ring { width: 56px; }

  .track {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }
  .track__val { display: none; }

  .color__stage {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .shape {
    position: static;
    width: auto;
    height: 150px;
    inset: auto;
  }
  .shape--citrus { aspect-ratio: auto; }
  .shape--pink { aspect-ratio: auto; border-radius: 999px; height: 150px; }
  .shape--grad { grid-column: span 2; height: 56px; }
  .shape__hair { display: none; }

  .dark__line { top: 48%; }
  .dark__node { left: 78%; top: 48%; }

  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .nav, .footer__grad, .object__strip { display: none; }
  body { background: #fff; color: #000; }
}
