:root {
  --color-bg: #f1fff8;
  --color-surface: #ffffff;
  --color-panel: #ffffff;
  --color-text: #1f2a2a;
  --color-muted: rgba(31, 42, 42, 0.68);
  --color-accent: #9fe2bf;
  --color-accent-soft: rgba(159, 226, 191, 0.3);
  --color-border: rgba(31, 42, 42, 0.12);
  --shadow-soft: 0 20px 40px -24px rgba(31, 50, 45, 0.25);
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Cherry Bomb One', cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #dff7ef 0%, var(--color-bg) 65%);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus {
  color: #1c6c52;
}

main {
  display: flex;
  flex-direction: column;
  gap: clamp(2.8rem, 7vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 6vw, 5rem) 4.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 2.2rem) clamp(1.25rem, 6vw, 5rem);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -18px rgba(31, 50, 45, 0.35);
}

.brand {
  max-width: 360px;
}

.brand-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand .accent {
  color: #1c6c52;
}

.brand-tagline {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 1rem;
}

.site-nav a {
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: #1c6c52;
}


.site-nav .nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 102, 194, 0.25);
  background: rgba(10, 102, 194, 0.08);
  border-bottom: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-linkedin .icon {
  font-size: 1.05rem;
  line-height: 1;
  color: #0a66c2;
}

.site-nav .nav-linkedin:hover,
.site-nav .nav-linkedin:focus {
  border-color: #0a66c2;
  background: rgba(10, 102, 194, 0.18);
  color: #0a66c2;
  border-bottom: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.8rem, 4vw, 2.6rem);
}

.hero-copy.solo {
  max-width: 720px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  color: #1c3c33;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.8rem;
}

.vision-copy {
  display: grid;
  gap: 1rem;
}

.vision-copy p {
  margin: 0;
}

.vision-copy .vision-prompts {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.55rem;
  color: rgba(31, 42, 42, 0.72);
}

.vision-copy .vision-prompts li {
  list-style: disc;
}

section header {
  margin-bottom: 1.4rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0 0 0.5rem;
  color: #1c3c33;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #1c6c52;
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.experiments {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.experiment-card {
  --experiment-accent: var(--color-accent);
  --experiment-card-background: var(--color-panel);
  --experiment-card-border: var(--color-border);
  --experiment-card-text: rgba(31, 42, 42, 0.78);
  background: var(--experiment-card-background);
  padding: 1.8rem;
  border-radius: 18px;
  border: 1px solid var(--experiment-card-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  isolation: isolate;
  color: var(--experiment-card-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experiment-card:hover,
.experiment-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -32px rgba(31, 50, 45, 0.45);
}

.experiment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 18px 18px 0 0;
  background: var(--experiment-accent);
  opacity: 0.45;
}

.experiment-header {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1rem;
}

.experiment-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.experiment-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experiment-summary {
  display: grid;
  gap: 0.2rem;
}

.experiment-id {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  font-family: 'Cherry Bomb One', cursive;
}

.experiment-card h3 {
  margin: 0;
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: inherit;
}


.experiment-card p {
  margin: 0;
  color: inherit;
}

.experiment-description {
  color: inherit;
}

.experiment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.experiment-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 22px -18px rgba(31, 50, 45, 0.35);
}

.experiment-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(31, 42, 42, 0.6);
}

.note code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(159, 226, 191, 0.25);
}

.site-footer {
  text-align: center;
  padding: 2.4rem 1.5rem 3rem;
  color: rgba(31, 42, 42, 0.7);
  font-size: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
  }

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

@media (max-width: 600px) {
  main {
    padding: 1.5rem 1.35rem 3rem;
  }

  .site-header {
    padding: 1rem 1.4rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

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

.experiment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.experiment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(31, 42, 42, 0.8);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.experiment-link:hover,
.experiment-link:focus {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.25);
}

.experiment-link-icon {
  font-size: 0.95rem;
}
