/* Pictoria One: single stylesheet for the landing and 404 pages. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-serif-4-italic-latin.woff2") format("woff2"); }

:root {
  --paper: #faf7f2;
  --paper-2: #f2ede5;
  --surface: #fffdf9;
  --ink: #16110d;
  --ink-2: #3a3029;
  --muted: #6b6057;
  --line: #e2d9cf;
  --line-strong: #cfc3b7;
  --terra: #a04a2a;
  --terra-deep: #7c3820;
  --amber: #e3a23f;
  --night: #16130f;
  --night-2: #211d18;
  --night-line: rgba(255, 250, 244, .14);
  --night-muted: #b3a89f;
  --green: #3f6b52;
  --blue: #43657f;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1200px, calc(100vw - 32px));
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Type primitives */
.eyebrow {
  color: var(--terra);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f3c9a8; }
.section-head h2,
.pilot h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}
.section-head.split > p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 460px; }
.section { padding: clamp(80px, 10vw, 136px) 0; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, .9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; gap: .4em; font-size: 15px; font-weight: 700; letter-spacing: .24em; line-height: 1; white-space: nowrap; }
.wordmark-one { color: var(--terra); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.nav-cta) { position: relative; color: var(--ink-2); }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .24s var(--ease);
}
.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); transition: background .2s; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--terra); }
.nav-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px rgba(22, 17, 13, .16); }
.button-primary:hover { background: var(--terra); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.text-link { font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--terra); border-color: var(--terra); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(124px, 15vw, 176px) 0 clamp(72px, 8vw, 112px);
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(227, 162, 63, .12), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  grid-template-areas: "eyebrow eyebrow" "title side";
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: 28px;
  align-items: end;
}
.hero-copy .eyebrow { grid-area: eyebrow; }
.hero h1 {
  grid-area: title;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 96px);
  line-height: .98;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-side { grid-area: side; padding-bottom: 8px; }
.hero-lede { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }

.hero-visual { margin: clamp(56px, 7vw, 88px) 0 0; }
.visual-caption {
  display: flex; justify-content: space-between; margin-top: 14px;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}

/* Product window */
.product-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 40px 100px rgba(52, 35, 24, .14), 0 2px 8px rgba(52, 35, 24, .05);
  font-size: 14px;
}
.window-bar { display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fcfaf6; }
.window-brand { display: flex; align-items: center; gap: 10px; min-width: 176px; font-size: 13px; }
.brand-p { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 14px; }
.window-search { flex: 1; display: flex; gap: 10px; align-items: center; max-width: 440px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--paper-2); color: var(--muted); font-size: 13px; overflow: hidden; white-space: nowrap; }
.window-user { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e9dfd4; color: var(--ink-2); font-size: 11px; font-weight: 700; }
.window-body { display: grid; grid-template-columns: 208px 1fr; min-height: 420px; }
.window-sidebar { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid var(--line); background: #fbf8f3; }
.side-label { padding: 0 10px 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.side-label-bottom { margin-top: auto; padding-top: 18px; }
.side-item, .side-static {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 8px; background: none;
  font-size: 14px; text-align: left;
}
.side-item { cursor: pointer; color: var(--ink-2); transition: background .2s; }
.side-item:hover { background: #f1ebe3; }
.side-item.active { background: #ece3d8; color: var(--ink); font-weight: 600; }
.side-item i, .side-static i { width: 18px; color: var(--muted); font-size: 11px; font-style: normal; }
.side-item b { margin-left: auto; min-width: 22px; padding: 1px 6px; border-radius: 99px; background: #fff; color: var(--muted); font-size: 11px; text-align: center; }
.side-static { color: var(--muted); }
.window-content { position: relative; padding: 26px 30px; min-width: 0; }
.demo-panel { display: none; }
.demo-panel.active { display: block; animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.micro { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.panel-head h2 { font-family: var(--serif); font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-amber { background: #fbeed8; color: #8a5a12; }
.pill-blue { background: #e4edf3; color: var(--blue); }
.pill-green { background: #e3eee6; color: var(--green); }

.asset-row { display: flex; align-items: center; gap: 16px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.asset-row.selected { border-color: #d9b9a1; background: #fdf8f3; }
.asset-main { display: grid; gap: 1px; min-width: 0; }
.asset-main strong { font-size: 14px; }
.asset-main span { color: var(--muted); font-size: 12px; }
.asset-main small { color: var(--green); font-size: 12px; font-weight: 600; }
.asset-main small.warn { color: #9a5b12; }
.asset-check, .asset-flag { margin-left: auto; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.asset-check { background: #e3eee6; color: var(--green); }
.asset-flag { background: #fbeed8; color: #8a5a12; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.fake-button { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Abstract thumbnails: no collection artwork is shown on the site. */
.thumb { position: relative; flex: none; display: block; width: 64px; height: 48px; border-radius: 6px; overflow: hidden; }
.thumb::before, .thumb::after { content: ""; position: absolute; }
.thumb-a { background: linear-gradient(180deg, #d9c8b4 0 62%, #8d735f 62%); }
.thumb-a::before { left: 22%; right: 22%; top: 18%; bottom: 38%; border: 1.5px solid #4f3b2e; border-bottom: 0; }
.thumb-a::after { left: 42%; width: 16%; top: 36%; bottom: 38%; background: #4f3b2e; }
.thumb-b { background: linear-gradient(135deg, #2f4252 0 45%, #c89468 45% 70%, #e6d6c2 70%); }
.thumb-b::before { left: 12%; right: 55%; top: 20%; bottom: 20%; border: 1.5px solid rgba(255, 255, 255, .5); }
.thumb-c { background: linear-gradient(90deg, #cdb9a6 0 30%, #5a4336 30% 44%, #cdb9a6 44%); }
.thumb-c::before { left: 55%; right: 12%; top: 22%; height: 36%; border-radius: 50% 50% 0 0; border: 1.5px solid #5a4336; border-bottom: 0; }
.thumb-large { width: 100%; height: 100%; min-height: 168px; border-radius: 10px; background: linear-gradient(180deg, #e2d3c1 0 66%, #8d735f 66%); }
.thumb-large::before { left: 20%; right: 20%; top: 16%; bottom: 34%; border: 2px solid #4f3b2e; border-bottom: 0; }
.thumb-large::after { left: 44%; width: 12%; top: 38%; bottom: 34%; background: #4f3b2e; }

.catalogue-layout { display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.record-fields { margin: 0; display: grid; gap: 2px; }
.record-fields div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.record-fields dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.record-fields dd { margin: 0; font-size: 14px; }
.tag { margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--paper-2); color: var(--muted); font-size: 11px; font-weight: 600; }
.entity-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.entity-strip span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; }
.entity-strip b { margin-right: 6px; color: var(--terra); font-weight: 700; }

.explore-query { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.explore-query span { padding: 6px 10px; border-radius: 8px; background: var(--paper-2); color: var(--muted); font-size: 12px; }
.explore-query b { color: var(--ink); font-weight: 600; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.result { display: grid; gap: 2px; }
.result .thumb { width: 100%; height: 96px; margin-bottom: 8px; border-radius: 8px; }
.result strong { font-size: 13px; }
.result small { color: var(--muted); font-size: 12px; }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; }
.checklist .ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e3eee6; color: var(--green); font-size: 11px; font-weight: 700; }

/* Outcomes */
.outcomes { background: var(--surface); }
.outcome-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.outcome { padding: 28px 28px 8px 0; }
.outcome + .outcome { padding-left: 28px; border-left: 1px solid var(--line); }
.index { display: block; margin-bottom: 44px; color: var(--terra); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.outcome h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 24px; line-height: 1.18; letter-spacing: -.01em; }
.outcome p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Model */
.model { background: var(--paper); border-top: 1px solid var(--line); }
.entity-chain { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr auto 1fr; align-items: stretch; }
.entity {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
}
.entity-focus { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.entity-type { color: var(--terra); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.entity-focus .entity-type { color: #f3c9a8; }
.entity strong { margin-top: 18px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.2; }
.entity small { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 13px; }
.entity-focus small { color: var(--night-muted); }
.relation { position: relative; display: grid; place-items: center; min-width: 96px; }
.relation::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--terra); }
.relation::after {
  content: ""; position: absolute; right: 6px; top: calc(50% - 4px);
  border: 4px solid transparent; border-left: 7px solid var(--terra); border-right: 0;
}
.relation-back::after { right: auto; left: 6px; border-left: 0; border-right: 7px solid var(--terra); }
.relation span { position: relative; z-index: 1; padding: 3px 8px; background: var(--paper); color: var(--terra); font-family: var(--serif); font-size: 15px; font-style: italic; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; border-top: 1px solid var(--line); }
.principles h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.principles p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--ink-2); font-size: 13px; font-weight: 600; }

/* Workflow */
.workflow { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 40px; border: 1px solid var(--terra); border-radius: 50%; color: var(--terra); font-size: 12px; font-weight: 700; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; left: 70px; right: -17px; height: 1px;
  background: linear-gradient(90deg, var(--terra), rgba(160, 74, 42, .15));
}
.step h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 28px; letter-spacing: -.01em; }
.step > p { margin-bottom: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.step ul { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.step li { position: relative; padding-left: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.step li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--terra); }

/* Custody */
.custody { background: var(--night); color: var(--paper); }
.custody .eyebrow { color: #e9a877; }
.custody .section-head.split > p { color: var(--night-muted); }
.custody-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.custody-grid article { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--night-line); }
.custody-grid article:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--night-line); }
.custody-grid h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.custody-grid p { color: var(--night-muted); font-size: 15px; line-height: 1.65; max-width: 360px; }
.soon { padding: 3px 8px; border: 1px solid rgba(233, 168, 119, .45); border-radius: 99px; color: #e9a877; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Audience */
.audience { padding: clamp(56px, 7vw, 88px) 0; background: var(--paper); }
.audience-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 40px; }
.audience-list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.audience-list li { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; }
.audience-list li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--terra); }

/* Pilot */
.pilot { padding: clamp(80px, 10vw, 128px) 0; background: radial-gradient(ellipse 50% 70% at 90% 10%, rgba(255, 220, 190, .16), transparent 70%), linear-gradient(135deg, var(--terra-deep), var(--terra)); color: #fff9f3; }
.pilot-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.pilot .eyebrow { margin-bottom: 18px; }
.pilot h2 { max-width: 680px; }
.pilot-action p { margin-bottom: 28px; color: #f7dccb; font-size: 17px; line-height: 1.7; }

/* Footer */
.site-footer { padding: 72px 0 32px; background: var(--night); color: var(--night-muted); font-size: 14px; }
.site-footer .wordmark { color: var(--paper); }
.site-footer .wordmark-one { color: #e9a877; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding-bottom: 56px; }
.footer-claim { margin-top: 18px; font-family: var(--serif); font-size: 18px; font-style: italic; }
.footer-links { display: flex; gap: clamp(40px, 8vw, 120px); }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links span { margin-bottom: 4px; color: #857a71; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--night-line); color: #857a71; font-size: 12px; }

/* 404 */
.not-found { min-height: 100vh; display: grid; align-content: center; gap: 28px; padding: 64px 0; }
.not-found h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.not-found p { color: var(--muted); font-size: 18px; }

/* Reveal: content stays visible without JavaScript or with reduced motion. */
.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-js .reveal.visible { opacity: 1; transform: none; }
.has-js .reveal[data-delay="1"] { transition-delay: .08s; }
.has-js .reveal[data-delay="2"] { transition-delay: .16s; }
.has-js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  .demo-panel.active { animation: none; }
}
@media print {
  .has-js .reveal { opacity: 1; transform: none; }
  .site-header { position: static; }
}

/* Responsive */
@media (max-width: 1080px) {
  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome:nth-child(3) { padding-left: 0; border-left: 0; }
  .outcome:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .entity-chain { grid-template-columns: 1fr; max-width: 520px; }
  .relation { min-width: 0; height: 56px; }
  .relation::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .relation::after { right: auto; left: calc(50% - 4px); top: auto; bottom: 6px; border: 4px solid transparent; border-top: 7px solid var(--terra); border-bottom: 0; }
  .relation-back::after { left: calc(50% - 4px); top: 6px; bottom: auto; border: 4px solid transparent; border-bottom: 7px solid var(--terra); border-top: 0; }
  .custody-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custody-grid article:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .custody-grid article:nth-child(2n) { padding-left: 30px; border-left: 1px solid var(--night-line); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 17px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 18px; padding: 14px 16px; text-align: center; }
  body.nav-open .site-header { background: var(--paper); border-bottom-color: var(--line); }

  .hero-copy { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "side"; }
  .section-head.split, .pilot-inner, .principles { grid-template-columns: 1fr; }
  .section-head.split { gap: 20px; }
  .window-body { grid-template-columns: 1fr; }
  .window-sidebar { flex-direction: row; gap: 4px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-label, .side-static { display: none; }
  .side-item { width: auto; flex: none; white-space: nowrap; }
  .side-item b { display: none; }
  .side-item i { display: none; }
  .window-brand { min-width: 0; }
  .window-brand b, .window-user { display: none; }
  .window-content { padding: 20px 18px; }
  .catalogue-layout { grid-template-columns: 1fr; }
  .thumb-large { min-height: 120px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-lede { font-size: 17px; }
  .outcome-grid, .steps, .custody-grid { grid-template-columns: 1fr; }
  .outcome, .outcome + .outcome { padding: 24px 0 28px; border-left: 0; }
  .outcome + .outcome { border-top: 1px solid var(--line); }
  .index { margin-bottom: 20px; }
  .step::after { display: none; }
  .step-num { margin-bottom: 24px; }
  .custody-grid article, .custody-grid article:nth-child(2n) { padding: 26px 0; border-left: 0; }
  .panel-head { flex-direction: column; gap: 10px; }
  .panel-head h2 { font-size: 22px; }
  .side-item { padding: 8px 10px; font-size: 13px; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result:nth-child(3) { display: none; }
  .panel-foot { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
