:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --panel: #0b0b0b;
  --ink: #151515;
  --muted: #7b766f;
  --soft: #e7e2d9;
  --line: #d8d2c7;
  --accent: #1a1a1a;
  --pulse: rgba(17, 17, 17, 0.12);
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--mono);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(transparent 95%, rgba(0, 0, 0, 0.08) 96%),
    linear-gradient(90deg, transparent 95%, rgba(0, 0, 0, 0.08) 96%),
    radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.05), transparent 55%);
  background-size: 48px 48px, 48px 48px, 1200px 1200px;
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.035) 0,
    rgba(0, 0, 0, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.08;
  mix-blend-mode: multiply;
  z-index: -1;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 56px 110px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 32px;
  border-bottom: none;
  padding-bottom: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 600;
  position: relative;
  cursor: help;
}

.brand-name::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: 130%;
  padding: 6px 10px;
  background: #1d1b19;
  color: #f6f1e8;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.brand-name:focus::after,
.brand-name:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.brand-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--ink);
}

.hero {
  margin-top: 28px;
}

.hero-frame {
  border: 1px solid var(--line);
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: #fffefb;
  box-shadow: 0 24px 50px -40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-content {
  padding: 48px 44px 44px;
}

.hero-content h1 {
  font-family: var(--sans);
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-subhead {
  font-size: 15px;
  color: #2b2a28;
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #f5f3ee;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.4);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border: 1px solid #202020;
  background: radial-gradient(circle at 20% 20%, #1e1e1e, #050505 65%);
  overflow: hidden;
}

.hero-planet {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  right: 14%;
  top: 18%;
  background: radial-gradient(circle at 30% 30%, #d1d1d1, #7a7a7a 65%, #4a4a4a 100%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease;
}

.hero-planet::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  filter: blur(1px);
}

.hero-orbit {
  position: absolute;
  width: 320px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%) rotate(-12deg);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.1), transparent 60%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: repeating-radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  opacity: 0.6;
  animation: orbitPulse 6s ease-in-out infinite;
}

.collaborators {
  margin: 36px 0 70px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

.collaborators-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-bottom: 18px;
}

.collaborators-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
}

.collaborators-logos img {
  max-width: 120px;
  width: 100%;
  height: 56px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  flex: 1 1 0;
}

.collaborators-logos img:hover,
.collaborators-logos img:focus {
  filter: grayscale(0);
  opacity: 1;
}

.section-header {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-header h2 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--line);
  margin-top: 10px;
}

.section-header p {
  color: #2f2c28;
}

.philosophy,
.portfolio,
.value-prop,
.process {
  margin: 64px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 50px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: #fefdf9;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 30px -25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0, 0, 0, 0.04), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.pillar-card:hover::before,
.pillar-card:focus-within::before {
  transform: translateX(120%);
}

.pillar-card:hover,
.pillar-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.45);
}

.pillar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.pillar-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  margin: 10px 0;
}

.pillar-card h4 {
  font-size: 13px;
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.pillar-card p {
  font-size: 14px;
  color: #2f2d2a;
}

.value-table {
  border: 1px solid var(--line);
  background: #fffefa;
  position: relative;
}

.value-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.value-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-row:hover::after {
  opacity: 1;
}

.value-row:last-child {
  border-bottom: none;
}

.value-key {
  padding: 14px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: #f3efe6;
}

.value-val {
  padding: 14px 16px;
  font-size: 14px;
  color: #2f2d2a;
}

.process .section-header {
  margin-bottom: 0;
}

.footer {
  margin: 74px 0 36px;
}

.footer-frame {
  border: 1px solid var(--line);
  padding: 42px 44px;
  background: #fffefb;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
}

.footer-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed var(--line);
  pointer-events: none;
  opacity: 0.4;
}

.footer .btn-primary {
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 1.4px;
  background: #111;
  border-color: #111;
}

.footer .btn-primary:hover,
.footer .btn-primary:focus {
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
}

.footer-frame h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.footer-frame p {
  color: #2f2d2a;
}

.interactive-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  animation: pulse 2.2s ease-in-out infinite;
}

.dot-1 {
  top: 18px;
  left: 18px;
}

.dot-2 {
  bottom: 18px;
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 12px rgba(0, 0, 0, 0.02);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

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

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

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

  .value-row {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 36px 20px 70px;
  }

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

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

  .value-key {
    border-bottom: 1px solid var(--line);
  }

  .footer-frame {
    grid-template-columns: 1fr;
  }
}
