:root {
  color-scheme: light;
  --background: #f6f7f5;
  --surface: #ffffff;
  --ink: #202625;
  --muted: #5f6966;
  --line: #dce2dc;
  --accent: #216b63;
  --accent-strong: #164b46;
  --accent-soft: #dceee9;
  --warm: #d48a2c;
  --cool: #315f8f;
  --rose: #b65559;
  --shadow: 0 24px 70px rgba(31, 42, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 247, 245, 0.92);
  border-bottom: 1px solid rgba(29, 37, 37, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.site-footer a,
.card-links a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover,
.card-links a:hover {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 112px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow,
.status {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.band p,
.feature-card p {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.workbench {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(29, 37, 37, 0.12);
  border-radius: 8px;
  background: #1f2a27;
  box-shadow: var(--shadow);
}

.workbench-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  background: #273532;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ecf4ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workbench-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(28px, 5vw, 56px);
}

.tile {
  container-type: inline-size;
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 28px);
  background: #f8fbf7;
}

.tile.large {
  grid-row: span 2;
  min-height: 314px;
  background: var(--accent-soft);
}

.tile span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile strong {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.25rem, 9cqi, 1.9rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.about-me {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px) clamp(26px, 5vw, 42px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.about-identity {
  display: grid;
  gap: 18px;
  align-items: start;
}

.about-avatar {
  display: block;
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.about-identity h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.about-copy {
  max-width: 760px;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.now-building {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  margin: 0 clamp(20px, 5vw, 72px);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.now-building h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

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

.activity-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.activity-list li:last-child {
  border-bottom: 0;
}

.activity-list time {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-list span {
  color: var(--muted);
  font-weight: 700;
}

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

.lane-grid,
.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lane-grid {
  margin-bottom: 18px;
}

.lane-card,
.principle-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.lane-card {
  padding: clamp(20px, 3vw, 28px);
}

.lane-card p,
.principle-list p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card.featured {
  grid-column: span 2;
  background: #f8fbf7;
}

.feature-card p {
  max-width: 58ch;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.meta-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.card-links {
  margin-top: 24px;
  color: var(--accent-strong);
  font-weight: 800;
}

.card-links span {
  color: var(--muted);
}

.principles {
  padding: 0 clamp(20px, 5vw, 72px) clamp(58px, 8vw, 108px);
}

.principle-list article {
  padding: clamp(20px, 3vw, 30px);
  background: #f8fbf7;
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(44px, 6vw, 84px);
  padding: clamp(26px, 5vw, 46px);
  border-radius: 8px;
  background: var(--accent-soft);
}

.band div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(29, 37, 37, 0.08);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.content-page {
  max-width: 850px;
  min-height: calc(100vh - 154px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.content-page h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

.content-page section {
  margin-top: 38px;
}

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

  .hero,
  .about-me,
  .now-building,
  .lane-grid,
  .principle-list,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card.featured {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .workbench {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  h1 {
    font-size: 3rem;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    width: 100%;
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .hero-copy {
    width: 80vw;
    width: 80dvw;
    max-width: 100%;
  }

  .workbench {
    width: 74vw;
    width: 74dvw;
    max-width: 100%;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 100%;
  }

  .activity-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .tile.large {
    min-height: 220px;
  }

  .tile strong {
    font-size: clamp(1.45rem, 12cqi, 1.85rem);
  }
}
