:root{
  color-scheme:light;
  --paper:#f6f1e8;
  --paper-2:#fffaf2;
  --ink:#151512;
  --muted:#656056;
  --faint:#8a8376;
  --line:#d8ccbb;
  --line-strong:#b7a68f;
  --charcoal:#20241f;
  --green:#1d4d41;
  --blue:#284c68;
  --copper:#a84634;
  --gold:#a87935;
  --white:#fffdf8;
  --shadow:0 18px 48px rgba(32,28,20,.08);
  --sans:"Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:"Instrument Serif", Georgia, serif;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    linear-gradient(90deg, rgba(21,21,18,.035) 1px, transparent 1px) 0 0/72px 72px,
    linear-gradient(180deg, #fbf6ed, var(--paper));
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 85% 10%, rgba(168,121,53,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.42), transparent 260px);
  z-index:-1;
}
a{color:inherit}
.skip-link{
  position:absolute;
  left:16px;
  top:-44px;
  z-index:50;
  padding:10px 12px;
  border-radius:6px;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
}
.skip-link:focus{top:12px}
.site{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
}
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap:24px;
  align-items:center;
  min-height:70px;
  padding:14px 0;
  border-bottom:1px solid rgba(21,21,18,.12);
  backdrop-filter:blur(18px);
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
  font-family:var(--serif);
  font-size:27px;
  line-height:1;
  text-decoration:none;
}
.brand-mark{
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--copper);
  box-shadow:0 0 0 5px rgba(168,70,52,.12);
}
.brand em{
  font-style:italic;
  color:var(--copper);
}
.main-nav{
  justify-self:end;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.main-nav a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 11px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}
.main-nav a:hover,
.main-nav a.is-active{
  border-color:var(--line);
  background:rgba(255,255,255,.7);
  color:var(--ink);
}
.main-nav a[data-secondary="true"]{
  display:none;
}
.context-strip{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:14px;
  align-items:center;
  margin:12px 0 0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,253,248,.72);
}
.crumbs,
.next-action{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  min-width:0;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.crumbs span:first-child,
.next-action span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:10px;
  text-transform:uppercase;
}
.next-action a{
  color:var(--green);
  text-decoration:none;
}
main{
  display:grid;
  gap:24px;
  padding:20px 0 46px;
}
.hero{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, 390px);
  gap:22px;
  align-items:stretch;
  min-height:430px;
}
.hero-copy,
.panel{
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,253,248,.82);
  box-shadow:var(--shadow);
}
.hero-copy{
  display:grid;
  align-content:center;
  padding:clamp(24px, 5vw, 58px);
}
.eyebrow,
.section-kicker,
.card-kicker{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  letter-spacing:0;
  text-transform:uppercase;
}
h1,
.display{
  max-width:940px;
  margin:10px 0 14px;
  font-family:var(--serif);
  font-size:clamp(44px, 7.4vw, 92px);
  font-weight:400;
  line-height:.92;
}
h1 em,
.display em,
h2 em{
  color:var(--copper);
  font-style:italic;
}
.lede{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:clamp(17px, 1.7vw, 21px);
  line-height:1.52;
}
.hero-actions,
.inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.hero-socials{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.hero-socials a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-decoration:none;
  transition:transform .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease, color .18s ease, background .18s ease;
}
.hero-socials a:hover{
  transform:translateY(-1px);
  border-color:var(--green);
  background:rgba(117,224,183,.08);
  color:var(--ink);
}
.hero-socials span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--ink);
  color:#10120e;
  font-family:var(--mono);
  font-size:10px;
  text-transform:uppercase;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 15px;
  border:1px solid var(--line-strong);
  border-radius:7px;
  background:var(--white);
  color:var(--ink);
  font-weight:900;
  text-decoration:none;
}
.btn.primary{
  border-color:var(--green);
  background:var(--green);
  color:#fff;
}
.btn:hover{transform:translateY(-1px)}
.portrait-panel{
  position:relative;
  overflow:hidden;
  display:grid;
  align-content:end;
  min-height:360px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#1b1f1c url("images/hero/profile-hero.jpg") center/cover no-repeat;
  color:#fff;
  box-shadow:var(--shadow);
}
.portrait-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 25%, rgba(0,0,0,.72));
}
.portrait-caption{
  position:relative;
  padding:18px;
}
.portrait-caption strong{
  display:block;
  margin-bottom:5px;
  font-size:20px;
}
.portrait-caption span{
  color:rgba(255,255,255,.76);
  font-size:14px;
}
.metric-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--line);
}
.metric-grid div{
  min-width:0;
  padding:17px;
  background:rgba(255,253,248,.82);
}
.metric-grid strong{
  display:block;
  color:var(--green);
  font-size:24px;
  line-height:1;
}
.metric-grid span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.section{
  display:grid;
  gap:16px;
  padding:24px 0;
  border-top:1px solid var(--line);
}
.section-head{
  display:grid;
  grid-template-columns:210px minmax(0, 1fr);
  gap:20px;
  align-items:start;
}
h2{
  max-width:840px;
  margin:0;
  font-family:var(--serif);
  font-size:clamp(32px, 4vw, 56px);
  font-weight:400;
  line-height:1;
}
.section-head p,
.section > p{
  max-width:780px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}
.route-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
}
.route-card,
.item-card,
.text-card{
  display:grid;
  align-content:start;
  gap:9px;
  min-width:0;
  padding:17px;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(255,253,248,.86);
  text-decoration:none;
}
.route-card:hover,
.item-card:hover{
  border-color:var(--green);
  background:#fff;
}
.route-card strong,
.item-card strong,
.text-card strong{
  font-size:18px;
  line-height:1.15;
}
.route-card p,
.item-card p,
.text-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.48;
}
.split{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:16px;
  align-items:start;
}
.list-panel{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,253,248,.84);
}
.list-row{
  display:grid;
  grid-template-columns:130px minmax(0, 1fr);
  gap:16px;
  padding:17px;
  border-bottom:1px solid var(--line);
}
.list-row:last-child{border-bottom:0}
.list-row time,
.list-row span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}
.list-row h3{
  margin:0 0 6px;
  font-size:20px;
}
.list-row p,
.prose p,
.prose li{
  color:var(--muted);
  font-size:15.5px;
  line-height:1.65;
}
.prose p{margin:0 0 14px}
.prose ul{margin:0;padding-left:18px}
.table{
  width:100%;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,253,248,.86);
}
.table-row{
  display:grid;
  grid-template-columns:120px minmax(0, 1fr) minmax(0, 1fr);
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.table-row:last-child{border-bottom:0}
.table-row b{font-size:15px}
.table-row span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
}
.table-row p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.learning-console{
  display:grid;
  grid-template-columns:240px minmax(0, 1fr);
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:var(--charcoal);
  color:#f8f1e7;
}
.learning-console a{color:inherit;text-decoration:none}
.console-rail{
  display:grid;
  align-content:start;
  gap:7px;
}
.console-rail a{
  display:grid;
  gap:5px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(255,255,255,.04);
}
.console-rail a:hover,
.console-rail a.is-active{
  background:#f8f1e7;
  color:#121410;
}
.console-main{
  display:grid;
  gap:12px;
}
.console-hero{
  padding:22px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(255,255,255,.04);
}
.console-hero h1,
.console-hero h2{
  color:#f8f1e7;
}
.console-hero p,
.console-grid p,
.console-grid em{
  color:rgba(248,241,231,.72);
}
.console-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
.console-grid a,
.console-grid article{
  display:grid;
  gap:7px;
  min-height:128px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(255,255,255,.04);
}
.console-grid a:hover{background:rgba(255,255,255,.09)}
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag-list span{
  padding:6px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.55);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.form-panel{
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,253,248,.86);
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
label{
  display:grid;
  gap:6px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
input,
select,
textarea{
  width:100%;
  min-height:42px;
  padding:10px 11px;
  border:1px solid var(--line-strong);
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  font:600 14px var(--sans);
}
textarea{resize:vertical}
.full{grid-column:1/-1}
button{
  cursor:pointer;
  border:0;
  font:900 14px var(--sans);
}
.output-panel{
  display:none;
  gap:10px;
  margin-top:14px;
}
.output-panel.is-visible{display:grid}
.footer{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:16px;
  padding:24px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.footer div:nth-child(2){text-align:center}
.footer div:last-child{text-align:right}

@media (max-width: 920px){
  .topbar{grid-template-columns:1fr;gap:10px}
  .main-nav{justify-self:start}
  .context-strip,
  .hero,
  .section-head,
  .split,
  .learning-console{
    grid-template-columns:1fr;
  }
  .console-main{
    order:-1;
  }
  .metric-grid,
  .route-grid,
  .console-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .hero{min-height:0}
  .portrait-panel{min-height:280px}
}

@media (max-width: 620px){
  .site{width:min(100% - 22px, 1240px)}
  .brand{font-size:23px}
  .main-nav{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    width:100%;
  }
  .main-nav a{
    justify-content:center;
    min-height:36px;
    border-color:var(--line);
    background:rgba(255,255,255,.56);
    border-radius:7px;
  }
  .crumbs,
  .next-action{font-size:11px}
  h1,.display{font-size:clamp(42px, 14vw, 62px)}
  .hero-copy{padding:23px}
  .hero-socials{margin-top:14px}
  .hero-socials a{
    flex:1 1 auto;
    justify-content:center;
  }
  .metric-grid,
  .route-grid,
  .console-grid,
  .form-grid{
    grid-template-columns:1fr;
  }
  .list-row,
  .table-row{
    grid-template-columns:1fr;
    gap:7px;
  }
  .footer{grid-template-columns:1fr}
  .footer div,
  .footer div:nth-child(2),
  .footer div:last-child{text-align:left}
}

/* V3 executive portfolio theme.
   This intentionally breaks from the previous cream/card visual language. */
:root{
  --paper:#0e0f0c;
  --paper-2:#151711;
  --ink:#f5efe2;
  --muted:#b9b0a0;
  --faint:#8b8374;
  --line:rgba(245,239,226,.14);
  --line-strong:rgba(245,239,226,.28);
  --charcoal:#0b0d0a;
  --green:#75e0b7;
  --blue:#84b8f7;
  --copper:#ff775f;
  --gold:#f0c46c;
  --white:#191c15;
  --shadow:0 22px 80px rgba(0,0,0,.35);
}

body{
  background:linear-gradient(180deg, #0e0f0c 0%, #13150f 46%, #0b0d0a 100%);
  color:var(--ink);
}

body::before{
  background:
    linear-gradient(120deg, rgba(255,119,95,.12), transparent 30%),
    linear-gradient(240deg, rgba(117,224,183,.10), transparent 38%),
    radial-gradient(circle at 50% -20%, rgba(245,239,226,.08), transparent 42%);
}

.site{
  width:min(1360px, calc(100% - 36px));
}

.topbar{
  min-height:78px;
  border-bottom-color:var(--line);
  background:rgba(14,15,12,.78);
}

.brand{
  color:var(--ink);
  font-family:var(--sans);
  font-size:18px;
  font-weight:900;
  letter-spacing:.01em;
  text-transform:none;
}

.brand em{
  color:var(--ink);
  font-family:var(--serif);
  font-size:28px;
  font-weight:400;
  text-transform:none;
}

.brand-mark{
  width:10px;
  height:34px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--green), var(--copper));
  box-shadow:none;
}

.main-nav{
  gap:2px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  padding:3px;
}

.main-nav a{
  min-height:36px;
  border:0;
  border-radius:999px;
  color:var(--muted);
  padding:8px 16px;
}

.main-nav a:hover,
.main-nav a.is-active{
  background:var(--ink);
  color:#10120e;
}

.context-strip{
  margin-top:14px;
  border-color:var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.045);
  box-shadow:none;
}

.crumbs,
.next-action{
  color:var(--muted);
}

.crumbs span:first-child,
.next-action span,
.eyebrow,
.section-kicker,
.card-kicker{
  color:var(--copper);
}

.next-action a{
  color:var(--green);
}

main{
  gap:20px;
  padding-top:20px;
}

.hero{
  grid-template-columns:minmax(0, 1.42fr) minmax(260px, .58fr);
  min-height:500px;
}

.hero-copy,
.panel,
.route-card,
.item-card,
.text-card,
.list-panel,
.table,
.form-panel{
  border-color:var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.04));
  box-shadow:var(--shadow);
}

.hero-copy{
  position:relative;
  overflow:hidden;
  padding:clamp(28px, 5vw, 58px);
  border-radius:18px;
}

.hero-copy::after{
  content:"";
  position:absolute;
  inset:auto 34px 28px auto;
  width:42%;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--green), var(--copper));
  opacity:.8;
}

h1,
.display{
  max-width:1040px;
  margin:12px 0 18px;
  font-family:var(--sans);
  font-size:clamp(48px, 7vw, 96px);
  font-weight:900;
  letter-spacing:-.055em;
  line-height:.88;
  text-wrap:balance;
}

h1 em,
.display em,
h2 em{
  color:var(--green);
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:0;
}

.lede{
  max-width:840px;
  color:var(--muted);
  font-size:clamp(18px, 1.6vw, 24px);
}

.btn{
  border-color:var(--line-strong);
  background:rgba(255,255,255,.04);
  color:var(--ink);
}

.btn.primary{
  border-color:transparent;
  background:var(--green);
  color:#07100c;
}

.portrait-panel{
  border-color:var(--line);
  border-radius:18px;
  background-position:center;
}

.portrait-panel::before{
  background:linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.86));
}

.metric-grid{
  border-color:var(--line);
  background:var(--line);
  border-radius:14px;
}

.metric-grid div{
  background:rgba(255,255,255,.045);
}

.metric-grid strong{
  color:var(--green);
}

.section{
  padding:28px 0;
  border-top-color:var(--line);
}

.section-head{
  grid-template-columns:180px minmax(0, 1fr);
}

h2{
  font-family:var(--sans);
  font-size:clamp(32px, 4.6vw, 64px);
  font-weight:900;
  letter-spacing:-.045em;
  line-height:.94;
}

.section-head p,
.section > p{
  color:var(--muted);
}

.route-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
}

.route-card,
.item-card,
.text-card{
  min-height:168px;
  border-radius:12px;
  background:rgba(255,255,255,.045);
  box-shadow:none;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}

.route-card:hover,
.item-card:hover{
  border-color:var(--green);
  background:rgba(117,224,183,.08);
  transform:translateY(-2px);
}

.route-card strong,
.item-card strong,
.text-card strong{
  color:var(--ink);
  font-size:21px;
}

.route-card p,
.item-card p,
.text-card p,
.list-row p,
.prose p,
.prose li,
.table-row p{
  color:var(--muted);
}

.table{
  border-radius:14px;
  background:rgba(255,255,255,.035);
  box-shadow:none;
}

.table-row{
  grid-template-columns:110px minmax(220px, .55fr) minmax(0, 1fr);
  border-bottom-color:var(--line);
}

.table-row b{
  color:var(--ink);
  font-size:18px;
}

.learning-console{
  border-color:var(--line);
  border-radius:18px;
  background:#090b08;
  box-shadow:var(--shadow);
}

.console-rail a,
.console-hero,
.console-grid a,
.console-grid article{
  border-color:var(--line);
  background:rgba(255,255,255,.045);
}

.console-rail a:hover,
.console-rail a.is-active{
  background:var(--green);
  color:#07100c;
}

.console-hero h1,
.console-hero h2{
  color:var(--ink);
}

.footer{
  border-top-color:var(--line);
  color:var(--muted);
}

input,
select,
textarea{
  border-color:var(--line-strong);
  background:#11140f;
  color:var(--ink);
}

@media (max-width: 920px){
  .hero{
    grid-template-columns:1fr;
    min-height:0;
  }

  .section-head{
    grid-template-columns:1fr;
  }

  .portrait-panel{
    min-height:360px;
  }
}

@media (max-width: 620px){
  .site{
    width:min(100% - 20px, 1360px);
  }

  .topbar{
    min-height:0;
    align-items:start;
    padding:12px 0;
  }

  .brand{
    font-size:15px;
  }

  .brand em{
    font-size:25px;
  }

  .brand-mark{
    height:28px;
  }

  .main-nav{
    grid-template-columns:repeat(5, minmax(0, 1fr));
    border-radius:12px;
    padding:2px;
  }

  .main-nav a{
    min-height:35px;
    padding:7px 6px;
    border:0;
    background:transparent;
    font-size:12px;
  }

  .context-strip{
    border-radius:12px;
  }

  .hero-copy{
    padding:24px;
    border-radius:14px;
  }

  h1,
  .display{
    font-size:clamp(48px, 15vw, 72px);
  }

  .route-card,
  .item-card,
  .text-card{
    min-height:0;
  }

  .table-row{
    grid-template-columns:1fr;
  }
}

/* V4 polish pass: tighter executive shell, stronger component hierarchy. */
:root{
  --panel:rgba(255,255,255,.055);
  --panel-strong:rgba(255,255,255,.09);
  --hairline:rgba(245,239,226,.10);
  --ink-soft:rgba(245,239,226,.86);
}

body{
  background:
    linear-gradient(180deg, #090b08 0%, #10130f 42%, #0a0c09 100%);
}

body::before{
  background:
    linear-gradient(90deg, rgba(117,224,183,.055), transparent 29%, rgba(255,119,95,.045) 74%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.055), transparent 330px);
}

.topbar{
  margin-top:10px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(9,11,8,.84);
  box-shadow:0 18px 60px rgba(0,0,0,.24);
}

.brand > span:not(.brand-mark){
  display:flex;
  align-items:baseline;
  gap:5px;
}

.main-nav a{
  justify-content:center;
  min-width:84px;
}

.context-strip{
  padding:11px 14px;
  background:linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
}

.hero{
  gap:20px;
}

.hero-compact{
  grid-template-columns:1fr;
  min-height:0;
}

.hero-compact .panel{
  display:none;
}

.hero-copy{
  isolation:isolate;
  border-radius:20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.036)),
    linear-gradient(90deg, rgba(255,119,95,.07), transparent 42%);
}

.hero-copy::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(100deg, rgba(255,255,255,.08), transparent 44%);
  opacity:.75;
  z-index:-1;
}

.hero-copy > *{
  position:relative;
}

.hero-compact .hero-copy{
  align-content:start;
  min-height:280px;
  padding:34px;
}

.hero-compact .panel{
  min-height:300px;
}

.hero-compact h1{
  max-width:760px;
  font-size:clamp(42px, 5.2vw, 76px);
  line-height:.9;
}

.hero-compact .lede{
  max-width:720px;
  font-size:clamp(16px, 1.3vw, 19px);
}

.hero-compact .hero-actions{
  margin-top:20px;
}

h1,
.display{
  max-width:980px;
  letter-spacing:-.048em;
}

.lede{
  color:var(--ink-soft);
}

.btn{
  min-height:46px;
  padding:12px 16px;
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.btn.primary{
  background:linear-gradient(135deg, #8df5cc, var(--green));
}

.hero-socials{
  margin-top:15px;
}

.hero-socials a{
  border-color:var(--hairline);
  background:rgba(255,255,255,.05);
  color:var(--ink-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.hero-socials span{
  background:var(--ink);
  color:#0a0d09;
}

.portrait-panel{
  min-height:500px;
  border-radius:20px;
}

.portrait-caption{
  padding:22px;
}

.metric-grid{
  gap:10px;
  overflow:visible;
  border:0;
  background:transparent;
}

.metric-grid div{
  display:grid;
  align-content:start;
  min-height:112px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
}

.metric-grid strong{
  font-size:26px;
}

.metric-grid span{
  color:var(--ink-soft);
}

.section{
  gap:18px;
  padding:32px 0;
}

.section-head{
  grid-template-columns:160px minmax(0, 1fr);
}

h2{
  max-width:900px;
  letter-spacing:-.04em;
}

.route-grid{
  gap:12px;
}

.route-card,
.item-card,
.text-card{
  position:relative;
  overflow:hidden;
  min-height:176px;
  padding:18px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032));
}

.route-card::before,
.item-card::before,
.text-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:1px;
  background:linear-gradient(90deg, var(--green), transparent 46%, var(--copper));
  opacity:.45;
}

.route-card:hover,
.item-card:hover{
  background:linear-gradient(180deg, rgba(117,224,183,.11), rgba(255,255,255,.04));
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}

.route-card strong,
.item-card strong,
.text-card strong{
  font-size:22px;
  letter-spacing:-.01em;
}

.route-card p,
.item-card p,
.text-card p{
  color:var(--ink-soft);
}

.table,
.list-panel,
.form-panel{
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
}

.panel{
  border-radius:20px;
}

.quick-panel{
  display:grid;
  align-content:start;
  gap:14px;
  padding:20px;
}

.panel strong{
  color:var(--ink);
  letter-spacing:-.025em;
}

.panel p{
  color:var(--ink-soft) !important;
}

.table-row,
.list-row{
  padding:18px;
}

.table-row{
  align-items:start;
}

.learning-console{
  border-radius:20px;
  background:linear-gradient(180deg, #090b08, #0d100c);
}

.console-rail a,
.console-hero,
.console-grid a,
.console-grid article{
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.032));
}

.product-showcase{
  display:grid;
  gap:14px;
  scroll-margin-top:120px;
}

.product-card{
  position:relative;
  overflow:hidden;
  display:grid;
  gap:18px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032)),
    linear-gradient(90deg, rgba(117,224,183,.045), transparent 42%, rgba(255,119,95,.035));
  box-shadow:0 20px 70px rgba(0,0,0,.22);
}

.product-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:1px;
  background:linear-gradient(90deg, var(--green), transparent 45%, var(--copper));
  opacity:.7;
}

.product-topline{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.product-topline a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:var(--ink);
  font-family:var(--sans);
  font-size:12px;
  text-decoration:none;
  text-transform:none;
}

.product-main{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(320px, 1.1fr);
  gap:20px;
  align-items:start;
}

.product-copy,
.product-architecture{
  min-width:0;
}

.product-card h3{
  margin:0 0 8px;
  color:var(--ink);
  font-size:clamp(30px, 4vw, 52px);
  line-height:.92;
  letter-spacing:-.055em;
}

.product-summary{
  max-width:620px;
  margin:0 0 16px;
  color:var(--ink-soft);
  font-size:18px;
  line-height:1.45;
}

.product-detail{
  display:grid;
  grid-template-columns:74px minmax(0, 1fr);
  gap:12px;
  padding:12px 0;
  border-top:1px solid var(--hairline);
  border-bottom:1px solid var(--hairline);
}

.product-detail span,
.product-signal span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
}

.product-detail p,
.product-signal p,
.product-architecture p{
  margin:0;
  color:var(--ink-soft);
  font-size:14.5px;
  line-height:1.55;
}

.product-features{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.product-features b{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:7px 10px;
  border:1px solid var(--hairline);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:var(--ink);
  font-size:12px;
  line-height:1;
}

.product-architecture{
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid var(--hairline);
  border-radius:16px;
  background:rgba(0,0,0,.14);
}

.product-flow{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:6px;
}

.product-flow span{
  position:relative;
  display:grid;
  align-items:center;
  min-height:54px;
  padding:10px;
  border:1px solid rgba(117,224,183,.20);
  border-radius:12px;
  background:rgba(117,224,183,.07);
  color:var(--ink);
  font-size:12px;
  font-weight:900;
  line-height:1.2;
}

.product-flow span:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:-7px;
  width:8px;
  height:1px;
  background:var(--green);
  opacity:.65;
}

.product-signal{
  display:grid;
  grid-template-columns:110px minmax(0, 1fr);
  gap:14px;
  padding-top:14px;
  border-top:1px solid var(--hairline);
}

@media (max-width: 920px){
  .portrait-panel{
    min-height:340px;
  }

  .metric-grid{
    gap:10px;
  }

  .product-main{
    grid-template-columns:1fr;
  }

  .hero-compact{
    grid-template-columns:1fr;
  }

  .hero-compact .hero-copy,
  .hero-compact .panel{
    min-height:0;
  }
}

@media (max-width: 620px){
  .topbar{
    margin-top:8px;
    padding:8px;
    border-radius:14px;
  }

  .brand > span{
    gap:4px;
  }

  .main-nav a{
    min-width:0;
  }

  .hero-copy{
    border-radius:16px;
  }

  .hero-compact .hero-copy{
    padding:22px;
  }

  .hero-compact h1{
    font-size:clamp(40px, 12vw, 58px);
  }

  .hero-copy::after{
    inset:auto 22px 18px auto;
    width:54%;
  }

  .metric-grid div{
    min-height:0;
  }

  .section{
    padding:26px 0;
  }

  .section-head{
    grid-template-columns:1fr;
    gap:8px;
  }

  .section-head h2{
    max-width:100%;
  }

  .product-card{
    padding:16px;
    border-radius:16px;
  }

  .product-detail,
  .product-signal{
    grid-template-columns:1fr;
    gap:8px;
  }

  .product-flow{
    grid-template-columns:1fr;
  }

  .product-flow span{
    min-height:44px;
  }

  .product-flow span:not(:last-child)::after{
    display:none;
  }
}

/* V5 dossier system: Geist restraint + Carbon grid structure + HIG-style depth. */
:root{
  color-scheme:light;
  --paper:#f3efe6;
  --paper-2:#fffaf0;
  --ink:#141410;
  --muted:#5f5a50;
  --faint:#8a8275;
  --line:rgba(20,20,16,.14);
  --line-strong:rgba(20,20,16,.28);
  --charcoal:#11130f;
  --green:#14735f;
  --blue:#245b83;
  --copper:#b24b37;
  --gold:#9d6e22;
  --white:#fffaf0;
  --panel:#fffaf0;
  --panel-strong:#ffffff;
  --hairline:rgba(20,20,16,.10);
  --ink-soft:#2f3029;
  --shadow:0 18px 48px rgba(42,35,23,.10);
}

body{
  background:
    linear-gradient(180deg, #fbf7ef 0%, #f0eadf 44%, #ebe4d8 100%);
  color:var(--ink);
}

body::before{
  background:
    linear-gradient(120deg, rgba(36,91,131,.075), transparent 34%),
    linear-gradient(240deg, rgba(178,75,55,.07), transparent 42%);
}

.site{
  width:min(1400px, calc(100% - 36px));
}

.topbar{
  border-color:rgba(20,20,16,.12);
  background:rgba(255,250,240,.82);
  box-shadow:0 20px 60px rgba(30,27,20,.10);
}

.brand,
.brand em{
  color:var(--ink);
}

.brand-mark{
  background:linear-gradient(180deg, var(--blue), var(--copper));
}

.main-nav{
  background:rgba(20,20,16,.045);
  border-color:rgba(20,20,16,.12);
}

.main-nav a{
  color:var(--muted);
}

.main-nav a:hover,
.main-nav a.is-active{
  background:var(--ink);
  color:var(--white);
}

.context-strip{
  border-color:rgba(20,20,16,.10);
  background:rgba(255,250,240,.70);
}

.hero-home{
  min-height:560px;
}

.hero-home .hero-copy{
  border-color:rgba(255,250,240,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.015)),
    linear-gradient(100deg, #11130f 0%, #171a15 54%, #0d0f0c 100%);
  color:#fffaf0;
  box-shadow:0 30px 90px rgba(17,19,15,.30);
}

.hero-home .lede{
  color:rgba(255,250,240,.78);
}

.hero-home .eyebrow{
  color:#f08a72;
}

.hero-home h1,
.hero-home .display{
  color:#fffaf0;
}

.hero-home h1 em,
.hero-home .display em{
  color:#88efce;
}

.hero-home .btn:not(.primary),
.hero-home .hero-socials a{
  border-color:rgba(255,250,240,.24);
  background:rgba(255,250,240,.075);
  color:#fffaf0;
}

.hero-home .btn.primary{
  border-color:transparent;
  background:#88efce;
  color:#0d0f0c;
}

.hero-home .hero-socials span{
  background:#fffaf0;
  color:#11130f;
}

.hero-home .portrait-panel{
  border-color:rgba(20,20,16,.12);
  box-shadow:0 30px 90px rgba(42,35,23,.18);
}

.hero-compact .hero-copy{
  border-color:rgba(20,20,16,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.58)),
    linear-gradient(100deg, rgba(36,91,131,.08), transparent 42%);
  box-shadow:0 22px 54px rgba(42,35,23,.10);
}

.hero-copy::before{
  background:linear-gradient(100deg, rgba(255,255,255,.28), transparent 45%);
}

.hero-copy::after{
  background:linear-gradient(90deg, transparent, var(--blue), var(--copper));
}

.hero-compact{
  display:block;
  min-height:0;
}

.hero-compact .hero-copy{
  min-height:0;
  padding:54px 0 46px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.hero-compact .hero-copy::before,
.hero-compact .hero-copy::after{
  display:none;
}

.hero-compact h1{
  max-width:980px;
}

h1,
.display,
h2{
  color:var(--ink);
}

h1 em,
.display em,
h2 em{
  color:var(--blue);
}

.lede,
.section-head p,
.section > p,
.route-card p,
.item-card p,
.text-card p,
.list-row p,
.prose p,
.prose li,
.table-row p{
  color:var(--muted);
}

.btn{
  border-color:rgba(20,20,16,.18);
  background:rgba(255,250,240,.78);
  color:var(--ink);
}

.btn.primary{
  background:var(--ink);
  color:var(--white);
}

.metric-grid div,
.route-card,
.item-card,
.text-card,
.table,
.list-panel,
.form-panel,
.product-card{
  border-color:rgba(20,20,16,.12);
  background:rgba(255,250,240,.76);
  box-shadow:0 16px 42px rgba(42,35,23,.08);
}

.metric-grid strong,
.next-action a{
  color:var(--blue);
}

.metric-grid span,
.tag-list span{
  color:var(--muted);
}

.route-card::before,
.item-card::before,
.text-card::before,
.product-card::before{
  background:linear-gradient(90deg, var(--blue), transparent 45%, var(--copper));
}

.route-card:hover,
.item-card:hover{
  border-color:rgba(36,91,131,.38);
  background:#fffdf7;
  box-shadow:0 24px 60px rgba(36,91,131,.12);
}

.table-row,
.list-row,
.product-detail,
.product-signal{
  border-color:rgba(20,20,16,.10);
}

.product-card{
  background:
    linear-gradient(180deg, rgba(255,250,240,.92), rgba(255,250,240,.72)),
    linear-gradient(90deg, rgba(36,91,131,.08), transparent 46%, rgba(178,75,55,.07));
}

.product-card h3,
.product-summary,
.product-features b,
.product-flow span{
  color:var(--ink);
}

.product-architecture{
  border-color:rgba(20,20,16,.10);
  background:rgba(20,20,16,.035);
}

.product-flow span{
  border-color:rgba(36,91,131,.22);
  background:rgba(36,91,131,.07);
}

.product-flow span:not(:last-child)::after{
  background:var(--blue);
}

.product-detail p,
.product-signal p,
.product-architecture p{
  color:var(--muted);
}

.learning-console{
  background:#11130f;
}

.console-rail a,
.console-hero,
.console-grid a,
.console-grid article{
  background:rgba(255,255,255,.055);
}

input,
select,
textarea{
  background:#fffdf7;
  color:var(--ink);
}

.footer{
  color:var(--muted);
}

@media (max-width: 620px){
  .site{
    width:min(100% - 20px, 1400px);
  }

  .hero-home{
    min-height:0;
  }
}

/* V6 UX reset: replace card walls with an editorial command surface and ledgers. */
:root{
  --page-pad:clamp(18px, 3.4vw, 48px);
}

main{
  gap:0;
}

.home-command{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(320px, .62fr);
  grid-template-areas:
    "identity proof"
    "workspace workspace";
  gap:0;
  min-height:calc(100vh - 178px);
  padding:var(--page-pad) 0 0;
  border-bottom:1px solid var(--line);
}

.identity-rail{
  grid-area:identity;
  display:grid;
  align-content:center;
  min-height:520px;
  padding:0 clamp(24px, 5vw, 72px) clamp(24px, 4vw, 54px) 0;
}

.identity-rail h1{
  max-width:900px;
  margin:14px 0 18px;
  font-family:var(--sans);
  font-size:clamp(64px, 8.4vw, 128px);
  font-weight:900;
  letter-spacing:-.064em;
  line-height:.83;
}

.identity-rail h1 em{
  display:block;
  color:var(--blue);
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:0;
}

.identity-rail p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:clamp(18px, 1.75vw, 25px);
  line-height:1.42;
}

.home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.identity-rail .hero-socials{
  margin-top:16px;
}

.proof-rail{
  grid-area:proof;
  display:grid;
  align-content:start;
  gap:24px;
  min-height:520px;
  padding:18px 0 36px clamp(24px, 4vw, 54px);
  border-left:1px solid var(--line);
}

.portrait-chip{
  display:grid;
  gap:14px;
}

.portrait-chip span{
  display:block;
  aspect-ratio:4/5;
  max-height:320px;
  border-radius:4px;
  background:#141410 url("images/hero/profile-hero.jpg") center/cover no-repeat;
}

.portrait-chip strong{
  max-width:360px;
  font-size:clamp(22px, 2vw, 32px);
  line-height:1;
  letter-spacing:-.04em;
}

.proof-metrics{
  display:grid;
  border-top:1px solid var(--line);
}

.proof-metrics div{
  display:grid;
  grid-template-columns:108px minmax(0, 1fr);
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}

.proof-metrics strong{
  color:var(--ink);
  font-size:18px;
  line-height:1;
}

.proof-metrics span{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.proof-note{
  display:grid;
  gap:8px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--ink);
  text-decoration:none;
}

.proof-note span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.proof-note strong{
  max-width:420px;
  font-size:20px;
  line-height:1.16;
  letter-spacing:-.02em;
}

.command-workspace{
  grid-area:workspace;
  display:grid;
  grid-template-columns:minmax(320px, .8fr) minmax(0, 1.2fr);
  gap:clamp(22px, 4vw, 60px);
  padding:30px 0;
  border-top:1px solid var(--line);
}

.workspace-topline{
  display:grid;
  gap:16px;
  align-content:start;
}

.mode-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.mode-tabs button{
  min-height:36px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  color:var(--muted);
}

.mode-tabs button:hover,
.mode-tabs button.is-active,
.mode-tabs button[aria-selected="true"]{
  background:var(--ink);
  color:var(--white);
}

.focus-panels{
  display:grid;
}

.focus-panel{
  display:grid;
  gap:10px;
  max-width:560px;
}

.focus-panel[hidden]{
  display:none;
}

.focus-panel > span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.focus-panel h2{
  margin:0;
  font-size:clamp(30px, 3.4vw, 54px);
  line-height:.95;
}

.focus-panel p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.55;
}

.focus-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}

.focus-chips b{
  padding:7px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink);
  font-size:12px;
}

.route-console{
  display:grid;
  border-top:1px solid var(--line);
}

.route-console a{
  display:grid;
  grid-template-columns:54px minmax(170px, .42fr) minmax(0, 1fr);
  gap:18px;
  align-items:baseline;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  text-decoration:none;
}

.route-console span,
.workbench-product span{
  color:var(--copper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.route-console strong{
  font-size:18px;
}

.route-console p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}

.home-workbench{
  display:grid;
  grid-template-columns:minmax(160px, .24fr) minmax(0, 1fr);
  gap:clamp(18px, 3vw, 42px);
  padding:24px 0 30px;
  border-bottom:1px solid var(--line);
}

.workbench-head h2{
  max-width:260px;
  margin:10px 0 0;
  font-size:clamp(26px, 2.8vw, 40px);
  line-height:1;
}

.workbench-grid{
  display:grid;
  border-top:1px solid var(--line);
}

.workbench-product{
  display:grid;
  grid-template-columns:74px minmax(120px, .22fr) minmax(0, 1fr) max-content;
  gap:14px;
  align-items:baseline;
  min-height:0;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  text-decoration:none;
}

.workbench-product strong{
  font-size:24px;
  line-height:1;
  letter-spacing:-.03em;
}

.workbench-product p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}

.workbench-product em{
  color:var(--blue);
  font-size:.82rem;
  font-style:normal;
  font-weight:900;
}

.metric-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:0;
}

.metric-grid div{
  min-height:0;
  padding:18px 18px 18px 0;
  border:0;
  border-right:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.metric-grid div:last-child{
  border-right:0;
}

.section{
  padding:44px 0;
  gap:24px;
}

.route-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  border-top:1px solid var(--line);
}

.route-card,
.item-card,
.text-card{
  display:grid;
  grid-template-columns:72px minmax(210px, .36fr) minmax(0, 1fr);
  gap:18px;
  min-height:0;
  padding:18px 0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.route-card::before,
.item-card::before,
.text-card::before{
  display:none;
}

.route-card:hover,
.item-card:hover{
  background:transparent;
  box-shadow:none;
  transform:none;
}

.route-card strong,
.item-card strong,
.text-card strong{
  font-size:22px;
  line-height:1.05;
}

.product-showcase{
  gap:0;
  border-top:1px solid var(--line);
}

.product-card{
  padding:26px 0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.product-card::before{
  display:none;
}

.product-main{
  grid-template-columns:minmax(0, .78fr) minmax(360px, 1fr);
  gap:clamp(24px, 4vw, 64px);
}

.product-architecture{
  border-radius:0;
  background:transparent;
}

.product-flow span{
  border-radius:0;
}

.table,
.list-panel,
.form-panel{
  border-left:0;
  border-right:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

@media (max-width: 920px){
  .home-command{
    grid-template-columns:1fr;
    grid-template-areas:
      "identity"
      "proof"
      "workspace";
  }

  .identity-rail{
    min-height:0;
    padding-right:0;
  }

  .proof-rail{
    min-height:0;
    padding:26px 0;
    border-left:0;
    border-top:1px solid var(--line);
  }

  .portrait-chip{
    grid-template-columns:120px minmax(0, 1fr);
    align-items:end;
  }

  .command-workspace,
  .home-workbench{
    grid-template-columns:1fr;
  }

  .route-console a,
  .workbench-product,
  .route-card,
  .item-card,
  .text-card{
    grid-template-columns:1fr;
    gap:8px;
  }

  .product-main{
    grid-template-columns:1fr;
  }
}

@media (max-width: 620px){
  .home-command{
    min-height:0;
    padding-top:22px;
  }

  .identity-rail h1{
    font-size:clamp(50px, 16vw, 72px);
  }

  .identity-rail p{
    font-size:17px;
  }

  .portrait-chip{
    grid-template-columns:88px minmax(0, 1fr);
  }

  .proof-metrics div{
    grid-template-columns:86px minmax(0, 1fr);
  }

  .metric-grid{
    grid-template-columns:1fr;
  }

  .metric-grid div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .metric-grid div:last-child{
    border-bottom:0;
  }
}

/* V7 density pass: remove dead space while keeping the editorial command surface. */
:root{
  --page-pad:clamp(12px, 2.2vw, 28px);
}

main{
  gap:0;
  padding-top:12px;
}

.context-strip{
  margin-top:10px;
  padding:8px 12px;
}

.home-command{
  min-height:0;
  padding:18px 0 0;
}

.identity-rail{
  min-height:0;
  align-content:start;
  padding:0 clamp(18px, 3vw, 42px) 22px 0;
}

.identity-rail h1{
  max-width:800px;
  margin:8px 0 12px;
  font-size:5.4rem;
  line-height:.86;
  letter-spacing:0;
}

.identity-rail p{
  max-width:700px;
  font-size:1.2rem;
  line-height:1.42;
}

.home-actions{
  margin-top:18px;
}

.identity-rail .hero-socials{
  margin-top:12px;
}

.proof-rail{
  min-height:0;
  gap:16px;
  padding:6px 0 22px clamp(18px, 3vw, 40px);
}

.portrait-chip{
  gap:10px;
}

.portrait-chip span{
  max-height:240px;
}

.portrait-chip strong{
  font-size:1.55rem;
  line-height:1.05;
  letter-spacing:0;
}

.proof-metrics div{
  padding:9px 0;
}

.proof-note{
  gap:6px;
  padding-top:12px;
}

.proof-note strong{
  font-size:1.05rem;
}

.command-workspace{
  gap:clamp(18px, 3vw, 42px);
  padding:20px 0;
}

.workspace-topline{
  gap:12px;
}

.focus-panel{
  gap:8px;
}

.focus-panel h2{
  font-size:2.7rem;
  letter-spacing:0;
}

.focus-panel p{
  font-size:1rem;
  line-height:1.48;
}

.route-console a{
  padding:12px 0;
}

.home-workbench{
  gap:clamp(18px, 3vw, 42px);
  padding:22px 0 28px;
}

.workbench-head h2{
  margin-top:8px;
  font-size:2.6rem;
  letter-spacing:0;
}

.workbench-product{
  padding:12px 0;
}

.workbench-product strong{
  font-size:1.35rem;
  letter-spacing:0;
}

.hero-compact .hero-copy{
  padding:32px 0 28px;
}

.hero-compact h1{
  font-size:4.2rem;
  letter-spacing:0;
}

.hero-compact .lede{
  font-size:1.05rem;
  line-height:1.46;
}

.section{
  padding:28px 0;
  gap:18px;
}

.section-head{
  gap:16px;
}

h1,
.display,
h2{
  letter-spacing:0;
}

h2{
  font-size:3.2rem;
  line-height:.98;
}

.route-card,
.item-card,
.text-card{
  padding:13px 0;
}

.route-card strong,
.item-card strong,
.text-card strong{
  font-size:1.25rem;
  letter-spacing:0;
}

.product-card{
  padding:18px 0;
}

.product-main{
  gap:clamp(18px, 3vw, 42px);
}

.product-card h3{
  font-size:1.65rem;
  letter-spacing:0;
}

.product-flow span{
  min-height:42px;
  padding:9px 11px;
}

.metric-grid div{
  padding:13px 14px 13px 0;
}

@media (min-width: 921px){
  .hero-compact{
    display:grid;
    grid-template-columns:minmax(0, .74fr) minmax(280px, .26fr);
    gap:clamp(24px, 3vw, 42px);
    align-items:stretch;
    border-bottom:1px solid var(--line);
  }

  .hero-compact .hero-copy{
    padding:28px 0 24px;
    border-bottom:0;
  }

  .hero-compact .panel{
    display:grid;
    align-content:end;
    min-height:0;
    padding:28px 0 24px 24px;
    border:0;
    border-left:1px solid var(--line);
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .quick-panel{
    gap:12px;
  }

  .quick-panel strong{
    font-size:1.25rem !important;
    line-height:1.08 !important;
    letter-spacing:0;
  }

  .quick-panel p{
    font-size:.92rem;
    line-height:1.45 !important;
  }

  .quick-panel .tag-list{
    gap:6px;
  }

  .quick-panel .tag-list span{
    padding:6px 8px;
    font-size:.72rem;
  }

  .home-command{
    grid-template-columns:minmax(420px, .95fr) minmax(360px, .78fr) minmax(260px, .52fr);
    grid-template-areas:"identity workspace proof";
    align-items:start;
    padding:18px 0 22px;
  }

  .identity-rail{
    padding:0 clamp(18px, 2.4vw, 34px) 0 0;
  }

  .identity-rail h1{
    max-width:660px;
    font-size:4.65rem;
    line-height:.88;
  }

  .identity-rail p{
    max-width:600px;
    font-size:1.05rem;
  }

  .command-workspace{
    grid-template-columns:1fr;
    gap:16px;
    padding:0 22px;
    border-top:0;
    border-left:1px solid var(--line);
  }

  .focus-panel h2{
    font-size:2.2rem;
  }

  .focus-panel p{
    font-size:.95rem;
    line-height:1.42;
  }

  .focus-chips{
    display:none;
  }

  .route-console a{
    grid-template-columns:34px minmax(0, 1fr);
    gap:6px 12px;
    align-items:start;
    padding:10px 0;
  }

  .route-console a p{
    grid-column:2;
    font-size:.92rem;
  }

  .route-console strong{
    font-size:1rem;
  }

  .proof-rail{
    padding:0 0 0 22px;
  }

  .portrait-chip span{
    max-height:170px;
  }

  .portrait-chip strong{
    font-size:1.25rem;
  }

  .proof-metrics div{
    grid-template-columns:82px minmax(0, 1fr);
    gap:10px;
    padding:7px 0;
  }

  .proof-metrics strong{
    font-size:1rem;
  }

  .proof-metrics span{
    font-size:.78rem;
  }

  .proof-note strong{
    font-size:.95rem;
  }
}

@media (min-width: 921px) and (max-width: 1120px){
  .home-command{
    grid-template-columns:minmax(0, 1fr) minmax(250px, .45fr);
    grid-template-areas:
      "identity proof"
      "workspace workspace";
    padding:16px 0 20px;
  }

  .identity-rail h1{
    max-width:620px;
    font-size:4.1rem;
  }

  .identity-rail p{
    max-width:560px;
  }

  .command-workspace{
    grid-template-columns:minmax(280px, .74fr) minmax(0, 1.26fr);
    gap:20px;
    padding:18px 0 0;
    border-top:1px solid var(--line);
    border-left:0;
  }

  .focus-chips{
    display:flex;
  }

  .route-console a{
    grid-template-columns:42px minmax(140px, .42fr) minmax(0, 1fr);
    gap:12px;
    padding:10px 0;
  }

  .route-console a p{
    grid-column:auto;
  }

  .proof-rail{
    padding:0 0 18px 20px;
  }

  .portrait-chip span{
    max-height:150px;
  }
}

@media (max-width: 920px){
  .hero-compact .panel{
    display:none;
  }

  .identity-rail h1{
    font-size:4.5rem;
  }

  .proof-rail{
    padding:18px 0;
  }

  .command-workspace,
  .home-workbench{
    padding:18px 0;
  }

  .focus-panel h2,
  .workbench-head h2{
    font-size:2.4rem;
  }

  .hero-compact h1{
    font-size:3.4rem;
  }
}

@media (max-width: 620px){
  main{
    padding-top:10px;
  }

  .home-command{
    padding-top:14px;
  }

  .identity-rail{
    padding-bottom:16px;
  }

  .identity-rail h1{
    margin-bottom:10px;
    font-size:3.2rem;
    line-height:.9;
  }

  .identity-rail p{
    font-size:1rem;
    line-height:1.42;
  }

  .home-actions{
    margin-top:16px;
  }

  .proof-rail{
    padding:16px 0;
  }

  .portrait-chip span{
    max-height:112px;
  }

  .portrait-chip strong{
    font-size:1.15rem;
  }

  .command-workspace{
    padding:16px 0;
  }

  .focus-panel h2,
  .workbench-head h2{
    font-size:2rem;
  }

  .route-console a,
  .workbench-product{
    padding:11px 0;
  }

  .home-workbench{
    padding:18px 0 24px;
  }

  .hero-compact .hero-copy{
    padding:24px 0 22px;
  }

  .hero-compact h1{
    font-size:2.65rem;
  }

  h2{
    font-size:2.25rem;
  }

  .section{
    padding:22px 0;
  }

  .route-card,
  .item-card,
  .text-card,
  .product-card{
    padding:12px 0;
  }
}

@view-transition{
  navigation:auto;
}

::view-transition-old(root){
  animation:page-out .18s ease both;
}

::view-transition-new(root){
  animation:page-in .28s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes page-out{
  from{opacity:1;transform:translateY(0)}
  to{opacity:.42;transform:translateY(-8px)}
}

@keyframes page-in{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

.motion-ready .motion-item{
  opacity:0;
  transform:translateY(18px) scale(.985);
  filter:blur(6px);
  transition:
    opacity .52s cubic-bezier(.2,.8,.2,1) var(--motion-delay, 0ms),
    transform .52s cubic-bezier(.2,.8,.2,1) var(--motion-delay, 0ms),
    filter .52s cubic-bezier(.2,.8,.2,1) var(--motion-delay, 0ms);
  will-change:opacity, transform, filter;
}

.motion-ready .motion-item.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

.btn,
.main-nav a,
.route-card,
.item-card,
.text-card,
.console-grid a,
.console-rail a{
  transition:
    transform .18s cubic-bezier(.2,.8,.2,1),
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.btn:hover,
.main-nav a:hover{
  transform:translateY(-1px);
}

.route-card.is-tilting,
.item-card.is-tilting,
.text-card.is-tilting{
  transform:perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-3px);
}

.hero-copy .btn.primary{
  box-shadow:0 0 0 0 rgba(117,224,183,.36);
  animation:soft-pulse 2.8s ease-in-out infinite;
}

@keyframes soft-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(117,224,183,.30)}
  50%{box-shadow:0 0 0 9px rgba(117,224,183,0)}
}

/* V8 interaction polish: make controls feel built, reactive, and current. */
:root{
  --ease-snap:cubic-bezier(.2,.8,.2,1);
  --ease-lift:cubic-bezier(.16,1,.3,1);
  --hover-ink:rgba(17,19,15,.08);
  --hover-blue:rgba(36,91,131,.16);
  --hover-copper:rgba(178,75,55,.16);
}

.topbar,
.context-strip{
  position:relative;
  overflow:hidden;
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
}

.topbar::after,
.context-strip::after{
  content:"";
  position:absolute;
  inset:auto 16px 0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(36,91,131,.42), rgba(178,75,55,.36), transparent);
  opacity:.62;
}

.brand,
.brand-mark{
  transition:transform .34s var(--ease-lift), box-shadow .34s ease, color .24s ease;
}

.brand:hover{
  transform:translateY(-1px);
}

.brand:hover .brand-mark{
  transform:scaleY(1.16);
  box-shadow:0 0 0 5px rgba(36,91,131,.10), 0 10px 24px rgba(178,75,55,.18);
}

.main-nav{
  position:relative;
  isolation:isolate;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62), 0 12px 34px rgba(35,30,22,.08);
}

.main-nav a,
.btn,
.mode-tabs button,
.hero-socials a{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transform:translate3d(0,0,0);
  transition:
    transform .28s var(--ease-lift),
    border-color .22s ease,
    background .22s ease,
    color .22s ease,
    box-shadow .28s ease;
}

.main-nav a::before,
.btn::before,
.mode-tabs button::before,
.hero-socials a::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(130px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.55), transparent 42%),
    linear-gradient(115deg, rgba(36,91,131,.12), transparent 34%, rgba(178,75,55,.10));
  opacity:0;
  transition:opacity .22s ease;
}

.main-nav a::after,
.btn::after,
.mode-tabs button::after,
.hero-socials a::after{
  content:"";
  position:absolute;
  inset:auto 12px 6px;
  height:1px;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, currentColor, transparent);
  opacity:0;
  transform:scaleX(.24);
  transition:opacity .22s ease, transform .28s var(--ease-lift);
}

.main-nav a:hover,
.main-nav a.is-active,
.btn:hover,
.mode-tabs button:hover,
.mode-tabs button.is-active,
.mode-tabs button[aria-selected="true"],
.hero-socials a:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(35,30,22,.12), inset 0 1px 0 rgba(255,255,255,.52);
}

.main-nav a.is-active,
.mode-tabs button.is-active,
.mode-tabs button[aria-selected="true"]{
  border-color:rgba(17,19,15,.88);
  background:#11130f;
  color:#fffaf0;
  box-shadow:0 9px 22px rgba(17,19,15,.16), inset 0 0 0 1px rgba(255,255,255,.08);
}

.main-nav a.is-active::before,
.mode-tabs button.is-active::before,
.mode-tabs button[aria-selected="true"]::before{
  opacity:0;
}

.main-nav a.is-active::after,
.mode-tabs button.is-active::after,
.mode-tabs button[aria-selected="true"]::after{
  inset:auto 14px 7px;
  background:linear-gradient(90deg, transparent, rgba(255,250,240,.58), transparent);
  opacity:.5;
  transform:scaleX(1);
}

.main-nav a:hover::before,
.btn:hover::before,
.mode-tabs button:hover::before,
.hero-socials a:hover::before,
.main-nav a:hover::after,
.btn:hover::after,
.mode-tabs button:hover::after,
.hero-socials a:hover::after{
  opacity:1;
  transform:scaleX(1);
}

.btn{
  min-height:46px;
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72), 0 1px 0 rgba(17,19,15,.06);
}

.btn.primary{
  border-color:rgba(17,19,15,.88);
  background:
    radial-gradient(130px circle at 20% 0%, rgba(255,255,255,.18), transparent 44%),
    linear-gradient(135deg, #12130f, #080907);
  color:#fffaf0;
}

.btn:active,
.main-nav a:active,
.mode-tabs button:active,
.hero-socials a:active{
  transform:translateY(0) scale(.985);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.mode-tabs button:focus-visible,
.hero-socials a:focus-visible,
.route-console a:focus-visible,
.workbench-product:focus-visible,
.product-card:focus-within{
  outline:2px solid rgba(36,91,131,.62);
  outline-offset:3px;
}

.mode-tabs{
  gap:6px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,250,240,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
  width:max-content;
  max-width:100%;
}

.mode-tabs button{
  border-color:transparent;
  background:transparent;
}

.mode-tabs button.is-active,
.mode-tabs button[aria-selected="true"]{
  background:#11130f;
  color:#fffaf0;
}

.route-console a,
.workbench-product,
.route-card,
.item-card,
.text-card,
.product-card,
.console-grid a,
.console-rail a{
  position:relative;
  isolation:isolate;
  overflow:clip;
  transition:
    transform .34s var(--ease-lift),
    background .24s ease,
    border-color .24s ease,
    box-shadow .34s ease,
    color .24s ease;
}

.route-console a > *,
.workbench-product > *,
.route-card > *,
.item-card > *,
.text-card > *,
.product-card > *,
.console-grid a > *,
.console-rail a > *{
  position:relative;
  z-index:1;
}

.route-console a::before,
.workbench-product::before,
.route-card::before,
.item-card::before,
.text-card::before,
.product-card::before,
.console-grid a::before,
.console-rail a::before{
  content:"";
  display:block;
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg, var(--blue), var(--copper));
  opacity:0;
  transform:scaleY(.28);
  transform-origin:50% 50%;
  transition:opacity .24s ease, transform .34s var(--ease-lift);
}

.route-console a::after,
.workbench-product::after,
.route-card::after,
.item-card::after,
.text-card::after,
.product-card::after,
.console-grid a::after,
.console-rail a::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(320px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(36,91,131,.13), transparent 46%),
    linear-gradient(90deg, rgba(255,255,255,.42), transparent 62%);
  opacity:0;
  transform:translateX(-10px);
  transition:opacity .24s ease, transform .34s var(--ease-lift);
}

.route-console a:hover,
.workbench-product:hover,
.route-card:hover,
.item-card:hover,
.text-card:hover,
.product-card:hover,
.console-grid a:hover,
.console-rail a:hover{
  background:rgba(255,250,240,.46);
  box-shadow:0 18px 44px rgba(35,30,22,.08);
  transform:translateY(-2px);
}

.route-console a:hover::before,
.workbench-product:hover::before,
.route-card:hover::before,
.item-card:hover::before,
.text-card:hover::before,
.product-card:hover::before,
.console-grid a:hover::before,
.console-rail a:hover::before,
.route-console a:hover::after,
.workbench-product:hover::after,
.route-card:hover::after,
.item-card:hover::after,
.text-card:hover::after,
.product-card:hover::after,
.console-grid a:hover::after,
.console-rail a:hover::after{
  opacity:1;
  transform:translateX(0) scaleY(1);
}

.route-console a.is-pointer-active,
.workbench-product.is-pointer-active,
.route-card.is-pointer-active,
.item-card.is-pointer-active,
.text-card.is-pointer-active,
.product-card.is-pointer-active{
  transform:perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-2px);
}

.product-flow span,
.focus-chips b,
.tag-list span{
  transition:transform .24s var(--ease-lift), background .22s ease, border-color .22s ease, box-shadow .24s ease;
}

.product-flow span:hover,
.focus-chips b:hover,
.tag-list span:hover{
  transform:translateY(-2px);
  border-color:rgba(36,91,131,.32);
  background:rgba(255,250,240,.64);
  box-shadow:0 10px 24px rgba(35,30,22,.08);
}

.portrait-chip span,
.portrait-panel{
  transition:transform .42s var(--ease-lift), box-shadow .34s ease, filter .34s ease;
}

.proof-rail:hover .portrait-chip span,
.portrait-panel:hover{
  transform:translateY(-2px) scale(1.015);
  filter:saturate(1.04) contrast(1.02);
}

/* V9 newsletter system: turn the blog into a list-building and brand-compounding surface. */
.newsletter-panel{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .42fr);
  gap:clamp(24px, 4vw, 64px);
  align-items:stretch;
  padding:28px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.newsletter-copy{
  display:grid;
  align-content:center;
  gap:12px;
}

.newsletter-copy h2{
  max-width:760px;
  margin:0;
  font-size:clamp(42px, 5.8vw, 86px);
  line-height:.88;
}

.newsletter-copy p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:clamp(17px, 1.35vw, 22px);
  line-height:1.42;
}

.newsletter-proof{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

.newsletter-proof span{
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink);
  font-size:.78rem;
  font-weight:900;
}

.newsletter-form{
  display:grid;
  gap:12px;
  align-content:center;
  padding:22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:
    radial-gradient(260px circle at 100% 0%, rgba(36,91,131,.11), transparent 52%),
    rgba(255,250,240,.54);
  box-shadow:0 22px 52px rgba(35,30,22,.08), inset 0 1px 0 rgba(255,255,255,.62);
}

.newsletter-form label{
  display:grid;
  gap:7px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
}

.newsletter-form input{
  width:100%;
  min-height:48px;
  border-radius:10px;
}

.newsletter-form small,
.form-status{
  color:var(--muted);
  font-size:.78rem;
  line-height:1.45;
}

.form-status{
  display:block;
  margin-top:4px;
}

.issue-list .list-row{
  grid-template-columns:140px minmax(0, 1fr);
}

.issue-list .card-kicker{
  display:inline-block;
  margin-bottom:8px;
}

.issue-list .btn{
  margin-top:10px;
}

@media (max-width: 920px){
  .newsletter-panel{
    grid-template-columns:1fr;
    padding:22px 0;
  }

  .newsletter-form{
    padding:18px;
  }
}

@media (max-width: 620px){
  .newsletter-copy h2{
    font-size:2.65rem;
  }

  .newsletter-copy p{
    font-size:1rem;
  }

  .issue-list .list-row{
    grid-template-columns:1fr;
  }
}

/* V10 hierarchy system: make titles, prose, lists, tables, cards, and case studies read as different information types. */
:root{
  --type-hero:5rem;
  --type-page:4.4rem;
  --type-section:3rem;
  --type-item:1.42rem;
  --type-body:1.03rem;
  --type-meta:.72rem;
  --surface-page:rgba(255,250,240,.74);
  --surface-card:rgba(255,253,248,.66);
  --surface-soft:rgba(20,20,16,.035);
  --rule:rgba(20,20,16,.13);
  --rule-strong:rgba(20,20,16,.24);
  --accent-architecture:#245b83;
  --accent-proof:#b24b37;
}

main{
  gap:0;
}

.hero-compact .hero-copy{
  padding:44px 0 34px;
  border-bottom:2px solid var(--rule-strong);
}

.hero-compact h1,
.identity-rail h1,
h1,
.display{
  max-width:1050px;
  font-size:var(--type-page);
  line-height:.95;
  letter-spacing:0;
}

.hero-compact .lede,
.identity-rail p,
.lede{
  max-width:780px;
  font-size:1.14rem;
  line-height:1.55;
}

.section{
  position:relative;
  gap:20px;
  padding:34px 0;
  border-top:1px solid var(--rule);
}

.section::before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  width:96px;
  height:2px;
  background:linear-gradient(90deg, var(--accent-architecture), var(--accent-proof));
}

.section-head{
  grid-template-columns:132px minmax(0, 1fr);
  gap:28px;
  padding-bottom:2px;
}

.section-kicker,
.card-kicker{
  color:var(--accent-proof);
  font-family:var(--mono);
  font-size:var(--type-meta);
  font-weight:900;
  line-height:1.25;
  letter-spacing:0;
  text-transform:uppercase;
}

.section-head h2,
h2{
  max-width:900px;
  font-family:var(--sans);
  font-size:var(--type-section);
  font-weight:900;
  line-height:1.03;
  letter-spacing:0;
}

.section-head p,
.section > p{
  max-width:760px;
  margin-top:10px;
  color:var(--muted);
  font-size:var(--type-body);
  line-height:1.58;
}

.prose{
  display:grid;
  gap:14px;
  max-width:760px;
  padding:4px 0;
}

.prose p,
.prose li{
  margin:0;
  color:var(--muted);
  font-size:var(--type-body);
  line-height:1.72;
}

.prose p:first-child{
  color:var(--ink);
  font-size:1.1rem;
  line-height:1.62;
}

.prose ul{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:20px;
}

.split{
  gap:28px;
}

.route-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.route-card,
.item-card,
.text-card{
  min-height:0;
  gap:9px;
  padding:16px;
  border:1px solid var(--rule);
  border-left:3px solid var(--accent-architecture);
  border-radius:8px;
  background:var(--surface-card);
  box-shadow:none;
}

.text-card{
  border-left-color:var(--accent-proof);
  background:rgba(255,250,240,.54);
}

.item-card{
  border-left-color:var(--green);
}

.route-card strong,
.item-card strong,
.text-card strong{
  color:var(--ink);
  font-size:1.13rem;
  font-weight:900;
  line-height:1.22;
  letter-spacing:0;
}

.text-card strong{
  font-size:1.2rem;
}

.route-card p,
.item-card p,
.text-card p{
  max-width:34rem;
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.52;
}

.route-card:hover,
.item-card:hover,
.text-card:hover{
  border-color:rgba(36,91,131,.32);
  background:#fffdf8;
  box-shadow:0 18px 42px rgba(42,35,23,.09);
}

.list-panel{
  overflow:visible;
  border:0;
  border-top:1px solid var(--rule-strong);
  border-bottom:1px solid var(--rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.list-row{
  grid-template-columns:132px minmax(0, 1fr);
  gap:24px;
  padding:20px 0;
  border-bottom:1px solid var(--rule);
  background:transparent;
}

.list-row:last-child{
  border-bottom:0;
}

.list-row time,
.list-row > span{
  display:block;
  padding-top:5px;
  color:var(--accent-architecture);
  font-family:var(--mono);
  font-size:var(--type-meta);
  font-weight:900;
  line-height:1.35;
  letter-spacing:0;
  text-transform:uppercase;
}

.list-row h3{
  max-width:820px;
  margin:0 0 7px;
  color:var(--ink);
  font-size:var(--type-item);
  font-weight:900;
  line-height:1.16;
  letter-spacing:0;
}

.list-row p{
  max-width:860px;
  margin:0;
  color:var(--muted);
  font-size:1rem;
  line-height:1.58;
}

.list-row p + p{
  margin-top:8px;
}

.issue-list .list-row{
  grid-template-columns:148px minmax(0, 1fr);
}

.issue-list .list-row h3{
  font-size:1.72rem;
  line-height:1.08;
}

.issue-list .card-kicker{
  margin-bottom:9px;
}

.table{
  overflow:visible;
  border:0;
  border-top:1px solid var(--rule-strong);
  border-bottom:1px solid var(--rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.table-row{
  grid-template-columns:130px minmax(190px, .32fr) minmax(0, 1fr);
  gap:22px;
  align-items:start;
  padding:16px 0;
  border-bottom:1px solid var(--rule);
}

.table-row:last-child{
  border-bottom:0;
}

.table-row span{
  padding-top:4px;
  color:var(--accent-proof);
  font-family:var(--mono);
  font-size:var(--type-meta);
  font-weight:900;
  line-height:1.3;
  letter-spacing:0;
  text-transform:uppercase;
}

.table-row b{
  color:var(--ink);
  font-size:1.08rem;
  font-weight:900;
  line-height:1.25;
}

.table-row p{
  margin:0;
  color:var(--muted);
  font-size:.96rem;
  line-height:1.52;
}

.product-showcase{
  gap:0;
  border-top:1px solid var(--rule-strong);
}

.product-card{
  display:grid;
  gap:20px;
  padding:28px 0;
  border:0;
  border-bottom:1px solid var(--rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.product-card::before,
.product-card::after{
  display:none;
}

.product-main{
  grid-template-columns:minmax(0, .88fr) minmax(340px, .72fr);
  gap:34px;
}

.product-card h3{
  margin-bottom:10px;
  color:var(--ink);
  font-size:2.8rem;
  line-height:.98;
  letter-spacing:0;
}

.product-summary{
  max-width:680px;
  margin-bottom:18px;
  color:var(--ink);
  font-size:1.08rem;
  line-height:1.55;
}

.product-detail{
  grid-template-columns:86px minmax(0, 1fr);
  gap:12px;
  padding:11px 0;
  border-top:1px solid var(--rule);
  border-bottom:0;
}

.product-architecture{
  padding:18px;
  border:1px solid var(--rule);
  border-left:4px solid var(--accent-architecture);
  border-radius:8px;
  background:var(--surface-soft);
}

.product-architecture p,
.product-detail p,
.product-signal p{
  color:var(--muted);
  font-size:.98rem;
  line-height:1.55;
}

.product-flow{
  gap:8px;
}

.product-flow span{
  min-height:38px;
  border-radius:8px;
  background:rgba(36,91,131,.065);
}

.learning-console{
  grid-template-columns:260px minmax(0, 1fr);
  gap:16px;
  padding:16px;
  border-radius:8px;
  background:#11130f;
}

.console-rail{
  padding-right:12px;
  border-right:1px solid rgba(255,250,240,.14);
}

.console-rail a{
  border-radius:6px;
}

.console-hero{
  border:0;
  border-bottom:1px solid rgba(255,250,240,.14);
  border-radius:0;
  background:transparent;
}

.console-grid{
  gap:10px;
}

.console-grid a,
.console-grid article{
  min-height:0;
  padding:16px;
  border-radius:8px;
}

.newsletter-panel{
  padding:30px 0;
  border-top:2px solid var(--rule-strong);
}

.newsletter-copy h2{
  font-size:4.8rem;
  line-height:.92;
  letter-spacing:0;
}

.newsletter-copy p{
  font-size:1.08rem;
  line-height:1.55;
}

@media (max-width: 1100px){
  .route-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .product-main{
    grid-template-columns:1fr;
  }
}

@media (max-width: 920px){
  :root{
    --type-page:3.55rem;
    --type-section:2.45rem;
    --type-item:1.28rem;
  }

  .section-head,
  .list-row,
  .issue-list .list-row,
  .table-row,
  .learning-console{
    grid-template-columns:1fr;
  }

  .section-head{
    gap:9px;
  }

  .list-row,
  .table-row{
    gap:9px;
  }

  .list-row time,
  .list-row > span,
  .table-row span{
    padding-top:0;
  }

  .console-rail{
    padding-right:0;
    padding-bottom:12px;
    border-right:0;
    border-bottom:1px solid rgba(255,250,240,.14);
  }

  .newsletter-copy h2{
    font-size:3.35rem;
  }
}

@media (max-width: 620px){
  :root{
    --type-page:2.65rem;
    --type-section:2rem;
    --type-item:1.17rem;
    --type-body:1rem;
  }

  .site{
    width:min(100% - 24px, 1400px);
  }

  .hero-compact .hero-copy{
    padding:28px 0 24px;
  }

  .section{
    padding:26px 0;
  }

  .route-grid{
    grid-template-columns:1fr;
  }

  .route-card,
  .item-card,
  .text-card{
    padding:14px;
  }

  .product-card{
    padding:22px 0;
  }

  .product-card h3{
    font-size:2.1rem;
  }

  .newsletter-copy h2{
    font-size:2.55rem;
  }
}

/* V11 framework components: product bar, editorial lanes, and content engine flow. */
.principle-bar{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--rule-strong);
  background:
    linear-gradient(90deg, rgba(36,91,131,.08), transparent 42%, rgba(178,75,55,.06)),
    rgba(255,250,240,.46);
}

.principle-step{
  display:grid;
  grid-template-rows:auto 1fr;
  gap:22px;
  min-width:0;
  padding:18px 18px 20px;
  border-right:1px solid var(--rule);
}

.principle-step:last-child{
  border-right:0;
}

.principle-index{
  color:var(--accent-architecture);
  font-family:var(--mono);
  font-size:1.65rem;
  font-weight:900;
  line-height:1;
}

.principle-step h3{
  max-width:14rem;
  margin:0 0 8px;
  color:var(--ink);
  font-size:1.2rem;
  font-weight:900;
  line-height:1.14;
  letter-spacing:0;
}

.principle-step p{
  max-width:20rem;
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.55;
}

.lane-system{
  display:grid;
  grid-template-columns:minmax(260px, .38fr) minmax(0, .62fr);
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--rule-strong);
  background:rgba(255,250,240,.44);
}

.lane-manifesto{
  display:grid;
  align-content:start;
  gap:12px;
  padding:22px;
  background:
    linear-gradient(150deg, rgba(36,91,131,.98), rgba(17,19,15,.96));
  color:#fffaf0;
}

.lane-manifesto .card-kicker{
  color:#ffb09f;
}

.lane-manifesto strong{
  display:block;
  max-width:18rem;
  color:#fffaf0;
  font-size:1.85rem;
  font-weight:900;
  line-height:1.02;
}

.lane-manifesto p{
  max-width:22rem;
  margin:0;
  color:rgba(255,250,240,.76);
  font-size:.98rem;
  line-height:1.55;
}

.lane-list{
  display:grid;
}

.lane-row{
  display:grid;
  grid-template-columns:104px minmax(170px, .34fr) minmax(0, 1fr);
  gap:18px;
  align-items:start;
  padding:18px 20px;
  border-bottom:1px solid var(--rule);
}

.lane-row:last-child{
  border-bottom:0;
}

.lane-label,
.engine-label{
  color:var(--accent-proof);
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:900;
  line-height:1.3;
  letter-spacing:0;
  text-transform:uppercase;
}

.lane-row h3{
  margin:0;
  color:var(--ink);
  font-size:1.18rem;
  font-weight:900;
  line-height:1.18;
}

.lane-row p{
  max-width:46rem;
  margin:0;
  color:var(--muted);
  font-size:.96rem;
  line-height:1.55;
}

.engine-flow{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--rule-strong);
  background:rgba(255,250,240,.42);
}

.engine-step{
  position:relative;
  display:grid;
  gap:18px;
  min-width:0;
  padding:20px 18px 22px;
  border-right:1px solid var(--rule);
}

.engine-step:last-child{
  border-right:0;
}

.engine-step::before{
  content:"";
  position:absolute;
  top:-2px;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg, var(--accent-architecture), var(--accent-proof));
  opacity:.28;
}

.engine-step:hover::before{
  opacity:1;
}

.engine-index{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid var(--rule-strong);
  border-radius:50%;
  background:#fffaf0;
  color:var(--accent-architecture);
  font-family:var(--mono);
  font-size:.78rem;
  font-weight:900;
  line-height:1;
}

.engine-step h3{
  max-width:16rem;
  margin:6px 0 8px;
  color:var(--ink);
  font-size:1.22rem;
  font-weight:900;
  line-height:1.16;
}

.engine-step p{
  max-width:22rem;
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.55;
}

@media (max-width: 1100px){
  .principle-bar,
  .engine-flow{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .principle-step:nth-child(2),
  .engine-step:nth-child(2){
    border-right:0;
  }

  .principle-step:nth-child(-n+2),
  .engine-step:nth-child(-n+2){
    border-bottom:1px solid var(--rule);
  }

  .lane-system{
    grid-template-columns:1fr;
  }

  .lane-manifesto strong,
  .lane-manifesto p{
    max-width:46rem;
  }
}

@media (max-width: 760px){
  .principle-bar,
  .engine-flow{
    grid-template-columns:1fr;
  }

  .principle-step,
  .engine-step{
    grid-template-columns:52px minmax(0, 1fr);
    gap:14px;
    border-right:0;
    border-bottom:1px solid var(--rule);
  }

  .principle-step:last-child,
  .engine-step:last-child{
    border-bottom:0;
  }

  .principle-step h3,
  .engine-step h3{
    max-width:none;
  }

  .lane-row{
    grid-template-columns:1fr;
    gap:7px;
    padding:17px 0;
  }

  .lane-list{
    padding:0 18px;
  }
}

/* V12 page hierarchy: section priority levels so title, subtitle, and body do not compete. */
.section{
  scroll-margin-top:112px;
}

.section .section-head{
  position:relative;
}

.section .section-head h2{
  max-width:780px;
  font-size:2.35rem;
  line-height:1.05;
}

.section .section-head p{
  max-width:650px;
  font-size:1rem;
  line-height:1.6;
}

.section-feature{
  display:grid;
  grid-template-columns:minmax(280px, .36fr) minmax(0, .64fr);
  gap:clamp(28px, 4vw, 58px);
  align-items:start;
  padding:46px 0;
  border-top:3px solid var(--ink);
}

.section-feature::before{
  width:152px;
  height:3px;
  background:var(--accent-architecture);
}

.section-feature .section-head{
  display:block;
  position:sticky;
  top:110px;
  align-self:start;
  padding:0 0 0 18px;
  border-left:4px solid var(--accent-architecture);
}

.section-feature .section-kicker{
  display:block;
  margin-bottom:13px;
  color:var(--accent-architecture);
}

.section-feature .section-head h2{
  max-width:520px;
  font-size:3.7rem;
  line-height:.96;
}

.section-feature .section-head p{
  max-width:520px;
  margin-top:16px;
  color:var(--ink);
  font-size:1.1rem;
  line-height:1.58;
}

.section-feature > :not(.section-head){
  min-width:0;
}

.section-feature .issue-list .list-row:first-child{
  padding-top:0;
}

.section-framework{
  display:grid;
  grid-template-columns:minmax(250px, .30fr) minmax(0, .70fr);
  gap:clamp(24px, 4vw, 50px);
  align-items:start;
  padding:38px 0;
  border-top:1px solid var(--rule-strong);
}

.section-framework::before{
  width:96px;
  background:var(--accent-proof);
}

.section-framework .section-head{
  display:block;
  padding:18px 0;
}

.section-framework .section-kicker{
  display:block;
  margin-bottom:12px;
}

.section-framework .section-head h2{
  max-width:380px;
  font-size:2.65rem;
  line-height:1;
}

.section-framework .section-head p{
  max-width:360px;
  margin-top:13px;
}

.section-process{
  padding:42px 0;
  border-top:2px solid var(--rule-strong);
}

.section-process .section-head{
  grid-template-columns:132px minmax(0, 760px);
  align-items:end;
  padding-bottom:8px;
}

.section-process .section-head h2{
  font-size:3.2rem;
  line-height:.98;
}

.section-process .section-head p{
  color:var(--ink);
  font-size:1.06rem;
}

.section-queue{
  padding:26px 0 34px;
  border-top:1px solid var(--rule);
}

.section-queue::before{
  width:54px;
  background:var(--rule-strong);
}

.section-queue .section-head{
  grid-template-columns:120px minmax(0, 1fr);
  gap:20px;
}

.section-queue .section-head h2{
  font-size:2rem;
}

.section-queue .section-head p{
  max-width:540px;
  font-size:.96rem;
}

.section-queue .list-panel{
  border-top-color:var(--rule);
}

.section-feature .product-showcase,
.section-feature .issue-list{
  border-top:0;
}

.section-feature .product-card:first-child{
  padding-top:0;
}

.section-feature .product-card h3{
  font-size:3.15rem;
}

.section-feature .issue-list .list-row h3{
  font-size:2.05rem;
}

.section-framework .principle-bar,
.section-framework .lane-system{
  min-width:0;
}

@media (max-width: 1100px){
  .section-feature,
  .section-framework{
    grid-template-columns:1fr;
  }

  .section-feature .section-head{
    position:relative;
    top:auto;
    max-width:780px;
  }

  .section-feature .section-head h2,
  .section-framework .section-head h2{
    max-width:780px;
  }

  .section-feature .section-head p,
  .section-framework .section-head p{
    max-width:700px;
  }
}

@media (max-width: 760px){
  .section .section-head,
  .section-process .section-head,
  .section-queue .section-head{
    grid-template-columns:1fr;
  }

  .section-feature{
    padding:34px 0;
  }

  .section-feature .section-head{
    padding-left:14px;
  }

  .section-feature .section-head h2{
    font-size:2.5rem;
  }

  .section-framework .section-head h2,
  .section-process .section-head h2{
    font-size:2.2rem;
  }

  .section-feature .product-card h3{
    font-size:2.2rem;
  }
}

/* V13 readability guard: cards must stack content inside responsive grids. */
.route-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap:14px;
  border-top:0;
}

.route-grid .route-card,
.route-grid .item-card,
.route-grid .text-card{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  min-width:0;
  min-height:0;
  padding:18px;
  overflow:visible;
}

.route-grid .card-kicker{
  display:block;
  min-width:0;
}

.route-grid .route-card strong,
.route-grid .item-card strong,
.route-grid .text-card strong{
  display:block;
  min-width:0;
  max-width:none;
  overflow-wrap:anywhere;
  font-size:1.22rem;
  line-height:1.18;
}

.route-grid .route-card p,
.route-grid .item-card p,
.route-grid .text-card p{
  min-width:0;
  max-width:none;
  overflow-wrap:normal;
  text-wrap:pretty;
  font-size:.98rem;
  line-height:1.55;
}

.route-grid .route-card::before,
.route-grid .item-card::before,
.route-grid .text-card::before{
  display:block;
}

@media (min-width: 1180px){
  .route-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  .route-grid{
    grid-template-columns:1fr;
  }
}

/* V14 premium clarity pass: clean shell, stronger hierarchy, refined components. */
:root{
  --premium-bg:#f7f3ec;
  --premium-surface:#fffdf8;
  --premium-surface-2:#f8f1e7;
  --premium-ink:#11130f;
  --premium-muted:#5f5a50;
  --premium-rule:rgba(17,19,15,.12);
  --premium-rule-strong:rgba(17,19,15,.24);
  --premium-blue:#1f577d;
  --premium-copper:#b24b37;
  --premium-shadow:0 18px 48px rgba(37,32,23,.10);
  --premium-shadow-soft:0 8px 24px rgba(37,32,23,.07);
}

body{
  background:
    linear-gradient(120deg, rgba(31,87,125,.045), transparent 36%, rgba(178,75,55,.038)),
    linear-gradient(180deg, #fffdf8 0%, var(--premium-bg) 42%, #eee6db 100%);
  color:var(--premium-ink);
}

body::before{
  background:
    linear-gradient(90deg, rgba(255,253,248,.72), transparent 38%, rgba(255,253,248,.50)),
    linear-gradient(180deg, rgba(17,19,15,.025), transparent 320px);
}

.site{
  width:min(1320px, calc(100% - 40px));
}

.topbar{
  top:10px;
  min-height:58px;
  margin-top:10px;
  padding:8px 10px;
  border:1px solid var(--premium-rule);
  border-radius:14px;
  background:rgba(255,253,248,.86);
  box-shadow:var(--premium-shadow-soft);
}

.topbar::after,
.context-strip::after{
  display:none;
}

.brand{
  gap:9px;
  font-family:var(--sans);
  font-size:1rem;
  font-weight:900;
}

.brand em{
  font-style:normal;
  color:var(--premium-ink);
}

.brand-mark{
  width:9px;
  height:28px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--premium-blue), var(--premium-copper));
  box-shadow:none;
}

.main-nav{
  gap:4px;
  padding:4px;
  border:1px solid var(--premium-rule);
  border-radius:999px;
  background:rgba(17,19,15,.035);
  box-shadow:none;
}

.main-nav a{
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  color:var(--premium-muted);
  font-size:.78rem;
}

.main-nav a:hover{
  background:rgba(255,253,248,.82);
  color:var(--premium-ink);
  box-shadow:none;
}

.main-nav a.is-active{
  border-color:var(--premium-ink);
  background:var(--premium-ink);
  color:#fffdf8;
  box-shadow:none;
}

.context-strip{
  margin-top:10px;
  padding:7px 2px 10px;
  border:0;
  border-bottom:1px solid var(--premium-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.crumbs,
.next-action{
  font-size:.73rem;
}

.next-action a{
  color:var(--premium-blue);
}

main{
  padding-top:8px;
}

.hero-compact{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(260px, 330px);
  gap:clamp(24px, 4vw, 54px);
  align-items:end;
  min-height:0;
  padding:28px 0 30px;
  border-bottom:1px solid var(--premium-rule-strong);
}

.hero-compact .hero-copy{
  min-height:0;
  padding:20px 0 26px;
  border:0;
  background:transparent;
  box-shadow:none;
}

.hero-compact .hero-copy::before,
.hero-compact .hero-copy::after{
  display:none;
}

.eyebrow,
.section-kicker,
.card-kicker{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
}

.hero-compact h1{
  max-width:980px;
  margin:10px 0 14px;
  color:var(--premium-ink);
  font-size:4.25rem;
  line-height:.95;
  letter-spacing:0;
}

.hero-compact .lede{
  max-width:760px;
  color:var(--premium-muted);
  font-size:1.08rem;
  line-height:1.58;
}

.hero-actions{
  gap:9px;
  margin-top:18px;
}

.btn{
  min-height:42px;
  padding:10px 14px;
  border:1px solid var(--premium-rule-strong);
  border-radius:8px;
  background:rgba(255,253,248,.72);
  color:var(--premium-ink);
  font-size:.86rem;
  font-weight:900;
  box-shadow:none;
}

.btn.primary{
  border-color:var(--premium-ink);
  background:var(--premium-ink);
  color:#fffdf8;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(37,32,23,.10);
}

.quick-panel{
  align-self:stretch;
  display:grid;
  align-content:end;
  gap:12px;
  padding:18px;
  border:1px solid rgba(255,253,248,.14);
  border-radius:8px;
  background:linear-gradient(145deg, #11130f, #20251f);
  color:#fffdf8;
  box-shadow:var(--premium-shadow);
}

.quick-panel .section-kicker{
  color:#f0aa9a;
}

.quick-panel strong{
  color:#fffdf8;
  font-size:1.18rem !important;
  line-height:1.12 !important;
}

.quick-panel p{
  color:rgba(255,253,248,.72) !important;
  font-size:.92rem;
}

.quick-panel .tag-list span{
  border-color:rgba(255,253,248,.18);
  background:rgba(255,253,248,.08);
  color:rgba(255,253,248,.72);
}

.hero-compact .quick-panel,
.quick-panel.project-rule-panel{
  border:1px solid var(--premium-rule);
  background:rgba(255,253,248,.78);
  color:var(--premium-ink);
  box-shadow:var(--premium-shadow-soft);
}

.hero-compact .quick-panel .section-kicker,
.quick-panel.project-rule-panel .section-kicker{
  color:var(--premium-copper);
}

.hero-compact .quick-panel strong,
.quick-panel.project-rule-panel strong{
  color:var(--premium-ink);
}

.hero-compact .quick-panel p,
.quick-panel.project-rule-panel p{
  color:var(--premium-muted) !important;
}

.hero-compact .quick-panel .tag-list span,
.quick-panel.project-rule-panel .tag-list span{
  border-color:var(--premium-rule);
  background:#fffdf8;
  color:var(--premium-ink);
}

.section{
  padding:32px 0;
  border-top:1px solid var(--premium-rule);
}

.section::before{
  background:linear-gradient(90deg, var(--premium-blue), var(--premium-copper));
}

.section .section-head h2{
  color:var(--premium-ink);
  font-size:2.25rem;
  line-height:1.05;
  letter-spacing:0;
}

.section .section-head p{
  color:var(--premium-muted);
}

.section-feature{
  padding:42px 0;
  border-top:3px solid var(--premium-ink);
}

.section-feature .section-head{
  border-left-color:var(--premium-blue);
}

.section-feature .section-kicker{
  color:var(--premium-blue);
}

.section-feature .section-head h2{
  font-size:3.25rem;
  line-height:.98;
}

.section-feature .section-head p{
  color:var(--premium-ink);
  font-size:1.04rem;
}

.section-framework{
  padding:34px 0;
  border-top-color:var(--premium-rule-strong);
}

.section-framework .section-head h2{
  font-size:2.35rem;
}

.section-process{
  padding:38px 0;
}

.section-process .section-head h2{
  font-size:2.75rem;
}

.section-queue{
  opacity:.96;
}

.route-grid{
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap:14px;
}

.route-grid .route-card,
.route-grid .item-card,
.route-grid .text-card{
  position:relative;
  overflow:hidden;
  min-height:156px;
  padding:18px;
  border:1px solid var(--premium-rule);
  border-left:3px solid var(--premium-copper);
  border-radius:8px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.92), rgba(255,248,237,.74));
  box-shadow:none;
}

.route-grid .route-card{
  border-left-color:var(--premium-blue);
}

.route-grid .route-card::before,
.route-grid .item-card::before,
.route-grid .text-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, var(--premium-blue), transparent 56%, var(--premium-copper));
  opacity:.38;
  transform:none;
}

.route-grid .route-card::after,
.route-grid .item-card::after,
.route-grid .text-card::after{
  display:none;
}

.route-grid .route-card strong,
.route-grid .item-card strong,
.route-grid .text-card strong{
  color:var(--premium-ink);
  font-size:1.18rem;
  line-height:1.18;
}

.route-grid .route-card p,
.route-grid .item-card p,
.route-grid .text-card p{
  color:var(--premium-muted);
  font-size:.96rem;
  line-height:1.56;
}

.route-grid .route-card:hover,
.route-grid .item-card:hover,
.route-grid .text-card:hover{
  border-color:rgba(31,87,125,.32);
  background:#fffdf8;
  box-shadow:var(--premium-shadow-soft);
  transform:translateY(-2px);
}

.list-panel,
.table{
  border-top:1px solid var(--premium-rule-strong);
  border-bottom:1px solid var(--premium-rule);
}

.list-row,
.table-row{
  border-bottom-color:var(--premium-rule);
}

.list-row h3{
  color:var(--premium-ink);
  font-size:1.32rem;
}

.list-row p,
.table-row p{
  color:var(--premium-muted);
}

.table-row b{
  color:var(--premium-ink);
}

.product-showcase{
  border-top:0;
}

.product-card{
  padding:24px;
  border:1px solid var(--premium-rule);
  border-radius:8px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.90), rgba(255,248,237,.70));
  box-shadow:var(--premium-shadow-soft);
}

.product-card + .product-card{
  margin-top:14px;
}

.product-topline{
  color:var(--premium-copper);
}

.product-card h3{
  color:var(--premium-ink);
  font-size:2.65rem;
  line-height:1;
}

.product-summary{
  color:var(--premium-ink);
}

.product-detail,
.product-signal{
  border-color:var(--premium-rule);
}

.product-architecture{
  border-color:rgba(31,87,125,.22);
  border-left-color:var(--premium-blue);
  border-radius:8px;
  background:rgba(31,87,125,.055);
}

.product-features b,
.product-flow span{
  border-radius:8px;
}

.principle-bar,
.lane-system,
.engine-flow{
  border-top-color:var(--premium-ink);
  border-bottom-color:var(--premium-rule-strong);
  border-radius:8px;
  overflow:hidden;
  background:rgba(255,253,248,.66);
}

.principle-step,
.engine-step,
.lane-row{
  border-color:var(--premium-rule);
}

.lane-manifesto{
  background:linear-gradient(145deg, #11130f, #1f577d);
}

.newsletter-panel{
  gap:clamp(22px, 4vw, 56px);
  padding:28px 0;
  border-top:0;
  border-bottom:1px solid var(--premium-rule-strong);
}

.newsletter-copy h2{
  color:var(--premium-ink);
  font-size:3.6rem;
  line-height:.98;
}

.newsletter-copy p{
  color:var(--premium-muted);
}

.newsletter-proof span{
  border-color:var(--premium-rule);
  background:rgba(255,253,248,.70);
}

.form-panel,
.newsletter-form{
  border:1px solid var(--premium-rule);
  border-radius:8px;
  background:rgba(255,253,248,.78);
  box-shadow:var(--premium-shadow-soft);
}

input,
textarea,
select{
  border-color:var(--premium-rule-strong);
  border-radius:8px;
  background:#fffdf8;
}

input:focus,
textarea:focus,
select:focus{
  outline:2px solid rgba(31,87,125,.34);
  outline-offset:2px;
}

.learning-console{
  border:1px solid rgba(255,253,248,.12);
  border-radius:8px;
  background:linear-gradient(145deg, #11130f, #1d211c);
  box-shadow:var(--premium-shadow);
}

.console-rail{
  border-right-color:rgba(255,253,248,.14);
}

.console-rail a,
.console-grid a,
.console-grid article{
  border-color:rgba(255,253,248,.13);
  border-radius:8px;
  background:rgba(255,253,248,.045);
}

.console-rail a:hover,
.console-rail a.is-active{
  background:#fffdf8;
  color:var(--premium-ink);
}

.console-hero{
  border-bottom-color:rgba(255,253,248,.14);
}

.console-hero h1{
  color:#fffdf8;
  font-size:3.1rem;
  line-height:1;
}

.console-hero .lede,
.console-grid p,
.console-grid em{
  color:rgba(255,253,248,.70);
}

.footer{
  margin-top:22px;
  padding:18px 0 28px;
  border-top:1px solid var(--premium-rule);
  color:var(--premium-muted);
}

@media (min-width: 1180px){
  .route-grid{
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}

@media (max-width: 980px){
  .hero-compact{
    grid-template-columns:1fr;
  }

  .quick-panel{
    display:none;
  }

  .hero-compact h1{
    font-size:3.15rem;
  }

  .section-feature .section-head h2,
  .section-process .section-head h2{
    font-size:2.45rem;
  }

  .product-card{
    padding:18px;
  }
}

@media (max-width: 620px){
  .site{
    width:min(100% - 24px, 1320px);
  }

  .topbar{
    top:0;
    margin-top:8px;
    border-radius:10px;
  }

  .main-nav{
    justify-self:start;
    width:100%;
    overflow-x:auto;
  }

  .hero-compact{
    padding:20px 0 24px;
  }

  .hero-compact h1{
    font-size:2.45rem;
  }

  .hero-compact .lede{
    font-size:1rem;
  }

  .section-feature .section-head h2,
  .section-framework .section-head h2,
  .section-process .section-head h2,
  .section .section-head h2{
    font-size:2rem;
  }

  .product-card h3,
  .console-hero h1{
    font-size:2rem;
  }

  .newsletter-copy h2{
    font-size:2.3rem;
  }
}

/* V15 career profile: expandable role cards with hover, focus, and mobile readability. */
.career-timeline{
  display:grid;
  gap:12px;
}

.career-card{
  display:grid;
  grid-template-columns:110px minmax(0, 1fr);
  gap:18px;
  align-items:start;
  min-width:0;
  padding:18px;
  border:1px solid var(--premium-rule);
  border-left:3px solid var(--premium-blue);
  border-radius:8px;
  background:rgba(255,253,248,.76);
  box-shadow:none;
  outline:none;
  transition:
    transform .24s var(--ease-lift),
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.career-card:hover,
.career-card:focus-within,
.career-card:focus{
  border-color:rgba(31,87,125,.34);
  background:#fffdf8;
  box-shadow:var(--premium-shadow-soft);
  transform:translateY(-2px);
}

.career-card time{
  color:var(--premium-blue);
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:900;
  line-height:1.35;
  text-transform:uppercase;
}

.career-body{
  display:grid;
  gap:8px;
  min-width:0;
}

.career-head{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  align-items:start;
}

.career-head h3{
  margin:0;
  color:var(--premium-ink);
  font-size:1.28rem;
  font-weight:900;
  line-height:1.18;
}

.career-head span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border:1px solid var(--premium-rule);
  border-radius:999px;
  color:var(--premium-muted);
  font-size:.68rem;
  font-weight:900;
  white-space:nowrap;
  text-transform:uppercase;
}

.career-summary{
  max-width:760px;
  margin:0;
  color:var(--premium-muted);
  font-size:.98rem;
  line-height:1.56;
}

.career-detail{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-4px);
  transition:
    max-height .34s var(--ease-lift),
    opacity .24s ease,
    transform .24s var(--ease-lift),
    padding-top .24s ease;
}

.career-card:hover .career-detail,
.career-card:focus .career-detail,
.career-card:focus-within .career-detail{
  max-height:620px;
  padding-top:10px;
  opacity:1;
  transform:translateY(0);
}

.career-detail div{
  min-width:0;
  padding-top:12px;
  border-top:1px solid var(--premium-rule);
}

.career-detail span{
  display:block;
  margin-bottom:6px;
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
}

.career-detail p{
  margin:0;
  color:var(--premium-muted);
  font-size:.92rem;
  line-height:1.55;
}

.career-detail ul{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}

.career-detail li{
  padding:6px 8px;
  border:1px solid var(--premium-rule);
  border-radius:999px;
  background:rgba(31,87,125,.055);
  color:var(--premium-ink);
  font-size:.74rem;
  font-weight:900;
}

@media (max-width: 880px){
  .career-card{
    grid-template-columns:1fr;
    gap:8px;
  }

  .career-detail{
    grid-template-columns:1fr;
    max-height:none;
    padding-top:10px;
    opacity:1;
    transform:none;
  }

  .career-head{
    grid-template-columns:1fr;
  }

  .career-head span{
    display:none;
  }
}

/* V16 product dossiers: product-first case-study presentation, not generic cards. */
.product-dossiers{
  display:grid;
  gap:18px;
  border-top:0;
}

.product-dossier,
.section-feature .product-dossier:first-child{
  position:relative;
  display:grid;
  gap:clamp(18px, 2.2vw, 28px);
  min-width:0;
  padding:clamp(22px, 3vw, 36px);
  border:1px solid rgba(17,19,15,.13);
  border-radius:14px;
  background:
    linear-gradient(135deg, rgba(255,253,248,.96), rgba(248,241,231,.86)),
    linear-gradient(90deg, rgba(31,87,125,.055), transparent 42%, rgba(178,75,55,.045));
  box-shadow:0 18px 54px rgba(37,32,23,.09);
  overflow:hidden;
}

.product-dossier::before{
  content:"";
  display:block;
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, var(--premium-blue), var(--premium-copper));
  opacity:1;
  transform:none;
}

.product-dossier::after{
  content:"";
  display:block;
  position:absolute;
  inset:1px;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.78), transparent 34%),
    radial-gradient(520px circle at 82% 10%, rgba(31,87,125,.08), transparent 54%);
  opacity:1;
  transform:none;
}

.product-dossier > *{
  position:relative;
  z-index:1;
}

.product-dossier:hover{
  border-color:rgba(31,87,125,.28);
  background:
    linear-gradient(135deg, #fffdf8, rgba(248,241,231,.94)),
    linear-gradient(90deg, rgba(31,87,125,.075), transparent 42%, rgba(178,75,55,.055));
  box-shadow:0 26px 72px rgba(37,32,23,.13);
  transform:translateY(-2px);
}

.product-dossier:hover::before,
.product-dossier:hover::after{
  opacity:1;
  transform:none;
}

.product-dossier-head{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:18px;
  align-items:start;
}

.product-identity{
  display:grid;
  gap:10px;
  min-width:0;
}

.product-stage{
  width:max-content;
  max-width:100%;
  padding:6px 9px;
  border:1px solid rgba(17,19,15,.15);
  border-radius:999px;
  background:rgba(255,253,248,.78);
  color:var(--premium-blue);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.product-dossier h3,
.section-feature .product-dossier h3{
  margin:0;
  color:var(--premium-ink);
  font-size:clamp(2.55rem, 6vw, 5rem);
  line-height:.95;
  letter-spacing:0;
}

.product-dossier .product-summary{
  max-width:760px;
  margin:0;
  color:var(--premium-muted);
  font-size:clamp(1.02rem, 1.55vw, 1.24rem);
  line-height:1.46;
}

.product-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border:1px solid rgba(17,19,15,.18);
  border-radius:999px;
  background:#11130f;
  color:#fffdf8;
  font-size:.86rem;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .24s var(--ease-lift), box-shadow .24s ease, background .24s ease;
}

.product-action:hover{
  background:#1f577d;
  box-shadow:0 12px 28px rgba(31,87,125,.20);
  transform:translateY(-1px);
}

.product-dossier-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr);
  gap:14px;
  align-items:stretch;
}

.product-thesis,
.product-fact,
.product-experience{
  min-width:0;
  border:1px solid rgba(17,19,15,.10);
  border-radius:10px;
  background:rgba(255,253,248,.64);
}

.product-thesis{
  display:grid;
  align-content:start;
  gap:10px;
  min-height:100%;
  padding:18px;
  border-top:3px solid var(--premium-ink);
}

.product-proof-stack{
  display:grid;
  gap:14px;
  min-width:0;
}

.product-fact{
  display:grid;
  gap:8px;
  padding:16px;
}

.product-experience{
  grid-column:1 / -1;
  display:grid;
  gap:12px;
  padding:16px;
}

.product-thesis span,
.product-fact span,
.product-experience > span{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.product-thesis p,
.product-fact p{
  margin:0;
  color:var(--premium-ink);
  font-size:1rem;
  line-height:1.58;
}

.product-fact p{
  color:var(--premium-muted);
}

.product-experience ol{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:product-path;
}

.product-experience li{
  counter-increment:product-path;
  position:relative;
  display:grid;
  align-content:center;
  min-height:58px;
  padding:12px 12px 12px 38px;
  border:1px solid rgba(31,87,125,.16);
  border-radius:10px;
  background:rgba(31,87,125,.045);
  color:var(--premium-ink);
  font-size:.9rem;
  font-weight:900;
  line-height:1.22;
}

.product-experience li::before{
  content:counter(product-path);
  position:absolute;
  left:11px;
  top:12px;
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--premium-blue);
  color:#fffdf8;
  font-family:var(--mono);
  font-size:.62rem;
  font-weight:900;
}

.product-promises{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:16px;
  border-top:1px solid rgba(17,19,15,.10);
}

.product-promises span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 10px;
  border:1px solid rgba(17,19,15,.13);
  border-radius:999px;
  background:rgba(255,253,248,.68);
  color:var(--premium-ink);
  font-size:.8rem;
  font-weight:900;
  line-height:1.12;
}

.home-workbench .workbench-grid{
  gap:0;
  border:0;
  border-top:1px solid var(--premium-rule);
  border-radius:0;
  background:transparent;
  overflow:visible;
}

.home-workbench .workbench-product{
  grid-template-columns:74px minmax(120px, .22fr) minmax(0, 1fr) max-content;
  gap:14px;
  align-items:baseline;
  min-height:0;
  padding:12px 0;
  border:0;
  border-bottom:1px solid var(--premium-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.home-workbench .workbench-product:hover{
  background:rgba(255,253,248,.58);
  box-shadow:none;
}

.home-workbench .workbench-product strong{
  color:var(--premium-ink);
  font-size:1.24rem;
  letter-spacing:0;
}

.home-workbench .workbench-product p{
  color:var(--premium-muted);
  font-size:.94rem;
  line-height:1.42;
}

.home-workbench .workbench-product em{
  color:var(--premium-blue);
  font-family:var(--mono);
  font-size:.72rem;
  font-style:normal;
  font-weight:900;
  text-transform:uppercase;
}

/* R16 projects page: short product ledger, not case-study cards. */
.project-ledger{
  display:grid;
  gap:0;
  border-top:1px solid var(--premium-rule);
  border-bottom:1px solid var(--premium-rule);
}

.project-ledger-row{
  display:grid;
  grid-template-columns:86px minmax(160px, .28fr) minmax(0, 1fr) max-content;
  gap:18px;
  align-items:start;
  padding:18px 0;
  border-bottom:1px solid var(--premium-rule);
}

.project-ledger-row:last-child{
  border-bottom:0;
}

.project-ledger-meta{
  display:grid;
  gap:8px;
}

.project-ledger-meta span,
.project-ledger-meta b,
.project-ledger-detail strong,
.project-ledger-action{
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:900;
  line-height:1.15;
  text-transform:uppercase;
}

.project-ledger-meta span,
.project-ledger-detail strong{
  color:var(--premium-copper);
}

.project-ledger-meta b{
  color:var(--premium-blue);
}

.project-ledger-main{
  display:grid;
  gap:7px;
  min-width:0;
}

.project-ledger-main h3{
  margin:0;
  color:var(--premium-ink);
  font-size:clamp(1.4rem, 2.2vw, 2rem);
  line-height:1;
  letter-spacing:0;
}

.project-ledger-main p,
.project-ledger-detail p{
  margin:0;
  color:var(--premium-muted);
  font-size:.98rem;
  line-height:1.48;
}

.project-ledger-detail{
  display:grid;
  gap:9px;
  min-width:0;
}

.project-ledger-detail p{
  display:grid;
  grid-template-columns:92px minmax(0, 1fr);
  gap:12px;
}

.project-ledger-action{
  color:var(--premium-blue);
  text-decoration:none;
}

.project-ledger-action:hover{
  color:var(--premium-copper);
}

.project-rule-panel{
  border-color:var(--premium-rule) !important;
  background:rgba(255,253,248,.74) !important;
  color:var(--premium-ink) !important;
  box-shadow:none !important;
}

.project-rule-panel .section-kicker{
  color:var(--premium-copper) !important;
}

.project-rule-panel strong{
  color:var(--premium-ink) !important;
  font-size:1.45rem !important;
  line-height:1.05 !important;
}

.project-rule-panel p{
  margin:0;
  color:var(--premium-muted) !important;
  line-height:1.5 !important;
}

.project-rule-panel .tag-list span{
  border-color:var(--premium-rule) !important;
  background:rgba(255,253,248,.74) !important;
  color:var(--premium-ink) !important;
}

/* R17 blog page: compact writing lanes instead of a manifesto table. */
.writing-ledger{
  display:grid;
  gap:0;
  border-top:1px solid var(--premium-rule);
  border-bottom:1px solid var(--premium-rule);
}

.writing-ledger-row{
  display:grid;
  grid-template-columns:120px minmax(180px, .34fr) minmax(0, 1fr);
  gap:18px;
  align-items:baseline;
  padding:15px 0;
  border-bottom:1px solid var(--premium-rule);
}

.writing-ledger-row:last-child{
  border-bottom:0;
}

.writing-ledger-row h3{
  margin:0;
  color:var(--premium-ink);
  font-size:1.2rem;
  line-height:1.1;
}

.writing-ledger-row p{
  margin:0;
  color:var(--premium-muted);
  font-size:.96rem;
  line-height:1.45;
}

/* V17 personal brand operating system: site as trust hub and content funnel. */
.brand-system{
  display:grid;
  gap:clamp(18px, 2.6vw, 30px);
  margin:clamp(18px, 3vw, 34px) 0;
  padding:clamp(22px, 3.2vw, 38px);
  border:1px solid rgba(17,19,15,.13);
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(255,253,248,.96), rgba(248,241,231,.88)),
    radial-gradient(700px circle at 100% 0%, rgba(31,87,125,.09), transparent 52%);
  box-shadow:0 22px 70px rgba(37,32,23,.10);
}

.brand-system-head{
  display:grid;
  gap:10px;
  max-width:880px;
}

.brand-system-head h2{
  margin:0;
  max-width:820px;
  color:var(--premium-ink);
  font-size:clamp(2.5rem, 6vw, 5.2rem);
  line-height:.94;
  letter-spacing:0;
}

.brand-system-head p{
  margin:0;
  color:var(--premium-muted);
  font-size:clamp(1rem, 1.6vw, 1.2rem);
  line-height:1.55;
}

.brand-system-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
}

.brand-system-card{
  display:grid;
  align-content:start;
  gap:10px;
  min-width:0;
  min-height:220px;
  padding:18px;
  border:1px solid rgba(17,19,15,.11);
  border-top:3px solid var(--premium-ink);
  border-radius:12px;
  background:rgba(255,253,248,.68);
}

.brand-system-card span,
.platform-map span{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.brand-system-card h3{
  margin:0;
  color:var(--premium-ink);
  font-size:1.2rem;
  line-height:1.12;
}

.brand-system-card p,
.platform-map p{
  margin:0;
  color:var(--premium-muted);
  font-size:.94rem;
  line-height:1.52;
}

.platform-map{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0;
  border:1px solid rgba(17,19,15,.12);
  border-radius:14px;
  background:rgba(17,19,15,.12);
  overflow:hidden;
}

.platform-map div{
  display:grid;
  align-content:start;
  gap:8px;
  min-width:0;
  min-height:154px;
  padding:16px;
  background:#fffdf8;
}

.platform-map strong{
  color:var(--premium-ink);
  font-size:1.08rem;
  line-height:1.12;
}

.brand-system-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* V18 personal brand routing: compact start paths and explicit proof ledger. */
.start-here,
.proof-log{
  display:grid;
  gap:clamp(18px, 2.4vw, 28px);
  margin:clamp(18px, 3vw, 34px) 0;
  padding:clamp(22px, 3vw, 34px);
  border:1px solid rgba(17,19,15,.13);
  border-radius:18px;
  background:rgba(255,253,248,.72);
  box-shadow:0 16px 48px rgba(37,32,23,.08);
}

.start-here{
  grid-template-columns:minmax(240px, .36fr) minmax(0, 1fr);
  align-items:start;
}

.start-here-head,
.proof-log-head{
  display:grid;
  gap:10px;
  max-width:900px;
}

.start-here-head h2,
.proof-log-head h2{
  margin:0;
  color:var(--premium-ink);
  font-size:clamp(2rem, 4vw, 4.4rem);
  line-height:1;
  letter-spacing:0;
}

.start-here-head p,
.proof-log-head p{
  margin:0;
  color:var(--premium-muted);
  font-size:clamp(1rem, 1.5vw, 1.16rem);
  line-height:1.55;
}

.start-here-grid{
  display:grid;
  gap:0;
  border-top:1px solid rgba(17,19,15,.16);
}

.start-path{
  display:grid;
  grid-template-columns:88px minmax(150px, .7fr) minmax(0, 1fr) max-content;
  align-items:baseline;
  gap:14px;
  min-height:0;
  min-width:0;
  padding:18px 0;
  border-bottom:1px solid rgba(17,19,15,.16);
  border-radius:0;
  background:transparent;
  color:var(--premium-ink);
  text-decoration:none;
  transition:padding .24s var(--ease-lift), color .24s ease;
}

.start-path:hover{
  padding-left:10px;
  color:var(--premium-blue);
}

.start-path span,
.proof-log-row span{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.start-path strong{
  color:var(--premium-ink);
  font-size:1.05rem;
  line-height:1.12;
}

.start-path p{
  margin:0;
  color:var(--premium-muted);
  font-size:.93rem;
  line-height:1.42;
}

.start-path em{
  align-self:end;
  color:var(--premium-blue);
  font-size:.82rem;
  font-style:normal;
  font-weight:900;
}

.proof-log-list{
  display:grid;
  gap:0;
  border-top:1px solid rgba(17,19,15,.18);
}

.proof-log-row{
  display:grid;
  grid-template-columns:minmax(150px, .45fr) minmax(0, 1fr) minmax(260px, .9fr);
  gap:18px;
  align-items:start;
  padding:18px 0;
  border-bottom:1px solid rgba(17,19,15,.12);
}

.proof-log-row p,
.proof-log-row strong{
  margin:0;
  font-size:.96rem;
  line-height:1.52;
}

.proof-log-row p{
  color:var(--premium-muted);
}

.proof-log-row strong{
  color:var(--premium-ink);
  font-weight:900;
}

/* V19 profile timeline: one polished career arc ending in project proof. */
.profile-timeline{
  display:grid;
  gap:clamp(20px, 3vw, 34px);
  margin:clamp(20px, 3.4vw, 40px) 0;
  padding:clamp(18px, 3vw, 34px) 0 clamp(24px, 3.4vw, 44px);
  border-top:1px solid rgba(17,19,15,.18);
  border-bottom:1px solid rgba(17,19,15,.18);
}

.profile-timeline-head{
  display:grid;
  grid-template-columns:minmax(170px, .34fr) minmax(0, 1fr);
  gap:clamp(18px, 4vw, 70px);
  align-items:end;
}

.profile-timeline-head h2{
  max-width:900px;
  margin:0;
  color:var(--premium-ink);
  font-size:clamp(2.4rem, 5.4vw, 5.4rem);
  line-height:.94;
  letter-spacing:0;
}

.profile-timeline-head p{
  max-width:820px;
  margin:12px 0 0;
  color:var(--premium-muted);
  font-size:clamp(1rem, 1.35vw, 1.18rem);
  line-height:1.56;
}

.timeline-rail{
  position:relative;
  display:grid;
  gap:0;
}

.timeline-rail::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:158px;
  width:1px;
  background:linear-gradient(180deg, var(--premium-blue), var(--premium-copper), rgba(17,19,15,.18));
}

.timeline-node{
  position:relative;
  display:grid;
  grid-template-columns:190px minmax(0, 1fr);
  gap:clamp(18px, 3vw, 42px);
  min-width:0;
  padding:clamp(18px, 2.4vw, 30px) 0;
  border-top:1px solid rgba(17,19,15,.12);
}

.timeline-node:first-child{
  border-top:0;
}

.timeline-marker{
  position:relative;
  display:grid;
  align-content:start;
  justify-items:start;
  min-width:0;
}

.timeline-marker span{
  color:var(--premium-blue);
  font-family:var(--mono);
  font-size:clamp(.82rem, 1.1vw, 1rem);
  font-weight:900;
  letter-spacing:.02em;
  line-height:1.15;
  text-transform:uppercase;
}

.timeline-marker i{
  position:absolute;
  top:4px;
  right:28px;
  width:11px;
  height:11px;
  border:2px solid #fffdf8;
  border-radius:999px;
  background:var(--premium-copper);
  box-shadow:0 0 0 1px rgba(168,70,52,.38), 0 0 0 8px rgba(168,70,52,.08);
}

.timeline-copy{
  display:grid;
  grid-template-columns:minmax(190px, .36fr) minmax(0, 1fr);
  gap:10px clamp(18px, 3vw, 40px);
  align-items:start;
  min-width:0;
}

.timeline-label{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.timeline-copy h3{
  grid-column:1;
  margin:0;
  color:var(--premium-ink);
  font-size:clamp(1.5rem, 2.6vw, 2.7rem);
  line-height:.98;
  letter-spacing:0;
}

.timeline-copy p{
  grid-column:2;
  grid-row:1 / span 3;
  max-width:760px;
  margin:0;
  color:var(--premium-muted);
  font-size:1rem;
  line-height:1.58;
}

.timeline-tags{
  grid-column:1;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:4px;
}

.timeline-tags b{
  padding:6px 8px;
  border:1px solid rgba(17,19,15,.13);
  border-radius:999px;
  background:rgba(255,253,248,.72);
  color:var(--premium-ink);
  font-size:.72rem;
  line-height:1;
  white-space:nowrap;
}

.timeline-node-projects{
  padding-bottom:0;
}

.timeline-node-projects .timeline-copy{
  grid-template-columns:minmax(190px, .28fr) minmax(0, 1fr);
}

.timeline-node-projects .timeline-copy p{
  max-width:820px;
}

.timeline-project-grid{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1px;
  margin-top:18px;
  border:1px solid rgba(17,19,15,.14);
  border-radius:12px;
  background:rgba(17,19,15,.12);
  overflow:hidden;
}

.timeline-project{
  display:grid;
  align-content:start;
  gap:8px;
  min-width:0;
  min-height:210px;
  padding:18px;
  background:#fffdf8;
  color:var(--premium-ink);
  text-decoration:none;
  transition:background .24s ease, transform .24s var(--ease-lift);
}

.timeline-project:hover{
  background:rgba(255,253,248,.86);
  transform:translateY(-2px);
}

.timeline-project span{
  color:var(--premium-copper);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.timeline-project strong{
  font-size:1.24rem;
  line-height:1.05;
}

.timeline-project p{
  grid-column:auto;
  grid-row:auto;
  margin:0;
  color:var(--premium-muted);
  font-size:.9rem;
  line-height:1.46;
}

.timeline-project em{
  align-self:end;
  margin-top:auto;
  color:var(--premium-blue);
  font-size:.78rem;
  font-style:normal;
  font-weight:900;
}

@media (max-width: 980px){
  .product-dossier-grid,
  .product-dossier-head{
    grid-template-columns:1fr;
  }

  .product-action{
    width:max-content;
  }

  .brand-system-grid,
  .platform-map{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .start-here{
    grid-template-columns:1fr;
  }

  .start-path{
    grid-template-columns:78px minmax(140px, .65fr) minmax(0, 1fr);
  }

  .start-path em{
    grid-column:2 / -1;
  }

  .proof-log-row{
    grid-template-columns:1fr;
    gap:8px;
  }
}

@media (max-width: 680px){
  .product-dossier,
  .section-feature .product-dossier:first-child{
    padding:18px;
    border-radius:12px;
  }

  .product-dossier h3,
  .section-feature .product-dossier h3{
    font-size:2.35rem;
  }

  .product-experience ol{
    grid-template-columns:1fr;
  }

  .product-experience li{
    min-height:48px;
  }

  .brand-system{
    padding:18px;
    border-radius:14px;
  }

  .brand-system-grid,
  .platform-map,
  .start-here-grid{
    grid-template-columns:1fr;
  }

  .start-path{
    grid-template-columns:1fr;
    gap:8px;
    padding:16px 0;
  }

  .start-path:hover{
    padding-left:0;
  }

  .brand-system-card,
  .platform-map div,
  .start-path{
    min-height:0;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }

  .motion-ready .motion-item{
    opacity:1;
    transform:none;
    filter:none;
  }
}

/* R13 mobile readability guard: the homepage must never require sideways scrolling. */
@media (max-width: 680px){
  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }

  .site{
    width:100%;
    max-width:100%;
    padding:0 12px;
    overflow:hidden;
  }

  .topbar{
    grid-template-columns:1fr;
    gap:10px;
    overflow:visible;
  }

  .brand{
    min-width:0;
    font-size:1.7rem;
  }

  .main-nav{
    justify-self:stretch;
    flex-wrap:nowrap;
    gap:6px;
    overflow-x:auto;
    padding:4px;
    border:1px solid rgba(17,19,15,.12);
    border-radius:999px;
    background:rgba(255,253,248,.7);
    -webkit-overflow-scrolling:touch;
  }

  .main-nav a{
    flex:0 0 auto;
    min-height:36px;
    padding:7px 14px;
  }

  .context-strip{
    grid-template-columns:1fr;
    overflow:visible;
  }

  .hero-compact,
  .section-feature{
    width:100%;
    max-width:366px;
    overflow:hidden;
  }

  .hero-compact h1,
  .hero-compact h1 em,
  .hero-compact .lede,
  .section-feature .section-head h2,
  .section-feature .section-head p{
    max-width:100%;
    overflow-wrap:anywhere;
    white-space:normal;
  }

  .hero-compact h1{
    font-size:clamp(2.45rem, 11vw, 3.1rem);
    line-height:1;
  }

  .home-command{
    display:block;
    min-width:0;
    width:100%;
    max-width:366px;
  }

  .identity-rail,
  .command-workspace,
  .proof-rail{
    width:100%;
    max-width:366px;
    min-width:0;
    padding-left:0;
    padding-right:0;
    border-left:0;
  }

  .identity-rail h1{
    width:100%;
    max-width:366px;
    font-size:clamp(2.35rem, 11.4vw, 3.1rem);
    line-height:.96;
    overflow-wrap:break-word;
  }

  .identity-rail h1 em{
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .identity-rail p,
  .focus-panel p,
  .route-console p,
  .proof-metrics span,
  .proof-note strong,
  .portrait-chip strong{
    width:100%;
    max-width:366px;
    overflow-wrap:anywhere;
  }

  .identity-rail p,
  .focus-panel,
  .focus-panel p,
  .route-console,
  .proof-metrics,
  .proof-note{
    max-width:366px;
  }

  .home-actions,
  .identity-rail .hero-socials{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .home-actions .btn,
  .identity-rail .hero-socials a{
    width:100%;
    min-width:0;
    justify-content:center;
  }

  .mode-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:2px;
    -webkit-overflow-scrolling:touch;
  }

  .mode-tabs button{
    flex:0 0 auto;
  }

  .portrait-chip{
    grid-template-columns:88px minmax(0, 1fr);
    align-items:end;
  }

  .proof-metrics div{
    grid-template-columns:88px minmax(0, 1fr);
    min-width:0;
  }

  .metric-grid{
    width:100%;
    max-width:366px;
    grid-template-columns:1fr;
    overflow:hidden;
  }

  .metric-grid div{
    min-width:0;
    max-width:100%;
  }

  .metric-grid strong,
  .metric-grid span{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .route-console a{
    grid-template-columns:34px minmax(0, 1fr);
    gap:7px 12px;
  }

  .route-console a p{
    grid-column:2;
  }

  .home-workbench{
    display:block;
    max-width:366px;
    padding:20px 0 24px;
  }

  .workbench-head{
    margin-bottom:14px;
  }

  .workbench-head h2{
    max-width:100%;
    font-size:2rem;
  }

  .home-workbench .workbench-product{
    grid-template-columns:minmax(0, 1fr) auto;
    gap:6px 12px;
    padding:13px 0;
  }

  .home-workbench .workbench-product span{
    grid-column:1;
  }

  .home-workbench .workbench-product em{
    grid-column:2;
    justify-self:end;
  }

  .home-workbench .workbench-product strong{
    grid-column:1 / -1;
  }

  .home-workbench .workbench-product p{
    grid-column:1 / -1;
    max-width:100%;
  }

  .start-here,
  .proof-log,
  .brand-system{
    width:100%;
    max-width:366px;
    padding:18px;
    border-radius:14px;
    overflow:hidden;
  }

  .start-here-head h2,
  .proof-log-head h2,
  .brand-system-head h2{
    max-width:100%;
    font-size:clamp(1.95rem, 8.6vw, 2.35rem);
    line-height:1.04;
    overflow-wrap:anywhere;
  }

  .start-here-head p,
  .proof-log-head p,
  .brand-system-head p{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .brand-system-grid,
  .platform-map{
    grid-template-columns:1fr;
    max-width:100%;
  }

  .brand-system-card,
  .platform-map div{
    min-width:0;
    max-width:100%;
    padding:16px;
  }

  .brand-system-card h3,
  .brand-system-card p,
  .platform-map strong,
  .platform-map p{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .brand-system-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .brand-system-actions .btn{
    width:100%;
    justify-content:center;
  }

  .project-ledger{
    width:100%;
    max-width:366px;
  }

  .project-ledger-row{
    grid-template-columns:minmax(0, 1fr) auto;
    gap:8px 12px;
    padding:16px 0;
  }

  .project-ledger-meta{
    grid-column:1;
    display:flex;
    gap:10px;
    align-items:center;
  }

  .project-ledger-action{
    grid-column:2;
    justify-self:end;
  }

  .project-ledger-main,
  .project-ledger-detail{
    grid-column:1 / -1;
  }

  .project-ledger-detail p{
    grid-template-columns:1fr;
    gap:4px;
  }

  .writing-ledger{
    width:100%;
    max-width:366px;
  }

  .writing-ledger-row{
    grid-template-columns:1fr;
    gap:7px;
    padding:14px 0;
  }

  .writing-ledger-row h3,
  .writing-ledger-row p{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .profile-timeline{
    width:100%;
    max-width:366px;
    overflow:hidden;
    padding:22px 0 28px;
  }

  .profile-timeline-head,
  .timeline-node,
  .timeline-copy,
  .timeline-node-projects .timeline-copy{
    grid-template-columns:1fr;
    gap:10px;
  }

  .profile-timeline-head h2,
  .profile-timeline-head p,
  .timeline-copy h3,
  .timeline-copy p,
  .timeline-project strong,
  .timeline-project p{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .profile-timeline-head h2{
    font-size:clamp(2rem, 9vw, 2.55rem);
    line-height:1;
  }

  .timeline-rail::before{
    left:8px;
  }

  .timeline-node{
    padding:22px 0 22px 26px;
  }

  .timeline-marker{
    display:block;
  }

  .timeline-marker i{
    left:-26px;
    right:auto;
    top:3px;
  }

  .timeline-copy p{
    grid-column:auto;
    grid-row:auto;
  }

  .timeline-tags{
    grid-column:auto;
  }

  .timeline-tags b{
    max-width:100%;
    white-space:normal;
  }

  .timeline-project-grid{
    grid-template-columns:1fr;
    max-width:100%;
    margin-top:12px;
  }

  .timeline-project{
    min-height:0;
    padding:16px;
  }

  .table,
  .route-grid{
    width:100%;
    max-width:366px;
    min-width:0;
    overflow:hidden;
  }

  .table-row{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .table-row span,
  .table-row b,
  .table-row p,
  .text-card,
  .text-card strong,
  .text-card p{
    max-width:100%;
    min-width:0;
    overflow-wrap:anywhere;
    white-space:normal;
  }

  .route-grid,
  .route-grid .text-card{
    grid-template-columns:1fr;
  }

  .text-card{
    width:100%;
  }

  .newsletter-panel{
    width:100%;
    max-width:366px;
    overflow:hidden;
  }

  .newsletter-copy,
  .newsletter-form{
    min-width:0;
    max-width:100%;
  }

  .newsletter-copy h2,
  .newsletter-copy p,
  .form-status{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .newsletter-proof{
    max-width:100%;
    flex-wrap:wrap;
  }

  .newsletter-form input,
  .newsletter-form button{
    width:100%;
    max-width:100%;
  }

  .start-path,
  .home-workbench .workbench-product{
    width:100%;
    max-width:100%;
  }

  .start-path{
    grid-template-columns:1fr;
    gap:7px;
    padding:14px 0;
  }

  .start-path strong,
  .start-path p,
  .start-path em{
    grid-column:auto;
    max-width:100%;
    overflow-wrap:anywhere;
  }
}
