:root {
  --ink: #11110f;
  --muted: #5f6159;
  --paper: #f3efe4;
  --paper-soft: #faf7ef;
  --panel: #fffdf7;
  --line: #d7d0bf;
  --sage: #274c3a;
  --sage-soft: #dfe9dd;
  --sky: #dbe7f0;
  --clay: #c7644a;
  --plum: #5b465b;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(35, 31, 25, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  letter-spacing: 0;
}

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
}

header.site {
  background: rgba(250, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

:root { --n: 1; }

.logo-text {
  font-family: Arial, sans-serif;
  display: inline-block;
  position: relative;
  line-height: 1;
  text-decoration: none;
  transform-origin: left center;
}

.logo-part {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.logo-part.edu { color: #6e4f4f; top: 0; font-size: calc(var(--n) * 1.7em); margin-right: calc(var(--n) * -2px); }
.logo-part.z { color: #555555; font-size: calc(var(--n) * 2.0em); transform: rotate(-12deg); top: -1px; margin-right: calc(var(--n) * -6px); }
.logo-part.one { color: #7aa3c2; top: -10px; font-size: calc(var(--n) * 1.5em); margin-right: 0; margin-left: calc(var(--n) * 4px); }
.logo-part.lab { color: #5c8a72; font-size: calc(var(--n) * calc(1.7em + 0.2vw)); top: 0; margin-right: calc(var(--n) * -8px); left: calc(var(--n) * 1px); }

.logo-text:hover .logo-part.edu, .logo-text.play .logo-part.edu { animation: ezlFloatUpedu 2s ease forwards; }
.logo-text:hover .logo-part.z, .logo-text.play .logo-part.z { animation: ezlFloatUpZ 5s ease forwards; }
.logo-text:hover .logo-part.one, .logo-text.play .logo-part.one { animation: ezlFloatUpone 2s ease forwards; }
.logo-text:hover .logo-part.lab, .logo-text.play .logo-part.lab { animation: ezlFloatUplab 2s ease forwards; }

@keyframes ezlFloatUpedu { 0% { transform: translateY(0) scale(1); } 15% { transform: translateY(-5px) scale(2); } 30% { transform: translateY(-2px) scale(1); } 100% { transform: translateY(-2px) scale(1); } }
@keyframes ezlFloatUpZ { 0% { transform: rotate(0deg) translateY(0) scale(1); } 1% { transform: rotate(-12deg) translateY(0) scale(1); } 20% { transform: rotate(-191deg) translateY(-5px) scale(3); } 40% { transform: rotate(-372deg) translateY(-2px) scale(1); } 100% { transform: rotate(-372deg) translateY(-2px) scale(1); } }
@keyframes ezlFloatUpone { 20% { transform: translateY(0) scale(1); } 60% { transform: translateY(-5px) scale(2); } 80% { transform: translateY(-2px) scale(1); } 100% { transform: translateY(-2px) scale(1); } }
@keyframes ezlFloatUplab { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(0) scale(1); } 70% { transform: translateY(-5px) scale(1.2); } 100% { transform: translateY(-2px) scale(1); } }

.menu { position: relative; }

.menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.menu-btn svg { width: 19px; height: 19px; }
.menu-btn:hover { background: var(--ink); color: var(--paper-soft); }

.menu-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 15;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, calc(100vw - 40px));
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 20;
}

.menu-toggle:checked ~ .menu-overlay { opacity: 1; visibility: visible; }
.menu-toggle:checked ~ .menu-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-toggle:checked ~ .menu-btn { background: var(--ink); color: var(--paper-soft); }

.menu-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.menu-panel a:hover { background: var(--sage-soft); }
.menu-panel a.private { border-top: 1px solid var(--line); margin-top: 6px; color: var(--muted); }
.menu-panel a.private svg { width: 15px; height: 15px; }

.parallax-wrap {
  position: relative;
  overflow: hidden;
}

.bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  display: block;
  border: 1px solid rgba(17, 17, 15, 0.18);
  will-change: transform;
}

.shape-a {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -160px;
  background: var(--sky);
  transform: rotate(8deg);
}

.shape-b {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 520px;
  background: var(--sage-soft);
  border-radius: 50%;
}

.shape-c {
  width: 180px;
  height: 180px;
  right: 14%;
  top: 900px;
  background: #f1d5c9;
  transform: rotate(-12deg);
}

.hero, .platforms { position: relative; z-index: 1; }

.hero {
  padding: 46px 0 30px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 54px;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.ecosystem h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--ink);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 7.4vw, 6.4rem);
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.42;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: var(--paper-soft); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--sage-soft); }

.hero-panel {
  display: grid;
  gap: 14px;
}

.brand-card,
.metric-row,
.mini-list {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
}

.brand-card {
  padding: 22px;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.brand-card img {
  display: block;
  width: min(100%, 330px);
  height: auto;
}

.brand-card p {
  max-width: 330px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.metric-row span {
  min-height: 94px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.metric-row span + span { border-left: 1px solid var(--ink); }
.metric-row strong { color: var(--ink); font-size: 2rem; line-height: 1; }

.mini-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.mini-list span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.mini-list span + span { border-left: 1px solid var(--ink); }

section { padding: 58px 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.ecosystem h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.section-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.card {
  min-height: 300px;
  background: rgba(255, 253, 247, 0.78);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease, transform .15s ease;
}

.card:hover { background: var(--panel); transform: translateY(-3px); }
.card.featured { background: var(--sage); color: var(--paper-soft); }
.card.featured p, .card.featured .link-out, .card.featured .card-kicker { color: rgba(255, 253, 247, 0.78); }
.card.featured .icon { background: var(--paper-soft); color: var(--sage); }

.card-kicker {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card .icon {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}

.card .icon svg { width: 22px; height: 22px; }

.card h3 {
  margin: 4px 0 0;
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .link-out {
  color: var(--sage);
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.card .link-out::after { content: " ->"; }

.lock-note {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.lock-note svg { width: 12px; height: 12px; }

.about {
  background: var(--ink);
  color: var(--paper-soft);
}

.about .section-heading h2,
.about .eyebrow { color: var(--paper-soft); }
.about .section-lead { color: rgba(250, 247, 239, 0.68); }

.about .cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(250, 247, 239, 0.3);
  border-left: 1px solid rgba(250, 247, 239, 0.3);
}

.about .col {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid rgba(250, 247, 239, 0.3);
  border-bottom: 1px solid rgba(250, 247, 239, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.about .col span {
  color: #9fb89d;
  font-size: 0.84rem;
  font-weight: 900;
}

.about .col h3 {
  margin: 0 0 12px;
  color: var(--paper-soft);
  font-size: 1.3rem;
  line-height: 1.1;
}

.about .col p {
  margin: 0;
  color: rgba(250, 247, 239, 0.7);
  font-size: 0.98rem;
}

.ecosystem {
  background: var(--sky);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
}

.ecosystem p {
  margin: 0 0 8px;
  color: #343a3f;
  font-size: 1.15rem;
}

footer.site {
  background: var(--paper-soft);
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p { margin: 0; }
.footer-grid a { color: var(--ink); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .logo-text:hover .logo-part.edu, .logo-text.play .logo-part.edu,
  .logo-text:hover .logo-part.z, .logo-text.play .logo-part.z,
  .logo-text:hover .logo-part.one, .logo-text.play .logo-part.one,
  .logo-text:hover .logo-part.lab, .logo-text.play .logo-part.lab {
    animation: none;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero h1 { font-size: clamp(3.1rem, 12vw, 5.2rem); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about .cols { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .nav-wrap { min-height: 66px; }
  :root { --n: 0.82; }
  .hero { padding: 34px 0 22px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 3.7rem); }
  .lead { margin-top: 18px; font-size: 1rem; }
  .hero-panel { display: none; }
  .button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .metric-row, .mini-list { grid-template-columns: 1fr 1fr; }
  .metric-row span:nth-child(2n + 1), .mini-list span:nth-child(2n + 1) { border-left: 0; }
  .metric-row span + span, .mini-list span + span { border-left: 1px solid var(--ink); }
  .mini-list span:nth-child(n + 3) { border-top: 1px solid var(--ink); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
