/* =============================================================
   NordOps Consulting, homepage v2 (design/v2 prototype, 18 Oct 2026)
   Loaded after style.css, scoped to body.v2 so no other page changes.

   Design read: B2B fractional-executive landing for European founders,
   CEOs and COOs; serious, quiet, premium; dark editorial-tech; native CSS.
   Dials: DESIGN_VARIANCE 7, MOTION_INTENSITY 5, VISUAL_DENSITY 4.

   System
   - Type: Epilogue (brand, self-hosted) for every heading, tight tracking.
     Fraunces is retired here; emphasis inside headings is the SAME family
     (lighter weight + accent colour), never a second typeface.
     Inter stays for body (existing brand asset, self-hosted, 12 languages).
   - Colour: navy surfaces, one accent (brand cyan). The old orange/green
     data colours are not used on this page.
   - Shape: soft system. Panels and images 18px, inner chips 10px, every
     button and tab is a full pill. No other radii.
   - Spacing: sections clamp(88px, 10vw, 148px); 12-col mental grid,
     content frame = the nav frame (1200px), 24px gutters (16px on phones).
   - Motion: one reveal (opacity + 24px rise, 0.8s, ease-out-expo) driven by
     the existing IntersectionObserver in main.js; hover lift on CTAs.
     Everything collapses to static under prefers-reduced-motion.
   ============================================================= */

body.v2 {
  --v2-surface: #0a1628;
  --v2-surface-2: #0d1c33;
  --v2-surface-3: #12243f;
  --v2-line: rgba(240, 244, 255, 0.09);
  --v2-line-2: rgba(240, 244, 255, 0.16);
  --v2-text: #eef2fb;
  --v2-text-2: rgba(238, 242, 251, 0.70);
  --v2-text-3: rgba(238, 242, 251, 0.50);
  --v2-accent: #00c8d4;
  --v2-accent-soft: rgba(0, 200, 212, 0.14);
  --v2-r: 18px;
  --v2-r-sm: 10px;
  --v2-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v2-pad: clamp(88px, 10vw, 148px);
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 17px;
  line-height: 1.65;
}

.v2-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }   /* same frame as the nav */

/* ---------- Type ---------- */
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4 {
  font-family: var(--font-heading);
  color: var(--v2-text);
  letter-spacing: -0.025em;
}
body.v2 h1 em, body.v2 h2 em, body.v2 .v2-h2 em {
  font-family: var(--font-heading) !important;   /* overrides the inline Fraunces on the hero em */
  font-style: normal !important;
  font-weight: 400 !important;
  font-variation-settings: normal !important;
  color: var(--v2-accent) !important;
}
.v2-h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  max-width: 18ch;
  margin: 0 0 clamp(36px, 4vw, 56px);
}
body.v2 p { color: var(--v2-text-2); }
body.v2 p + p { margin-top: 16px; }
body.v2 strong { color: var(--v2-text); font-weight: 600; }
body.v2 .citation { color: var(--v2-text-3); font-size: 13px; margin-top: 12px; }
body.v2 .citation a { color: var(--v2-text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--v2-line-2); }
body.v2 .eyebrow { margin-bottom: 20px; }

/* ---------- Links and buttons ---------- */
.v2-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--v2-text); font-weight: 500; font-size: 15px;
  text-decoration: none; border-bottom: 1px solid var(--v2-line-2);
  padding-bottom: 3px; margin-top: 32px;
  transition: border-color .3s var(--v2-ease), color .3s var(--v2-ease);
}
.v2-link:hover { color: var(--v2-accent); border-color: var(--v2-accent); }
body.v2 .btn-primary {
  border-radius: 999px; padding: 15px 28px; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--v2-ease), box-shadow .3s var(--v2-ease), background .3s var(--v2-ease);
}
body.v2 .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0, 200, 212, 0.55); }
body.v2 .btn-primary:active { transform: translateY(0) scale(0.98); }
.v2-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.v2-ctas .v2-link { margin-top: 0; }

/* ---------- Sections ---------- */
.v2-section { padding: var(--v2-pad) 0; }
.v2-section--tint { background: var(--v2-surface-2); }
.v2-intro { max-width: 60ch; margin: -24px 0 40px; }
.v2-note { max-width: 70ch; margin-top: 36px; font-size: 15px; color: var(--v2-text-3); }

/* ---------- Hero: asymmetric split ---------- */
.v2-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.v2-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.v2-hero h1 { font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; line-height: 1.04; margin: 0; }
.v2-hero .lead { font-size: clamp(17px, 1.4vw, 19px); font-weight: 400; color: var(--v2-text-2); max-width: 54ch; margin-top: 28px; }
.v2-hero .lead a { color: var(--v2-text); text-decoration: underline; text-decoration-color: var(--v2-accent); text-underline-offset: 4px; }
.v2-hero__visual { margin: 0; position: relative; border-radius: var(--v2-r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px;
  box-shadow: 0 40px 80px -40px rgba(0, 200, 212, 0.25), inset 0 0 0 1px var(--v2-line); }
.v2-hero__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Proof strip ---------- */
.v2-proof { padding: 0; border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); }
.v2-proof__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-proof__item { padding: 32px 32px 32px 0; }
.v2-proof__item + .v2-proof__item { padding-left: 32px; border-left: 1px solid var(--v2-line); }
.v2-proof__num { font-family: var(--font-heading); font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; color: var(--v2-text); letter-spacing: -0.03em; line-height: 1; }
.v2-proof__label { margin-top: 10px; font-size: 14px; color: var(--v2-text-3); max-width: 34ch; }

/* ---------- Ownership gap: number left, facts right ---------- */
.v2-gap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.v2-mega { font-family: var(--font-heading); font-weight: 800; font-size: clamp(96px, 13vw, 190px); line-height: .85; letter-spacing: -0.06em; color: var(--v2-accent); }
.v2-gap__caption { font-family: var(--font-heading); font-size: clamp(20px, 1.8vw, 24px); color: var(--v2-text) !important; line-height: 1.3; margin: 20px 0 16px; max-width: 22ch; }
.v2-gap__facts { display: grid; gap: 0; }
.v2-fact { padding: 28px 0; border-top: 1px solid var(--v2-line); }
.v2-fact:last-child { border-bottom: 1px solid var(--v2-line); }
.v2-fact h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; margin: 0 0 8px; }
.v2-fact p { margin: 0; max-width: 56ch; }

/* ---------- Alternatives: 2x2 ---------- */
.v2-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); border-radius: var(--v2-r); overflow: hidden; }
.v2-option { background: var(--v2-surface-2); padding: clamp(28px, 3vw, 44px); }
.v2-option h4 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.v2-option p { margin: 0; }

/* ---------- Role: asymmetric bento ---------- */
.v2-bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.v2-tile { border-radius: var(--v2-r); padding: clamp(28px, 3vw, 40px); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line); }
.v2-tile h3 { font-size: 22px; margin: 0 0 10px; }
.v2-tile p { margin: 0; }
.v2-tile--lead { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; min-height: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(0, 200, 212, 0.22), transparent 60%), linear-gradient(160deg, #10284a, #0b1830); }
.v2-tile--lead h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; max-width: 14ch; }
.v2-tile--lead p { max-width: 46ch; margin-top: 8px; }

/* ---------- Path: one continuous line ---------- */
.v2-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; position: relative; }
.v2-timeline::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 1px; background: linear-gradient(90deg, var(--v2-accent), var(--v2-line-2)); }
.v2-timeline li { position: relative; padding-top: 56px; }
.v2-timeline__dot { position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: var(--v2-surface); box-shadow: inset 0 0 0 1px var(--v2-accent); color: var(--v2-accent); font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.v2-timeline h4 { font-size: 17px; margin: 0 0 6px; }
.v2-timeline p { margin: 0; font-size: 14px; color: var(--v2-text-3); }

/* ---------- Layers: z-axis cascade ---------- */
.v2-stack { display: grid; gap: 0; }
.v2-layer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: clamp(28px, 3vw, 40px);
  border-radius: var(--v2-r); box-shadow: inset 0 0 0 1px var(--v2-line-2); position: relative; }
.v2-layer + .v2-layer { margin-top: 12px; }
.v2-layer--3 { background: linear-gradient(135deg, rgba(0, 200, 212, 0.16), rgba(0, 200, 212, 0.04)); margin-left: 8%; z-index: 3; }
.v2-layer--2 { background: #10233f; margin-left: 4%; margin-right: 4%; z-index: 2; }
.v2-layer--1 { background: #0d1c33; margin-right: 8%; z-index: 1; }
.v2-layer__tag { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--v2-accent); }
.v2-layer h3 { font-size: 24px; margin: 0 0 10px; }
.v2-layer p { margin: 0; max-width: 62ch; }
.v2-layer .v2-link { margin-top: 18px; }

/* ---------- Departments: tabs ---------- */
.v2-tabs { border-radius: var(--v2-r); background: var(--v2-surface); box-shadow: inset 0 0 0 1px var(--v2-line); padding: clamp(24px, 3vw, 40px); }
.v2-tabs__bar { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--v2-surface-3); margin-bottom: 32px; flex-wrap: wrap; }
.v2-tabs__btn { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 10px 20px; font: 500 15px/1 var(--font-body);
  color: var(--v2-text-2); background: transparent; transition: background .3s var(--v2-ease), color .3s var(--v2-ease); }
.v2-tabs__btn[aria-selected="true"] { background: var(--v2-accent); color: var(--navy); }
.v2-tabs__btn:focus-visible { outline: 2px solid var(--v2-accent); outline-offset: 2px; }
.v2-tabs.is-enhanced .v2-tabs__panel > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-tabs__panel + .v2-tabs__panel { margin-top: 32px; }
.v2-tabs.is-enhanced .v2-tabs__panel + .v2-tabs__panel { margin-top: 0; }
.v2-tabs__panel h3 { font-size: 22px; margin: 0 0 16px; }
.v2-tabs__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.v2-tabs__cols p { margin: 0 0 12px; font-size: 14px; color: var(--v2-accent); }
.v2-tabs__cols p strong { color: var(--v2-accent); font-weight: 600; }
.v2-tabs__cols ul { list-style: none; margin: 0; padding: 0; }
.v2-tabs__cols li { padding: 14px 0; border-top: 1px solid var(--v2-line); color: var(--v2-text); font-size: 17px; }

/* ---------- Built: bento with photo ---------- */
.v2-builds { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); grid-template-rows: auto auto; gap: 16px; }
.v2-builds__photo { grid-row: span 2; margin: 0; border-radius: var(--v2-r); overflow: hidden; min-height: 360px; box-shadow: inset 0 0 0 1px var(--v2-line); }
.v2-builds__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-build { border-radius: var(--v2-r); padding: 26px; background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line); }
.v2-build h4 { font-size: 18px; margin: 0 0 8px; }
.v2-build p { margin: 0; font-size: 15px; }

/* ---------- Europe: photographic band ---------- */
.v2-europe { position: relative; padding: var(--v2-pad) 0; overflow: hidden; isolation: isolate; }
.v2-europe__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.v2-europe::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.80) 55%, rgba(10, 22, 40, 0.55) 100%); }
.v2-europe__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.v2-europe__grid > div:first-child p { max-width: 60ch; }
.v2-europe__list { border-radius: var(--v2-r); padding: clamp(24px, 3vw, 36px); background: rgba(13, 28, 51, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--v2-line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.v2-europe__list h3 { font-size: 20px; margin: 0 0 12px; }
.v2-europe__list ul { list-style: none; margin: 0; padding: 0; }
.v2-europe__list li { padding: 12px 0; border-top: 1px solid var(--v2-line); font-size: 15px; }
@media (prefers-reduced-transparency: reduce) { .v2-europe__list { background: #0d1c33; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Scenarios: scroll-snap rail ---------- */
.v2-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin; }
.v2-case { scroll-snap-align: start; border-radius: var(--v2-r); padding: clamp(24px, 3vw, 36px); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line);
  display: flex; flex-direction: column; }
.v2-case__tag { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--v2-accent); margin-bottom: 14px; }
.v2-case h3 { font-size: 22px; line-height: 1.2; margin: 0 0 24px; }
.v2-case__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--v2-line); }
.v2-case__nums dt { font-size: 13px; color: var(--v2-text-3); }
.v2-case__nums dd { margin: 4px 0 0; white-space: nowrap; font-family: var(--font-heading); font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; color: var(--v2-text); letter-spacing: -0.02em; }
.v2-case__nums dd.is-accent { color: var(--v2-accent); }
.v2-case .v2-link { margin-top: 24px; align-self: flex-start; }

/* ---------- Founder: editorial quote ---------- */
.v2-founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.v2-founder .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.v2-quote { margin: 0; }
.v2-quote p { font-family: var(--font-heading); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.22; letter-spacing: -0.02em; color: var(--v2-text) !important; margin: 0; }
.v2-founder__name { font-size: 28px; margin: 0 0 10px; }
.v2-founder__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--v2-line); }
.v2-founder__facts dt { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--v2-text); line-height: 1; }
.v2-founder__facts dd { margin: 6px 0 0; font-size: 13px; color: var(--v2-text-3); }

/* ---------- Final CTA ---------- */
.v2-cta { padding: var(--v2-pad) 0; background: linear-gradient(180deg, var(--v2-surface) 0%, #0b2033 100%); border-top: 1px solid var(--v2-line); }
.v2-cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.v2-cta h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; margin: 0; }
.v2-cta p { margin: 0 0 28px; }

/* ---------- Motion ---------- */
body.v2 .fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--v2-ease), transform .8s var(--v2-ease); }
body.v2 .fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.v2 .fade-up { opacity: 1; transform: none; transition: none; }
  body.v2 .btn-primary, .v2-link, .v2-tabs__btn { transition: none; }
  body.v2 .btn-primary:hover { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .v2-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .v2-timeline::before { display: none; }
  .v2-builds { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v2-builds__photo { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
}

/* ---------- Phone: every multi-column layout collapses to one column ---------- */
@media (max-width: 768px) {
  .v2-wrap { padding: 0 16px; }
  .v2-hero__grid, .v2-gap, .v2-bento, .v2-europe__grid, .v2-founder, .v2-cta__grid, .v2-tabs__cols, .v2-layer { grid-template-columns: 1fr; }
  .v2-hero__visual { aspect-ratio: 16 / 10; max-height: 280px; }
  .v2-proof__row { grid-template-columns: 1fr; }
  .v2-proof__item, .v2-proof__item + .v2-proof__item { padding: 22px 0; border-left: 0; }
  .v2-proof__item + .v2-proof__item { border-top: 1px solid var(--v2-line); }
  .v2-options { grid-template-columns: 1fr; }
  .v2-tile--lead { grid-row: auto; min-height: 0; }
  .v2-timeline { grid-template-columns: 1fr; row-gap: 0; }
  .v2-timeline li { padding: 0 0 24px 56px; }
  .v2-layer, .v2-layer--1, .v2-layer--2, .v2-layer--3 { margin-left: 0; margin-right: 0; gap: 12px; }
  .v2-layer + .v2-layer { margin-top: 12px; }
  .v2-tabs { padding: 16px; }
  .v2-tabs__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 14px; margin-bottom: 20px; }
  .v2-tabs__btn { padding: 11px 6px; font-size: 14px; line-height: 1.2; white-space: normal; text-align: center; border-radius: 10px; }
  .v2-builds { grid-template-columns: 1fr; }
  .v2-rail { grid-auto-columns: 86%; }
  .v2-founder__facts { grid-template-columns: 1fr; }
  .v2-europe::after { background: rgba(10, 22, 40, 0.86); }
}
