/* ============================================================
   Nunzio Lella — Multipage system · "Editorial Brutalism"
   Page heroes · bento nav cards · forms · footer · transitions
   Extends assets/styles.css (same tokens, fonts, accent).
   ============================================================ */

:root {
  --r-lg: 0px;
  --ease-out: cubic-bezier(.16,.84,.34,1);
}

body { min-height: 100vh; }
main { display: block; }

/* ============================================================
   PAGE LOAD / TRANSITION CURTAIN
   ============================================================ */
.page-curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: none;
  transform: translateY(-101%);
  transition: transform .5s var(--ease);
}
.page-curtain .pc-mark {
  font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .02em;
  color: var(--bg);
  width: 60px; height: 60px;
  display: grid; place-items: center; background: var(--accent);
  opacity: 0; transform: scale(.9) rotate(-6deg);
  animation: pcIn .5s var(--ease-out) forwards;
}
@keyframes pcIn { to { opacity: 1; transform: none; } }
html.curtain-down .page-curtain { animation: none; transform: translateY(0); pointer-events: all; }
@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none !important; }
}

/* ============================================================
   NAV — language switcher
   ============================================================ */
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang { position: relative; font-family: var(--mono); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--line);
  padding: 10px 14px; cursor: pointer;
  transition: color .25s, border-color .25s;
}
.lang-btn:hover, .lang.open .lang-btn { color: var(--text-hi); border-color: var(--accent); }
.lang-btn .globe { width: 13px; height: 13px; flex: none; opacity: .85; }
.lang-btn .caret { transition: transform .3s var(--ease); font-size: 9px; }
.lang.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  background: rgba(10,10,10,.97); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  padding: 6px; min-width: 178px;
  display: grid; gap: 2px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: 10px 10px 0 rgba(255,42,0,.12);
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  background: transparent; border: none; cursor: pointer;
  padding: 10px 12px; text-align: left; width: 100%;
  transition: background .2s, color .2s;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text-hi); }
.lang-menu button .code { color: var(--muted-2); font-size: 11px; letter-spacing: .1em; }
.lang-menu button[aria-current="true"] { color: var(--accent-2); }
.lang-menu button[aria-current="true"] .code { color: var(--accent); }

/* home hero lead paragraph */
.hero-lead-p { margin-top: 30px; max-width: 52ch; font-size: clamp(16px, 1.9vw, 20px); color: var(--text); line-height: 1.65; }
.hero-lead-p b { color: var(--accent-2); font-weight: 700; }

/* nav links: highlight current page */
.nav-links a.current { color: var(--text-hi); }
.nav-links a.current::after { width: 100%; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: 160px; padding-bottom: clamp(44px, 6vw, 84px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .hero-grid-bg { opacity: .8; }
.page-hero .wrap { position: relative; z-index: 2; }
.ph-top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.ph-index {
  font-family: var(--mono); font-size: 12px; color: #fff;
  letter-spacing: .12em; background: var(--accent); padding: 4px 10px;
}
.ph-crumb { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.ph-crumb a { color: var(--muted); transition: color .2s; }
.ph-crumb a:hover { color: var(--accent-2); }
.ph-crumb .sep { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(46px, 8.5vw, 120px); font-weight: 900;
  letter-spacing: -.025em; line-height: .9; color: var(--text-hi);
  text-transform: uppercase;
}
.page-hero .ph-lead {
  margin-top: 28px; max-width: 58ch;
  font-size: clamp(17px, 2vw, 21px); color: var(--text); line-height: 1.65;
}
.page-hero .ph-lead b { color: var(--accent-2); font-weight: 700; }

/* big outlined watermark number behind hero */
.ph-watermark {
  position: absolute; right: -3vw; top: 50%; transform: translateY(-46%);
  font-family: var(--display); font-weight: 900;
  font-size: clamp(200px, 34vw, 480px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(244,241,235,.07);
  z-index: 1; pointer-events: none;
  letter-spacing: -.04em;
}

/* ============================================================
   HOME — bento navigation cards (tetris asymmetry)
   ============================================================ */
.home-nav { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.nav-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 36px 36px 32px;
  display: flex; flex-direction: column; min-height: 260px;
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .4s, background .4s;
  cursor: pointer;
}
.nav-card:nth-child(1) { grid-column: span 7; }
.nav-card:nth-child(2) { grid-column: span 5; }
.nav-card:nth-child(3) { grid-column: span 5; }
.nav-card:nth-child(4) { grid-column: span 7; }
.nav-card.wide { grid-column: 1 / -1; }
.nav-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(130% 90% at 100% 0%, rgba(255,42,0,.10), transparent 55%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.nav-card::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out); z-index: 2;
}
.nav-card > * { position: relative; z-index: 1; }
.nav-card:hover {
  transform: translate(-3px,-3px); border-color: var(--line);
  box-shadow: 8px 8px 0 rgba(255,42,0,.18);
}
.nav-card:hover::after { opacity: 1; }
.nav-card:hover::before { transform: scaleX(1); }
.nc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nc-idx { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .2em; }
.nc-arrow {
  width: 42px; height: 42px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: 16px;
  transition: transform .45s var(--ease-out), color .4s, border-color .4s, background .4s;
  flex: none;
}
.nav-card:hover .nc-arrow { transform: rotate(45deg); color: #fff; border-color: var(--accent); background: var(--accent); }
.nc-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; text-transform: uppercase; color: var(--text-hi); letter-spacing: -.015em; margin: 30px 0 12px; line-height: .98; }
.nc-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; max-width: 44ch; }
.nc-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.nc-tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-soft); padding: 5px 11px; }
.nav-card.wide { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
.nav-card.wide .nc-title { margin: 0 0 8px; }
.nav-card.wide .nc-body { max-width: 70ch; display: flex; flex-direction: column; gap: 0; }
.nav-card.wide .nc-body .nc-idx { margin-bottom: 14px; }
.nav-card.wide .nc-arrow { width: 52px; height: 52px; }

/* home stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat-strip .stat { background: var(--bg); padding: 38px 30px; transition: background .4s; position: relative; overflow: hidden; }
.stat-strip .stat::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.stat-strip .stat:hover { background: var(--surface); }
.stat-strip .stat:hover::before { transform: scaleY(1); }
.stat-strip .s-num { font-size: clamp(42px, 5vw, 72px); font-weight: 900; color: var(--text-hi); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-strip .s-num .u { color: var(--accent); font-family: var(--mono); font-size: .4em; margin-left: 4px; vertical-align: super; font-weight: 500; }
.stat-strip .s-label { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   HOME — PROOF (mini case studies + partner logo strip)
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.proof-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 32px 30px 28px;
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .4s;
}
.proof-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.proof-card:hover { transform: translate(-3px,-3px); border-color: var(--line); box-shadow: 6px 6px 0 rgba(255,42,0,.18); }
.proof-card:hover::before { transform: scaleX(1); }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.pr-tag { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 11px; }
.pr-kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); text-align: right; }
.pr-num { font-size: clamp(44px, 4.6vw, 64px); font-weight: 900; color: var(--text-hi); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pr-num .u { color: var(--accent); font-family: var(--mono); font-size: .42em; margin-left: 4px; vertical-align: super; font-weight: 500; }
.pr-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.pr-desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 18px; flex: 1; }
.pr-link { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; transition: gap .25s var(--ease); }
.proof-card:hover .pr-link { gap: 14px; }

/* logo strip — placeholder wordmarks (swap .logo-ph with <img> later) */
.logo-strip { margin-top: 56px; border: 1px solid var(--line-soft); background: var(--surface); padding: 30px clamp(22px, 3vw, 40px) 34px; }
.ls-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.ls-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.logo-item {
  background: var(--bg); padding: 26px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; min-height: 110px;
  transition: background .35s;
}
.logo-item:hover { background: var(--surface-2); }
.logo-ph {
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .02em; text-transform: uppercase; line-height: 1;
  color: var(--muted); transition: color .3s;
}
.logo-item:hover .logo-ph { color: var(--text-hi); }
.logo-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.logo-item img { max-height: 36px; max-width: 80%; object-fit: contain; filter: grayscale(1) brightness(1.6) opacity(.65); transition: filter .35s; }
.logo-item:hover img { filter: grayscale(0) brightness(1) opacity(1); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.about-portrait { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4/5; box-shadow: 16px 16px 0 rgba(255,42,0,.2); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.06); transition: filter .7s var(--ease); }
.about-portrait:hover img { filter: grayscale(0); }
.about-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0) 55%, rgba(5,5,5,.65)); pointer-events: none; }
.about-portrait .ap-tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-hi); display: flex; align-items: center; gap: 9px; }
.about-portrait .ap-tag .live { width: 8px; height: 8px; background: var(--ok); box-shadow: 0 0 0 4px rgba(54,211,153,.18); }
.about-prose p { font-size: clamp(16px, 1.7vw, 19px); color: var(--text); line-height: 1.7; margin-bottom: 22px; }
.about-prose p.lead { font-size: clamp(22px, 2.7vw, 34px); color: var(--text-hi); line-height: 1.32; letter-spacing: -.015em; font-weight: 500; }
.about-prose b { color: var(--accent-2); font-weight: 700; }
.about-facts { margin-top: 34px; font-family: var(--mono); font-size: 13.5px; border-top: 3px solid var(--accent); }
.about-facts .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.about-facts .row span:first-child { color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; padding-top: 2px; }
.about-facts .row span:last-child { color: var(--text-hi); text-align: right; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value { border: 1px solid var(--line-soft); padding: 32px 30px; background: var(--surface); transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s; position: relative; overflow: hidden; }
.value::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.value:hover { border-color: var(--line); transform: translate(-3px,-3px); box-shadow: 6px 6px 0 rgba(255,42,0,.18); }
.value:hover::before { transform: scaleX(1); }
.value .v-idx { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .2em; }
.value h3 { font-size: 21px; font-weight: 800; text-transform: uppercase; color: var(--text-hi); margin: 20px 0 12px; letter-spacing: -.01em; line-height: 1.1; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   EXPERIENCE — timeline
   ============================================================ */
.timeline { position: relative; }
.tl-item {
  position: relative;
  display: grid; grid-template-columns: 190px 1fr; gap: 30px;
  padding: 0 0 52px 0;
}
.tl-item::before { content: ""; position: absolute; left: 206px; top: 10px; bottom: -10px; width: 1px; background: var(--line-soft); }
.tl-item:last-child::before { display: none; }
.tl-when { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text-hi); padding-top: 4px; line-height: 1.8; letter-spacing: .02em; }
.tl-when .now { color: var(--accent); }
.tl-dot { position: absolute; left: 201px; top: 8px; width: 11px; height: 11px; background: var(--accent); z-index: 2; transform: rotate(45deg); }
.tl-body { padding-left: 28px; }
.tl-role { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; text-transform: uppercase; color: var(--text-hi); letter-spacing: -.015em; line-height: 1.05; }
.tl-org { color: transparent; -webkit-text-stroke: 1px var(--accent-2); }
.tl-place { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-top: 10px; letter-spacing: .04em; text-transform: uppercase; }
.tl-desc { font-size: 15.5px; color: var(--text); line-height: 1.65; margin-top: 16px; max-width: 66ch; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tl-chips .chip { font-family: var(--mono); font-size: 12px; font-weight: 500; color: #fff; background: var(--accent); padding: 6px 12px; }
.tl-bullets { list-style: none; margin-top: 18px; display: grid; gap: 10px; max-width: 70ch; }
.tl-bullets li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text); line-height: 1.55; }
.tl-bullets li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; background: var(--accent); }

/* ============================================================
   PROJECTS — coming soon
   ============================================================ */
.soon-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px,5vw,80px); align-items: center; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(255,42,0,.4); background: var(--accent-dim); padding: 9px 16px; }
.soon-badge .pulse { width: 8px; height: 8px; background: var(--accent); animation: soonpulse 1.8s var(--ease) infinite; }
@keyframes soonpulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,42,0,.5);} 50%{ box-shadow: 0 0 0 8px rgba(255,42,0,0);} }
.soon-wrap h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 900; text-transform: uppercase; color: var(--text-hi); letter-spacing: -.025em; line-height: .95; margin: 28px 0 22px; }
.soon-wrap p { font-size: clamp(16px,1.8vw,19px); color: var(--muted); line-height: 1.65; max-width: 52ch; }
.soon-list { display: grid; gap: 12px; margin-top: 30px; }
.soon-list .sl { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line-soft); background: var(--surface); transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.soon-list .sl:hover { border-color: var(--line); transform: translateX(6px); box-shadow: -6px 6px 0 rgba(255,42,0,.15); }
.soon-list .sl .si { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.soon-list .sl .st { color: var(--text-hi); font-weight: 700; font-size: 16px; }
.soon-list .sl .sk { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(255,42,0,.4); padding: 5px 12px; white-space: nowrap; }
.soon-visual { border: 1px solid var(--line-soft); aspect-ratio: 1/1; position: relative; overflow: hidden; background:
  repeating-linear-gradient(45deg, rgba(255,42,0,.06) 0 2px, transparent 2px 16px), var(--surface); display: grid; place-items: center; }
.soon-visual::after { content: ""; position: absolute; left: -30%; top: 0; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,42,0,.08), transparent); animation: sweep 3.4s var(--ease) infinite; }
@keyframes sweep { to { left: 130%; } }
.soon-visual .sv-core { font-family: var(--mono); font-size: 13px; color: var(--accent-2); letter-spacing: .16em; text-transform: uppercase; }

/* ============================================================
   CONTACT — brutalist form + sidebar
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.form-card { border: 1px solid var(--line-soft); border-top: 3px solid var(--accent); padding: clamp(28px, 3.4vw, 48px); background: var(--surface); }
.form-card h2 { font-size: clamp(24px,2.8vw,36px); font-weight: 800; text-transform: uppercase; color: var(--text-hi); letter-spacing: -.015em; margin-bottom: 10px; }
.form-card .fc-sub { color: var(--muted); font-size: 15px; margin-bottom: 34px; font-family: var(--mono); }
.field { margin-bottom: 26px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--display); font-size: 17px; font-weight: 500; color: var(--text-hi);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 0 14px; transition: border-color .3s;
  resize: vertical; border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); font-weight: 500; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.btn-submit { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 17px 32px; background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn-submit:hover { background: var(--text-hi); border-color: var(--text-hi); color: var(--bg); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--accent); }
.btn-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.form-status { font-family: var(--mono); font-size: 13px; margin-top: 18px; padding: 14px 18px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--ok); background: rgba(54,211,153,.08); border: 1px solid rgba(54,211,153,.3); }
.form-status.err { color: #ff7a7a; background: rgba(255,122,122,.08); border: 1px solid rgba(255,122,122,.3); }

/* contact sidebar */
.contact-side { display: grid; gap: 16px; }
.cs-panel { border: 1px solid var(--line-soft); padding: 30px 28px; background: var(--surface); }
.cs-panel h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.cs-line { display: flex; align-items: center; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.cs-line:last-child { border-bottom: none; }
.cs-line .cs-ic { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex: none; transition: color .25s, border-color .25s, background .25s; }
.cs-line .cs-ic svg { width: 16px; height: 16px; fill: currentColor; }
.cs-line:hover .cs-ic { color: #fff; border-color: var(--accent); background: var(--accent); }
.cs-line .cs-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.cs-line .cs-v { color: var(--text-hi); font-size: 15px; font-weight: 500; margin-top: 2px; }

/* call CTA panel */
.call-panel { background: var(--surface-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); position: relative; overflow: hidden; }
.call-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 100% 0%, rgba(255,42,0,.12), transparent 55%); }
.call-panel > * { position: relative; z-index: 1; }
.call-panel h3 { color: var(--accent-2); }
.call-panel p { color: var(--text); font-size: 14.5px; line-height: 1.65; margin-bottom: 22px; }
.btn-call { width: 100%; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 16px 24px; background: transparent; color: var(--text-hi); border: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; gap: 11px; transition: border-color .25s, color .25s, transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn-call:hover { border-color: var(--accent); color: #fff; background: var(--accent); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(255,42,0,.3); }
.btn-call svg { width: 16px; height: 16px; }

.dl-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ============================================================
   INSIGHTS / KNOW MORE
   ============================================================ */
.insights-layout { display: grid; grid-template-columns: 310px 1fr; gap: clamp(28px,4vw,60px); align-items: start; }
.li-rail { position: sticky; top: 100px; display: grid; gap: 18px; }
.li-card { border: 1px solid var(--line-soft); padding: 28px 26px; background: var(--surface); }
.li-card h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.li-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.li-linkedin { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--line); background: var(--bg); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.li-linkedin:hover { border-color: #0a66c2; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(10,102,194,.35); }
.li-linkedin .lk-ic { width: 38px; height: 38px; background: #0a66c2; display: grid; place-items: center; flex: none; }
.li-linkedin .lk-ic svg { width: 19px; height: 19px; fill: #fff; }
.li-linkedin .lk-h { color: var(--text-hi); font-size: 14px; font-weight: 700; }
.li-linkedin .lk-s { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 2px; }

/* newsletter (brevo) */
.newsletter { border-top: 3px solid var(--accent); }
.newsletter .nl-form { display: grid; gap: 12px; }
.newsletter input[type=email] { width: 100%; font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--text-hi); background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 10px 0 12px; border-radius: 0; }
.newsletter input[type=email]::placeholder { color: var(--muted-2); }
.newsletter input[type=email]:focus { outline: none; border-bottom-color: var(--accent); }
.newsletter button { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 14px 20px; background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease); }
.newsletter button:hover { background: var(--text-hi); border-color: var(--text-hi); color: var(--bg); transform: translateY(-2px); }
.newsletter .nl-small { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); margin-top: 4px; line-height: 1.5; }

/* posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.post-card { position: relative; border: 1px solid var(--line-soft); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; }
.post-card:hover { transform: translate(-3px,-3px); border-color: var(--line); box-shadow: 6px 6px 0 rgba(255,42,0,.18); }
.post-thumb { aspect-ratio: 16/9; background: repeating-linear-gradient(45deg, rgba(255,42,0,.05) 0 2px, transparent 2px 15px), var(--surface-2); position: relative; display: grid; place-items: center; border-bottom: 1px solid var(--line-soft); }
.post-thumb .pt-label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.post-thumb .pt-cat { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; display: flex; gap: 12px; }
.post-card h3 { font-size: 20px; font-weight: 800; color: var(--text-hi); letter-spacing: -.01em; line-height: 1.15; margin-bottom: 10px; text-transform: uppercase; }
.post-card p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.post-card .pc-foot { margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; }
.post-card.is-soon { opacity: .75; }
.post-card.is-soon:hover { opacity: 1; }

/* ============================================================
   CTA BAND (shared, bottom of pages) + outline marquee
   ============================================================ */
.cta-band { border-top: 1px solid var(--line-soft); background: var(--bg-2); position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 110px); }
.cta-band .hero-grid-bg { opacity: .5; }
.cta-band .wrap { position: relative; z-index: 2; }

/* injected marquee strip */
.band-marquee {
  position: relative; z-index: 1;
  width: 100vw; left: 50%; transform: translateX(-50%);
  overflow: hidden; pointer-events: none;
  margin-bottom: clamp(40px, 6vw, 70px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.band-marquee .bm-track { display: flex; width: max-content; animation: bmscroll 70s linear infinite; }
.band-marquee span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 7.5vw, 110px); line-height: 1.1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,241,235,.18);
  padding-right: .35em;
}
.band-marquee span b { color: transparent; -webkit-text-stroke: 1.5px rgba(255,42,0,.55); font-weight: 900; }
@keyframes bmscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-marquee .bm-track { animation: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding-top: clamp(50px, 6vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-soft); }
.f-brand .f-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.f-brand .f-mark { width: 42px; height: 42px; display: grid; place-items: center; font-weight: 900; font-size: 15px; color: var(--bg); background: var(--text-hi); }
.f-brand .f-name { font-size: 15px; font-weight: 700; color: var(--text-hi); }
.f-brand .f-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.f-brand p { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 36ch; margin-bottom: 24px; }
.f-socials { display: flex; gap: 10px; }
.f-soc { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: var(--surface); transition: color .25s, border-color .25s, transform .25s var(--ease), background .25s; }
.f-soc:hover { color: #fff; border-color: var(--accent); background: var(--accent); transform: translateY(-3px); }
.f-soc svg { width: 18px; height: 18px; fill: currentColor; }
.f-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.f-col ul { list-style: none; display: grid; gap: 12px; }
.f-col a { font-size: 14px; color: var(--muted); text-transform: capitalize; transition: color .22s; display: inline-flex; align-items: center; gap: 8px; }
.f-col a::before { content: "→"; font-family: var(--mono); font-size: 11px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .22s, transform .22s; }
.f-col a:hover { color: var(--text-hi); }
.f-col a:hover::before { opacity: 1; transform: none; }
.f-connect h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.f-connect .fc-li { display: inline-flex; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.f-connect .fc-li:hover { border-color: #0a66c2; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(10,102,194,.3); }
.f-connect .fc-li .lk-ic { width: 36px; height: 36px; background: #0a66c2; display: grid; place-items: center; flex: none; }
.f-connect .fc-li .lk-ic svg { width: 17px; height: 17px; fill: #fff; }
.f-connect .fc-li .lk-h { color: var(--text-hi); font-size: 13.5px; font-weight: 700; }
.f-connect .fc-li .lk-s { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 2px; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0 38px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: .06em; }
.footer-bottom a { color: var(--muted-2); transition: color .22s; }
.footer-bottom a:hover { color: var(--accent-2); }
.footer-bottom .fb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   STAGGER REVEAL helper
   ============================================================ */
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }

/* Failsafe: if IntersectionObserver never fires, force content visible */
html.reveal-fallback .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.reveal-fallback .hero .hero-kicker,
html.reveal-fallback .hero h1,
html.reveal-fallback .hero .hero-cta,
html.reveal-fallback .hero .hero-contact,
html.reveal-fallback .hero .hero-lead-p { animation: none !important; opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .home-nav .nav-card { grid-column: 1 / -1 !important; }
  .nav-card.wide { flex-direction: column; align-items: flex-start; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .insights-layout { grid-template-columns: 1fr; }
  .li-rail { position: static; grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 440px; }
  .soon-wrap { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .ls-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .posts-grid { grid-template-columns: 1fr; }
  .li-rail { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-bottom: 44px; }
  .tl-item::before { left: 5px; top: 32px; }
  .tl-dot { left: 0; top: 30px; }
  .tl-when { padding-left: 28px; }
  .tl-body { padding-left: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .page-hero { padding-top: 130px; }
  .lang-btn .lang-name { display: none; }
  .stat-strip { grid-template-columns: 1fr; }
}


/* ============================================================
   MENU TOGGLE + FULLSCREEN SIDE-POPUP OVERLAY (modern nav)
   ============================================================ */
.menu-toggle {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-hi); background: transparent;
  border: 1px solid var(--line); padding: 11px 16px; cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.menu-toggle:hover { border-color: var(--accent); color: var(--accent-2); }
.menu-toggle .mt-ico { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.menu-toggle .mt-ico span { height: 2px; width: 100%; background: currentColor; transition: transform .3s var(--ease); transform-origin: center; }
.menu-toggle.active .mt-ico span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-toggle.active .mt-ico span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* keep top bar clean while the overlay is open */
html.menu-open .nav { z-index: 220; }
html.menu-open .nav-links,
html.menu-open .lang,
html.menu-open .nav-cta { opacity: 0; pointer-events: none; transition: opacity .25s; }
html.menu-open, html.menu-open body { overflow: hidden; }

.nav-overlay { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.nav-overlay .ov-bg {
  position: absolute; inset: 0; background: rgba(5,5,5,.55);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease);
}
.nav-overlay.open { pointer-events: auto; }
.nav-overlay.open .ov-bg { opacity: 1; }

.ov-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(560px, 100%); background: #080808;
  border-left: 1px solid var(--line);
  box-shadow: -40px 0 100px rgba(0,0,0,.7);
  transform: translateX(100%); transition: transform .6s var(--ease);
  display: flex; overflow-y: auto; overflow-x: hidden;
}
.nav-overlay.open .ov-panel { transform: none; }
.ov-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(244,241,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,235,.04) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 80% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 80% 30%, #000, transparent 75%);
}
.ov-inner { position: relative; z-index: 1; margin: auto 0; width: 100%; padding: 116px clamp(28px, 5vw, 64px) 56px; }
.ov-eyebrow { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 30px; }
.ov-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 7px; background: var(--accent); margin-right: 12px; vertical-align: middle; }

.ov-links { display: flex; flex-direction: column; }
.ov-links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft); position: relative;
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.nav-overlay.open .ov-links a { opacity: 1; transform: none; }
.nav-overlay.open .ov-links a:nth-child(1) { transition-delay: .14s; }
.nav-overlay.open .ov-links a:nth-child(2) { transition-delay: .20s; }
.nav-overlay.open .ov-links a:nth-child(3) { transition-delay: .26s; }
.nav-overlay.open .ov-links a:nth-child(4) { transition-delay: .32s; }
.nav-overlay.open .ov-links a:nth-child(5) { transition-delay: .38s; }
.nav-overlay.open .ov-links a:nth-child(6) { transition-delay: .44s; }
.ov-links .ov-idx { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.ov-links .ov-txt {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 58px); line-height: .98; letter-spacing: -.02em;
  color: var(--text-hi); margin-right: auto;
  transition: color .25s, transform .35s var(--ease);
}
.ov-links .ov-ar { font-family: var(--mono); font-size: 22px; color: var(--muted); opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .3s, color .3s; align-self: center; }
.ov-links a:hover .ov-txt { color: var(--accent); transform: translateX(12px); }
.ov-links a:hover .ov-ar { opacity: 1; transform: none; color: var(--accent); }

.ov-foot { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 26px 50px; align-items: flex-start; }
.ov-foot .ovf-col { display: flex; flex-direction: column; gap: 8px; }
.ov-foot .ovf-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.ov-foot .ovf-col a { font-family: var(--mono); font-size: 13px; color: var(--text); transition: color .22s; }
.ov-foot .ovf-col a:hover { color: var(--accent-2); }
.ov-foot .ovf-loc { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); align-self: flex-end; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  .ov-panel, .ov-links a, .nav-overlay .ov-bg { transition: none !important; }
  .ov-links a { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .menu-toggle .mt-label { display: none; }
  .menu-toggle { padding: 11px; }
  .ov-foot { gap: 22px 36px; }
  .ov-foot .ovf-loc { margin-left: 0; align-self: flex-start; }
}

/* ============================================================
   v4 — PROOF AMBIENT GLOW + GRADIENT/GLOW MICRO-INTERACTIONS
   ============================================================ */
#proof { overflow: hidden; }
#proof .wrap { position: relative; z-index: 1; }
.proof-glow {
  position: absolute; z-index: 0; width: 620px; height: 620px; max-width: 90vw;
  border-radius: 50%; pointer-events: none; filter: blur(60px); mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,42,0,.16) 0%, rgba(5,5,5,0) 70%);
}
.proof-glow.g1 { top: -12%; left: -8%; animation: pglow1 19s ease-in-out infinite; }
.proof-glow.g2 { bottom: -16%; right: -6%; background: radial-gradient(circle, rgba(255,85,0,.14) 0%, rgba(5,5,5,0) 70%); animation: pglow2 23s ease-in-out infinite; }
@keyframes pglow1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(70px,46px); } }
@keyframes pglow2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-56px,-34px); } }
@media (prefers-reduced-motion: reduce) { .proof-glow { animation: none !important; } }

/* card hover: keep brutalist offset shadow + add subtle red volumetric glow */
.nav-card:hover, .proof-card:hover, .value:hover, .post-card:hover {
  box-shadow: 8px 8px 0 rgba(255,42,0,.18), 0 0 46px rgba(255,42,0,.12);
}
/* CTA buttons: glow that scales on hover (gradient lighting, not flat) */
.btn-primary, .nav-cta { box-shadow: 0 0 0 rgba(255,42,0,0); }
.btn-primary:hover, .nav-cta:hover {
  box-shadow: 4px 4px 0 var(--accent), 0 0 34px rgba(255,42,0,.45);
}

/* timeline anchor landing offset (proof cards link to #qubitdata etc.) */
.tl-item { scroll-margin-top: 110px; }

