/*
Theme Name: Inner Order
Theme URI: https://innerorder.ca/
Author: Inner Order / IOIM
Description: Inner Order v2 — human practice, coaching, guided journeys, practitioner training, and community within the IOIM body of work.
Version: 0.4.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: inner-order
*/

:root {
  --io-ink: #12171b;
  --io-ink-soft: #20282d;
  --io-charcoal: #2a3034;
  --io-paper: #f4f0e8;
  --io-paper-deep: #e8e0d1;
  --io-white: #fffdf8;
  --io-ember: #d56e3d;
  --io-amber: #e1a650;
  --io-gold: #c69c5d;
  --io-blue: #5ca7ca;
  --io-blue-soft: #9dc7d8;
  --io-green: #6d8e75;
  --io-border: rgba(18, 23, 27, .15);
  --io-border-dark: rgba(255, 255, 255, .18);
  --io-shadow: 0 24px 80px rgba(0, 0, 0, .12);
  --io-radius: 18px;
  --io-radius-sm: 11px;
  --io-max: 1180px;
  --io-serif: Georgia, 'Times New Roman', serif;
  --io-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--io-ink);
  background: var(--io-paper);
  font-family: var(--io-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(225,166,80,.35); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; clip: auto; white-space: normal;
  left: 1rem; top: 1rem; z-index: 9999; padding: .75rem 1rem;
  background: var(--io-white); color: var(--io-ink); border-radius: 8px;
}

.io-shell { width: min(calc(100% - 40px), var(--io-max)); margin-inline: auto; }
.io-shell--wide { width: min(calc(100% - 32px), 1380px); margin-inline: auto; }
.io-section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.io-section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.io-section--dark { background: var(--io-ink); color: var(--io-paper); }
.io-section--paper { background: var(--io-paper); }
.io-section--white { background: var(--io-white); }
.io-rule { height: 1px; background: currentColor; opacity: .18; border: 0; }

.io-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.io-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.io-display {
  margin: 0;
  font-family: var(--io-serif);
  font-size: clamp(3.25rem, 7.2vw, 7.5rem);
  line-height: .94;
  font-weight: 400;
  letter-spacing: -.055em;
}
.io-h1, .io-h2, .io-h3 { font-family: var(--io-serif); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.io-h1 { font-size: clamp(3rem, 6vw, 6.4rem); margin: 0 0 1.4rem; }
.io-h2 { font-size: clamp(2.4rem, 4.6vw, 4.7rem); margin: 0 0 1.3rem; }
.io-h3 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); margin: 0 0 .8rem; }
.io-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.68; max-width: 760px; }
.io-copy { max-width: 760px; }
.io-copy p { margin: 0 0 1.2rem; }
.io-copy p:last-child { margin-bottom: 0; }
.io-muted { opacity: .68; }
.io-accent { color: var(--io-ember); }

.io-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.15rem;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.io-button:hover { transform: translateY(-2px); text-decoration: none; }
.io-button--solid { background: var(--io-ink); color: var(--io-white); border-color: var(--io-ink); }
.io-button--solid:hover { background: var(--io-charcoal); }
.io-section--dark .io-button--solid { background: var(--io-paper); color: var(--io-ink); border-color: var(--io-paper); }
.io-button--ghost { border-color: rgba(18,23,27,.28); }
.io-section--dark .io-button--ghost { border-color: rgba(255,255,255,.32); }
.io-button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

/* Header */
.io-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,232,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--io-border);
}
.io-header-inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.io-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.io-brand:hover { text-decoration: none; }
.io-brand-mark { width: 42px; height: 46px; object-fit: contain; object-position: center; }
.io-wordmark {
  font-size: .93rem; letter-spacing: .15em; font-weight: 800; white-space: nowrap;
}
.io-wordmark span { display: inline-block; }
.io-wordmark .io-bar { color: var(--io-ember); margin-inline: .33em; }
.io-nav { display: flex; align-items: center; gap: 1.2rem; }
.io-nav ul { display: flex; align-items: center; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.io-nav a { font-size: .86rem; font-weight: 650; text-decoration: none; }
.io-nav a:hover { opacity: .64; }
.io-nav .io-nav-cta { border: 1px solid var(--io-ink); border-radius: 999px; padding: .55rem .8rem; }
.io-menu-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.io-menu-toggle span { display: block; width: 25px; height: 2px; background: currentColor; margin: 5px 0; }

/* Hero */
.io-hero {
  min-height: min(860px, calc(100svh - 76px));
  display: grid; align-items: stretch;
  background: var(--io-ink); color: var(--io-white);
  position: relative; overflow: hidden;
}
.io-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,23,27,.98) 0%, rgba(18,23,27,.87) 42%, rgba(18,23,27,.16) 76%, rgba(18,23,27,.3) 100%),
    var(--io-hero-image, linear-gradient(120deg, #2d3d45, #171b1e));
  background-position: center; background-size: cover;
  filter: saturate(.83) contrast(1.03);
}
.io-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 42%, rgba(225,166,80,.27), transparent 29%);
}
.io-hero-inner {
  min-height: inherit; position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 5vw;
  padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px);
}
.io-hero-copy { max-width: 780px; }
.io-hero .io-display { max-width: 850px; }
.io-hero .io-lead { color: rgba(255,255,255,.78); max-width: 700px; }
.io-hero-aside { align-self: end; justify-self: end; width: min(100%, 390px); padding-bottom: 1.5rem; }
.io-hero-note {
  border-top: 1px solid rgba(255,255,255,.34);
  padding-top: 1.2rem; display: grid; grid-template-columns: 84px 1fr; gap: 1rem;
}
.io-hero-note img { width: 82px; height: 94px; object-fit: contain; object-position: center; }
.io-hero-note p { margin: 0; color: rgba(255,255,255,.7); font-size: .93rem; }
.io-hero-note strong { color: var(--io-white); display: block; margin-bottom: .3rem; }
.io-hero-note b { color: rgba(255,255,255,.88); font-weight: 700; }
.io-hero-process { display: block; margin-top: .7rem; color: var(--io-white); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

/* Boundary language */
.io-boundary-band { border-block: 1px solid var(--io-border); background: var(--io-white); overflow: hidden; }
.io-boundary-inner {
  min-height: 108px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1.4rem;
  text-transform: uppercase; letter-spacing: .13em; font-size: .77rem; font-weight: 800;
}
.io-boundary-inner span:nth-child(1) { justify-self: end; }
.io-boundary-inner span:nth-child(3) { justify-self: center; }
.io-boundary-inner span:nth-child(5) { justify-self: start; }
.io-boundary-pipe { width: 1px; height: 42px; background: var(--io-ink); opacity: .35; }

/* Grids */
.io-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 5vw, 72px); }
.io-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.io-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.io-section-heading { display: grid; grid-template-columns: minmax(0,.8fr) minmax(300px,1.2fr); gap: 4vw; align-items: end; margin-bottom: clamp(38px, 5vw, 72px); }
.io-section-heading .io-lead { margin: 0; justify-self: end; }

/* Human / image cards */
.io-human-panel {
  min-height: 620px; border-radius: var(--io-radius); overflow: hidden; position: relative;
  background: var(--io-charcoal) var(--io-human-image) center/cover no-repeat;
  box-shadow: var(--io-shadow);
}
.io-human-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18,23,27,.75)); }
.io-human-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: white; }
.io-human-caption p { margin: .35rem 0 0; color: rgba(255,255,255,.72); max-width: 560px; }
.io-human-copy { align-self: center; }
.io-human-copy .io-h2 { max-width: 650px; }

/* Doorways */
.io-doorways { background: var(--io-ink); color: var(--io-paper); overflow: hidden; }
.io-doorways::before {
  content: ''; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
  right: -260px; top: -240px; box-shadow: 0 0 0 90px rgba(255,255,255,.015), 0 0 0 180px rgba(255,255,255,.01);
}
.io-doorway-card {
  min-height: 330px; padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--io-radius-sm);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.io-doorway-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.035); }
.io-doorway-card img, .io-doorway-card svg { width: 72px; height: 72px; object-fit: contain; margin-bottom: 2rem; color: currentColor; }
.io-doorway-card h3 { font-family: var(--io-serif); font-size: 1.7rem; font-weight: 400; margin: 0 0 .65rem; }
.io-doorway-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }
.io-doorway-card a { margin-top: auto; padding-top: 2rem; font-size: .79rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.io-doorway-card a::after { content: '  →'; }

/* Audience cards */
.io-audience-card {
  border: 1px solid var(--io-border); border-radius: var(--io-radius); padding: clamp(26px,3vw,42px); background: rgba(255,255,255,.32);
}
.io-audience-card .io-number { font-size: .76rem; font-weight: 800; letter-spacing: .15em; opacity: .5; margin-bottom: 3.4rem; }
.io-audience-card ul { padding-left: 1.15rem; margin: 1.2rem 0 0; }
.io-audience-card li { margin: .45rem 0; }

/* Programs */
.io-program-strip { display: grid; gap: 1px; background: var(--io-border); border: 1px solid var(--io-border); border-radius: var(--io-radius); overflow: hidden; }
.io-program-row {
  display: grid; grid-template-columns: 80px minmax(220px, .8fr) minmax(0,1.2fr) auto;
  gap: 1.5rem; align-items: center; padding: 24px 28px; background: var(--io-white);
}
.io-program-row:hover { background: #faf7f1; }
.io-program-index { font-family: var(--io-serif); font-size: 1.3rem; opacity: .42; }
.io-program-title { font-family: var(--io-serif); font-size: 1.45rem; }
.io-program-meta { color: rgba(18,23,27,.64); font-size: .92rem; }
.io-program-tag { border: 1px solid var(--io-border); border-radius: 999px; padding: .38rem .65rem; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

/* Founders */
.io-founders { position: relative; overflow: hidden; }
.io-founders-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: clamp(50px,7vw,110px); align-items: center; }
.io-founders-map { min-height: 560px; position: relative; }
.io-node { position: absolute; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); backdrop-filter: blur(5px); }
.io-node::after { content: ''; position: absolute; inset: -18px; border: 1px solid rgba(255,255,255,.07); border-radius: inherit; }
.io-node--core { width: 156px; height: 156px; left: 42%; top: 39%; font-family: var(--io-serif); font-size: 1.5rem; background: rgba(213,110,61,.17); }
.io-node--a { width: 98px; height: 98px; left: 6%; top: 13%; }
.io-node--b { width: 110px; height: 110px; right: 3%; top: 9%; }
.io-node--c { width: 94px; height: 94px; left: 8%; bottom: 10%; }
.io-node--d { width: 126px; height: 126px; right: 7%; bottom: 2%; }
.io-node--e { width: 74px; height: 74px; right: 4%; top: 51%; }
.io-node-line { position: absolute; height: 1px; background: rgba(255,255,255,.22); transform-origin: left center; }
.io-node-line--1 { width: 255px; left: 21%; top: 29%; transform: rotate(29deg); }
.io-node-line--2 { width: 230px; left: 55%; top: 38%; transform: rotate(-34deg); }
.io-node-line--3 { width: 220px; left: 22%; top: 65%; transform: rotate(-24deg); }
.io-node-line--4 { width: 230px; left: 57%; top: 61%; transform: rotate(28deg); }
.io-node-line--5 { width: 164px; left: 60%; top: 53%; transform: rotate(3deg); }
.io-founder-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2rem; background: rgba(255,255,255,.13); }
.io-founder-point { background: var(--io-ink); padding: 16px 16px 16px 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.io-founder-point strong { color: var(--io-white); display: block; margin-bottom: .25rem; }

/* Judo example */
.io-judo-demo { border: 1px solid var(--io-border); background: var(--io-white); border-radius: var(--io-radius); padding: clamp(24px,4vw,48px); }
.io-map-demo { min-height: 480px; position: relative; margin-top: 1.8rem; border: 1px solid var(--io-border); border-radius: var(--io-radius-sm); overflow: hidden; background: radial-gradient(circle at center, rgba(92,167,202,.08), transparent 45%), #f7f4ee; }
.io-map-demo::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(18,23,27,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(18,23,27,.04) 1px, transparent 1px); background-size: 34px 34px; }
.io-map-chip { position: absolute; z-index: 2; padding: .52rem .75rem; border: 1px solid var(--io-border); border-radius: 999px; background: var(--io-white); box-shadow: 0 8px 26px rgba(0,0,0,.07); font-size: .82rem; font-weight: 700; }
.io-map-chip--core { left: 42%; top: 42%; background: var(--io-ink); color: white; border-color: var(--io-ink); font-family: var(--io-serif); font-size: 1.1rem; }
.io-map-chip--1 { left: 12%; top: 18%; }
.io-map-chip--2 { right: 11%; top: 17%; }
.io-map-chip--3 { left: 14%; bottom: 18%; }
.io-map-chip--4 { right: 12%; bottom: 16%; }
.io-map-chip--5 { right: 14%; top: 48%; }
.io-map-entry { position: absolute; z-index: 2; left: 34%; bottom: 7%; width: 34%; min-width: 250px; background: rgba(255,255,255,.94); border: 1px solid var(--io-border); border-radius: 12px; padding: 14px; font-size: .78rem; box-shadow: 0 12px 35px rgba(0,0,0,.08); }
.io-map-entry strong { display: block; font-size: .82rem; margin-bottom: .25rem; }
.io-map-entry span { color: rgba(18,23,27,.57); }
.io-map-line { position: absolute; z-index: 1; height: 1px; background: rgba(18,23,27,.21); transform-origin: left center; }
.io-map-line--1 { width: 220px; left: 22%; top: 29%; transform: rotate(31deg); }
.io-map-line--2 { width: 215px; left: 53%; top: 42%; transform: rotate(-31deg); }
.io-map-line--3 { width: 210px; left: 24%; top: 65%; transform: rotate(-25deg); }
.io-map-line--4 { width: 200px; left: 54%; top: 57%; transform: rotate(30deg); }
.io-map-line--5 { width: 145px; left: 57%; top: 50%; transform: rotate(1deg); }

/* Pen and sword */
.io-pen-sword { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 7vw; align-items: center; }
.io-symbol-stage { min-height: 540px; border: 1px solid var(--io-border); border-radius: var(--io-radius); background: var(--io-white); display: grid; place-items: center; position: relative; overflow: hidden; }
.io-symbol-stage::before, .io-symbol-stage::after { content: ''; position: absolute; border: 1px solid var(--io-border); border-radius: 50%; }
.io-symbol-stage::before { width: 390px; height: 390px; }
.io-symbol-stage::after { width: 250px; height: 250px; }
.io-symbol-stage img { position: relative; z-index: 2; width: min(270px, 70%); max-height: 360px; object-fit: contain; }
.io-symbol-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.io-symbol-pair > div { border-top: 1px solid var(--io-border); padding-top: 1rem; }
.io-symbol-pair strong { font-family: var(--io-serif); font-size: 1.35rem; font-weight: 400; display: block; }
.io-symbol-pair p { margin: .3rem 0 0; color: rgba(18,23,27,.64); }

/* Page shell */
.io-page-hero { padding: clamp(100px, 12vw, 170px) 0 clamp(65px, 8vw, 110px); background: var(--io-ink); color: var(--io-paper); position: relative; overflow: hidden; }
.io-page-hero::after { content: ''; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -190px; top: -260px; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.012); }
.io-page-hero .io-shell { position: relative; z-index: 2; }
.io-page-body { padding: 72px 0 110px; }
.io-page-body .entry-content { max-width: 820px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { font-family: var(--io-serif); font-weight: 400; letter-spacing: -.025em; }
.entry-content h2 { font-size: clamp(2rem,4vw,3.6rem); margin-top: 2.2em; }
.entry-content h3 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content a { color: var(--io-ember); }

/* Footer */
.io-footer { background: #0c1013; color: rgba(255,255,255,.72); padding: 76px 0 30px; }
.io-footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr .9fr; gap: 40px; }
.io-footer-brand { color: white; }
.io-footer h4 { color: white; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.io-footer ul { list-style: none; padding: 0; margin: 0; }
.io-footer li { margin: .55rem 0; }
.io-footer a { text-decoration: none; }
.io-footer a:hover { color: white; }
.io-footer-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.io-ioim-family { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }

/* Reveal */
.io-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.io-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .io-reveal { opacity: 1; transform: none; transition: none; }
  .io-button, .io-doorway-card { transition: none; }
}

@media (max-width: 1020px) {
  .io-nav ul { display: none; }
  .io-menu-toggle { display: block; }
  .io-nav.is-open ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: 76px; bottom: 0;
    background: var(--io-paper); padding: 24px 20px 40px; overflow-y: auto;
  }
  .io-nav.is-open li { border-bottom: 1px solid var(--io-border); }
  .io-nav.is-open a { display: block; padding: 18px 4px; font-size: 1.05rem; }
  .io-nav.is-open .io-nav-cta { border: 0; border-radius: 0; }
  .io-hero-inner { grid-template-columns: 1fr; }
  .io-hero-aside { justify-self: start; width: min(100%, 560px); }
  .io-grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .io-grid-3 { grid-template-columns: 1fr 1fr; }
  .io-founders-grid { grid-template-columns: 1fr; }
  .io-founders-map { max-width: 720px; width: 100%; margin-inline: auto; }
  .io-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .io-footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .io-shell { width: min(calc(100% - 28px), var(--io-max)); }
  .io-section { padding: 70px 0; }
  .io-header-inner { min-height: 68px; }
  .io-nav.is-open ul { top: 68px; }
  .io-wordmark { font-size: .78rem; }
  .io-brand-mark { width: 38px; height: 42px; }
  .io-hero { min-height: 780px; }
  .io-hero::before { background: linear-gradient(180deg, rgba(18,23,27,.72), rgba(18,23,27,.95) 73%), var(--io-hero-image, linear-gradient(120deg,#2d3d45,#171b1e)); background-position: 65% center; }
  .io-hero-inner { align-content: end; padding-bottom: 70px; }
  .io-hero-aside { display: none; }
  .io-boundary-inner { min-height: 88px; gap: .6rem; font-size: .65rem; letter-spacing: .08em; }
  .io-boundary-pipe { height: 28px; }
  .io-grid-2, .io-grid-3, .io-grid-5, .io-section-heading, .io-pen-sword { grid-template-columns: 1fr; }
  .io-section-heading .io-lead { justify-self: start; }
  .io-human-panel { min-height: 470px; }
  .io-program-row { grid-template-columns: 42px 1fr; gap: .8rem 1rem; }
  .io-program-meta { grid-column: 2; }
  .io-program-tag { grid-column: 2; justify-self: start; }
  .io-founders-map { min-height: 440px; transform: scale(.86); transform-origin: center; margin-block: -35px; }
  .io-map-demo { min-height: 420px; overflow-x: hidden; }
  .io-map-entry { left: 12%; width: 76%; min-width: 0; }
  .io-symbol-stage { min-height: 420px; }
  .io-footer-grid { grid-template-columns: 1fr 1fr; }
  .io-footer-grid > :first-child, .io-footer-grid > :last-child { grid-column: 1 / -1; }
  .io-footer-bottom { flex-direction: column; }
}

@media (max-width: 470px) {
  .io-display { font-size: clamp(3rem, 15vw, 4.5rem); }
  .io-founder-points, .io-symbol-pair { grid-template-columns: 1fr; }
  .io-footer-grid { grid-template-columns: 1fr; }
  .io-footer-grid > * { grid-column: auto !important; }
  .io-node--core { left: 33%; }
}

/* Inner Order Core form */
.io-interest-form { margin-top: 2rem; max-width: 760px; display: grid; gap: 1rem; }
.io-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.io-interest-form label { display: grid; gap: .45rem; font-weight: 700; font-size: .86rem; }
.io-interest-form label span { display: block; }
.io-interest-form input, .io-interest-form select, .io-interest-form textarea {
  width: 100%; border: 1px solid var(--io-border); border-radius: 10px; background: var(--io-white); color: var(--io-ink); padding: .85rem .9rem; outline: none;
}
.io-interest-form input:focus, .io-interest-form select:focus, .io-interest-form textarea:focus { border-color: var(--io-ember); box-shadow: 0 0 0 3px rgba(213,110,61,.12); }
.io-interest-form textarea { resize: vertical; }
.io-form-privacy { font-size: .78rem; opacity: .6; margin: 0; }
.io-form-message { padding: .8rem 1rem; border: 1px solid var(--io-border); border-radius: 10px; background: var(--io-white); }
.io-form-message--success { border-color: rgba(109,142,117,.5); }
.io-form-message--error { border-color: rgba(213,110,61,.55); }
.io-honeypot { position: absolute !important; left: -9999px !important; }
@media (max-width: 620px) { .io-form-grid { grid-template-columns: 1fr; } }
