/* ============================================================
   GLOBAL ACCESS — shared design system
   Direction: Operator Editorial · Cobalt
   ============================================================ */

:root {
  /* canvas */
  --bg:        #08090a;
  --bg-1:      #0c0d0f;
  --bg-2:      #111316;
  --bg-3:      #181a1e;
  --bg-4:      #1f2226;

  /* ink */
  --fg:        #f6f6f5;
  --fg-2:      #e6e6e4;
  --fg-dim:    #9aa0a6;
  --fg-dimmer: #5b6066;
  --fg-faint:  #353a40;

  /* lines */
  --line:        #1c1e22;
  --line-strong: #2a2d32;

  /* accent — cobalt */
  --acc:       oklch(0.62 0.22 258);
  --acc-2:     oklch(0.72 0.18 258);
  --acc-soft:  oklch(0.62 0.22 258 / 0.12);
  --acc-glow:  oklch(0.62 0.22 258 / 0.45);

  /* layout */
  --container: 1280px;
  --gutter:    32px;
  --radius:    14px;

  /* type — single family: Geist everywhere, with OpenType features on numeric/code contexts */
  --sans:  'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  'Geist', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Geist', ui-sans-serif, system-ui, sans-serif;

  /* motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { scroll-behavior: auto; }
body {
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.mono   { font-family: var(--mono); font-feature-settings: "tnum", "zero"; font-variant-numeric: tabular-nums; }
.serif  { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.02em; }
.serif-i{ font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.02em; }

/* tabular numerics on every "mono-styled" element so digits align without a separate mono font */
[class*="num"], [class*="time"], [class*="stat"],
.eyebrow, .badge, .meta-grid .val, .clog-row .date,
.hp-stat .v, .hp-stat .l, .hp-row .t, .hp-row .pl {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "zero";
}

/* ============ TEXTURES & UTILITIES ============ */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scan-progress {
  position: fixed; top: 0; left: 0; height: 1px; width: 0%;
  background: var(--acc); z-index: 200;
  box-shadow: 0 0 12px var(--acc-glow);
  transition: width 0.05s linear;
}

/* ============ NAV (burger fullscreen) ============ */
.nav-outer {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-outer.scrolled {
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.02em;
  color: var(--fg);
}
.brand-mark {
  width: 40px; height: 40px;
  background: url('logo-globalaccess.png') center / contain no-repeat;
  flex-shrink: 0;
}
.brand-name {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name b { font-weight: 500; font-size: 14.5px; letter-spacing: -0.015em; }
.brand-name small {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dimmer); margin-top: 3px;
}

.nav-right { display: flex; align-items: center; gap: 14px; }

/* bilingual FR/EN switch — visible always */
.lang-switch {
  display: inline-flex; align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.1em;
}
.lang-switch button {
  background: transparent; border: none; cursor: pointer;
  padding: 5px 11px; border-radius: 999px;
  color: var(--fg-dim);
  transition: color 0.2s, background 0.2s;
}
.lang-switch button.active {
  background: var(--fg); color: var(--bg);
}
.lang-switch button:not(.active):hover { color: var(--fg); }

/* burger button */
.burger {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.burger:hover { border-color: var(--fg); }
.burger .b1, .burger .b2 {
  position: absolute;
  width: 16px; height: 1.2px;
  background: var(--fg);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.burger .b1 { transform: translateY(-3px); }
.burger .b2 { transform: translateY(3px); }
.burger.open .b1 { transform: translateY(0) rotate(45deg); }
.burger.open .b2 { transform: translateY(0) rotate(-45deg); }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.menu.open { pointer-events: auto; opacity: 1; }
.menu::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}
.menu-top {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.menu-body {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; z-index: 2;
  overflow: hidden;
}
.menu-list {
  padding: 80px var(--gutter) 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.menu-list a {
  display: flex; align-items: baseline; gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.4s var(--ease-out);
}
.menu-list a:last-child { border-bottom: 1px solid var(--line); }
.menu-list a:hover { padding-left: 24px; }
.menu-list a .num {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--fg-dimmer); font-weight: 400;
  flex-shrink: 0; width: 44px;
  align-self: center;
}
.menu-list a .arrow {
  margin-left: auto;
  color: var(--acc);
  font-family: var(--serif);
  font-style: normal;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.menu-list a:hover .arrow { opacity: 1; transform: translateX(0); }

.menu-aside {
  border-left: 1px solid var(--line);
  padding: 80px var(--gutter) 60px;
  display: flex; flex-direction: column;
  gap: 44px;
}
.menu-meta h6 {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dimmer);
  font-weight: 500;
  margin: 0 0 16px;
}
.menu-meta p, .menu-meta a {
  font-size: 14.5px; color: var(--fg-dim);
  line-height: 1.55; margin: 0; max-width: 36ch;
}
.menu-meta a:hover { color: var(--fg); }
.menu-meta .stack { display: flex; flex-direction: column; gap: 8px; }
.menu-cta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.menu-cta .label {
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fg-dimmer);
}
.menu-cta .big {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500; letter-spacing: -0.03em;
  color: var(--fg);
}
.menu-cta .big em {
  font-family: var(--serif);
  font-style: normal; font-weight: 400;
  color: var(--acc);
}

/* prevent scroll under menu */
body.menu-open { overflow: hidden; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.3s;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.btn-lg { height: 50px; padding: 0 24px; font-size: 14.5px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }

.btn-primary {
  background: var(--fg); color: var(--bg);
}
.btn-primary:hover {
  background: var(--acc); color: #fff;
  box-shadow: 0 8px 28px -10px var(--acc-glow);
}
.btn-accent {
  background: var(--acc); color: #fff;
}
.btn-accent:hover {
  box-shadow: 0 12px 36px -10px var(--acc-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--bg-2); }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ EYEBROWS / TAGS ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dimmer);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
}
.eyebrow.lg { font-size: 12px; letter-spacing: 0.18em; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.tag .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 0 0 var(--acc);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   oklch(0.62 0.22 258 / 0.6); }
  70%  { box-shadow: 0 0 0 12px oklch(0.62 0.22 258 / 0); }
  100% { box-shadow: 0 0 0 0   oklch(0.62 0.22 258 / 0); }
}

/* ============ HEADLINES ============ */
.h-display {
  margin: 0;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--fg);
}
.h-display .em,
.h-display em {
  font-family: var(--serif);
  font-style: normal; font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: -0.04em;
}
.h-display .acc { color: var(--acc); }
.h-display .em.acc { color: var(--acc); }

.h-section {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--fg);
}
.h-section em {
  font-family: var(--serif);
  font-style: normal; font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: -0.035em;
}
.h-section em.acc { color: var(--acc); }

.lede {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  color: var(--fg-dim);
  letter-spacing: -0.012em;
  max-width: 56ch;
  margin: 0;
}

/* line reveal */
.line-mask { display: block; overflow: hidden; padding: 0.04em 0; }
.line-mask > span {
  display: inline-block;
  transform: translateY(110%);
}
.is-ready .line-mask > span {
  animation: rise 1.2s var(--ease-out) forwards;
}
@keyframes rise {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

/* split-text helper */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-right: 0.04em; }
.reveal-word > span { display: inline-block; transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  .line-mask > span { animation: none; transform: none; }
}

/* ============ SECTION SCAFFOLD ============ */
.section {
  padding: 220px 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.section.lg  { padding: 260px 0; }
.section.sm  { padding: 160px 0; }
.section .head {
  display: flex; flex-direction: column; gap: 28px;
  margin-bottom: 96px;
}

/* ============ FOOTER (shared) ============ */
.foot {
  padding: 100px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 100px;
}
.foot-brand p {
  margin: 22px 0 0;
  font-size: 13.5px;
  max-width: 32ch;
  color: var(--fg-dim);
  line-height: 1.55;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-dimmer);
  margin: 0 0 20px;
  font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 13.5px; color: var(--fg-dim); transition: color 0.2s; }
.foot-col a:hover { color: var(--fg); }

.wordmark {
  overflow: hidden;
  padding: 0 0 8px;
  line-height: 0.85;
  margin: 0 calc(var(--gutter) * -1);
}
.wordmark .w {
  font-size: clamp(56px, 13vw, 180px);
  font-weight: 500;
  letter-spacing: -0.06em;
  color: var(--fg);
  display: block;
  text-align: center;
  line-height: 0.9;
  white-space: nowrap;
}
.wordmark .w em {
  font-family: var(--serif);
  font-style: normal; font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: -0.04em;
}
.wordmark .w .acc { color: var(--acc); }

.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--fg-dimmer);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.swiss { display: inline-flex; align-items: center; gap: 8px; }
.swiss-cross {
  width: 14px; height: 14px;
  background: url('logo-ch.png') center / cover no-repeat;
  border-radius: 2px;
}

/* ============ COMMON BLOCKS ============ */

/* breadcrumb */
.crumb {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dimmer); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crumb a { transition: color 0.2s; }
.crumb a:hover { color: var(--fg); }
.crumb .sep { color: var(--fg-faint); }
.crumb .here { color: var(--fg); }

/* meta grid (under hero) */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.meta-grid > div {
  padding: 28px 32px 28px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.meta-grid > div:last-child { border-right: none; padding-right: 0; }
.meta-grid .lbl {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dimmer);
}
.meta-grid .val {
  font-size: 16px; color: var(--fg);
  letter-spacing: -0.01em;
}
.meta-grid .val em {
  font-family: var(--serif); font-style: normal;
  color: var(--acc);
}

/* feature grid */
.feats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 36px 48px;
  min-height: 260px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.3s;
  position: relative;
}
.feat:hover { background: var(--bg-1); }
.feat .num {
  font-family: var(--mono);
  font-size: 11px; color: var(--fg-dimmer);
  letter-spacing: 0.18em;
}
.feat h3 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.025em; color: var(--fg);
  margin: 0;
  line-height: 1.15;
}
.feat h3 em {
  font-family: var(--serif); font-style: normal;
  color: var(--acc);
}
.feat p {
  font-size: 14px; color: var(--fg-dim);
  line-height: 1.55; margin: 0;
}

/* metrics */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.metric {
  padding: 56px 32px 60px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric .n {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--fg);
}
.metric .n .u {
  color: var(--acc);
  margin-left: 4px;
  font-weight: 400;
  font-size: 0.6em;
}
.metric .l {
  margin-top: 22px;
  font-size: 13.5px; color: var(--fg-dim);
  line-height: 1.5; max-width: 26ch;
}

/* cta block */
.cta-band {
  padding: 200px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, var(--acc-soft), transparent 70%);
}
.cta-band h2 {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--fg);
}
.cta-band h2 em {
  font-family: var(--serif);
  font-style: normal; font-weight: 400;
  color: var(--acc);
  letter-spacing: -0.04em;
}
.cta-band p {
  margin: 36px auto 0;
  max-width: 52ch;
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.cta-band .actions {
  margin-top: 52px;
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}

/* schematic mock card (1px wireframe style) */
.mock {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.mock-chrome {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}
.mock-chrome .dots { display: flex; gap: 6px; }
.mock-chrome .dots span {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
}
.mock-chrome .url { flex: 1; text-align: center; color: var(--fg-dimmer); }
.mock-chrome .live {
  color: var(--acc); display: inline-flex; align-items: center; gap: 6px;
}
.mock-chrome .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc); box-shadow: 0 0 8px var(--acc);
  animation: pulse 2.2s ease-out infinite;
}

/* grid bg utility */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}

/* glow utility */
.glow-spot {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  background: var(--acc);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .feats   { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .meta-grid > div { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .menu-body { grid-template-columns: 1fr; }
  .menu-aside { display: none; }
  .lang-switch { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .feats, .metrics, .foot-grid { grid-template-columns: 1fr; }
  .section, .section.lg { padding: 140px 0; }
  .section.sm { padding: 100px 0; }
  .cta-band { padding: 160px 0; }
}
