:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-strong: #fffdf7;
  --paper-soft: #ebe7db;
  --ink: #151514;
  --ink-soft: #2f302c;
  --muted: #68665f;
  --line: #d7d0c0;
  --line-dark: rgba(255, 255, 255, 0.22);
  --red: #c94127;
  --green: #126f60;
  --blue: #234f9f;
  --gold: #a37010;
  --brass: #d1a64a;
  --steel: #b9b4a8;
  --oxblood: #8f2c1f;
  --copper: #b85b34;
  --platinum: #e4dfd2;
  --carbon: #0b0b09;
  --graphite: #1c1b18;
  --shadow: 0 20px 56px rgba(21, 21, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.7rem;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--paper), #eee9db 52%, var(--paper));
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(209, 166, 74, 0.34);
  color: var(--ink);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-strong);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.9rem;
  padding: 0.85rem 5vw;
  border-bottom: 1px solid rgba(209, 166, 74, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08), transparent 28%),
    rgba(11, 11, 10, 0.92);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 166, 74, 0.72), rgba(255, 253, 247, 0.38), transparent);
  pointer-events: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 2.72rem;
  height: 2.72rem;
  flex: 0 0 auto;
  border-radius: 7px;
  border: 1px solid rgba(209, 166, 74, 0.38);
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.22), transparent 55%),
    #0e0e0c;
  color: var(--paper-strong);
  font-weight: 850;
  box-shadow:
    0 0 0 1px rgba(255, 253, 247, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.brand-mark strong,
.brand-mark small {
  display: block;
  letter-spacing: 0;
}

.brand-mark strong {
  color: var(--paper-strong);
  font-size: 0.98rem;
}

.brand-mark small {
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 0.82rem;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  border-color: rgba(209, 166, 74, 0.4);
  background: rgba(255, 253, 247, 0.08);
  color: var(--paper-strong);
  outline: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.38rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0;
  transform: translateY(0.18rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  padding: 5.8rem 5vw;
  overflow: hidden;
  isolation: isolate;
  background-color: #11110f;
  background-position: center;
  background-size: cover;
  color: var(--paper-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.93), rgba(11, 11, 10, 0.77) 48%, rgba(11, 11, 10, 0.34)),
    linear-gradient(0deg, rgba(11, 11, 10, 0.44), rgba(11, 11, 10, 0.16));
}

.portfolio-hero {
  grid-template-columns: minmax(22rem, 0.82fr) minmax(30rem, 1.18fr);
  gap: 3.2rem;
  align-items: center;
  min-height: calc(92svh - 4.9rem);
  padding-block: 4.4rem;
  background-image: none;
}

.founder-hero {
  grid-template-columns: minmax(22rem, 0.9fr) minmax(28rem, 1.1fr);
  gap: 3.2rem;
  align-items: center;
  min-height: calc(86svh - 4.9rem);
  padding-block: 4.4rem;
  background-image: none;
}

.founder-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.9) 45%, rgba(7, 7, 6, 0.62)),
    linear-gradient(135deg, rgba(209, 166, 74, 0.16), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.09) 0 1px, transparent 1px 5.2rem),
    repeating-linear-gradient(0deg, rgba(255, 253, 247, 0.07) 0 1px, transparent 1px 5.2rem),
    #080806;
}

.founder-hero::after {
  content: "";
  position: absolute;
  inset: 12% 0 auto 43%;
  z-index: -1;
  height: 30rem;
  background:
    linear-gradient(115deg, transparent, rgba(255, 253, 247, 0.13) 34%, rgba(209, 166, 74, 0.16) 48%, transparent 64%),
    linear-gradient(165deg, transparent, rgba(185, 180, 168, 0.12) 43%, transparent 64%);
  transform: skewY(-12deg);
  opacity: 0.95;
}

.portfolio-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.9) 37%, rgba(7, 7, 6, 0.64)),
    linear-gradient(135deg, rgba(209, 166, 74, 0.18), transparent 34%),
    linear-gradient(155deg, transparent 0 58%, rgba(143, 44, 31, 0.13) 72%, transparent 88%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.035), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.11) 0 1px, transparent 1px 5.2rem),
    repeating-linear-gradient(0deg, rgba(255, 253, 247, 0.08) 0 1px, transparent 1px 5.2rem),
    #080806;
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 7% -16% auto 38%;
  z-index: -1;
  height: 29rem;
  background:
    linear-gradient(112deg, transparent, rgba(255, 253, 247, 0.12) 36%, rgba(209, 166, 74, 0.18) 48%, transparent 66%),
    linear-gradient(132deg, transparent, rgba(185, 180, 168, 0.12) 42%, transparent 62%);
  transform: skewY(-12deg);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(50rem, 100%);
}

.portfolio-hero .hero-content {
  width: min(42rem, 100%);
}

.portfolio-hero .hero-content::before,
.founder-hero .hero-content::before {
  content: "";
  display: block;
  width: 7.2rem;
  height: 0.22rem;
  margin-bottom: 1.35rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brass) 0 56%, rgba(255, 253, 247, 0.64) 56% 72%, transparent 72%);
  box-shadow: 0 0 22px rgba(209, 166, 74, 0.18);
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff9c7e;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: 4.35rem;
  line-height: 0.98;
}

.portfolio-hero h1 {
  max-width: 11ch;
  font-size: 5.05rem;
  background: linear-gradient(180deg, #fffdf7 0%, #fff7d1 42%, #d1a64a 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--paper-strong);
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 18px 46px rgba(209, 166, 74, 0.12),
    0 0 1px rgba(255, 253, 247, 0.65);
}

.hero-statement {
  max-width: 20rem;
  margin-top: 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--brass);
  color: #ffdf72;
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1.12;
}

h2 {
  margin: 0;
  font-size: 2.32rem;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 43rem;
  margin-top: 1.25rem;
  color: rgba(255, 253, 247, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 34rem;
  padding: 0;
  margin: 1.45rem 0 0;
}

.hero-proof div {
  padding: 0.82rem;
  border: 1px solid rgba(209, 166, 74, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.14), rgba(255, 253, 247, 0.052)),
    rgba(255, 253, 247, 0.055);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 253, 247, 0.12);
}

.hero-proof dt {
  color: var(--paper-strong);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 0.35rem 0 0;
  color: rgba(255, 253, 247, 0.66);
  font-size: 0.77rem;
  line-height: 1.25;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  max-width: 37rem;
  margin-top: 0.9rem;
}

.hero-ribbon span {
  position: relative;
  padding: 0.45rem 0.62rem 0.45rem 1.1rem;
  border: 1px solid rgba(209, 166, 74, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(120deg, rgba(209, 166, 74, 0.15), rgba(255, 253, 247, 0.04)),
    rgba(255, 253, 247, 0.055);
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.08);
}

.hero-ribbon span::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 0.28rem;
  height: 0.82rem;
  background: var(--brass);
  transform: translateY(-50%) skewX(-18deg);
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 35rem;
}

.stage-frame {
  position: relative;
  width: min(100%, 45rem);
  aspect-ratio: 1.08;
  margin-left: auto;
  border: 1px solid rgba(209, 166, 74, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(255, 253, 247, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(209, 166, 74, 0.12), rgba(255, 253, 247, 0.035) 46%, rgba(143, 44, 31, 0.1)),
    rgba(8, 8, 7, 0.72);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 253, 247, 0.04),
    0 0 86px rgba(209, 166, 74, 0.12),
    inset 0 1px 0 rgba(255, 253, 247, 0.14);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(0);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.stage-frame:hover {
  box-shadow:
    0 50px 140px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(209, 166, 74, 0.12),
    0 0 92px rgba(209, 166, 74, 0.12),
    inset 0 1px 0 rgba(255, 253, 247, 0.18);
  transform: perspective(1000px) rotateY(-5deg) rotateX(1deg) translateY(-0.25rem);
}

.stage-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, transparent 0 46%, rgba(209, 166, 74, 0.08) 47% 48%, transparent 49%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.08) 0 1px, transparent 1px 4.25rem),
    repeating-linear-gradient(0deg, rgba(255, 253, 247, 0.06) 0 1px, transparent 1px 4.25rem);
  opacity: 0.82;
}

.stage-frame::after {
  content: "";
  position: absolute;
  inset: -18% -24%;
  background: linear-gradient(108deg, transparent 31%, rgba(255, 253, 247, 0.16) 42%, transparent 53%);
  transform: translateX(-38%);
  animation: stage-sweep 7s ease-in-out infinite;
}

.stage-corner {
  position: absolute;
  z-index: 5;
  width: 3.2rem;
  height: 3.2rem;
  opacity: 0.86;
}

.corner-tl {
  top: 0.72rem;
  left: 0.72rem;
  border-top: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
}

.corner-tr {
  top: 0.72rem;
  right: 0.72rem;
  border-top: 2px solid var(--brass);
  border-right: 2px solid var(--brass);
}

.corner-bl {
  bottom: 0.72rem;
  left: 0.72rem;
  border-bottom: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
}

.corner-br {
  right: 0.72rem;
  bottom: 0.72rem;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
}

.stage-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0 42%, rgba(209, 166, 74, 0.13) 50%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.74;
  transform: translateY(-62%);
  animation: stage-scan 5.8s ease-in-out infinite;
}

.stage-meter {
  position: absolute;
  top: 3.35rem;
  left: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.32rem;
  width: 8.4rem;
  padding: 0.58rem;
  border: 1px solid rgba(209, 166, 74, 0.2);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.12), rgba(255, 253, 247, 0.035)),
    rgba(8, 8, 7, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.08);
}

.stage-meter span {
  display: block;
  height: 0.32rem;
  border-radius: 4px;
  background:
    linear-gradient(90deg, var(--brass) var(--meter, 58%), rgba(255, 253, 247, 0.11) var(--meter, 58%)),
    rgba(255, 253, 247, 0.08);
}

.stage-meter span:nth-child(1) {
  --meter: 78%;
}

.stage-meter span:nth-child(2) {
  --meter: 62%;
}

.stage-meter span:nth-child(3) {
  --meter: 86%;
}

.stage-meter span:nth-child(4) {
  --meter: 48%;
}

.stage-header {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-rail {
  position: absolute;
  z-index: 1;
  height: 0.22rem;
  border-radius: 8px;
  transform-origin: left center;
}

.rail-brass {
  left: 8%;
  top: 36%;
  width: 68%;
  background: linear-gradient(90deg, transparent, var(--steel), var(--brass), transparent);
  box-shadow: 0 0 22px rgba(209, 166, 74, 0.34);
  transform: rotate(21deg);
}

.rail-steel {
  left: 17%;
  top: 65%;
  width: 65%;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 247, 0.72), var(--brass), transparent);
  box-shadow: 0 0 22px rgba(255, 253, 247, 0.2);
  transform: rotate(-25deg);
}

.rail-platinum {
  left: 31%;
  top: 22%;
  width: 61%;
  background: linear-gradient(90deg, transparent, var(--brass), rgba(255, 253, 247, 0.76), transparent);
  box-shadow: 0 0 22px rgba(209, 166, 74, 0.3);
  transform: rotate(42deg);
}

.rail-gold {
  left: 13%;
  top: 82%;
  width: 75%;
  background: linear-gradient(90deg, transparent, rgba(185, 180, 168, 0.82), var(--brass), transparent);
  box-shadow: 0 0 20px rgba(185, 180, 168, 0.22);
  transform: rotate(-8deg);
}

.stage-tile,
.stage-core {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(209, 166, 74, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 253, 247, 0.2), rgba(255, 253, 247, 0.055) 54%, rgba(209, 166, 74, 0.08)),
    rgba(17, 17, 15, 0.88);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 253, 247, 0.12);
}

.stage-tile {
  position: absolute;
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  backdrop-filter: blur(14px);
}

.stage-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.18rem;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, transparent, var(--brass), rgba(255, 253, 247, 0.7), transparent);
}

.stage-tile::after {
  content: "";
  position: absolute;
  top: 0.82rem;
  right: 0.82rem;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid rgba(209, 166, 74, 0.7);
  background: rgba(209, 166, 74, 0.28);
  box-shadow: 0 0 16px rgba(209, 166, 74, 0.32);
  transform: rotate(45deg);
}

.stage-tile small {
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-tile strong {
  color: var(--paper-strong);
  font-size: 1rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.stage-tile span {
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.78rem;
}

.tile-fill {
  top: 16%;
  left: 7%;
  width: 35%;
}

.tile-notary {
  top: 18%;
  right: 7%;
  width: 38%;
}

.tile-mess {
  right: 10%;
  bottom: 16%;
  width: 36%;
}

.tile-grouping {
  left: 8%;
  bottom: 14%;
  width: 35%;
}

.tile-research {
  left: 33%;
  top: 54%;
  width: 34%;
}

.stage-core {
  left: 50%;
  top: 43%;
  display: grid;
  place-items: center;
  width: 8.4rem;
  height: 8.4rem;
  transform: translate(-50%, -50%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.26), rgba(185, 180, 168, 0.16)),
    rgba(17, 17, 15, 0.96);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(209, 166, 74, 0.16),
    inset 0 1px 0 rgba(255, 253, 247, 0.12);
  animation: core-breathe 4.8s ease-in-out infinite;
}

.stage-core::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 6px;
}

.stage-core span,
.stage-core strong {
  transform: rotate(-45deg);
}

.stage-core span {
  color: var(--paper-strong);
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
}

.stage-core strong {
  margin-top: -1.7rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.founder-stage {
  position: relative;
  z-index: 1;
  min-height: 32rem;
}

.founder-frame {
  position: relative;
  width: min(100%, 42rem);
  aspect-ratio: 1.22;
  margin-left: auto;
  border: 1px solid rgba(209, 166, 74, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 253, 247, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(209, 166, 74, 0.12), rgba(255, 253, 247, 0.035) 50%, rgba(143, 44, 31, 0.1)),
    rgba(8, 8, 7, 0.72);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.48),
    0 0 76px rgba(209, 166, 74, 0.1),
    inset 0 1px 0 rgba(255, 253, 247, 0.13);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg);
}

.founder-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, transparent 0 48%, rgba(209, 166, 74, 0.08) 49% 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.08) 0 1px, transparent 1px 4.35rem),
    repeating-linear-gradient(0deg, rgba(255, 253, 247, 0.06) 0 1px, transparent 1px 4.35rem);
}

.founder-frame::after {
  content: "";
  position: absolute;
  inset: -18% -24%;
  background: linear-gradient(108deg, transparent 30%, rgba(255, 253, 247, 0.14) 42%, rgba(209, 166, 74, 0.11) 49%, transparent 58%);
  transform: translateX(20%);
}

.founder-frame-header {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.credential-card,
.founder-core {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(209, 166, 74, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 253, 247, 0.18), rgba(255, 253, 247, 0.055) 56%, rgba(209, 166, 74, 0.08)),
    rgba(17, 17, 15, 0.9);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 253, 247, 0.12);
}

.credential-card {
  display: grid;
  gap: 0.35rem;
  width: 40%;
  padding: 0.95rem;
}

.credential-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.18rem;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, transparent, var(--brass), rgba(255, 253, 247, 0.7), transparent);
}

.credential-card small {
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-card strong {
  color: var(--paper-strong);
  font-size: 1rem;
  line-height: 1.1;
}

.credential-card span {
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.76rem;
}

.credential-teaching {
  top: 18%;
  left: 7%;
}

.credential-software {
  top: 20%;
  right: 7%;
}

.credential-public {
  right: 9%;
  bottom: 17%;
}

.credential-writing {
  left: 8%;
  bottom: 15%;
}

.founder-core {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 7.4rem;
  height: 7.4rem;
  transform: translate(-50%, -50%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.26), rgba(185, 180, 168, 0.16)),
    rgba(17, 17, 15, 0.96);
}

.founder-core span,
.founder-core strong {
  transform: rotate(-45deg);
}

.founder-core span {
  color: var(--paper-strong);
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
}

.founder-core strong {
  margin-top: -1.55rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.05rem;
  border-radius: 7px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button.primary {
  background:
    linear-gradient(135deg, #e44b2e, var(--oxblood) 52%, #d1a64a 150%);
  color: #fff;
  box-shadow: 0 16px 38px rgba(201, 65, 39, 0.28);
}

.button.secondary {
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.13), rgba(255, 253, 247, 0.04)),
    rgba(255, 255, 255, 0.06);
  color: var(--paper-strong);
}

.button:hover,
.button:focus-visible {
  filter: saturate(1.08) brightness(1.02);
  outline: 3px solid rgba(201, 65, 39, 0.27);
  outline-offset: 3px;
  transform: translateY(-1px);
}

.intro-band {
  padding: 3.1rem 5vw;
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.intro-band:not(.founder-summary) {
  border-block: 1px solid rgba(209, 166, 74, 0.26);
  background:
    linear-gradient(90deg, rgba(209, 166, 74, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.08), transparent 55%),
    #141411;
  color: var(--paper-strong);
}

.intro-band:not(.founder-summary) .section-kicker {
  color: var(--brass);
}

.intro-band:not(.founder-summary) h2 {
  color: var(--paper-strong);
}

.intro-band:not(.founder-summary) .intro-grid p {
  color: rgba(255, 253, 247, 0.72);
}

.intro-band:not(.founder-summary) .stat-list li {
  border-color: rgba(255, 253, 247, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.11), rgba(255, 253, 247, 0.045)),
    rgba(255, 253, 247, 0.045);
}

.intro-band:not(.founder-summary) .stat-list span {
  color: rgba(255, 253, 247, 0.66);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(20rem, 1.2fr) minmax(16rem, 0.85fr);
  gap: 2.1rem;
  align-items: start;
  max-width: 76rem;
  margin: 0 auto;
}

.intro-grid p {
  color: #3e3d38;
  font-size: 1.04rem;
}

.stat-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stat-list li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.35rem;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7ef;
}

.stat-list strong {
  font-size: 1.38rem;
}

.stat-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  max-width: 76rem;
  margin: 0 auto;
  padding: 5.4rem 5vw;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.section-heading p,
.contact-content p,
.callout-panel p {
  color: var(--muted);
  font-size: 1.03rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: 2rem;
  align-items: end;
  max-width: none;
}

.feature-section {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 6.2rem 5vw 3.3rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(244, 241, 232, 0.96)),
    radial-gradient(ellipse at 50% 0%, rgba(209, 166, 74, 0.14), transparent 48%);
  overflow: hidden;
}

.feature-section::before {
  content: "";
  position: absolute;
  inset: 3.5rem 5vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 166, 74, 0.62), transparent);
}

.feature-section::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 44%;
  z-index: 0;
  height: 14rem;
  background:
    linear-gradient(112deg, transparent, rgba(209, 166, 74, 0.18) 46%, transparent 62%),
    linear-gradient(140deg, transparent, rgba(143, 44, 31, 0.08) 52%, transparent 68%);
  transform: skewY(-10deg);
  pointer-events: none;
}

.feature-section > * {
  position: relative;
  z-index: 1;
  max-width: 76rem;
  margin-inline: auto;
}

.feature-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.info-card,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  padding: 1.2rem 1.35rem 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(244, 239, 229, 0.9)),
    var(--paper-strong);
  box-shadow:
    0 28px 68px rgba(21, 21, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  overflow: hidden;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.feature-card:hover {
  border-color: rgba(209, 166, 74, 0.58);
  box-shadow:
    0 34px 78px rgba(21, 21, 20, 0.14),
    0 0 0 1px rgba(209, 166, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-0.25rem);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--ink), var(--brass), transparent 78%);
}

.feature-card::after {
  content: attr(data-code);
  position: absolute;
  right: 0.7rem;
  bottom: 1rem;
  color: rgba(21, 21, 20, 0.036);
  font-size: 3.35rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
  color: rgba(21, 21, 20, 0.52);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-meta span:first-child {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(209, 166, 74, 0.5);
  border-radius: 7px;
  color: #8b681e;
}

.feature-meta span:last-child {
  color: rgba(21, 21, 20, 0.46);
}

.feature-fill {
  --feature-accent: #8b681e;
}

.feature-notary {
  --feature-accent: #8b681e;
}

.feature-mess {
  --feature-accent: #8b681e;
}

.feature-card .card-kicker {
  color: var(--feature-accent, var(--red));
}

.feature-card h3 {
  margin-top: 0.55rem;
  font-size: 1.55rem;
}

.feature-card p:not(.card-kicker),
.info-card p {
  margin-top: 0.9rem;
  color: #45443f;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: auto 0 0;
  padding-top: 1.2rem;
  list-style: none;
}

.tag-row li {
  padding: 0.42rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f2e8;
  color: #33322e;
  font-size: 0.78rem;
  font-weight: 780;
}

.portfolio-section {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 5.7rem 5vw 5.1rem;
  background:
    linear-gradient(120deg, transparent 0 56%, rgba(209, 166, 74, 0.12) 57% 58%, transparent 59%),
    linear-gradient(180deg, #f3eee2, #e9e2d3),
    var(--paper);
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 2.4rem 5vw auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(21, 21, 20, 0.04), rgba(21, 21, 20, 0.22), rgba(209, 166, 74, 0.5), transparent);
}

.portfolio-section > * {
  position: relative;
  z-index: 1;
  max-width: 76rem;
  margin-inline: auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.pillar-card {
  position: relative;
  min-height: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(244, 238, 226, 0.86)),
    var(--paper-strong);
  box-shadow:
    0 18px 48px rgba(21, 21, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.58) 45%, transparent 62%);
  opacity: 0.36;
  pointer-events: none;
}

.pillar-card > * {
  position: relative;
  z-index: 1;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.42rem;
  background: linear-gradient(180deg, var(--ink), var(--brass), var(--steel));
}

.pillar-header {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar-header span {
  color: var(--accent, var(--ink));
  font-weight: 900;
}

.pillar-card > p {
  margin-top: 1rem;
  color: #4a4944;
}

.project-list {
  display: grid;
  gap: 0.78rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.project-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.82rem 0 0;
  border-top: 1px solid rgba(215, 208, 192, 0.9);
}

.project-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-list strong {
  color: var(--ink);
}

.project-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.portfolio-index {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1.8rem;
  align-items: start;
  margin-top: 1.25rem;
  padding: 1.45rem;
  border: 1px solid rgba(209, 166, 74, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.08), rgba(255, 253, 247, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.045) 0 1px, transparent 1px 4.75rem),
    #161513;
  color: var(--paper-strong);
  box-shadow:
    0 28px 70px rgba(21, 21, 20, 0.18),
    inset 0 1px 0 rgba(255, 253, 247, 0.11);
  overflow: hidden;
}

.portfolio-index h3 {
  max-width: 24rem;
  color: var(--paper-strong);
}

.portfolio-index .section-kicker {
  color: var(--brass);
}

.portfolio-index::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.2rem;
  background: linear-gradient(90deg, var(--brass), rgba(255, 253, 247, 0.7), transparent 72%);
}

.index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.index-list li {
  padding: 0.48rem 0.66rem;
  border: 1px solid rgba(209, 166, 74, 0.26);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.13), rgba(255, 253, 247, 0.035)),
    rgba(255, 253, 247, 0.065);
  color: rgba(255, 253, 247, 0.84);
  font-size: 0.84rem;
  font-weight: 780;
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.08);
}

.accent-red {
  --accent: #8b681e;
}

.accent-green {
  --accent: #8b681e;
}

.accent-blue {
  --accent: #8b681e;
}

.accent-gold {
  --accent: #8b681e;
}

.principles-section {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 6.2rem 5vw;
  border-block: 1px solid rgba(209, 166, 74, 0.24);
  background:
    linear-gradient(110deg, rgba(209, 166, 74, 0.14), transparent 34%),
    linear-gradient(145deg, transparent 0 60%, rgba(143, 44, 31, 0.12) 72%, transparent 86%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.05), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.055) 0 1px, transparent 1px 5rem),
    #11110f;
  color: var(--paper-strong);
  overflow: hidden;
}

.principles-section::before {
  content: "";
  position: absolute;
  inset: 10% -14% auto 44%;
  height: 22rem;
  background: linear-gradient(115deg, transparent, rgba(255, 253, 247, 0.12) 42%, rgba(209, 166, 74, 0.1) 52%, transparent 68%);
  transform: skewY(-12deg);
}

.principles-section .section-heading,
.principles-section .principle-grid {
  position: relative;
  z-index: 1;
  max-width: 76rem;
  margin-inline: auto;
}

.principles-section .section-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: 2rem;
  align-items: end;
}

.principles-section .section-kicker {
  color: var(--brass);
}

.principles-section h2 {
  max-width: 16ch;
  color: var(--paper-strong);
}

.info-card {
  min-height: 15rem;
  padding: 1.25rem;
}

.principles-section .info-card {
  position: relative;
  min-height: 18rem;
  padding: 1.55rem;
  border-color: rgba(209, 166, 74, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.13), rgba(255, 253, 247, 0.04)),
    rgba(17, 17, 15, 0.72);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(209, 166, 74, 0.04),
    inset 0 1px 0 rgba(255, 253, 247, 0.12);
  overflow: hidden;
}

.principles-section .info-card::before {
  content: attr(data-index);
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(209, 166, 74, 0.42);
  border-radius: 7px;
  background: rgba(209, 166, 74, 0.12);
  color: var(--brass);
  font-weight: 950;
}

.principles-section .info-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  opacity: 0.62;
}

.principles-section .info-card h3 {
  color: var(--paper-strong);
}

.principles-section .info-card p {
  color: rgba(255, 253, 247, 0.7);
}

.callout-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.05rem;
  border: 1px solid rgba(209, 166, 74, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(238, 230, 212, 0.9)),
    var(--paper-strong);
  box-shadow:
    0 26px 70px rgba(21, 21, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.callout-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.42rem;
  background: linear-gradient(180deg, var(--brass), var(--copper), var(--ink));
}

.callout-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -4rem 36%;
  height: 12rem;
  background: linear-gradient(112deg, transparent, rgba(209, 166, 74, 0.18), transparent 64%);
  transform: skewY(-9deg);
  pointer-events: none;
}

.callout-panel > * {
  position: relative;
  z-index: 1;
}

.contact-band {
  position: relative;
  padding: 5.2rem 5vw;
  border-block: 1px solid rgba(209, 166, 74, 0.22);
  background:
    linear-gradient(115deg, rgba(209, 166, 74, 0.12), transparent 31%),
    linear-gradient(160deg, transparent 0 58%, rgba(143, 44, 31, 0.17) 76%, transparent 92%),
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.055) 0 1px, transparent 1px 5.25rem),
    var(--carbon);
  color: var(--paper-strong);
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 1.4rem 5vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 166, 74, 0.64), rgba(255, 253, 247, 0.34), transparent);
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: auto -14% -6rem 46%;
  height: 16rem;
  background: linear-gradient(112deg, transparent, rgba(255, 253, 247, 0.1) 45%, rgba(209, 166, 74, 0.09) 55%, transparent 70%);
  transform: skewY(-10deg);
  pointer-events: none;
}

.founder-contact {
  margin-top: 1rem;
}

.contact-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: 2rem;
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
}

.contact-content .section-kicker {
  color: var(--brass);
}

.contact-content h2 {
  max-width: 14ch;
}

.contact-content p {
  max-width: 38rem;
  margin-top: 1rem;
  color: rgba(255, 253, 247, 0.74);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-list a {
  display: grid;
  gap: 0.25rem;
  padding: 1.08rem;
  border: 1px solid rgba(209, 166, 74, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.12), rgba(255, 253, 247, 0.035)),
    rgba(255, 255, 255, 0.055);
  text-decoration: none;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 253, 247, 0.09);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: rgba(209, 166, 74, 0.72);
  outline: 3px solid rgba(209, 166, 74, 0.22);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.contact-list span {
  color: rgba(255, 253, 247, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--paper-strong);
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.founder-summary {
  border-block-color: rgba(209, 166, 74, 0.32);
  background:
    linear-gradient(135deg, rgba(209, 166, 74, 0.13), transparent 34%),
    linear-gradient(180deg, #fffaf0, #ece4d2);
}

.bridge-section {
  padding-bottom: 2.3rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1.08rem 1.08rem 1.08rem 1.28rem;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(244, 238, 226, 0.88)),
    var(--paper-strong);
  box-shadow:
    0 16px 40px rgba(21, 21, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.24rem;
  background: linear-gradient(180deg, var(--brass), var(--copper), var(--ink));
}

.timeline-date {
  color: #8b681e;
  font-weight: 850;
}

.timeline-item p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.founder-grid-section {
  padding-top: 0;
}

.founder-grid-section .info-card {
  position: relative;
  border-color: rgba(209, 166, 74, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(241, 235, 220, 0.9)),
    var(--paper-strong);
  box-shadow:
    0 18px 48px rgba(21, 21, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.founder-grid-section .info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--brass), var(--copper), transparent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 5vw;
  border-top: 1px solid rgba(209, 166, 74, 0.24);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.06), transparent 38%),
    #10100e;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.9rem;
}

.site-footer strong {
  display: block;
  color: var(--paper-strong);
}

.site-footer p {
  margin: 0.12rem 0 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: var(--paper-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@keyframes stage-sweep {
  0%,
  48% {
    transform: translateX(-42%);
  }

  72%,
  100% {
    transform: translateX(42%);
  }
}

@keyframes stage-scan {
  0%,
  24% {
    transform: translateY(-70%);
  }

  68%,
  100% {
    transform: translateY(70%);
  }
}

@keyframes core-breathe {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.14);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.45rem;
  }

  .portfolio-hero,
  .founder-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
  }

  .portfolio-hero h1 {
    max-width: 12ch;
    font-size: 4.25rem;
  }

  .hero-stage {
    min-height: 31rem;
  }

  .founder-stage {
    min-height: 29rem;
  }

  .stage-frame,
  .founder-frame {
    width: min(100%, 40rem);
    margin: 0 auto;
    transform: none;
  }

  .stage-frame:hover {
    transform: none;
  }

  h2 {
    font-size: 2rem;
  }

  .intro-grid,
  .split-heading,
  .principles-section .section-heading,
  .feature-grid,
  .principle-grid,
  .callout-panel,
  .portfolio-index,
  .contact-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .nav-links a {
    flex: 1 1 0;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 0.3rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 76svh;
    padding: 4.6rem 1rem 3rem;
    background-position: 58% center;
  }

  .portfolio-hero {
    min-height: auto;
    padding-top: 3.4rem;
  }

  .portfolio-hero h1 {
    font-size: 3.05rem;
  }

  .hero-statement {
    max-width: 19rem;
    font-size: 1.28rem;
  }

  .hero-proof {
    gap: 0.45rem;
  }

  .hero-ribbon {
    gap: 0.38rem;
  }

  .hero-ribbon span {
    font-size: 0.64rem;
  }

  .hero-proof div {
    padding: 0.68rem;
  }

  .hero-proof dt {
    font-size: 1.04rem;
  }

  .hero-proof dd {
    font-size: 0.68rem;
  }

  .hero-stage {
    min-height: 21rem;
    margin-inline: -1rem;
    overflow: hidden;
  }

  .founder-stage {
    min-height: 22rem;
    margin-inline: -1rem;
    overflow: hidden;
  }

  .stage-frame,
  .founder-frame {
    width: calc(100vw - 2rem);
    min-height: 22rem;
    max-width: none;
    margin: 0 auto;
  }

  .stage-header,
  .founder-frame-header {
    font-size: 0.62rem;
  }

  .stage-corner {
    width: 2.1rem;
    height: 2.1rem;
  }

  .stage-meter {
    display: none;
  }

  .stage-tile {
    padding: 0.72rem;
  }

  .stage-tile small {
    font-size: 0.58rem;
  }

  .stage-tile strong {
    font-size: 0.84rem;
  }

  .stage-tile span {
    font-size: 0.68rem;
  }

  .stage-core {
    width: 6rem;
    height: 6rem;
  }

  .stage-core span {
    font-size: 1.2rem;
  }

  .stage-core strong {
    margin-top: -1.24rem;
    font-size: 0.52rem;
  }

  .credential-card {
    width: 43%;
    padding: 0.72rem;
  }

  .credential-card small {
    font-size: 0.56rem;
  }

  .credential-card strong {
    font-size: 0.78rem;
  }

  .credential-card span {
    font-size: 0.64rem;
  }

  .founder-core {
    display: none;
  }

  .tile-fill {
    top: 16%;
    left: 5%;
    width: 42%;
  }

  .tile-notary {
    top: 17%;
    right: 5%;
    width: 42%;
  }

  .tile-mess {
    right: 5%;
    bottom: 14%;
    width: 42%;
  }

  .tile-grouping {
    left: 5%;
    bottom: 13%;
    width: 42%;
  }

  .tile-research {
    display: none;
  }

  .founder-hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 11, 10, 0.98), rgba(11, 11, 10, 0.92) 66%, rgba(11, 11, 10, 0.72)),
      linear-gradient(0deg, rgba(11, 11, 10, 0.6), rgba(11, 11, 10, 0.28));
  }

  h1 {
    font-size: 2.72rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .intro-band,
  .section,
  .contact-band,
  .site-footer {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 4rem;
  }

  .feature-section,
  .portfolio-section,
  .principles-section,
  .bridge-section,
  .founder-grid-section {
    padding-top: 3.2rem;
  }

  .feature-card,
  .pillar-card,
  .info-card {
    min-height: auto;
  }

  .pillar-header {
    grid-template-columns: 2.5rem 1fr;
  }

  .callout-panel {
    padding: 1.25rem;
  }

  .contact-content h2 {
    max-width: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.35rem;
  }

  .portfolio-hero h1 {
    font-size: 2.72rem;
  }

  .hero-stage {
    min-height: 19rem;
  }

  .founder-stage {
    min-height: 20rem;
  }

  .stage-frame,
  .founder-frame {
    width: calc(100vw - 2rem);
    min-height: 19rem;
  }

  .brand-mark strong {
    font-size: 0.92rem;
  }

  .brand-mark small,
  .nav-links a {
    font-size: 0.8rem;
  }

  .contact-list strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stage-frame::after {
    animation: none;
  }

  .stage-scan {
    animation: none;
  }

  .stage-core {
    animation: none;
  }
}
