/* Orient — For Humans page styles.
   Reuses orient.css tokens + landing.css (header/footer/wrap/btn/eyebrow/section/reveal/waitlist/closing).
   Page accent = clay (--human). Mood: calm, warm, paper-dominant. */

.h-page .eyebrow.clay { color: var(--human); }

/* ===== HERO (calm paper) ===== */
.h-hero { padding: 132px 0 48px; background: var(--paper); }
.h-hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.h-hero .eyebrow { color: var(--human); display: block; margin-bottom: 22px; }
.h-hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.022em; max-width: 14ch; }
.h-hero h1 em { font-style: italic; color: var(--human); }
.h-hero .lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 26px 0 0; max-width: 50ch; text-wrap: pretty; }
.h-hero .lede-close { color: var(--ink); margin: 16px 0 34px; }
.h-hero .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.h-hero .ghost { color: var(--ink); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; white-space: nowrap; }
.h-hero .ghost:hover { border-color: var(--ink); }

/* hero question stack */
.qstack { border-left: 2px solid var(--human); padding: 6px 0 6px 28px; display: grid; gap: 14px; }
.qstack .q { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.qstack .q.mut { color: var(--ink-3); }

/* ===== problem ===== */
.problem { background: var(--ink); color: var(--paper); text-align: left; }
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.problem .lead { font-family: var(--serif); font-size: clamp(24px, 2.7vw, 35px); line-height: 1.2; letter-spacing: -0.015em; max-width: none; margin: 0; color: var(--paper); }
.problem .lead .mut { color: oklch(0.62 0.012 84); }
.problem .lead .hl { color: oklch(0.74 0.07 52); font-style: italic; }
.problem .sub { font-size: 16.5px; color: oklch(0.8 0.012 84); margin: 26px 0 0; max-width: 46ch; line-height: 1.6; }
.problem .problem-versions { list-style: none; margin: 4px 0 0; padding: 0 0 0 20px; display: grid; gap: 9px; text-align: left; border-left: 2px solid oklch(0.74 0.07 52 / 0.45); }
.problem .problem-versions li { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.35; color: oklch(0.82 0.012 84); }
.problem .problem-frame { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 27px); line-height: 1.25; letter-spacing: -0.01em; color: var(--paper); max-width: none; margin: 26px 0 0; }
.problem .problem-frame .hl { color: oklch(0.74 0.07 52); font-style: italic; }
.problem .problem-outcome { font-family: var(--serif); font-size: clamp(18px, 1.85vw, 24px); line-height: 1.3; letter-spacing: -0.01em; color: oklch(0.82 0.012 84); max-width: none; margin: 14px 0 0; }
.problem .problem-outcome .hl { color: oklch(0.74 0.07 52); font-style: italic; }
.problem .problem-cta { margin-top: 28px; }
.problem .btn {
  background: var(--human);
  color: var(--paper-on-ink);
  height: 50px;
  padding: 0 24px;
  font-weight: 600;
  box-shadow: 0 1px 0 oklch(0.45 0.08 52 / 0.35);
}
.problem .btn:hover { background: oklch(0.52 0.088 52); opacity: 1; }
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; gap: 36px; } }

#impact .section-head .impact-quote { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--ink); max-width: 48ch; margin: 24px 0 0; }
#impact .section-head .impact-quote em { font-style: italic; color: var(--human); }

/* ===== core loop ===== */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.loop-step { padding: 30px 24px; background: var(--paper); position: relative; transition: background .18s ease; }
.loop-step + .loop-step { border-left: 1px solid var(--line); }
.loop-step:hover { background: var(--human-soft); }
.loop-step .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--human); margin-bottom: 14px; }
.loop-step h4 { font-family: var(--serif); font-size: 24px; margin: 0 0 9px; letter-spacing: -0.01em; }
.loop-step p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.loop-step .arrow { position: absolute; right: -9px; top: 36px; z-index: 2; width: 18px; height: 18px; color: var(--line-2); background: var(--paper); }
.loop-note { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 22px; font-size: 14px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; }
.loop-note svg { width: 16px; height: 16px; }

/* ===== product-shot placeholders ===== */
.shot { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -34px rgba(40,30,20,0.32); }
.shot-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.shot-bar .url { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.shot-body {
  position: relative; display: flex; align-items: center; justify-content: center; padding: 28px;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, var(--paper-3) 0, var(--paper-3) 1px, transparent 1px, transparent 11px);
}
.shot-body .lbl {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); letter-spacing: 0.02em; text-align: center;
  background: var(--paper); border: 1px dashed var(--line-2); border-radius: 8px; padding: 14px 20px; max-width: 80%;
}
.shot-body .lbl b { display: block; color: var(--human); font-family: var(--sans); font-weight: 600; font-size: 13px; margin-bottom: 4px; letter-spacing: 0; }
.shot.big .shot-body { min-height: 440px; }
.action .shot .shot-body { min-height: 280px; }
.shot-img { display: block; width: 100%; height: auto; }

/* real screenshot — shown on its own (it carries its own rounded window chrome) */
.shot-photo { line-height: 0; filter: drop-shadow(0 34px 60px rgba(40,30,20,0.30)); }
.shot-photo img { display: block; width: 100%; height: auto; }

/* ===== FIGURE — editorial screenshot treatment (crop + zoom + feathered edge + annotation). Prototype on Resolve. ===== */
.figure { margin: 0; position: relative; }
.figure .shotwrap { position: relative; }   /* annotation lives here so the frame's clip doesn't cut it */
.figure .frame {
  position: relative; overflow: hidden; border-radius: 16px;
  aspect-ratio: 1024 / 460;            /* taller frame → larger presence */
  border: 1px solid var(--line-2); background: var(--paper);
  box-shadow: 0 34px 60px -34px rgba(40,30,20,0.30);
}
.figure .frame img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto; display: block;   /* full width → clean right edge at the app margin, no mid-word crop */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 100%); /* upper content (question/thumbnail) dissolves into paper */
          mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 100%);
}
/* give the figure row more width than the standard action layout */
@media (min-width: 641px) { .action.fig-lg { grid-template-columns: 56px 0.95fr 1.55fr; } }
.figure .annot {
  position: absolute; z-index: 3; right: -10px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--ink); color: var(--paper-on-ink);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  padding: 9px 14px; border-radius: 8px;
  box-shadow: 0 14px 26px -12px rgba(40,30,20,0.55);
}
.figure .annot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--human); flex: none; }
.figure .cap {
  margin-top: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--ink-3); line-height: 1.5;
}
@media (max-width: 640px) { .figure .annot { right: 8px; } }
/* ===== end FIGURE ===== */

/* ===== showcase ===== */
.showcase { background: none; border: none; padding-top: 0; }
.showcase .uc-lead { margin-top: 0; }

/* ===== framed screenshot treatment (matches use cases page) ===== */
.ph { margin: 0; }
.ph-box {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line-2); background: var(--paper);
}
.ph-box img { display: block; width: 100%; height: auto; }
.ph-cap { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 7px; line-height: 1.5; }
.uc-lead { margin-top: 44px; }
.uc-shot .ph-box { display: block; padding: 0; background: var(--paper); box-shadow: 0 34px 64px -36px rgba(40,30,20,0.32); }
.uc-shot .ph-box img { width: 100%; height: auto; display: block; }
.uc-shot .ph-cap { text-align: center; }

/* ===== core actions expanded ===== */
.action {
  display: grid; grid-template-columns: 56px 1fr 1.15fr; gap: 40px; align-items: center;
  padding: 52px 0; border-top: 1px solid var(--line);
}
.action:last-child { border-bottom: 1px solid var(--line); }
.action .idx { font-family: var(--mono); font-size: 14px; color: var(--human); padding-top: 4px; align-self: start; }
.action h3 { font-size: 32px; letter-spacing: -0.012em; }
.action .desc { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 14px 0 0; }
.action .desc b { color: var(--ink); font-weight: 600; }
.action .desc em { color: var(--ink); font-style: italic; }
.action .meta { margin-top: 22px; }
.action .meta-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* resolve states list */
.states { display: grid; gap: 0; border-top: 1px solid var(--line); }
.state { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.state .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.state .nm { color: var(--ink); font-weight: 500; min-width: 130px; }
.state .gl { color: var(--ink-3); font-size: 14px; }
.state.s1 .dot { background: var(--human); }
.state.s2 .dot { background: oklch(0.6 0.09 130); }
.state.s3 .dot { background: var(--ink-3); }
.state.s4 .dot { background: oklch(0.6 0.18 25); }
.state.s5 .dot { background: oklch(0.7 0.1 85); }

/* output chips for frame */
.outputs { display: flex; flex-wrap: wrap; gap: 9px; }
.output { font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 8px 16px; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.output:hover { border-color: var(--human); background: var(--human-soft); }

/* capture source diagram */
.action.capture-action {
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 34px 40px;
  padding: 64px 0;
}
.capture-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.capture-head h3 { font-size: clamp(36px, 4vw, 52px); }
.capture-head .desc { max-width: 78ch; font-size: 18px; }
.capture-note {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.capture-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.capture-diagram {
  grid-column: 1 / -1;
  margin: 14px 0 0;
}
.capture-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.capture-diagram .cap-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--ink-3);
}
.capture-diagram .brand-node rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.1; }
.capture-diagram .brand-node:hover rect { stroke: var(--human); }
.capture-diagram .brand-name { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2px; text-anchor: end; fill: var(--ink); }
.capture-diagram .mk-letter { font-family: var(--mono); font-size: 12.5px; font-weight: 700; text-anchor: middle; fill: #fff; }
.capture-diagram .box-word { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: #0061D5; }
.capture-diagram .neutral-mk { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.capture-diagram .voice-mk { fill: none; stroke: var(--human); stroke-width: 1.6; stroke-linecap: round; }
.capture-diagram .cap-wire { fill: none; stroke: var(--line-2); stroke-width: 1.1; opacity: 0.42; }
.capture-diagram .cap-wordmark path { fill: var(--ink); }
.capture-diagram .cap-ring { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: 0.85; }
.capture-diagram .cap-ring2 { fill: none; stroke: var(--line-2); stroke-width: 1.3; opacity: 0.4; }
.capture-diagram .cap-orbit { transform-box: view-box; transform-origin: 730px 181px; animation: capSpin 26s linear infinite; }
.capture-diagram .cap-core { fill: var(--ink); }
.capture-diagram .cap-core-title { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; fill: var(--ink); }
.capture-diagram .cap-core-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; fill: var(--ink-3); }
.capture-diagram .meaning-node rect { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.1; }
.capture-diagram .meaning-node text { font-family: var(--mono); font-size: 10.5px; font-weight: 500; fill: var(--ink); }
@keyframes capSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .capture-diagram .cap-flow { display: none; }
  .capture-diagram .cap-orbit { animation: none; }
}
@media (max-width: 1020px) {
  .capture-head { grid-template-columns: 1fr; align-items: start; }
  .capture-note { border-left: none; border-top: 1px solid var(--line); padding: 18px 0 0; }
}
@media (max-width: 680px) {
  .action.capture-action { grid-template-columns: 1fr; gap: 16px; }
  .capture-diagram { overflow-x: auto; }
  .capture-diagram svg { min-width: 720px; }
}

/* ===== workspace grid ===== */
.workspace-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; }
.ws-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; transition: border-color .15s ease, transform .15s ease; }
.ws-card:hover { border-color: var(--human); transform: translateY(-2px); }
.ws-card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--human); margin-bottom: 12px; }
.ws-card h4 { font-family: var(--serif); font-size: 23px; margin: 0 0 10px; letter-spacing: -0.01em; }
.ws-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ===== becomes (three tiers) ===== */
.becomes { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--line); }
.tier { padding: 38px 36px 8px; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier .scope { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--human); margin-bottom: 18px; }
.tier h4 { font-family: var(--serif); font-size: 26px; letter-spacing: -0.012em; margin: 0 0 14px; }
.tier p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* not-list under tiers */
.notlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; justify-content: flex-start; }
.notlist span { font-size: 15px; color: var(--ink-3); text-decoration: line-through; white-space: nowrap; }
.notlist .is { color: var(--human); text-decoration: none; font-weight: 500; }

/* ===== promise ===== */
.promise-sec { text-align: center; }
.promise-sec blockquote { margin: 0 auto; max-width: 18ch; font-family: var(--serif); font-size: clamp(32px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; }
.promise-sec blockquote .em { font-style: italic; color: var(--human); }
.promise-sec .pre { font-size: 18px; color: var(--ink-2); max-width: 44ch; margin: 0 auto 30px; line-height: 1.6; }

/* ===== responsive ===== */
@media (max-width: 920px) {
  .h-hero .grid { grid-template-columns: 1fr; gap: 44px; }
  .loop, .workspace-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .loop-step .arrow { display: none; }
  .tier + .tier { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .loop, .workspace-grid, .tiers, .action { grid-template-columns: 1fr; }
  .action { gap: 14px 0; padding: 34px 0; }
  .h-hero { padding: 104px 0 36px; }
}
