:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #59675f;
  --line: #dfe6de;
  --paper: #fbfaf6;
  --mist: #eef4ee;
  --sage: #67856d;
  --forest: #223a2b;
  --gold: #c99c3d;
  --coral: #ba614d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(25, 42, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(223, 230, 222, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  box-shadow: 0 12px 40px rgba(34, 58, 43, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-size: 0.8rem;
}

.brand strong {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.header-cta,
.button {
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--forest);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.header-cta {
  padding: 0 18px;
  color: var(--forest);
  border: 1px solid var(--line);
  background: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  min-height: calc(100vh - 79px);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  padding: clamp(46px, 8vw, 86px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 58px);
  background:
    linear-gradient(115deg, rgba(238, 244, 238, 0.92), rgba(251, 250, 246, 0.7) 48%, rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 74% 18%, rgba(201, 156, 61, 0.2), transparent 28%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.button {
  min-width: 148px;
  padding: 0 22px;
  border: 1px solid transparent;
}

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

.button.secondary {
  color: var(--forest);
  border-color: var(--line);
  background: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 44px 0 0;
}

.quick-facts div {
  min-height: 116px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 8px 0 0;
  font-weight: 800;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(330px, calc(100% - 36px));
  padding: 16px;
  color: var(--white);
  background: rgba(23, 33, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-note span {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.hero-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.intro-section,
.section,
.footer {
  padding: clamp(58px, 9vw, 104px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: clamp(22px, 5vw, 78px);
  background: var(--forest);
  color: var(--white);
}

.intro-section .section-kicker {
  color: var(--gold);
}

.intro-section p {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(1.38rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr);
  gap: clamp(22px, 5vw, 76px);
  align-items: start;
  margin-bottom: 38px;
}

.section-heading h2,
.split-section h2,
.footer h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-meta {
  color: var(--muted);
}

.timeline-meta span,
.project-card span {
  display: block;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-meta strong {
  display: block;
  margin-top: 10px;
  color: var(--forest);
  line-height: 1.35;
}

.timeline-content h3,
.project-card h3,
.skills-layout h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.timeline-content p,
.project-card p,
.skills-layout p {
  margin: 12px 0 0;
  color: var(--muted);
}

.timeline-content ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.projects-section {
  background: var(--mist);
}

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

.project-card,
.skills-layout article {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-card h3 {
  margin-top: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

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

.recognition-section {
  background: var(--white);
}

.recognition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.recognition-list p {
  margin: 0;
  padding: 12px 16px;
  color: var(--forest);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 32px;
  color: var(--white);
  background: #111b16;
}

.footer .section-kicker {
  color: var(--gold);
}

.footer address {
  display: grid;
  gap: 12px;
  align-content: end;
  font-style: normal;
}

.footer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 82px);
  background:
    linear-gradient(120deg, rgba(238, 244, 238, 0.96), rgba(251, 250, 246, 0.82) 55%, rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 82% 20%, rgba(186, 97, 77, 0.17), transparent 26%);
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.blog-hero-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.article-meta span {
  padding: 10px 14px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.blog-hero-panel {
  padding: 26px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-hero-panel p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-hero-panel strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.blog-hero-panel span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.blog-article {
  display: grid;
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 760px);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-toc p {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-toc a {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.article-toc a:hover {
  color: var(--forest);
}

.article-content {
  min-width: 0;
}

.article-content section {
  padding-bottom: clamp(34px, 6vw, 64px);
}

.article-content h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.article-content h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content blockquote {
  margin: 28px 0 0;
  padding: 24px;
  color: var(--forest);
  background: var(--mist);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.32;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.insight-grid div,
.lifecycle-list div,
.callout {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lifecycle-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.lifecycle-list div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 4px 18px;
}

.lifecycle-list span {
  grid-row: span 2;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.lifecycle-list p,
.insight-grid p {
  margin-bottom: 0;
}

.callout {
  margin-top: 26px;
  background: var(--forest);
}

.callout h3 {
  color: var(--white);
}

.callout ul,
.article-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.callout li {
  color: rgba(255, 255, 255, 0.78);
}

.article-steps strong {
  display: block;
  color: var(--forest);
}

.article-sources {
  padding: 24px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-sources h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.article-sources a {
  display: block;
  padding: 12px 0;
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
    order: -1;
  }

  .quick-facts,
  .section-heading,
  .intro-section,
  .timeline-item,
  .split-section,
  .footer,
  .blog-hero,
  .blog-article {
    grid-template-columns: 1fr;
  }

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

  .article-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand strong {
    display: none;
  }

  .header-cta {
    min-height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.88rem;
  }

  .hero,
  .blog-hero,
  .blog-article,
  .intro-section,
  .section,
  .footer {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .quick-facts,
  .insight-grid,
  .skills-layout {
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.05rem);
  }

  .article-meta span {
    width: 100%;
  }

  .lifecycle-list div {
    grid-template-columns: 1fr;
  }

  .hero-note {
    position: static;
    width: 100%;
    border-radius: 0;
  }

  .project-card,
  .skills-layout article,
  .timeline-item {
    padding: 20px;
  }
}
