/* WGS clarity engine — authoritative hero and founder composition */
.hero-grid {
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  grid-template-rows: 1fr;
  gap: clamp(28px, 2.5vw, 52px);
  padding-bottom: 34px;
}

.hero-copy {
  padding-bottom: 54px;
}

.hero .eyebrow {
  margin-bottom: clamp(18px, 2.5vh, 30px);
}

.hero-title {
  font-size: clamp(42px, 4.35vw, 66px);
  line-height: 0.96;
}

.hero-title em {
  display: inline;
  font-size: 1.04em;
  text-transform: none;
}

.hero-intro {
  max-width: 570px;
  margin-top: clamp(24px, 3vh, 34px);
  font-size: clamp(16px, 1.13vw, 19px);
}

.hero-actions {
  margin-top: 34px;
}

.hero-actions .button {
  justify-content: center;
  min-width: 180px;
  padding-inline: 24px;
}

.clarity-engine {
  --clarity-x: 0px;
  --clarity-y: 0px;
  --clarity-rx: 0deg;
  --clarity-ry: 0deg;
  position: relative;
  z-index: 3;
  align-self: center;
  width: 100%;
  margin: 0;
  perspective: 1400px;
}

.clarity-engine-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  min-height: 510px;
  isolation: isolate;
  transform: translate3d(var(--clarity-x), var(--clarity-y), 0) rotateX(var(--clarity-rx)) rotateY(var(--clarity-ry));
  transform-style: preserve-3d;
}

.clarity-orbit,
.clarity-orbit-lines,
.clarity-foreground-arc,
.clarity-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clarity-orbit {
  top: 10%;
  left: 7%;
  width: 87%;
  height: 80%;
  border: 1px solid rgba(242, 236, 225, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.clarity-orbit-a {
  transform: rotate(-9deg);
  animation: clarity-orbit-a 22s linear infinite;
  animation-play-state: paused;
}

.clarity-orbit-b {
  border-color: rgba(244, 58, 45, 0.2);
  transform: rotate(17deg) scale(0.9, 1.08);
  animation: clarity-orbit-b 28s linear infinite reverse;
  animation-play-state: paused;
}

.clarity-engine.is-active .clarity-orbit {
  animation-play-state: running;
}

@keyframes clarity-orbit-a {
  to { transform: rotate(351deg); }
}

@keyframes clarity-orbit-b {
  to { transform: rotate(377deg) scale(0.9, 1.08); }
}

.clarity-orbit-lines {
  z-index: 0;
  overflow: visible;
  fill: none;
  stroke: rgba(232, 225, 215, 0.21);
  stroke-width: 1.2;
  pointer-events: none;
}

.clarity-orbit-lines .clarity-spectral-line {
  stroke: url(#clarity-spectral);
  stroke: rgba(49, 213, 244, 0.52);
  stroke-width: 2;
}

.clarity-orbit-lines .clarity-red-line {
  stroke: rgba(244, 58, 45, 0.72);
  stroke-width: 2;
}

.clarity-plane {
  position: absolute;
  box-shadow: 0 30px 48px rgba(0, 0, 0, 0.52);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.clarity-input-plane {
  top: 31%;
  left: 5%;
  z-index: 2;
  width: 37%;
  min-height: 38%;
  padding: 25px 24px;
  border: 1px solid #464449;
  border-radius: 5px;
  background: #121214;
  color: #eae4da;
  transform: translate3d(calc(var(--clarity-x) * -0.18), calc(var(--clarity-y) * -0.12), 10px) rotate(-8deg);
}

.clarity-input-plane::after {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  content: "";
  pointer-events: none;
}

.clarity-input-plane p,
.clarity-path p,
.clarity-core header,
.clarity-mark {
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.clarity-input-plane p,
.clarity-path p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #8f8982;
}

.clarity-input-plane ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(10px, 0.83vw, 13px);
}

.clarity-input-plane li::before {
  margin-right: 11px;
  color: var(--red);
  content: "•";
}

.clarity-core {
  top: 17%;
  left: 29%;
  z-index: 4;
  display: grid;
  grid-template-rows: 64px repeat(3, 1fr) 70px;
  width: 45%;
  min-height: 62%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: #e8e1d6;
  color: #111113;
  transform: translate3d(calc(var(--clarity-x) * 0.13), calc(var(--clarity-y) * 0.1), 36px);
}

.clarity-core header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  color: #f2ece1;
  background: #0b0b0c;
}

.clarity-core header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.clarity-decision {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 26px;
  border-bottom: 1px solid #bdb5a8;
}

.clarity-decision::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: translate(-18px, -50%);
}

.clarity-engine.is-visible .clarity-decision::before {
  animation: clarity-route 520ms ease forwards;
}

.clarity-engine.is-visible .clarity-decision:nth-child(3)::before { animation-delay: 360ms; }
.clarity-engine.is-visible .clarity-decision:nth-child(4)::before { animation-delay: 500ms; }

@keyframes clarity-route {
  to { opacity: 1; transform: translate(0, -50%); }
}

.clarity-decision small {
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(7px, 0.67vw, 10px);
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.clarity-decision strong {
  font-size: clamp(16px, 1.55vw, 24px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.clarity-output {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 0 26px;
}

.clarity-output span {
  display: block;
  width: 52%;
  height: 1px;
  margin: 4px 0;
  background: #999187;
}

.clarity-output span:first-child {
  width: 67%;
  background: #252527;
}

.clarity-output b {
  position: absolute;
  right: -3px;
  bottom: 25px;
  padding: 12px 22px;
  border-radius: 999px 0 0 999px;
  background: var(--red);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clarity-path {
  top: 39%;
  right: 2%;
  z-index: 5;
  width: 30%;
  min-height: 36%;
  padding: 24px;
  border: 1px solid #555156;
  border-radius: 5px;
  background: linear-gradient(145deg, #202024, #09090a 70%);
  color: #efe9df;
  transform: translate3d(calc(var(--clarity-x) * 0.2), calc(var(--clarity-y) * 0.14), 56px) rotate(7deg);
}

.clarity-path ol {
  position: relative;
  display: grid;
  gap: 15px;
  margin: 0 0 18px;
  padding: 0 0 0 31px;
  list-style: none;
  font-size: clamp(9px, 0.77vw, 12px);
  text-transform: uppercase;
}

.clarity-path ol::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 8px;
  width: 1px;
  background: var(--red);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
}

.clarity-engine.is-visible .clarity-path ol::before {
  animation: decision-resolve 700ms 620ms ease forwards;
}

@keyframes decision-resolve { to { transform: scaleY(1); } }

.clarity-path li:first-child {
  font-weight: 800;
}

.clarity-path li:first-child::before,
.clarity-path li:last-child::before {
  position: absolute;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.clarity-path li:last-child::before { bottom: 2px; }

.clarity-path > strong {
  display: block;
  padding-top: 13px;
  border-top: 1px solid rgba(244, 58, 45, 0.65);
  color: var(--red);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.clarity-mark {
  position: absolute;
  z-index: 7;
  color: rgba(232, 225, 215, 0.64);
  font-size: 7px;
  pointer-events: none;
}

.clarity-mark-diagnose { bottom: 15%; left: 12%; transform: rotate(29deg); }
.clarity-mark-clarify { bottom: 5%; left: 37%; transform: rotate(8deg); }
.clarity-mark-structure { right: 21%; bottom: 9%; transform: rotate(-23deg); }
.clarity-mark-build { right: 4%; bottom: 24%; transform: rotate(-57deg); }

.clarity-foreground-arc {
  z-index: 6;
  pointer-events: none;
}

.clarity-static {
  z-index: 10;
  display: none;
  object-fit: contain;
  pointer-events: none;
}

.js .clarity-engine:not(.is-visible) .clarity-input-plane {
  transform: translate3d(-16px, 12px, 10px) rotate(-10deg);
}

.js .clarity-engine:not(.is-visible) .clarity-core {
  transform: translate3d(0, 18px, 36px) scale(0.985);
}

.js .clarity-engine:not(.is-visible) .clarity-path {
  transform: translate3d(17px, 10px, 56px) rotate(9deg);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: #09090a;
}

.about-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
}

.about-grid {
  position: relative;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 7vw, 116px);
}

.about-portraits {
  position: relative;
  align-self: start;
}

.about-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: #050607;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-portrait-primary {
  width: 100%;
}

.about-portrait-primary img { object-position: center center; }

.about-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #f2ece1;
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(12px);
  font-family: var(--font-geist-mono), monospace;
  text-transform: uppercase;
}

.about-portrait figcaption::before { width: 34px; height: 2px; margin-bottom: 4px; background: var(--red); content: ""; }
.about-portrait figcaption strong { font-size: 9px; letter-spacing: 0.14em; }
.about-portrait figcaption span { color: rgba(242, 236, 225, 0.58); font-size: 7px; letter-spacing: 0.13em; }

.about-statement {
  position: relative;
  z-index: 3;
}

.about-statement .section-index {
  margin-bottom: 32px;
  color: var(--red);
}

.about-statement h2 {
  color: #f2ece1;
  font-size: clamp(42px, 3.65vw, 62px);
  line-height: 1;
}

.about-statement h2 em {
  color: var(--red);
  font-size: 0.98em;
  text-transform: none;
}

.about-rule {
  width: 100%;
  height: 1px;
  margin: 44px 0 34px;
  background: rgba(255, 255, 255, 0.16);
}

.about-founder-label {
  color: #f2ece1;
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-statement .about-copy {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(242, 236, 225, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.48;
}

.about-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.about-disciplines li {
  padding: 10px 15px;
  border: 1px solid rgba(242, 236, 225, 0.28);
  border-radius: 999px;
  color: rgba(242, 236, 225, 0.72);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); gap: 10px; }
  .hero-title { font-size: clamp(40px, 4.5vw, 54px); }
  .clarity-engine-stage { min-height: 470px; }
  .clarity-input-plane { padding: 20px 17px; }
  .clarity-path { padding: 20px 17px; }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding-top: 92px;
  }
  .hero-copy { padding: 28px 0 12px; }
  .hero-title { max-width: 620px; font-size: clamp(38px, 7.5vw, 54px); }
  .hero-intro { max-width: 620px; }
  .clarity-engine { max-width: 700px; margin: 14px auto 0; }
  .clarity-engine-stage { min-height: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 82px; }
  .about-portraits { width: min(100%, 540px); margin-inline: auto; }
  .about-statement { max-width: 700px; }
}

@media (max-width: 560px) {
  .hero-grid { padding-top: 76px; padding-bottom: 28px; }
  .hero-copy { padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 7px; }
  .hero-title { font-size: clamp(36px, 9.8vw, 44px); line-height: 0.96; }
  .hero-title .hero-line { width: auto; }
  .hero-intro { margin-top: 20px; font-size: 13px; line-height: 1.55; }
  .hero-actions { flex-direction: row; gap: 9px; margin-top: 22px; }
  .hero-actions .button { width: auto; min-width: 0; min-height: 48px; padding-inline: 18px; font-size: 8px; }
  .clarity-engine { margin-top: 26px; }
  .clarity-engine-stage { min-height: 0; aspect-ratio: 1 / 1.08; }
  .clarity-input-plane { top: 34%; left: -1%; width: 36%; min-height: 36%; padding: 14px 11px; }
  .clarity-input-plane p { margin-bottom: 12px; padding-bottom: 10px; font-size: 6px; }
  .clarity-input-plane ul { gap: 12px; font-size: 7px; }
  .clarity-input-plane li:nth-child(2),
  .clarity-input-plane li:nth-child(4) { display: none; }
  .clarity-core { top: 19%; left: 25%; width: 55%; min-height: 59%; grid-template-rows: 44px repeat(3, 1fr) 48px; }
  .clarity-core header { padding-inline: 15px; font-size: 6px; }
  .clarity-decision { margin-inline: 15px; }
  .clarity-decision strong { font-size: clamp(12px, 3.7vw, 17px); }
  .clarity-decision small { margin-bottom: 5px; font-size: 6px; }
  .clarity-output { padding-inline: 15px; }
  .clarity-output b { bottom: 15px; padding: 9px 12px; font-size: 6px; }
  .clarity-path { top: 43%; right: -2%; width: 31%; min-height: 32%; padding: 13px 10px; }
  .clarity-path p { margin-bottom: 12px; padding-bottom: 10px; font-size: 5px; }
  .clarity-path ol { gap: 10px; padding-left: 20px; font-size: 6px; }
  .clarity-path > strong { font-size: 5px; }
  .clarity-mark-build,
  .clarity-mark-structure { display: none; }
  .clarity-mark { font-size: 5px; }
  .about-section { padding: 92px 0; }
  .about-grid { gap: 52px; }
  .about-portraits { width: 100%; }
  .about-portrait figcaption { padding: 14px 15px; }
  .about-statement h2 { font-size: clamp(36px, 10vw, 46px); }
  .about-statement .about-copy { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .clarity-engine-stage > :not(.clarity-static) { display: none; }
  .clarity-static { display: block; }
  .clarity-engine-stage { transform: none; }
}
