:root {
  --black: #070707;
  --black-2: #0b0b0b;
  --black-3: #111111;
  --ink: #121212;
  --white: #f5f2ec;
  --paper: #eee9df;
  --paper-2: #e6dfd2;
  --muted: #a8a39a;
  --muted-dark: #625e57;
  --gold: #c9a55f;
  --gold-bright: #e2c27f;
  --gold-dark: #8b6b32;
  --line: rgba(255,255,255,.13);
  --line-gold: rgba(201,165,95,.33);
  --line-dark: rgba(18,18,18,.14);
  --shadow: 0 35px 90px rgba(0,0,0,.35);
  --shell: 1320px;
  --header-height: 84px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}
.content-narrow { max-width: 880px; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--white);
  clip: auto !important;
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 14px;
  height: auto;
  left: 12px;
  padding: 12px 16px;
  top: 12px;
  width: auto;
  z-index: 100000;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s ease, border-color .28s ease, height .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled,
body:not(.lt-front-page) .site-header {
  background: rgba(7,7,7,.91);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 14px 50px rgba(0,0,0,.22);
}
.site-header.is-scrolled { --header-height: 68px; }
.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 26px;
  transition: min-height .28s ease;
}
.site-branding { flex: 0 0 auto; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.wordmark strong { color: var(--gold); font-weight: 800; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-height: 42px; }
.primary-navigation { margin-left: auto; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-menu a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: rgba(245,242,236,.84);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transition: right .24s ease;
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after { right: 0; }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--gold-bright); }
.header-linkedin {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid var(--line-gold);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.header-linkedin svg { width: 15px; height: 15px; fill: currentColor; }
.header-linkedin:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.3);
}
.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

/* Shared typography and controls */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.eyebrow span { color: var(--white); }
.eyebrow--dark { color: var(--gold-dark); }
.eyebrow--dark::before { background: var(--gold-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button--glass { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.25); color: var(--white); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.button--glass:hover { color: var(--gold-bright); border-color: var(--gold); }
.button--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.button--dark:hover { background: #26221c; border-color: #26221c; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Homepage hero */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050505;
}
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .52;
  filter: saturate(.65) contrast(1.1) brightness(.72);
}
.home-hero__worlds {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .72fr 1.12fr;
  gap: 2px;
  background: #000;
  opacity: 1;
}
.home-hero:has(.home-hero__video) .home-hero__worlds { opacity: .44; mix-blend-mode: screen; }
.hero-world { position: relative; min-height: 100%; overflow: hidden; background: #0e0e0e; }
.hero-world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 32%, rgba(201,165,95,.14), transparent 43%); }
.hero-world--code { background: linear-gradient(180deg, #090909, #15120d); }
.blueprint-grid {
  position: absolute;
  inset: -12%;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(900px) rotateX(54deg) rotateZ(-15deg) scale(1.35);
  opacity: .6;
  animation: blueprint-drift 16s ease-in-out infinite alternate;
}
@keyframes blueprint-drift { to { transform: perspective(900px) rotateX(50deg) rotateZ(-11deg) scale(1.42) translate3d(-2%,2%,0); } }
.blueprint-plan { position: absolute; inset: 10% 3%; width: 94%; height: 80%; color: rgba(255,255,255,.68); opacity: .8; animation: plan-float 10s ease-in-out infinite alternate; }
.blueprint-plan__gold { stroke: var(--gold); }
@keyframes plan-float { to { transform: translate3d(-1.5%,1.5%,0) scale(1.025); } }
.hero-code {
  position: absolute;
  inset: 18% 9% 14%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.43);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(8px, .68vw, 11px);
  line-height: 2;
  white-space: nowrap;
}
.hero-code b { color: var(--gold-bright); font-weight: 500; }
.hero-pulse { position: absolute; z-index: 3; left: 50%; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(transparent, var(--gold), transparent); }
.hero-pulse::after { content: ""; position: absolute; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 26px var(--gold); transform: translateX(-50%); animation: hero-pulse-move 4.8s ease-in-out infinite; }
@keyframes hero-pulse-move { 0% { top: 2%; opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: 96%; opacity: 0; } }
.automation-node {
  position: absolute;
  z-index: 3;
  width: 128px;
  color: #b8b3a9;
  border: 1px solid rgba(255,255,255,.21);
  border-radius: 4px;
  background: rgba(12,12,12,.86);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  animation: node-bob 7s ease-in-out infinite alternate;
}
.automation-node b { display: block; padding: 7px 9px; color: var(--gold-bright); background: rgba(201,165,95,.15); border-bottom: 1px solid var(--line-gold); font-size: 8px; letter-spacing: .09em; }
.automation-node span { display: block; padding: 9px; font-size: 8px; line-height: 1.6; }
.automation-node--one { left: 9%; top: 15%; }
.automation-node--two { left: 58%; top: 29%; animation-delay: -2s; }
.automation-node--three { left: 22%; top: 57%; animation-delay: -4s; }
.automation-node--four { left: 65%; top: 69%; animation-delay: -1s; }
@keyframes node-bob { to { transform: translateY(9px); } }
.automation-strings {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.automation-strings path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.automation-strings__glow path {
  stroke: rgba(201,165,95,.26);
  stroke-width: 7;
  filter: blur(5px);
}
.automation-strings__flow path {
  stroke: var(--gold-bright);
  stroke-width: 1.25;
  stroke-dasharray: 7 11;
  animation: automation-string-flow 4.8s linear infinite;
}
.automation-strings__flow path:nth-child(2) { animation-duration: 6.4s; animation-direction: reverse; }
.automation-strings__flow path:nth-child(3) { animation-duration: 5.6s; animation-delay: -2.3s; }
.automation-strings__flow path:nth-child(4) { animation-duration: 4.1s; animation-direction: reverse; animation-delay: -1.4s; }
.automation-strings__flow path:nth-child(5) { animation-duration: 6.8s; animation-delay: -3.8s; }
.automation-strings__ports circle {
  fill: var(--gold-bright);
  stroke: rgba(255,255,255,.72);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(226,194,127,.95));
  transform-box: fill-box;
  transform-origin: center;
  animation: automation-port-pulse 2.8s ease-in-out infinite;
}
.automation-strings__ports circle:nth-child(2n) { animation-delay: -1.4s; }
.automation-strings__ports circle:nth-child(3n) { animation-delay: -.7s; }
@keyframes automation-string-flow {
  to { stroke-dashoffset: -72; }
}
@keyframes automation-port-pulse {
  0%, 100% { opacity: .45; transform: scale(.72); }
  50% { opacity: 1; transform: scale(1.35); }
}
.hero-world__label { position: absolute; z-index: 4; left: 30px; bottom: 30px; color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.home-hero__overlay { position: absolute; z-index: 4; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.47) 43%, rgba(0,0,0,.08) 74%), linear-gradient(0deg, rgba(7,7,7,.94), transparent 36%); }
.home-hero__content { position: relative; z-index: 5; padding-top: 30px; }
.home-hero__content h1 {
  max-width: 960px;
  margin: 22px 0 28px;
  font-size: clamp(58px, 7.6vw, 116px);
  line-height: .91;
  letter-spacing: -.055em;
  font-weight: 650;
}
.home-hero__content h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.58); }
.home-hero__content > p { max-width: 690px; margin: 0 0 36px; color: #d4d0c7; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65; }
.home-hero__meta { position: absolute; z-index: 5; right: max(24px, calc((100vw - var(--shell))/2)); bottom: 33px; display: flex; gap: 32px; color: #bbb6ac; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.home-hero__meta strong { display: block; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.home-hero__meta span { display: block; margin-top: 3px; }

/* Shared sections */
.section { position: relative; padding: 118px 0; border-bottom: 1px solid var(--line); }
.section--dark { background: var(--black); color: var(--white); }
.section--raised { background: #090909; }
.section--light { background: var(--paper); color: var(--ink); border-bottom-color: var(--line-dark); }
.section--goldline { background: #090806; border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); }
.section-intro { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-bottom: 68px; }
.section-intro h2, .home-cta h2, .page-cta h2, .technical-section h2, .bridge-section h2, .about-story h2, .about-biography__content h2, .values-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.047em;
  font-weight: 620;
}
.section-intro p, .technical-section p, .bridge-section p, .about-story p, .about-biography__content p, .values-section p { max-width: 780px; margin: 20px 0 0; color: #c7c2b8; font-size: 20px; line-height: 1.68; }
.section--light .section-intro p, .technical-section p, .bridge-section p, .values-section p { color: var(--muted-dark); }
.card-index { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* Homepage sections */
.world-grid { display: grid; grid-template-columns: 1fr 112px 1fr; align-items: stretch; }
.world-card { position: relative; min-height: 420px; padding: 48px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); }
.world-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 15%, rgba(201,165,95,.09), transparent 37%); }
.world-card h3 { margin: 58px 0 18px; font-size: 39px; line-height: 1.05; letter-spacing: -.035em; }
.world-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; }
.world-card ul { position: relative; z-index: 2; list-style: none; padding: 0; margin: 36px 0 0; }
.world-card li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #dfdbd2; font-size: 13px; }
.world-card li::after { content: "↗"; color: var(--gold); }
.world-connector { position: relative; display: grid; place-items: center; }
.world-connector::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--gold), transparent); }
.world-connector span { position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-bright); background: var(--black); box-shadow: 0 0 50px rgba(201,165,95,.14); font-size: 22px; }
.system-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.system-card { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; color: var(--white); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.system-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 18%, rgba(201,165,95,.12), transparent 38%); opacity: .7; }
.system-card > * { position: relative; z-index: 2; }
.system-card:hover { transform: translateY(-5px); border-color: rgba(201,165,95,.67); }
.system-card h3 { max-width: 270px; margin: 40px 0 13px; font-size: 30px; line-height: 1.08; letter-spacing: -.034em; }
.system-card p { color: var(--muted); font-size: 14px; line-height: 1.72; }
.system-art { position: relative; height: 160px; border-top: 1px solid var(--line); }
.system-art--layers { perspective: 700px; }
.system-art--layers i { position: absolute; left: 13%; right: 13%; height: 66px; border: 1px solid rgba(201,165,95,.58); transform: rotateX(60deg) rotateZ(-10deg); }
.system-art--layers i:nth-child(1) { top: 18px; opacity: .35; }
.system-art--layers i:nth-child(2) { top: 38px; opacity: .5; }
.system-art--layers i:nth-child(3) { top: 58px; opacity: .68; }
.system-art--layers i:nth-child(4) { top: 78px; opacity: .9; }
.system-art--sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 6px 0; }
.system-art--sheets i { position: relative; border: 1px solid rgba(255,255,255,.22); }
.system-art--sheets i::before { content: ""; position: absolute; inset: 18px; background: repeating-linear-gradient(0deg, transparent 0 13px, var(--gold) 14px 15px); opacity: .75; }
.system-art--nodes i { position: absolute; top: 58px; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; }
.system-art--nodes i:nth-child(1) { left: 8%; }
.system-art--nodes i:nth-child(2) { left: calc(50% - 17px); top: 28px; }
.system-art--nodes i:nth-child(3) { right: 8%; top: 68px; }
.system-art--nodes i::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--gold); }
.system-art--nodes b { position: absolute; height: 1px; background: var(--gold); transform-origin: left; }
.system-art--nodes b:nth-of-type(1) { left: 17%; top: 68px; width: 36%; transform: rotate(-17deg); }
.system-art--nodes b:nth-of-type(2) { left: 55%; top: 51px; width: 33%; transform: rotate(18deg); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-grid article { min-height: 270px; padding: 34px 27px 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article > span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.method-grid h3 { margin: 58px 0 13px; font-size: 22px; }
.method-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.68; }
.home-cta { padding: 88px 0; }
.home-cta__inner, .page-cta__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.home-cta h2, .page-cta h2 { max-width: 850px; margin-top: 24px; }

/* LinkedIn connection section */
.linkedin-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 105px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.linkedin-section::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -280px;
  top: -330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,165,95,.18), transparent 68%);
  pointer-events: none;
}
.linkedin-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background-image: linear-gradient(rgba(18,18,18,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}
.linkedin-connect__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px,.88fr) minmax(0,1.12fr);
  gap: clamp(46px, 7vw, 110px);
  align-items: center;
}
.linkedin-connect__portrait { position: relative; }
.linkedin-connect__portrait::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 22px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(139,107,50,.45);
}
.linkedin-connect__portrait-frame {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(139,107,50,.55);
  background: #080808;
  box-shadow: 0 35px 85px rgba(35,29,18,.18);
}
.linkedin-connect__portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.76) 100%);
  pointer-events: none;
}
.linkedin-connect__portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: 50% 12%;
  filter: contrast(1.03) saturate(.9);
}
.linkedin-connect__portrait-glow {
  position: absolute;
  z-index: 2;
  right: -20%;
  top: 5%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,194,127,.24), transparent 67%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.linkedin-connect__portrait-label {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}
.linkedin-connect__portrait-label span { font-size: 28px; font-weight: 650; letter-spacing: -.03em; }
.linkedin-connect__portrait-label b { color: var(--gold-bright); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.linkedin-connect__content h2 {
  max-width: 780px;
  margin: 24px 0 24px;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 640;
}
.linkedin-connect__content > p {
  max-width: 750px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 19px;
  line-height: 1.75;
}
.linkedin-counter-block {
  margin: 44px 0 34px;
  padding: 27px 0 30px;
  border-top: 1px solid rgba(18,18,18,.18);
  border-bottom: 1px solid rgba(18,18,18,.18);
}
.linkedin-counter-block__label {
  display: block;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.linkedin-counter-block__number {
  display: flex;
  align-items: flex-start;
  margin-top: 12px;
  line-height: .82;
}
.linkedin-counter-block__number strong {
  color: var(--gold-dark);
  background: linear-gradient(120deg, #8b6b32 0%, #c9a55f 46%, #8b6b32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(88px, 11vw, 174px);
  font-weight: 620;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
}
.linkedin-counter-block p {
  margin: 15px 0 0;
  color: #4f4a42;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.linkedin-counter-block__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 17px;
  color: #625b50;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.linkedin-counter-block__growth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
}
.linkedin-counter-block__growth::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(201,165,95,.45);
}
.linkedin-counter-block__growth.is-negative { color: #765a50; }
.linkedin-counter-block__growth.is-negative::before { background: #8b665a; box-shadow: none; }
.linkedin-counter-block__verified {
  padding-left: 22px;
  border-left: 1px solid rgba(18,18,18,.16);
}
.linkedin-connect-button {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 17px;
  align-items: center;
  max-width: 590px;
  min-height: 86px;
  padding: 15px 20px;
  overflow: hidden;
  border: 1px solid #17130e;
  background: #11100e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(35,29,18,.12);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.linkedin-connect-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 42%, rgba(201,165,95,.14) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}
.linkedin-connect-button:hover { transform: translateY(-3px); border-color: var(--gold-dark); box-shadow: 0 24px 55px rgba(35,29,18,.18); }
.linkedin-connect-button:hover::before { transform: translateX(120%); }
.linkedin-connect-button__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,165,95,.45);
  color: var(--gold-bright);
}
.linkedin-connect-button__icon svg { width: 24px; height: 24px; fill: currentColor; }
.linkedin-connect-button__copy { position: relative; z-index: 2; display: grid; gap: 3px; }
.linkedin-connect-button__copy small { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.linkedin-connect-button__copy strong { font-size: 17px; font-weight: 650; }
.linkedin-connect-button__arrow { position: relative; z-index: 2; color: var(--gold-bright); font-size: 24px; }
.linkedin-connect__email {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 25px;
  color: var(--muted-dark);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.linkedin-connect__email span { color: var(--gold-dark); font-weight: 800; }
.linkedin-connect__email a { color: var(--ink); font-weight: 750; text-decoration: none; text-transform: none; letter-spacing: .02em; }

/* Internal page heroes */
.page-hero, .about-hero, .contact-hero, .generic-page-hero, .not-found {
  position: relative;
  padding: 164px 0 96px;
  overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.page-hero::before, .about-hero::before, .contact-hero::before, .generic-page-hero::before, .not-found::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 20%, rgba(201,165,95,.12), transparent 30%), linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(45px, 7vw, 110px); align-items: center; }
.page-hero__copy h1, .about-hero__copy h1, .contact-hero__copy h1, .generic-page-hero h1, .not-found h1 {
  margin: 24px 0 27px;
  font-size: clamp(55px, 6.4vw, 96px);
  line-height: .94;
  letter-spacing: -.054em;
  font-weight: 640;
}
.page-hero__copy > p, .about-hero__lead, .contact-hero__copy > p, .not-found p { max-width: 740px; margin: 0 0 34px; color: #cbc6bc; font-size: 19px; line-height: 1.72; }
.page-hero__visual { position: relative; min-height: 590px; }
.api-window { position: absolute; inset: 20px 30px 105px 0; overflow: hidden; border: 1px solid var(--line-gold); background: linear-gradient(145deg, #0d0d0d, #151109); box-shadow: var(--shadow); }
.api-window__bar { display: flex; align-items: center; gap: 7px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.api-window__bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(201,165,95,.55); }
.api-window__bar b { margin-left: 12px; color: #c9c2b5; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 500; }
.api-window pre { margin: 0; padding: 38px; color: #c7c0b2; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(10px, .86vw, 14px); line-height: 1.88; white-space: pre-wrap; }
.api-window pre em { color: var(--gold-bright); font-style: normal; }
.api-output-card { position: absolute; right: 0; width: 180px; padding: 18px 20px; border: 1px solid var(--line-gold); background: rgba(10,10,10,.95); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.api-output-card:nth-of-type(2) { top: 90px; }
.api-output-card:nth-of-type(3) { top: 230px; }
.api-output-card:nth-of-type(4) { top: 370px; }
.api-output-card span { display: block; color: var(--gold); font-size: 9px; letter-spacing: .14em; }
.api-output-card strong { display: block; margin-top: 7px; font-size: 22px; }

/* Revit page */
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.capability-card, .principle-card, .identity-card, .contact-scope__grid article { position: relative; min-height: 310px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); }
.capability-card > span, .principle-card > span, .identity-card > span, .contact-scope__grid article > span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.capability-card h3, .principle-card h3, .identity-card h3, .contact-scope__grid h3 { margin: 70px 0 13px; font-size: 31px; line-height: 1.05; letter-spacing: -.035em; }
.capability-card p, .principle-card p, .identity-card p, .contact-scope__grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.feature-row { display: grid; grid-template-columns: 90px 1.2fr .8fr; gap: 34px; align-items: start; padding: 38px 0; border-top: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row__number { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.feature-row h3 { margin: 0 0 12px; font-size: 36px; line-height: 1; letter-spacing: -.035em; }
.feature-row p { max-width: 660px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-row ul { list-style: none; margin: 0; padding: 0; }
.feature-row li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: #d9d4ca; font-size: 13px; }
.feature-row li::after { content: "↗"; color: var(--gold); }
.technical-section__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.technical-stack { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.technical-stack > div { min-height: 245px; padding: 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.technical-stack span { color: var(--gold-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.technical-stack strong { display: block; margin: 45px 0 10px; font-size: 23px; }
.technical-stack p { margin: 0; font-size: 14px; line-height: 1.65; }
.page-cta { padding: 88px 0; }

/* Dynamo page */
.dynamo-canvas { overflow: hidden; border: 1px solid var(--line-gold); background: radial-gradient(circle at 50% 50%, rgba(201,165,95,.12), transparent 48%), #0a0a0a; box-shadow: var(--shadow); }
.dynamo-canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; }
.dynamo-node { position: absolute; z-index: 3; width: 210px; border: 1px solid rgba(255,255,255,.24); background: rgba(12,12,12,.94); box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.dynamo-node b { display: block; padding: 12px 15px; color: var(--gold-bright); border-bottom: 1px solid var(--line-gold); background: rgba(201,165,95,.1); font-size: 11px; letter-spacing: .07em; }
.dynamo-node span { display: block; padding: 14px 15px; color: #b8b2a8; font-size: 11px; }
.dynamo-node--one { left: 7%; top: 12%; }
.dynamo-node--two { right: 8%; top: 23%; }
.dynamo-node--three { left: 15%; bottom: 15%; }
.dynamo-node--four { right: 6%; bottom: 8%; }
.dynamo-wire { position: absolute; z-index: 2; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201,165,95,.16)); transform-origin: left; }
.dynamo-wire--one { left: 34%; top: 25%; width: 39%; transform: rotate(13deg); }
.dynamo-wire--two { left: 28%; top: 36%; width: 38%; transform: rotate(80deg); }
.dynamo-wire--three { left: 40%; bottom: 30%; width: 43%; transform: rotate(9deg); }
.dynamo-pulse { position: absolute; z-index: 4; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 26px var(--gold); animation: dynamo-pulse 5s ease-in-out infinite; }
@keyframes dynamo-pulse { 0% { left: 23%; top: 24%; opacity: 0; } 15% { opacity: 1; } 48% { left: 68%; top: 34%; } 72% { left: 35%; top: 72%; } 100% { left: 75%; top: 78%; opacity: 0; } }
.dynamo-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workflow-matrix { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workflow-matrix__head, .workflow-matrix__row { display: grid; grid-template-columns: .65fr 1.35fr 1fr; }
.workflow-matrix__head span { padding: 16px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.workflow-matrix__row > * { padding: 25px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-matrix__row strong { font-size: 18px; }
.workflow-matrix__row span { color: var(--muted); font-size: 14px; }
.workflow-matrix__row b { color: #ded8cd; font-size: 14px; font-weight: 500; }
.bridge-section__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(45px, 7vw, 100px); align-items: center; }
.bridge-comparison { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: stretch; }
.bridge-comparison article { padding: 30px; border: 1px solid var(--line-dark); background: #f6f2ea; }
.bridge-comparison article > span { color: var(--gold-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.bridge-comparison h3 { margin: 38px 0 18px; font-size: 27px; line-height: 1.08; }
.bridge-comparison ul { list-style: none; margin: 0; padding: 0; }
.bridge-comparison li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 13px; }
.bridge-comparison__connector { display: grid; place-items: center; color: var(--gold-dark); font-size: 28px; }

/* About */
.about-hero { padding-bottom: 110px; }
.about-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 7vw, 105px); align-items: center; }
.about-hero__portrait { position: relative; }
.about-hero__portrait::before { content: ""; position: absolute; left: -22px; top: 22px; width: 100%; height: 100%; border: 1px solid var(--line-gold); }
.about-hero__portrait img { position: relative; z-index: 2; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 12%; border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.about-hero__portrait-label { position: absolute; z-index: 3; right: -28px; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--line-gold); background: rgba(7,7,7,.93); color: var(--gold-bright); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about-hero__portrait-label b { color: #fff; }
.about-biography__grid { display: grid; grid-template-columns: .52fr 1.48fr; gap: clamp(48px, 8vw, 125px); align-items: start; }
.about-biography__rail { position: sticky; top: 112px; }
.about-biography__facts { margin-top: 44px; border-top: 1px solid var(--line); }
.about-biography__facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-biography__facts span { display: block; margin-bottom: 7px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.about-biography__facts strong { display: block; color: #e7e1d7; font-size: 14px; line-height: 1.5; font-weight: 580; }
.about-biography__content { max-width: 930px; }
.about-biography__content h2 { margin: 0 0 34px; font-size: clamp(43px, 5vw, 76px); line-height: .97; letter-spacing: -.05em; font-weight: 620; }
.about-biography__content p { margin: 0 0 25px; color: #c7c2b8; font-size: 18px; line-height: 1.82; }
.career-section { background: #0a0a0a; }
.career-timeline { border-top: 1px solid var(--line); }
.career-card { display: grid; grid-template-columns: 190px 1fr; gap: 42px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.career-card__year { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.career-card__body { display: grid; grid-template-columns: minmax(220px,.58fr) minmax(0,1.42fr); gap: 15px 42px; align-items: start; }
.career-card__body > span { grid-column: 1; color: #aaa49a; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.career-card__body h3 { grid-column: 1; margin: 0; font-size: 30px; line-height: 1.05; letter-spacing: -.035em; }
.career-card__body p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values-section__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.value-list { border-top: 1px solid var(--line-dark); }
.value-list > div { display: grid; grid-template-columns: 56px .72fr 1.28fr; gap: 25px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.value-list span { color: var(--gold-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.value-list strong { font-size: 19px; }
.value-list p { margin: 0; font-size: 14px; line-height: 1.65; }

/* Contact */
.contact-hero { padding-bottom: 120px; }
.contact-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(45px, 7vw, 100px); align-items: start; }
.contact-direct { margin-top: 44px; border-top: 1px solid var(--line); }
.contact-direct a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; }
.contact-direct span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-direct strong { font-size: 14px; font-weight: 600; }
.contact-form-card { padding: 36px; border: 1px solid var(--line-gold); background: linear-gradient(145deg, rgba(17,17,17,.98), rgba(8,8,8,.98)); box-shadow: var(--shadow); }
.contact-form-card__heading { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-form-card__heading > span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-form-card__heading h2 { margin: 10px 0 0; font-size: 36px; line-height: 1.06; letter-spacing: -.035em; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: #d9d4ca; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.17); border-radius: 0; outline: none; background: rgba(255,255,255,.025); color: var(--white); padding: 14px 15px; font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; transition: border-color .2s ease, background .2s ease; }
.contact-form select { color-scheme: dark; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(201,165,95,.04); }
.contact-form textarea { resize: vertical; min-height: 180px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 20px; padding: 14px 16px; border: 1px solid; font-size: 14px; }
.form-notice--success { color: #d8edcf; border-color: rgba(118,180,96,.45); background: rgba(118,180,96,.08); }
.form-notice--error { color: #f0c3b8; border-color: rgba(203,101,79,.45); background: rgba(203,101,79,.08); }
.form-notice a { color: inherit; font-weight: 750; text-underline-offset: 3px; }
.contact-scope__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Generic */
.generic-page-hero, .not-found { min-height: 56svh; display: flex; align-items: center; }
.generic-page-hero > .shell, .not-found > .shell { position: relative; z-index: 2; }
.generic-content { min-height: 40svh; }
.generic-content article { color: var(--muted-dark); font-size: 18px; line-height: 1.8; }
.generic-content h2, .archive-entry h2 { color: var(--ink); font-size: 35px; line-height: 1.1; }
.archive-entry { padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.archive-entry a { text-decoration: none; }
.not-found p { margin-bottom: 30px; }

/* Footer */
.site-footer { background: var(--paper); color: #57534c; border-top: 1px solid var(--line-dark); }
.site-footer__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-footer__inner span { color: var(--gold-dark); }

/* Responsive */
@media (max-width: 1180px) {
  .primary-menu { gap: 17px; }
  .primary-menu a { font-size: 10px; letter-spacing: .09em; }
  .header-linkedin { display: none; }
  .home-hero__content h1 { max-width: 820px; }
  .section-intro { grid-template-columns: .5fr 1.5fr; }
  .technical-section__grid, .bridge-section__grid, .values-section__grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .site-header.is-scrolled { --header-height: 64px; }
  .primary-navigation {
    position: fixed;
    inset: var(--header-height) 0 auto;
    margin: 0;
    padding: 26px 24px 30px;
    background: rgba(7,7,7,.98);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-gold);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  }
  .primary-navigation.is-open { transform: none; opacity: 1; visibility: visible; }
  .primary-menu { display: grid; gap: 0; }
  .primary-menu li { border-bottom: 1px solid var(--line); }
  .primary-menu a { padding: 17px 0; font-size: 13px; }
  .menu-toggle { display: block; }
  .home-hero { min-height: 900px; align-items: flex-end; }
  .home-hero__worlds { grid-template-columns: .95fr .55fr 1.2fr; }
  .home-hero__content { padding-bottom: 110px; }
  .home-hero__meta { left: 24px; right: auto; bottom: 34px; }
  .section-intro, .page-hero__grid, .about-hero__grid, .contact-hero__grid, .about-story__grid, .about-biography__grid { grid-template-columns: 1fr; }
  .section-intro { gap: 26px; }
  .world-grid { grid-template-columns: 1fr; gap: 20px; }
  .world-connector { min-height: 70px; }
  .world-connector::before { top: 0; bottom: 0; }
  .system-card-grid, .dynamo-principles, .identity-grid, .contact-scope__grid { grid-template-columns: 1fr; }
  .system-card { min-height: 380px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .linkedin-connect__grid { grid-template-columns: 1fr; }
  .linkedin-connect__portrait { max-width: 650px; }
  .about-biography__grid { grid-template-columns: 1fr; }
  .about-biography__rail { position: static; }
  .page-hero__copy { order: 1; }
  .page-hero__visual { order: 2; min-height: 540px; }
  .about-hero__portrait { max-width: 570px; }
  .about-hero__copy { max-width: 920px; }
  .career-card__body { grid-template-columns: 1fr; }
  .career-card__body p { grid-column: 1; grid-row: auto; }
  .feature-row { grid-template-columns: 70px 1fr; }
  .feature-row ul { grid-column: 2; }
  .bridge-comparison { max-width: 800px; }
  .contact-form-card { max-width: 850px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 82px 0; }
  .home-hero { min-height: 780px; padding-top: 110px; }
  .home-hero__worlds { grid-template-columns: 1fr; }
  .hero-world--architecture, .hero-world--code { display: none; }
  .hero-world--automation { opacity: .8; }
  .home-hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,.83), rgba(0,0,0,.48)), linear-gradient(0deg, rgba(7,7,7,.98), transparent 52%); }
  .home-hero__content { padding-bottom: 105px; }
  .home-hero__content h1 { font-size: clamp(50px, 15vw, 72px); }
  .home-hero__content > p { font-size: 16px; }
  .home-hero__meta { gap: 18px; flex-wrap: wrap; }
  .home-hero__meta div { min-width: 90px; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .section-intro h2, .home-cta h2, .page-cta h2, .technical-section h2, .bridge-section h2, .about-story h2, .about-biography__content h2, .values-section h2 { font-size: clamp(40px, 12vw, 58px); }
  .section-intro p, .technical-section p, .bridge-section p, .about-story p, .about-biography__content p, .values-section p { font-size: 17px; }
  .world-card { min-height: auto; padding: 30px; }
  .world-card h3 { margin-top: 40px; }
  .method-grid { grid-template-columns: 1fr; }
  .home-cta__inner, .page-cta__inner { align-items: flex-start; flex-direction: column; }
  .linkedin-section { padding: 82px 0 72px; }
  .linkedin-connect__portrait::before { left: -10px; top: 10px; }
  .linkedin-connect__portrait-frame, .linkedin-connect__portrait-frame img { min-height: 520px; }
  .linkedin-connect__portrait-label { left: 18px; right: 18px; bottom: 18px; flex-direction: column; align-items: flex-start; }
  .linkedin-connect__content h2 { font-size: clamp(47px, 13vw, 67px); }
  .linkedin-connect-button { grid-template-columns: 42px 1fr auto; min-height: 78px; padding: 13px 14px; }
  .linkedin-connect-button__icon { width: 42px; height: 42px; }
  .linkedin-connect-button__copy strong { font-size: 14px; }
  .linkedin-counter-block__meta { align-items: flex-start; flex-direction: column; }
  .linkedin-counter-block__verified { padding-left: 0; border-left: 0; }
  .page-hero, .about-hero, .contact-hero, .generic-page-hero, .not-found { padding: 126px 0 76px; }
  .page-hero__copy h1, .about-hero__copy h1, .contact-hero__copy h1, .generic-page-hero h1, .not-found h1 { font-size: clamp(48px, 13vw, 68px); }
  .page-hero__copy > p, .about-hero__lead, .contact-hero__copy > p { font-size: 17px; }
  .page-hero__visual { min-height: 470px; }
  .api-window { inset: 0 0 105px; }
  .api-window pre { padding: 28px 20px; font-size: 9px; }
  .api-output-card { width: 145px; padding: 13px 15px; }
  .api-output-card:nth-of-type(2) { top: 55px; }
  .api-output-card:nth-of-type(3) { top: 160px; }
  .api-output-card:nth-of-type(4) { top: 265px; }
  .capability-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; }
  .feature-row ul { grid-column: 1; }
  .technical-stack { grid-template-columns: 1fr; }
  .dynamo-node { width: 160px; }
  .dynamo-node--one { left: 4%; }
  .dynamo-node--two { right: 3%; }
  .workflow-matrix__head { display: none; }
  .workflow-matrix__row { grid-template-columns: 1fr; }
  .workflow-matrix__row > * { padding: 16px 18px; }
  .bridge-comparison { grid-template-columns: 1fr; gap: 16px; }
  .bridge-comparison__connector { transform: rotate(90deg); min-height: 45px; }
  .about-hero__portrait::before { left: -10px; top: 10px; }
  .career-card { grid-template-columns: 1fr; gap: 15px; }
  .about-hero__portrait-label { right: 10px; bottom: 10px; }
  .value-list > div { grid-template-columns: 40px 1fr; }
  .value-list p { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 18px; }
  .contact-direct a { flex-direction: column; gap: 5px; }
  .site-footer__inner { min-height: auto; padding: 25px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
