:root {
  --text: #101828;
  --muted: #667085;
  --soft: #f5f8ff;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(16, 24, 40, 0.1);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #22c55e;
  --shadow: 0 24px 70px rgba(37, 99, 235, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "Nunito Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(6, 182, 212, 0.16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(37, 99, 235, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 48%, #ffffff 100%);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--blue);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: 760px;
  padding: 88px clamp(20px, 6vw, 92px) 96px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7.5vw, 7rem);
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.5rem);
}

.lead {
  max-width: 650px;
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
  font-weight: 900;
}

.button:hover {
  transform: translateY(-2px);
}

.lab-board {
  position: relative;
  min-height: 560px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lab-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.board-top {
  display: flex;
  gap: 10px;
}

.board-top span {
  width: 10px;
  height: 10px;
  background: rgba(37, 99, 235, 0.32);
  border-radius: 50%;
}

.signal-card {
  position: relative;
  margin-top: 68px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

.signal-card strong {
  display: block;
  margin-bottom: 24px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.signal-line {
  height: 12px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.signal-line.short {
  width: 64%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.tile-grid span {
  min-height: 92px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-weight: 900;
}

.split-section,
.principles,
.studio,
.contact {
  padding: 96px clamp(20px, 6vw, 92px);
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(32px, 6vw, 84px);
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--line);
}

.work-list {
  display: grid;
  gap: 18px;
}

.work-list article,
.principle-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.06);
}

.work-list span {
  color: var(--cyan);
  font-weight: 900;
}

h3 {
  margin: 8px 0;
  font-size: 1.28rem;
}

.work-list p,
.principle-grid p {
  color: var(--muted);
}

.section-heading {
  max-width: 850px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.studio {
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.studio-panel {
  max-width: 940px;
  color: #ffffff;
}

.studio-panel .section-kicker {
  color: #67e8f9;
}

.studio-panel p:last-child {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
}

.contact {
  text-align: center;
}

.contact p {
  margin: 18px auto 26px;
  max-width: 560px;
  color: var(--muted);
}

.email-link {
  display: inline-flex;
  padding: 18px 28px;
  color: #ffffff;
  background: #101828;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 92px);
  color: rgba(255, 255, 255, 0.78);
  background: #101828;
}

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

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

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .lab-board {
    min-height: 420px;
  }
}
