@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #18221d;
  --cream: #f3efe5;
  --paper: #fffdf7;
  --moss: #385b45;
  --fern: #8ca277;
  --amber: #d59b5a;
  --line: rgba(24, 34, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 78px;
  padding: 16px clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(243, 239, 229, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.identity-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
}

.nav-list,
.footer-nav {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.nav-list a,
.footer-nav a {
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current='page'] {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  min-height: 78vh;
  margin: 0 clamp(16px, 3vw, 42px);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}

.hero img {
  width: 100%;
  height: 78vh;
  min-height: 600px;
  object-fit: cover;
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 18, 13, 0.88), rgba(9, 18, 13, 0.32) 62%, rgba(9, 18, 13, 0.08));
}

.hero-copy {
  width: min(760px, 88%);
  position: absolute;
  left: clamp(28px, 6vw, 92px);
  bottom: clamp(42px, 9vw, 110px);
  color: #fffdf7;
}

.kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 690px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.primary-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.manifesto,
.focus-lab,
.closing-note {
  width: min(1240px, calc(100% - 44px));
  margin: 110px auto;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
}

.manifesto h2,
.focus-lab h2,
.closing-note h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
}

.manifesto-copy {
  font-size: 1.08rem;
  line-height: 1.9;
}

.focus-lab {
  padding: clamp(32px, 6vw, 74px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
}

.focus-copy > p {
  max-width: 650px;
  line-height: 1.7;
}

.focus-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.focus-buttons button {
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.focus-buttons button:hover,
.focus-buttons button.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.focus-result {
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
}

.focus-result span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.focus-result strong {
  margin: 18px 0 12px;
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  font-weight: 400;
}

.day-grid {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.day-grid article {
  min-height: 280px;
  padding: 30px;
  background: var(--paper);
}

.day-grid span {
  color: var(--moss);
  font-weight: 700;
}

.day-grid h3 {
  margin: 70px 0 12px;
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
}

.day-grid p,
.closing-note p {
  line-height: 1.75;
}

.closing-note {
  max-width: 920px;
  text-align: center;
}

.closing-note .section-label {
  color: var(--moss);
}

footer {
  padding: 42px clamp(22px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

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

  .manifesto,
  .focus-lab {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero {
    margin: 0;
    border-radius: 0;
  }

  .hero img {
    min-height: 680px;
  }

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