/* Preceptance — preceptance.com. The owner's design (Preceptance.dc.html, 20 Oct 2026) as a static site:
   ink #111214 + cream #F4F2ED, navy #1D3A5F bands, steel-blue #8EA6C8 kickers, Hanken Grotesk + IBM Plex Mono. */
:root {
  --ink: #111214;
  --cream: #f4f2ed;
  --body: #e6e3dc;
  --muted: #a9a7a2;
  --sub: #8b8a86;
  --line: #2a2c30;
  --line-2: #4a4c50;
  --pale: #cfccc5;
  --steel: #8ea6c8;
  --navy: #1d3a5f;
  --navy-line: #38547a;
  --navy-text: #d3dbe6;
  --navy-pill: #6f89ab;
  --cream-line: #dcd8cf;
  --cream-body: #3d3d3b;
  --cream-sub: #6b6a66;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--ink); }
body { color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--cream); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; padding: 10px 16px; background: var(--cream); color: var(--ink); border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }

/* The mark: the squared arch, drawn in CSS (open-bottom box with rounded top corners). */
.arch { display: block; border: solid var(--cream); border-bottom: none; }
.arch-xs { width: 20px; height: 18px; border-width: 4px; border-radius: 4px 4px 0 0; }
.arch-sm { width: 24px; height: 22px; border-width: 5px; border-radius: 5px 5px 0 0; }
.arch-md { width: 52px; height: 48px; border-width: 10px; border-radius: 7px 7px 0 0; margin-bottom: 40px; }
.arch-xl { width: 88px; height: 82px; border-width: 17px; border-radius: 11px 11px 0 0; margin-bottom: 44px; }

/* Buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 500; white-space: nowrap; }
.btn-solid { padding: 16px 32px; background: var(--cream); color: var(--ink); font-size: 17px; }
.btn-solid:hover { background: #fff; color: var(--ink); }
.btn-ghost { padding: 16px 32px; border: 1px solid var(--line-2); color: var(--cream); font-size: 17px; }
.btn-ghost:hover { border-color: var(--pale); }
.btn-line { padding: 11px 22px; border: 1px solid var(--pale); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--ink); }
.link { align-self: flex-start; margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--cream); padding-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.link:hover { border-color: var(--cream); }

/* Nav */
.nav-bar { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.nav { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.brand-name { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 16px; color: var(--body); }
.nav-links a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 112px 24px 96px; isolation: isolate; }
.hero::before { /* a faint cream glow behind the mark — depth without a new colour */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 42% at 50% 22%, rgba(244, 242, 237, .07), transparent 70%);
}
.hero h1 { font-size: clamp(36px, 5.4vw, 78px); line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; max-width: 1000px; text-wrap: balance; }
.lede { margin-top: 34px; max-width: 720px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 42px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; margin-top: 72px; width: 100%; max-width: 1040px; border-top: 1px solid var(--line); padding-top: 32px; }
.stats div { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.stats dd { order: -1; } /* the figure above its label; values line up across a row even when a label wraps */
.stats dd { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stats dt { font-size: 15px; color: var(--sub); text-align: center; }

/* Sections */
.sec { padding: 108px 0; background: var(--ink); }
.sec-divisions { padding-top: 0; }
.sec-navy { background: var(--navy); color: var(--cream); }
.sec-cream { background: var(--cream); color: var(--ink); }
.sec .wrap { display: flex; flex-direction: column; gap: 56px; }
#divisions .wrap { gap: 48px; }
#how .wrap { gap: 64px; }
.sec-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: end; }
.sec-head > div { display: flex; flex-direction: column; gap: 22px; }
.sec-head h2, .hubs h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.sec-head h2.narrow { max-width: 640px; }
.sec-head > p { max-width: 520px; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sec-navy .sec-head > p { color: var(--navy-text); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.kicker.sm { font-size: 12px; letter-spacing: .16em; }
.kicker-navy { color: var(--navy); }

/* Ruled grids: 1px hairlines between cells */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.gap-lg { gap: 48px; }
.ruled { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--ink); display: flex; flex-direction: column; }
.division { padding: 42px 36px 46px; gap: 20px; }
.division h3 { font-size: clamp(26px, 2.2vw, 36px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
.division > p { font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.dash { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.dash li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.5; color: var(--body); }
.dash li::before { content: '—'; color: var(--steel); }
.discipline { padding: 36px 32px 40px; gap: 14px; min-height: 220px; }
.discipline h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.discipline p { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: none; }
.steps li { padding: 40px 40px 48px; border-left: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 18px; }
.step-n { font-family: var(--mono); font-size: 16px; color: var(--steel); }
.steps h3 { font-size: clamp(21px, 1.6vw, 25px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--navy-text); text-wrap: pretty; }

/* Rotation hubs */
.wrap.hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; align-items: center; }
.hubs-copy { display: flex; flex-direction: column; gap: 28px; }
.hubs-copy > p { max-width: 640px; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; color: var(--cream-body); text-wrap: pretty; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--cream-line); }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--cream-line); }
.facts dt { font-size: 17px; color: var(--cream-body); }
.facts dd { font-size: 19px; font-weight: 500; }
.hubs-map { display: flex; flex-direction: column; gap: 14px; }
.map-frame { aspect-ratio: 4 / 3; width: 100%; border: 1px solid var(--cream-line); background: var(--cream); display: flex; align-items: center; justify-content: center; padding: 18px; }
.hub-map { width: 100%; height: auto; display: block; }
.hub-map .land { fill: #e6e2da; stroke: #c9c4ba; stroke-width: .8; stroke-linejoin: round; }
.hub-map .halos circle { fill: var(--navy); opacity: .08; }
.hub-map .dots circle { fill: var(--navy); opacity: .85; transition: opacity .15s; }
.hub-map .dots circle:hover { opacity: 1; }
.hub-map .labels text { font-family: var(--sans); font-size: 17px; fill: var(--cream-body); paint-order: stroke; stroke: var(--cream); stroke-width: 3px; stroke-linejoin: round; }
.hubs-map figcaption { font-size: 14px; color: var(--cream-sub); }

/* Partners */
.audience { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.audience h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.audience > p { font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.audience .dash { padding-top: 0; }
#partners .wrap.grid { display: grid; gap: 48px; }

/* Closing CTA */
.cta { padding: 120px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta h2 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.cta-lede { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.5; color: var(--navy-text); text-wrap: pretty; }
.audiences { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.audiences li { padding: 12px 22px; border: 1px solid var(--navy-pill); border-radius: 999px; font-size: 16px; color: var(--navy-text); }
.cta-note { margin-top: 44px; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--steel); }

/* Footer */
.foot { background: var(--ink); color: var(--sub); border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 40px; font-size: 16px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand .brand { gap: 12px; }
.foot-brand .brand-name { font-size: 16px; }
.foot-brand p { max-width: 260px; line-height: 1.55; }
.foot-cols nav { display: flex; flex-direction: column; gap: 12px; }
.foot-cols h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.foot-legal div { display: flex; flex-wrap: wrap; gap: 28px; }

/* Plain pages (privacy, terms, accessibility, 404) */
.doc { max-width: 760px; margin: 0 auto; padding: 110px 24px 130px; }
.doc .kicker { display: block; margin-bottom: 22px; }
.doc h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; }
.doc .updated { margin-top: 18px; font-size: 15px; color: var(--sub); }
.doc h2 { margin-top: 48px; font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.doc p, .doc li { margin-top: 14px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.doc ul { list-style: none; }
.doc ul li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; }
.doc ul li::before { content: '—'; color: var(--steel); }
.doc a { color: var(--cream); border-bottom: 1px solid var(--line-2); }
.doc a:hover { border-color: var(--cream); }

/* Phones + small tablets */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; color: var(--cream); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
  .menu-lines::before { top: -7px; }
  .menu-lines::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--ink); border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 18px; padding: 16px 26px; }
  .hero { padding: 72px 20px 72px; }
  .arch-xl { width: 64px; height: 60px; border-width: 13px; border-radius: 9px 9px 0 0; margin-bottom: 32px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .lede { margin-top: 32px; }
  .actions { margin-top: 40px; width: 100%; }
  .actions .btn { flex: 1 1 100%; padding: 18px 28px; font-size: 18px; }
  .stats { margin-top: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .sec { padding: 80px 0; }
  .sec-divisions { padding-top: 0; }
  .sec .wrap, #how .wrap { gap: 40px; }
  .sec-head { gap: 22px; }
  .division { padding: 36px 24px 40px; }
  .discipline { padding: 30px 24px 34px; min-height: 0; }
  .steps li { padding: 28px 0 32px 24px; }
  .wrap.hubs { gap: 40px; }
  .map-frame { padding: 8px; aspect-ratio: auto; }
  .hub-map .labels text { font-size: 22px; }
  .cta { padding: 88px 20px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .doc { padding: 72px 20px 96px; }
}
/* ── Motion ──────────────────────────────────────────────────────────────────────────────────────────────────────
   Only when the script runs (html.js, set in <head>); without it everything is simply visible. Nothing moves when the
   device asks for reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: .9; transform: scale(1.15); } 100% { opacity: .85; transform: scale(1); } }
@keyframes ripple { 0% { opacity: .16; transform: scale(.55); } 80% { opacity: 0; } 100% { opacity: 0; transform: scale(1.5); } }
.ease, .js .hero > *, .js .reveal { --ease: cubic-bezier(.2, .7, .2, 1); }

.js .hero .arch-xl { animation: arch-in 1s var(--ease) both; }
.js .hero::before { animation: breathe 7s ease-in-out 1s infinite; }
.js .hero h1 .line { display: block; animation: rise .9s var(--ease) both; }
.js .hero h1 .line:nth-child(1) { animation-delay: .18s; }
.js .hero h1 .line:nth-child(2) { animation-delay: .32s; }
.js .hero .lede { animation: rise .9s var(--ease) .5s both; }
.js .hero .actions { animation: rise .9s var(--ease) .64s both; }
.js .hero .stats { animation: rise .9s var(--ease) .78s both; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

.nav-bar { transition: box-shadow .25s, background .25s; }
.nav-bar.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); background: rgba(17, 18, 20, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.btn-solid, .btn-ghost { transition: background .15s, border-color .15s, transform .2s; }
.btn-solid:hover, .btn-ghost:hover { transform: translateY(-1px); }
.division, .discipline { transition: background .25s; }
.division:hover, .discipline:hover { background: #15161a; }

.js .hub-map .dots circle, .js .hub-map .halos circle { transform-box: fill-box; transform-origin: center; }
.js .hub-map .dots circle { opacity: 0; transform: scale(0); }
.js .hub-map .halos circle { opacity: 0; }
.js .hub-map .labels text { opacity: 0; transition: opacity .6s .9s; }
.js .hub-map.in .dots circle { animation: pop .55s var(--ease, ease-out) forwards; animation-delay: calc(var(--d) * 40ms); }
.js .hub-map.in .halos circle { animation: ripple 3.6s ease-out infinite; animation-delay: calc(1.3s + var(--d) * 170ms); }
.js .hub-map.in .labels text { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hub-map .dots circle { opacity: .85; transform: none; }
  .js .hub-map .halos circle { opacity: .08; }
  .js .hub-map .labels text { opacity: 1; }
}
