:root {
  --paper: #f2f0e9;
  --ink: #11110f;
  --muted: #67665f;
  --line: rgba(17, 17, 15, 0.18);
  --acid: #d9ff43;
  --blue: #5268ff;
  --radius: 12px;
  --page-x: clamp(1.25rem, 3.5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 76px;
  padding: 0 var(--page-x);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, height 240ms ease;
}

.site-header.scrolled {
  height: 64px;
  background: rgba(242, 240, 233, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f2ec;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.55);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.81rem;
  font-weight: 600;
}

.desktop-nav a,
.footer-meta a {
  position: relative;
}

.desktop-nav a::after,
.footer-meta a::after {
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.footer-meta a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
  padding: 0.62rem 1rem;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: 7.5rem var(--page-x) 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 2.75rem;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vh, 4.5rem) 0 0;
}

.eyebrow {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 4rem 0;
  font-size: clamp(3.75rem, 8.2vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero h1 span {
  color: var(--muted);
  font-weight: 400;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-bottom p {
  max-width: 39rem;
  margin: 0;
  color: #41413c;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
}

.circle-link {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.circle-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.circle-link:hover {
  background: var(--ink);
  color: white;
  transform: translateY(4px);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 47% 48%, rgba(217, 255, 67, 0.23), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  content: "";
}

.visual-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.14);
  animation: pulse 2s ease-out infinite;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 13rem;
  height: 13rem;
}

.orbit-two {
  width: 23rem;
  height: 23rem;
  border-style: dashed;
  animation: rotate 42s linear infinite;
}

.orbit-three {
  width: 36rem;
  height: 36rem;
  opacity: 0.7;
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f2ec;
  box-shadow: 0 0 80px rgba(217, 255, 67, 0.19);
  transform: translate(-50%, -50%);
}

.visual-core img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.75);
  backdrop-filter: blur(8px);
}

.node span {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.node-a {
  top: 27%;
  left: 12%;
  animation: float 5s ease-in-out infinite;
}

.node-b {
  top: 21%;
  right: 11%;
  animation: float 6s 1s ease-in-out infinite;
}

.node-c {
  right: 18%;
  bottom: 18%;
  animation: float 5.5s 0.5s ease-in-out infinite;
}

.visual-foot {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
}

.section-pad {
  padding: clamp(6rem, 11vw, 10rem) var(--page-x);
}

.section-index {
  margin: 0;
  color: var(--muted);
}

.statement {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.display-text,
.section-heading h2,
.approach-intro h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3.1rem, 7.2vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.statement-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 8rem);
  max-width: 60rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  margin-left: auto;
}

.statement-detail p {
  margin: 0;
  color: #44443f;
  font-size: 1rem;
  line-height: 1.7;
}

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

.companies .section-index {
  color: rgba(255, 255, 255, 0.5);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.section-heading h2 {
  margin-top: 1.5rem;
}

.section-heading > p {
  max-width: 25rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.6;
}

.company-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.company-entry {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.company-entry summary {
  min-height: 132px;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1fr) auto;
  gap: 2rem;
  align-items: center;
  list-style: none;
  cursor: pointer;
  transition: padding 240ms ease, color 240ms ease;
}

.company-entry summary::-webkit-details-marker {
  display: none;
}

.company-entry summary:hover {
  color: var(--acid);
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-favicon {
  width: 58px;
  height: 58px;
  padding: 7px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: white;
}

.company-favicon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.company-identity strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.company-identity small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
}

.company-tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.company-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-toggle i {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.company-toggle i::before,
.company-toggle i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.company-toggle i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.company-entry[open] .company-toggle i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.company-detail {
  padding: 0 0 2.5rem calc(58px + 1rem);
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.company-detail p {
  grid-column: 2;
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.company-detail a {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.company-detail a:hover {
  color: var(--acid);
}

.approach {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1fr;
  gap: clamp(4rem, 8vw, 9rem);
}

.approach-intro {
  position: sticky;
  top: 9rem;
  align-self: start;
}

.approach-intro h2 {
  margin-top: 2rem;
  font-size: clamp(3.5rem, 6vw, 7rem);
}

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 250px;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-content: space-between;
  border-bottom: 1px solid var(--line);
}

.principle-number {
  color: var(--muted);
}

.principle h3 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.principle p {
  grid-column: 2;
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact {
  position: relative;
  min-height: 75vh;
  padding: clamp(5rem, 10vw, 9rem) var(--page-x);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
  color: white;
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-copy > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact h2 {
  font-size: clamp(3.6rem, 7.2vw, 8.5rem);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 42rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  transition: padding 200ms ease;
}

.contact-link:hover {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.contact-orb {
  position: relative;
  display: grid;
  width: clamp(15rem, 29vw, 32rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f2ec;
  color: var(--ink);
}

.contact-orb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.contact-ring {
  position: absolute;
  inset: -12%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.contact-ring.ring-two {
  inset: -28%;
  border-style: dashed;
  animation: rotate 35s linear infinite;
}

.site-footer {
  padding: 3rem var(--page-x) 2rem;
  background: var(--ink);
  color: white;
}

.footer-brand {
  margin-bottom: clamp(5rem, 10vw, 10rem);
  font-size: clamp(2rem, 5vw, 5rem);
  letter-spacing: -0.07em;
}

.footer-brand .brand-mark {
  width: clamp(2.5rem, 5vw, 5rem);
  height: clamp(2.5rem, 5vw, 5rem);
}

.footer-note {
  max-width: 28rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 67, 0.4); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(217, 255, 67, 0); }
}

@keyframes rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact-ring.ring-two {
  animation-name: contact-rotate;
}

@keyframes contact-rotate {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    justify-self: end;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 64px 0 0;
    display: block;
    padding: 2rem var(--page-x);
    background: var(--paper);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu a {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.8rem, 7vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.05em;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .hero-copy {
    min-height: 610px;
  }

  .hero h1 {
    font-size: clamp(4rem, 12vw, 7.5rem);
  }

  .hero-visual {
    min-height: min(85vw, 650px);
  }

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

  .statement > .section-index {
    margin-bottom: 2rem;
  }

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

  .approach-intro {
    position: static;
  }

  .contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-orb {
    width: min(65vw, 27rem);
  }

  .contact-link {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .hero {
    padding-bottom: 1.25rem;
    gap: 1.25rem;
  }

  .hero-copy {
    min-height: 520px;
    padding-top: 1.5rem;
  }

  .hero h1 {
    margin: 3rem 0;
    font-size: clamp(3.5rem, 17vw, 5.5rem);
    line-height: 0.88;
  }

  .hero h1 br {
    display: none;
  }

  .hero-bottom {
    align-items: flex-start;
  }

  .circle-link {
    width: 44px;
    height: 44px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .orbit-three {
    width: 31rem;
    height: 31rem;
  }

  .statement-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 2rem;
  }

  .company-entry summary {
    min-height: 150px;
    padding: 1.5rem 0;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
  }

  .company-entry summary:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .company-tagline {
    grid-column: 1 / -1;
  }

  .company-toggle > .mono {
    display: none;
  }

  .company-detail {
    padding: 0 0 2rem;
    display: block;
  }

  .company-detail p {
    margin-bottom: 1.5rem;
  }

  .company-detail a {
    width: fit-content;
  }

  .principle {
    min-height: 230px;
    grid-template-columns: 3rem 1fr;
  }

  .contact {
    min-height: 750px;
    gap: 4rem;
  }

  .contact h2 br {
    display: none;
  }

  .footer-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

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