/* Arc Solutions — shared system
   Exposed six-column grid, compressed display caps, mono markings,
   square signal plates. Colour lives inside the app exhibits. */

:root {
  --canvas: #eeefef;
  --canvas-2: #e6e7e8;
  --mist: #8d8f94;
  --ink: #141516;
  --text: #36373b;
  --muted: #77787d;
  --faint: #a3a4a8;
  --rule: #a3a4a8;
  --rule-soft: rgba(163, 164, 168, 0.35);
  --tag-fill: rgba(54, 55, 59, 0.08);
  --tag-edge: rgba(54, 55, 59, 0.2);
  --ctl-fill: rgba(54, 55, 59, 0.04);
  --ctl-edge: rgba(54, 55, 59, 0.15);
  --signal: #1f43ff;          /* studio signal: dots + closing glow only */
  --signal-soft: rgba(31, 67, 255, 0.55);

  /* app exhibit colours — only inside their own exhibits */
  --stridely-ink: #0b0e14;
  --stridely-volt: #d4ff3a;
  --ctt-jade: #0b4a37;
  --ctt-jade-deep: #083a2b;
  --ctt-ivory: #fffdf7;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: 24px;
  --max: 1392px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 8px 12px; font: 500 12px var(--mono); }
.skip:focus { left: 8px; }

/* ---------- grid scaffolding ---------- */
.shell { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.guides {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}
.guides::before {
  content: ""; position: absolute; inset: 0 var(--gutter);
  background-image: linear-gradient(90deg, rgba(54, 55, 59, 0.07) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  border-right: 1px solid rgba(54, 55, 59, 0.07);
}
.reg { position: absolute; width: 11px; height: 11px; pointer-events: none; }
.reg::before, .reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 5px; top: 0; width: 1px; height: 11px; }
.reg::after { top: 5px; left: 0; height: 1px; width: 11px; }

/* ---------- type recipes ---------- */
.mono, .label { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; text-transform: uppercase; }
.label { color: var(--muted); }
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.78; letter-spacing: -0.005em; color: var(--ink);
}
.intro { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.intro .soft { color: var(--muted); }
.support { font-size: 21px; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.body { font-size: 16.5px; line-height: 1.35; color: var(--muted); text-wrap: pretty; }

[data-fit] { display: inline-block; max-width: none; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 60px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(238, 239, 239, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule-soft); }
.nav .shell { height: 100%; }
.nav-row { height: 100%; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav-links { grid-column: 3 / 6; display: flex; gap: 0; list-style: none; }
.nav-links li { flex: 1; }
.nav-links a { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: -0.02em; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 7px; transition: color .3s var(--ease); }
.nav-links a::before { content: "+"; color: var(--faint); font-weight: 500; }
.nav-links a[aria-current]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { grid-column: 6; justify-self: end; }

/* ---------- plates (buttons) ---------- */
.plate {
  display: inline-flex; align-items: center; gap: 9px; height: 28px; padding: 0 10px 0 9px;
  background: var(--ink); color: var(--canvas); text-decoration: none; border: 0; cursor: pointer;
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .2s cubic-bezier(.215,.61,.355,1);
}
.plate::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; transition: transform .45s cubic-bezier(.32,.72,0,1); }
.plate:hover { background: #000; }
.plate:hover::before { transform: scale(1.5); }
.plate.ghost { background: var(--tag-fill); color: var(--ink); box-shadow: inset 0 0 0 1px var(--tag-edge); }
.plate.ghost::before { background: var(--ink); }
.plate.ghost:hover { background: rgba(54, 55, 59, 0.14); }
.plate.on-dark { background: rgba(255,255,255,0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.plate.on-dark::before { background: currentColor; }
.plate.on-dark:hover { background: rgba(255,255,255,0.16); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 7px;
  background: var(--tag-fill); box-shadow: inset 0 0 0 1px var(--tag-edge); color: var(--text);
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap;
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: block; }
.tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.ring {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 3.5px solid var(--ink); border-radius: 50%; font: 400 21px/1 var(--display); color: var(--ink);
  vertical-align: top; margin-left: 10px; transform: translateY(-0.1em);
}

/* ---------- closing signature ---------- */
.closing {
  position: relative; overflow: hidden; min-height: 760px; padding: 120px 0 28px;
  background:
    radial-gradient(110% 80% at 100% 100%, var(--signal-soft) 0%, rgba(31, 67, 255, 0.18) 38%, transparent 68%),
    linear-gradient(180deg, var(--canvas) 0%, #c9cbcd 58%, #b4b6b9 100%);
}
.closing .shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 612px; }
.closing .signature { white-space: nowrap; align-self: flex-start; }
.closing-row { margin-top: 48px; row-gap: 40px; }
.foot-links { list-style: none; display: grid; gap: 6px; }
.foot-links a { font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; text-decoration: none; color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s var(--ease); }
.foot-links a:hover { color: var(--ink); background-size: 100% 1px; }
.invite { grid-column: 5 / 7; }
.invite p { margin-bottom: 18px; max-width: 360px; }
.legal-line { margin-top: auto; padding-top: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.square {
  width: 47px; height: 47px; display: inline-grid; place-items: center; background: var(--ctl-fill);
  box-shadow: inset 0 0 0 1px var(--ctl-edge); text-decoration: none; color: var(--ink); font: 500 14px var(--mono);
  transition: background-color .2s;
}
.square:hover { background: rgba(255,255,255,0.4); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .nav-links { grid-column: 2 / 6; justify-content: flex-end; gap: 22px; }
  .nav-links li { flex: none; }
  .invite { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .nav-links { display: none; }
  .guides::before { background-size: calc(100% / 2) 100%; }
  .closing { min-height: 620px; padding-top: 88px; }
  .closing .shell { min-height: 504px; }
}
