:root {
  --ink: #17211b;
  --muted: #657168;
  --paper: #fffaf0;
  --paper-2: #f6efe1;
  --card: rgba(255, 255, 255, 0.76);
  --line: rgba(23, 33, 27, 0.14);
  --green: #1f6f4a;
  --green-dark: #123d2a;
  --orange: #e9823a;
  --yellow: #f5c94a;
  --blue: #6da9c7;
  --shadow: 0 24px 80px rgba(23, 33, 27, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 201, 74, 0.38), transparent 28rem),
    radial-gradient(circle at 90% 4%, rgba(109, 169, 199, 0.34), transparent 26rem),
    linear-gradient(135deg, #fffaf0 0%, #f7f0df 46%, #f5ead6 100%);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(23, 33, 27, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 27, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(23, 33, 27, 0.08);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: "Fraunces", serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav {
  gap: 4px;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(31, 111, 74, 0.1);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 26px;
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 44px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.work-card,
.food-panel,
.life-card,
.contact,
.lab-board {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  min-height: 600px;
  padding: clamp(34px, 7vw, 76px);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(52px, 9vw, 118px);
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 74px);
}

h3 {
  margin: 14px 0 10px;
  font-size: 31px;
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 33, 27, 0.12);
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 34px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(155deg, rgba(31, 111, 74, 0.1), rgba(255, 255, 255, 0.8)),
    var(--card);
}

.card-orbit {
  position: absolute;
  top: 42px;
  right: 36px;
  width: 220px;
  height: 220px;
  border-radius: 42% 58% 60% 40%;
  background:
    radial-gradient(circle at 32% 34%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: inset -18px -22px 40px rgba(117, 62, 19, 0.18);
  animation: floatShape 8s ease-in-out infinite;
}

.card-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(245, 201, 74, 0.28);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card h2 {
  max-width: 410px;
  font-size: clamp(38px, 5vw, 58px);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  gap: 13px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.signal-list span {
  color: var(--orange);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.strip,
.section,
.contact,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.strip {
  margin-top: 20px;
  padding: 24px clamp(20px, 5vw, 44px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip p {
  max-width: 980px;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section {
  padding: 86px 0 0;
}

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

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

.work-card {
  min-height: 340px;
  padding: 26px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.work-card:nth-child(2) {
  transform: translateY(28px);
}

.work-number {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.work-card p,
.split-copy p,
.food-panel p,
.life-card p,
.contact-note {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 110px;
}

.lab-board {
  padding: 18px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 12px;
}

.lab-item {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.lab-item strong,
.lab-item span {
  display: block;
}

.lab-item strong {
  font-family: "Fraunces", serif;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.lab-item span {
  margin-top: 7px;
  color: var(--muted);
}

.food-section {
  padding-top: 112px;
}

.food-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 60px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 24%, rgba(233, 130, 58, 0.26), transparent 22rem),
    rgba(255, 255, 255, 0.74);
}

.food-panel p {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tags span {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-dark);
  font-weight: 800;
}

.life-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.life-card {
  min-height: 410px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
}

.life-card.accent {
  background:
    linear-gradient(150deg, rgba(109, 169, 199, 0.3), rgba(255, 255, 255, 0.72)),
    var(--card);
}

.contact {
  margin-top: 86px;
  padding: clamp(30px, 6vw, 70px);
  border-radius: var(--radius-xl);
  text-align: center;
}

.contact h2 {
  max-width: 940px;
  margin-inline: auto;
}

.contact-actions {
  justify-content: center;
}

.contact-note {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes floatShape {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    border-radius: 42% 58% 60% 40%;
  }
  50% {
    transform: translate3d(-10px, 14px, 0) rotate(7deg);
    border-radius: 56% 44% 42% 58%;
  }
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .life-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 34px;
  }

  .hero-copy,
  .hero-card {
    min-height: auto;
  }

  .work-card:nth-child(2) {
    transform: none;
  }

  .split-copy {
    position: static;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 15px;
  }

  .hero-copy,
  .hero-card,
  .work-card,
  .life-card,
  .contact {
    border-radius: 22px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
