/* ==========================================================================
   JP IMPERIAL — PORTFOLIO V3
   Design system: operational intelligence, not startup gloss.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Color */
  --bg: #0a0a09;
  --bg-elevated: #111110;
  --surface: #1a1917;
  --surface-hover: #211f1c;
  --border: #2b2925;
  --border-strong: #3a3733;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.12);
  --accent-soft-strong: rgba(255, 122, 26, 0.2);
  --accent-glow: rgba(255, 122, 26, 0.35);
  --text: #f2efe9;
  --text-muted: #a39c8f;
  --text-dim: #6b665c;

  /* Type */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --rail-width: 88px;
  --content-max: 1180px;
  --section-pad-y: clamp(64px, 10vw, 140px);
  --section-pad-x: clamp(24px, 6vw, 72px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #0a0a09; }

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---- Utility type styles -------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Page frame ------------------------------------------------------- */
.site {
  position: relative;
}

section {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  padding-left: calc(var(--rail-width) + var(--section-pad-x));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 780px) {
  section {
    padding-left: var(--section-pad-x);
    padding-top: calc(var(--section-pad-y) + 56px);
  }
}

/* ---- Top navigation (Hero only) --------------------------------------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 6vw, 72px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: auto;
}

.top-nav.is-hidden {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.top-nav__mark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.top-nav__mark span { color: var(--accent); }

.top-nav__links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}

.top-nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.top-nav__links a:hover,
.top-nav__links a:focus-visible { color: var(--accent); }

@media (max-width: 900px) {
  .top-nav__links { display: none; }
}

/* ---- Left page rail (persistent 01-09 marker) -------------------------- */
.page-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-width);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,10,9,0) 0%, rgba(10,10,9,0.4) 50%, rgba(10,10,9,0) 100%);
}

.page-rail__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px 8px;
  background: none;
  border: none;
  color: var(--text-dim);
}

.page-rail__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}

.page-rail__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-rail__item.is-active .page-rail__num { color: var(--accent); }
.page-rail__item.is-active .page-rail__dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scale(1.6);
}

.page-rail__item:hover .page-rail__num { color: var(--text); }

@media (max-width: 780px) {
  .page-rail {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 52px;
    border-right: none;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
  }
  .page-rail__list {
    flex-direction: row;
    width: 100%;
    gap: 2px;
    padding-inline: 6px;
  }
  .page-rail__item {
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 16px 4px;
  }
  .page-rail__num {
    display: inline;
    font-size: 11px;
  }
  .page-rail__dot { display: none; }
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a09;
  font-weight: 500;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #ff8c3d;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- HERO (Page 01) ---------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--section-pad-y) + 40px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__eyebrow { margin-bottom: 22px; }

.hero__headline {
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--text);
  max-width: 15ch;
  text-transform: uppercase;
}

.hero__headline em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  margin-top: 24px;
  font-size: clamp(18px, 1.9vw, 20px);
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.7;
}

.hero__actions { margin-top: 40px; }

.hero__scroll-hint {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll-hint .line {
  width: 32px;
  height: 1px;
  background: var(--text-dim);
  position: relative;
  overflow: hidden;
}
.hero__scroll-hint .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: hint-slide 2.4s var(--ease) infinite;
}
@keyframes hint-slide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---- Hero system diagram ------------------------------------------------ */
.diagram {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.diagram svg { width: 100%; height: 100%; overflow: visible; }

.diagram__connector {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1;
}

.diagram__pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 8 260;
  opacity: 0.9;
  animation: pulse-travel 5.5s linear infinite;
}
.diagram__pulse.d2 { animation-delay: 1.1s; }
.diagram__pulse.d3 { animation-delay: 2.2s; }
.diagram__pulse.d4 { animation-delay: 3.3s; }
.diagram__pulse.d5 { animation-delay: 4.4s; }

@keyframes pulse-travel {
  0% { stroke-dashoffset: 268; opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .diagram__pulse { animation: none; opacity: 0; }
  .hero__scroll-hint .line::after { animation: none; transform: translateX(0); }
}

.diagram__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,122,26,0.18), rgba(255,122,26,0.03) 70%);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 60px var(--accent-glow);
}

.diagram__core-text {
  font-family: var(--font-mono);
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.85;
  text-transform: uppercase;
}
.diagram__core-text span { display: block; }
.diagram__core-text .em { color: var(--accent); }

.diagram__node {
  position: absolute;
  width: 30%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.diagram__node-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.diagram__node:hover .diagram__node-icon {
  box-shadow: 0 0 22px var(--accent-glow);
  border-color: var(--accent);
}

.diagram__node-icon svg { width: 20px; height: 20px; }

.diagram__node-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}

.diagram__node-sub {
  margin-top: 3px;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Node positions — pentagon layout around center */
.diagram__node--strategy   { top: 4%;  left: 50%; }
.diagram__node--ops        { top: 32%; left: 92%; width: 26%; }
.diagram__node--ai         { top: 32%; left: 8%;  width: 26%; }
.diagram__node--content    { top: 84%; left: 78%; width: 27%; }
.diagram__node--results    { top: 84%; left: 22%; width: 27%; }

@media (max-width: 560px) {
  .diagram__node-sub { font-size: 8.5px; line-height: 1.35; }
  .diagram__node-icon { width: 36px; height: 36px; }
}

/* ---- PROBLEMS (Page 02) ------------------------------------------------ */
.problems__intro {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.problems__intro .section-label { margin-bottom: 20px; display: block; }

.problems__statement {
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--text);
  text-transform: uppercase;
}

.problems__statement em {
  font-style: normal;
  color: var(--accent);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease);
}

.problem-card:hover {
  background: var(--bg-elevated);
}

.problem-card__icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

@media (max-width: 900px) {
  .problem-card__icon { width: 112px; height: 112px; }
}

.problem-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.problem-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 23px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 18px;
}

.problem-card__prompt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  margin-top: auto;
}

.problem-card__prompt em {
  font-style: normal;
  color: var(--accent);
}

.problem-card__question {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 14px;
}

.problem-card__bar {
  width: 28px;
  height: 2px;
  background: var(--border-strong);
  margin-bottom: 20px;
  transition: background 0.35s var(--ease), width 0.35s var(--ease);
}

.problem-card:hover .problem-card__bar {
  background: var(--accent);
  width: 44px;
}

/* ---- CASE STUDY (Page 03) ----------------------------------------------- */
.case-study__label { margin-bottom: 20px; display: block; }

.case-study__title {
  font-size: clamp(30px, 3.8vw, 46px);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.case-study__subtitle {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.case-study__banner {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.case-study__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study__narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 780px) {
  .case-study__narrative { grid-template-columns: 1fr; }
}

.case-study__block .section-label { margin-bottom: 18px; display: block; }

.case-study__subhead {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 30px);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.case-study__block p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 42ch;
}

.case-study__result {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 28px;
}

.case-study__stat-main {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.case-study__stat-main span { color: var(--accent); }

.case-study__stat-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.case-study__stat-multiplier {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.case-study__evidence {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

.case-study__evidence strong {
  color: var(--text-muted);
  font-weight: 500;
}

.case-study__proof {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.case-study__proof-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}

.case-study__proof-title em {
  font-style: normal;
  color: var(--accent);
}

.case-study__proof-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 28px;
}

.case-study__proof-text em {
  font-style: normal;
  color: var(--accent);
}

.case-study__proof-text .proof-caps {
  text-transform: uppercase;
  color: var(--text);
}

.case-study__result-note {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 100%;
}

.case-study__proof-image {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.case-study__proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- WHAT I OWNED (Page 04) ---------------------------------------------- */
.owned__intro {
  max-width: 780px;
  margin-bottom: 0;
}

.owned__intro .section-label { margin-bottom: 20px; display: block; }

.owned__headline {
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
  line-height: 1.3;
}

.owned__headline em {
  font-style: normal;
  color: var(--accent);
}

.owned__intro-sub {
  margin-top: 22px;
  margin-bottom: clamp(56px, 8vw, 100px);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 100%;
}

.owned__intro-sub em {
  font-style: normal;
  color: var(--accent);
}

.owned__intro-sub .owned-caps {
  text-transform: uppercase;
  color: var(--text);
}

.ownership-flow {
  padding-block: clamp(36px, 5vw, 52px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.ownership-flow:last-child { border-bottom: none; }

@media (max-width: 860px) {
  .ownership-flow { grid-template-columns: 1fr; }
}

.flow-chain {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-node {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 13px 20px;
  border-radius: 2px;
  white-space: nowrap;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ownership-flow:hover .flow-node {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.flow-arrow {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.ownership-flow__graphic {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ownership-flow:hover .ownership-flow__graphic {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.ownership-flow__graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ownership-flow__narrative {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 48ch;
}

/* ---- AI GOVERNANCE (Page 05) --------------------------------------------- */
.governance__intro {
  max-width: 780px;
  margin-bottom: 0;
}

.governance__intro .section-label { margin-bottom: 20px; display: block; }

.governance__headline {
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
  line-height: 1.3;
}

.governance__headline em {
  font-style: normal;
  color: var(--accent);
}

.governance__sub {
  margin-top: 22px;
  margin-bottom: clamp(24px, 4vw, 32px);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 100%;
}

.governance__sub em {
  font-style: normal;
  color: var(--accent);
}

.governance__row {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}

@media (max-width: 900px) {
  .governance__row { grid-template-columns: 1fr; }
  .governance__connector { transform: rotate(90deg); margin: 4px auto; }
}

.governance__col {
  border-radius: 4px;
  padding: clamp(26px, 3vw, 34px) clamp(22px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
}

.governance__col-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.governance__col-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.governance__col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.governance__col-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.governance__col-items li {
  font-size: 14.5px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.governance__col-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
}

.governance__col.is-before {
  border: 1px dashed var(--border-strong);
  background: transparent;
}
.governance__col.is-before .governance__col-label { color: var(--text-dim); }
.governance__col.is-before .governance__col-items li { color: var(--text-dim); }
.governance__col.is-before .governance__col-items li::before { background: var(--text-dim); }

.governance__col.is-build {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 18px var(--accent-glow);
}
@media (max-width: 900px) {
  .governance__col.is-build { box-shadow: none; background: var(--accent-soft); }
}
.governance__col.is-build .governance__col-label { color: var(--accent); }
.governance__col.is-build .governance__col-items li { color: var(--text); }
.governance__col.is-build .governance__col-items li::before { background: var(--accent); }

.governance__col.is-after {
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.governance__col.is-after .governance__col-label { color: var(--text); }
.governance__col.is-after .governance__col-items li { color: var(--text-muted); }
.governance__col.is-after .governance__col-items li::before { background: var(--text); }

.governance__separator {
  margin-top: clamp(56px, 8vw, 88px);
  margin-bottom: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
  line-height: 1.3;
  text-align: center;
}

.governance__proof-grid {
  margin-top: clamp(32px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

@media (max-width: 900px) {
  .governance__proof-grid { grid-template-columns: 1fr; }
}

.governance__proof-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(24px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
}

.governance__proof-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  margin-bottom: 20px;
}

.governance__proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.governance__proof-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 14px;
}

.governance__proof-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.governance__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 34px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .governance__connector { font-size: 30px; padding: 6px 0; }
}

/* ---- SYSTEMS I BUILT (Page 06) ------------------------------------------- */
.systems__intro { margin-bottom: clamp(48px, 7vw, 80px); }

.systems__title {
  margin-top: 20px;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--text);
  line-height: 1.35;
  max-width: 100%;
}

.systems__title em {
  font-style: normal;
  color: var(--accent);
}

.systems__title-caps {
  text-transform: uppercase;
  color: var(--text);
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}

@media (max-width: 860px) {
  .systems-grid { grid-template-columns: 1fr; }
}

.system-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
}

.system-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.system-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.system-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 22px;
}

.system-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  margin-bottom: 22px;
}

.system-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.system-card__tagline {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.5;
  margin-bottom: 16px;
}

.system-card__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---- HOW I WORK (Page 07) ------------------------------------------------- */
.method__intro { max-width: 780px; margin-bottom: 0; }
.method__intro .section-label { margin-bottom: 20px; display: block; }

.method__headline {
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
  line-height: 1.3;
}

.method__headline em {
  font-style: normal;
  text-transform: uppercase;
  color: var(--accent);
}

.whyjp__lead {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 100%;
}

.whyjp__lead em {
  font-style: normal;
  color: var(--accent);
}

.whyjp__lead .whyjp-caps {
  text-transform: uppercase;
  color: var(--text);
}

/* ---- Circular process diagram (Page 07) ---------------------------------- */
.process-circle {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.process-circle svg { width: 100%; height: 100%; overflow: visible; }

.radar__ring {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}

.radar__connector {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1;
}

.radar__pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 260;
  opacity: 0.9;
  animation: pulse-travel 6s linear infinite;
}
.radar__pulse.d2 { animation-delay: 1s; }
.radar__pulse.d3 { animation-delay: 2s; }
.radar__pulse.d4 { animation-delay: 3s; }
.radar__pulse.d5 { animation-delay: 4s; }
.radar__pulse.d6 { animation-delay: 5s; }

@media (prefers-reduced-motion: reduce) {
  .radar__pulse { animation: none; opacity: 0; }
}

.process-circle__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,122,26,0.18), rgba(255,122,26,0.03) 70%);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: 0 0 50px var(--accent-glow);
}

.process-circle__core-text {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.8vw, 15px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  line-height: 1.4;
  text-transform: uppercase;
}

.process-circle__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.process-circle__icon {
  width: 40px;
  height: 40px;
}

.process-circle__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.process-circle__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text);
}

.process-circle__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .process-circle__icon { width: 30px; height: 30px; }
  .process-circle__num { width: 22px; height: 22px; font-size: 9px; }
  .process-circle__title { font-size: 9px; }
}

.process-legend {
  max-width: 640px;
  margin: clamp(40px, 6vw, 60px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

@media (max-width: 640px) {
  .process-legend { grid-template-columns: 1fr; }
}

.process-legend__item {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.process-legend__item span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-right: 6px;
}

.process-legend__item strong {
  color: var(--text);
  font-weight: 600;
}

/* ---- WHY JP (Page 08) ----------------------------------------------------- */
.whyjp__intro { max-width: 780px; margin-bottom: clamp(48px, 7vw, 80px); }
.whyjp__intro .section-label { margin-bottom: 20px; display: block; }

.whyjp__headline {
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
  line-height: 1.3;
}

.whyjp__block { text-align: center; margin-bottom: clamp(56px, 8vw, 88px); }

.whyjp__block-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.whyjp__block-label.is-dim { color: var(--text-dim); }
.whyjp__block-label.is-accent { color: var(--accent); }

.whyjp__title-image {
  margin: 0 auto 26px;
  border-radius: 4px;
  overflow: hidden;
  border: none;
  background: transparent;
}

.whyjp__title-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whyjp__title-image.is-sm { width: 90px; height: 90px; }
.whyjp__title-image.is-md { width: 140px; height: 140px; }
.whyjp__title-image.is-lg { width: clamp(220px, 55vw, 340px); height: clamp(220px, 55vw, 340px); }

.whyjp__vs {
  text-align: center;
  margin: clamp(-24px, -3vw, -8px) auto clamp(40px, 6vw, 64px);
}

.whyjp__vs-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
  display: block;
}

.whyjp__answer {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--text);
  text-align: center;
  line-height: 1.5;
  max-width: 34ch;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.whyjp__statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  max-width: 20ch;
  margin-inline: auto;
}

.whyjp__statement em {
  font-style: normal;
  color: var(--accent);
}

/* ---- CONTACT (Page 08) ----------------------------------------------------- */
.contact__inner {
  text-align: center;
  max-width: 640px;
}

.contact__inner .section-label {
  margin-bottom: 28px;
  display: block;
}

.contact__headline {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--text);
  line-height: 1.3;
}

.contact__sub {
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--accent);
  font-family: var(--font-display);
}

.contact__cta {
  margin-top: 44px;
}

.contact__info {
  margin-top: clamp(72px, 10vw, 110px);
  padding-top: clamp(40px, 6vw, 56px);
  border-top: 1px solid var(--border);
}

.contact__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact__tagline {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact__links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact__links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.contact__links a:hover,
.contact__links a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- CONTACT v2 (3-column layout) ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  width: 100%;
  text-align: left;
}

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; text-align: left; }
}

.contact-col1 .section-label { margin-bottom: 22px; display: block; }

.contact-col1__headline {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--text);
  line-height: 1.35;
}

.contact-col1__sub {
  margin-top: 14px;
  font-size: clamp(20px, 2.4vw, 27px);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-col1__note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-col2__headshot {
  width: 84px;
  height: 84px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  margin-bottom: 22px;
}

.contact-col2__headshot img,
.contact-col2__headshot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-col2__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-col2__tagline {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-col2__list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-col2__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.contact-col2__list a:hover,
.contact-col2__list a:focus-visible { color: var(--accent); }

.contact-col2__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-col2__icon svg { width: 14px; height: 14px; }

.contact-col2__list a:hover .contact-col2__icon {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.contact-col3__graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.contact-col3__graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-col3__cta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  justify-content: center;
}

@media (max-width: 980px) {
  .contact-col3__graphic { max-width: 340px; margin: 0; }
}

.site-footer {
  margin-top: clamp(64px, 9vw, 96px);
  padding-top: clamp(28px, 4vw, 36px);
  border-top: 1px solid var(--border);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
}

.site-footer__brand span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 400;
}

.site-footer__copyright {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer__social svg { width: 15px; height: 15px; }

.build-note {
  padding: 40px clamp(24px, 6vw, 72px);
  padding-left: calc(var(--rail-width) + clamp(24px, 6vw, 72px));
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
