/* =========================================================
   ABOUT — the operator dossier
   ========================================================= */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about .copy-col { display: flex; flex-direction: column; }
.about .copy { font-size: clamp(20px, 2vw, 27px); line-height: 1.42; color: var(--ink); max-width: 24ch; font-family: "Instrument Serif", serif; letter-spacing: -0.01em; }
.about .copy p + p { margin-top: 0.7em; }
.about .copy em { color: var(--accent); font-style: italic; }
.about .body { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 44ch; margin-top: 28px; }
.about .body + .body { margin-top: 14px; }
.about .sig { margin-top: 30px; font-family: "Instrument Serif", serif; font-style: italic; font-size: 38px; color: var(--ink); }
.about .sig small { display: block; font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }

/* dossier object — designed, not a missing photo */
.dossier {
  position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--paper));
  box-shadow: 0 40px 100px -50px color-mix(in oklch, #000 60%, transparent);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.dossier .scan {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--accent) 22%, transparent) 50%, transparent);
  height: 40%; transform: translateY(-120%); animation: dscan 6s ease-in-out infinite;
}
@keyframes dscan { 0%,12% { transform: translateY(-120%); } 60% { transform: translateY(280%); } 100% { transform: translateY(280%); } }
.dossier .topbar {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line);
}
.dossier .topbar .red { color: var(--accent-2); }
/* the portrait field: bold monogram on a halftone/duotone abstract */
.dossier .field {
  position: relative; z-index: 1; flex: 1; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 18%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(90% 80% at 80% 100%, color-mix(in oklch, var(--accent-2) 28%, transparent), transparent 60%);
}
.dossier .field::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in oklch, var(--ink) 30%, transparent) 1px, transparent 1.4px);
  background-size: 9px 9px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 46%, #000 30%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 46%, #000 30%, transparent 72%);
}

.dossier .fields {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px;
  padding: 16px 20px; border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg) 70%, transparent); backdrop-filter: blur(6px);
}
.dossier .fields b { font-family: "JetBrains Mono", monospace; display: block; color: var(--ink-3); font-weight: 400; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.dossier .fields span { color: var(--ink); font-family: "Instrument Serif", serif; font-style: italic; font-size: 16px; }
.dossier .strip {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  padding: 9px 20px; background: var(--ink); color: var(--bg); font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: 0.12em;
}
.dossier .strip .barcode { width: 96px; height: 14px; background: repeating-linear-gradient(90deg, var(--bg) 0 1px, transparent 1px 3px, var(--bg) 3px 4px, transparent 4px 6px, var(--bg) 6px 9px); }

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

/* FULL-BLEED PORTRAIT */
.profile-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center top;

    filter:
        grayscale(100%)
        contrast(1.05)
        brightness(0.92);

    opacity: 0.96;

    transition:
        transform 0.8s var(--ease),
        filter 0.8s var(--ease);
}

/* premium hover */
.dossier:hover .profile-image {
    transform: scale(1.03);

    filter:
        grayscale(20%)
        contrast(1.08)
        brightness(0.96);
}


.profile-wrap:hover .profile-image {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(1.05);
}


/* =========================================================
   PRACTICE — interactive discipline index w/ live previews
   ========================================================= */
.practice { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.practice .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.practice .index { display: flex; flex-direction: column; }
.practice .disc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: clamp(20px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); cursor: pointer;
  position: relative; transition: padding-left .5s var(--ease);
}
.practice .disc:last-child { border-bottom: 1px solid var(--line); }
.practice .disc .num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-3); transition: color .4s; }
.practice .disc .name { font-family: "Instrument Serif", serif; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--ink-3); transition: color .45s var(--ease), transform .45s var(--ease); }
.practice .disc .name em { font-style: italic; color: var(--accent); }
.practice .disc .plus { width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ink-3); transition: transform .45s var(--ease), background .4s, color .4s, border-color .4s; }
.practice .disc .sub { grid-column: 2; font-size: 13.5px; color: var(--ink-3); max-width: 52ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .5s; }
.practice .disc.on { padding-left: 18px; }
.practice .disc.on .num { color: var(--accent); }
.practice .disc.on .name { color: var(--ink); transform: translateX(2px); }
.practice .disc.on .plus { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.practice .disc.on .sub { max-height: 80px; opacity: 1; margin-top: 12px; }
.practice .disc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.practice .disc.on::before { transform: scaleY(1); }

/* preview stage — live designed objects */
.practice .stage {
  position: sticky; top: 96px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: 0 40px 90px -50px color-mix(in oklch, #000 60%, transparent);
}
.practice .pv { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.practice .pv.on { opacity: 1; }
.practice .pv .frame-chrome { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-family: "JetBrains Mono", monospace; font-size: 9px; color: var(--ink-3); letter-spacing: 0.1em; }
.practice .pv .frame-chrome .lights { display: flex; gap: 5px; }
.practice .pv .frame-chrome .lights i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.practice .pv .frame-chrome .lights i:nth-child(1) { background: #ff5f57; }
.practice .pv .frame-chrome .lights i:nth-child(2) { background: #febc2e; }
.practice .pv .frame-chrome .lights i:nth-child(3) { background: #28c840; }
.practice .pv .canvas { position: absolute; inset: 36px 0 0; overflow: hidden; }

@media (max-width: 900px) {
  .practice .wrap { grid-template-columns: 1fr; }
  .practice .stage { position: relative; top: 0; order: -1; margin-bottom: 8px; }
}

/* =========================================================
   PROCESS — horizontal flight of method cards + paper plane
   ========================================================= */
.process { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.process-pin { height: 100vh; min-height: 600px; overflow: hidden; position: relative; display: flex; align-items: center; }

.process-head { position: absolute; top: clamp(72px,9vh,112px); left: var(--pad); right: var(--pad); z-index: 6; display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; pointer-events: none; }
.process-head .ttl { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(30px,4vw,62px); line-height: 0.96; letter-spacing: -0.025em; max-width: 15ch; }
.process-head .ttl em { font-style: italic; color: var(--accent); }
.process-head .lead { font-size: 14px; color: var(--ink-2); max-width: 30ch; text-align: right; }
.process-head .lead .hint { color: var(--accent); }

/* flight lane + paper plane */
.flight { position: absolute; left: 0; right: 0; top: 30%; height: 150px; z-index: 3; pointer-events: none; }
.flight-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flight .trail { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 1.4 2.6; opacity: 0.6; }
.flight .trail-done { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.plane { position: absolute; left: 0; top: 58%; width: 44px; height: 44px; color: var(--accent); transform: translate(-50%,-50%); will-change: transform, left, top; }
.plane svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 16px color-mix(in oklch, #000 45%, transparent)); }

/* horizontal track */
.process-track { display: flex; align-items: center; gap: clamp(40px,7vw,140px); padding: 0 max(var(--pad), calc(50vw - 280px)); will-change: transform; }
.m-card { flex: 0 0 auto; width: min(74vw, 560px); position: relative; opacity: 0.28; transform: scale(0.93); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.m-card.active { opacity: 1; transform: scale(1); }
.m-card .ghost { position: absolute; top: -0.34em; left: -0.06em; z-index: 0; font-family: "Instrument Serif", serif; font-size: clamp(180px,26vw,360px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; }
.m-card.active .ghost { -webkit-text-stroke: 1px color-mix(in oklch, var(--accent) 45%, var(--line-2)); }
.m-card .card-in { position: relative; z-index: 1; padding-top: clamp(40px,6vw,72px); }
.m-card .no { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.m-card h4 { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; font-size: clamp(52px,8vw,116px); line-height: 0.92; letter-spacing: -0.03em; color: var(--ink); margin: 12px 0 18px; }
.m-card .desc { color: var(--ink-2); font-size: clamp(16px,1.45vw,20px); line-height: 1.55; max-width: 40ch; }
.m-card .tag { display: inline-block; margin-top: 22px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 15px; }

.process-count { position: absolute; bottom: clamp(40px,7vh,72px); left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: baseline; gap: 12px; font-family: "Instrument Serif", serif; font-size: 26px; color: var(--ink-3); pointer-events: none; }
.process-count .cur { font-size: 42px; color: var(--accent); font-style: italic; }

/* fallback: no GSAP / reduced motion / small screens → vertical stack */
.process.no-pin .process-pin { height: auto; min-height: 0; display: block; padding: clamp(96px,13vh,150px) var(--pad) clamp(64px,9vh,110px); overflow: visible; }
.process.no-pin .process-head { position: static; flex-direction: column; margin-bottom: 48px; }
.process.no-pin .process-head .lead { text-align: left; }
.process.no-pin .flight, .process.no-pin .process-count { display: none; }
.process.no-pin .process-track { flex-direction: column; align-items: stretch; gap: 8px; padding: 0; transform: none !important; }
.process.no-pin .m-card { width: 100%; opacity: 1; transform: none; border-top: 1px solid var(--line); padding: 28px 0; }
.process.no-pin .m-card:last-child { border-bottom: 1px solid var(--line); }
.process.no-pin .m-card .ghost { font-size: clamp(90px,18vw,150px); top: 50%; transform: translateY(-50%); right: 0; left: auto; }
.process.no-pin .m-card h4 { font-size: clamp(40px,7vw,72px); }

/* =========================================================
   PROOF — audited ledger of numbers
   ========================================================= */
.proof { background: var(--bg-2); border-top: 1px solid var(--line); }
.proof .ledger { border-top: 1px solid var(--line); }
.proof .row {
  display: grid; grid-template-columns: 0.5fr 1.4fr 1fr; align-items: center; gap: clamp(20px,3vw,48px);
  padding: clamp(26px,3.2vw,42px) 0; border-bottom: 1px solid var(--line);
}
.proof .row .ix { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-3); }
.proof .row .n { font-family: "Instrument Serif", serif; font-size: clamp(54px,8vw,128px); line-height: 0.85; letter-spacing: -0.03em; color: var(--ink); display: flex; align-items: baseline; }
.proof .row .n .plus, .proof .row .n .unit { color: var(--accent); font-size: 0.5em; margin-left: 0.08em; }
.proof .row .l { color: var(--ink-2); font-size: clamp(14px,1.2vw,16px); max-width: 30ch; line-height: 1.5; }
.proof .row .l b { color: var(--ink); font-weight: 500; }
.slot { display: inline-flex; vertical-align: baseline; line-height: 0.85; }
.slot .col { display: inline-block; height: 0.85em; overflow: hidden; vertical-align: top; }
.slot .col .reel { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.7s var(--ease-out); }
.slot .col .reel span { display: block; height: 0.85em; line-height: 0.85; }
@media (max-width: 760px) { .proof .row { grid-template-columns: auto 1fr; } .proof .row .l { grid-column: 2; } .proof .row .ix { display: none; } }

/* =========================================================
   VOICES — 3D testimonial stack
   ========================================================= */
.voices .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,90px); align-items: center; }
.voices .stack { position: relative; height: 320px; perspective: 1200px; }
.voices .vcard {
  position: absolute; inset: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(26px,3vw,40px); display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 60px -30px color-mix(in oklch, #000 70%, transparent);
  transform-style: preserve-3d; transition: transform .8s var(--ease-out), opacity .6s, filter .6s; cursor: grab;
}
.voices .vcard.dragging { transition: none; cursor: grabbing; }
.voices .vcard .body { font-family: "Instrument Serif", serif; font-size: clamp(22px,2.3vw,30px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.voices .vcard .body::first-letter { font-size: 1.8em; line-height: 0.6; color: var(--accent); margin-right: 4px; }
.voices .vcard .src { display: flex; justify-content: space-between; align-items: end; margin-top: 22px; color: var(--ink-2); }
.voices .vcard .src .who { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.voices .vcard .src .who::before { content: "— "; color: var(--accent); }
.voices .vcard .src .idx { font-family: "Instrument Serif", serif; font-style: italic; font-size: 24px; color: var(--ink-3); }
.voices .vcard .src .idx b { color: var(--ink); font-style: normal; }
.voices .vcard[data-pos="0"] { transform: translate3d(0,0,0) scale(1); z-index: 4; }
.voices .vcard[data-pos="1"] { transform: translate3d(0,16px,0) scale(0.96); z-index: 3; filter: brightness(0.9); }
.voices .vcard[data-pos="2"] { transform: translate3d(0,32px,0) scale(0.92); z-index: 2; filter: brightness(0.82); }
.voices .vcard[data-pos="3"] { transform: translate3d(0,48px,0) scale(0.88); z-index: 1; opacity: 0; filter: brightness(0.7); }
.voices .stack-nav { display: flex; gap: 14px; margin-top: 30px; align-items: center; }
.voices .stack-nav .next-card { background: var(--ink); color: var(--bg); border: none; padding: 13px 24px; border-radius: 999px; font-family: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, transform .3s; }
.voices .stack-nav .next-card:hover { background: var(--accent); color: var(--accent-ink); transform: translateX(4px); }
.voices .stack-nav .dots { display: flex; gap: 6px; margin-left: auto; }
.voices .stack-nav .dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .3s, transform .3s; }
.voices .stack-nav .dots span.on { background: var(--accent); transform: scale(1.4); }
@media (max-width: 900px) { .voices .wrap { grid-template-columns: 1fr; } .voices .stack { height: 360px; } }
