:root {
  --ink: #151611;
  --ink-soft: #23251d;
  --paper: #f2efe7;
  --paper-dark: #e3dfd3;
  --lime: #d5f15c;
  --orange: #f07a45;
  --white: #fffdf7;
  --muted: #a3a497;
  --line: rgba(21, 22, 17, 0.16);
  --max-width: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad);
  color: var(--white);
  transition:
    background 250ms ease,
    padding 250ms ease,
    backdrop-filter 250ms ease;
}

.site-header.scrolled {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  background: rgba(21, 22, 17, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 2;
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand span {
  color: var(--lime);
}

.main-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 2.75rem);
  font-size: 0.84rem;
  font-weight: 600;
}

.main-menu a:not(.nav-cta) {
  position: relative;
}

.main-menu a:not(.nav-cta)::after {
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--lime);
  transition: width 180ms ease;
}

.main-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.65rem 1.15rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle i {
  position: absolute;
  left: 0.4rem;
  display: block;
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  transition:
    transform 180ms ease,
    top 180ms ease;
}

.menu-toggle i:first-of-type {
  top: 0.95rem;
}

.menu-toggle i:last-of-type {
  top: 1.5rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: 8rem var(--pad) 5rem;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, #000, transparent);
}

.hero-glow {
  position: absolute;
  top: -15vw;
  right: -10vw;
  width: 55vw;
  height: 55vw;
  background: rgba(240, 122, 69, 0.18);
  border-radius: 50%;
  filter: blur(110px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 1.5rem 0 1.4rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.5rem, 7.4vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 em,
h2 em {
  color: var(--lime);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 540px;
  margin: 0;
  color: #c9cabf;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.follow-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

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

.button-light {
  color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.2rem;
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.text-link span {
  color: var(--lime);
  font-size: 1.1rem;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 470px);
}

.image-frame {
  position: relative;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-frame::before {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 42%;
  height: 42%;
  content: "";
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.image-frame img {
  width: 100%;
  height: min(68svh, 680px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.04);
}

.hero-note {
  position: absolute;
  right: -1rem;
  bottom: 2.5rem;
  display: flex;
  width: 155px;
  min-height: 135px;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  color: var(--ink);
  background: var(--orange);
  transform: rotate(-3deg);
}

.hero-note strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-note span {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: var(--pad);
  color: #77796e;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-hint span {
  margin-left: 0.5rem;
  color: var(--lime);
}

.manifesto {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: 7rem var(--pad);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(240, 122, 69, 0.16),
      transparent 26%
    ),
    var(--paper);
}

.manifesto p {
  max-width: 1020px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
  text-align: center;
}

.manifesto em {
  color: var(--orange);
  font-family: Georgia, serif;
  font-weight: 400;
}

.section {
  padding: clamp(6rem, 10vw, 10rem) var(--pad);
}

.section-heading {
  max-width: var(--max-width);
  margin: 0 auto clamp(4rem, 7vw, 7rem);
}

.section-number {
  display: inline-block;
  margin-right: 1rem;
  color: #898b80;
  font-size: 0.7rem;
  font-weight: 700;
}

.section-heading h2 {
  max-width: 900px;
  margin: 1.3rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.story {
  background: var(--white);
}

.story-grid {
  display: grid;
  max-width: var(--max-width);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  margin: 0 auto;
}

.story-image {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.story-image::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 60%;
  content: "";
  background: var(--lime);
}

.story-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84);
}

.image-caption {
  position: absolute;
  right: 1rem;
  bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-copy {
  max-width: 650px;
}

.story-copy p {
  color: #56584f;
  font-size: 1.03rem;
}

.story-copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.story-marker {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border-left: 3px solid var(--orange);
}

.story-marker span {
  color: #73756b;
  font-size: 0.82rem;
}

.story-marker strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}

.pillars {
  color: var(--white);
  background: var(--ink);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-row h2 {
  margin: 0;
  text-align: right;
}

.pillar-list {
  display: grid;
  max-width: var(--max-width);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.pillar {
  position: relative;
  min-height: 410px;
  padding: clamp(2rem, 3.5vw, 3.5rem);
  background: var(--ink);
  transition:
    background 220ms ease,
    color 220ms ease;
}

.pillar:hover {
  color: var(--ink);
  background: var(--lime);
}

.pillar-index {
  color: #707268;
  font-size: 0.65rem;
}

.pillar-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-top: 3.8rem;
  place-items: center;
  color: var(--lime);
  font-size: 2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.pillar:hover .pillar-icon {
  color: var(--ink);
}

.pillar h3 {
  margin: 2.2rem 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.pillar p {
  margin: 0;
  color: #aeb0a6;
  font-size: 0.95rem;
  line-height: 1.7;
}

.pillar:hover p,
.pillar:hover .pillar-index {
  color: rgba(21, 22, 17, 0.7);
}

.turning-point {
  min-height: 68vh;
  padding: clamp(7rem, 12vw, 12rem) var(--pad);
  color: var(--white);
  background: var(--orange);
  overflow: hidden;
}

.turning-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.turning-point .eyebrow {
  color: var(--ink);
}

.turning-point h2 {
  max-width: 1100px;
  margin: 1.5rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 6vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.turning-point h2 em {
  color: var(--ink);
}

.turning-line {
  width: 110vw;
  height: 1px;
  margin-top: 6rem;
  margin-left: -5vw;
  background: rgba(21, 22, 17, 0.3);
  transform: rotate(-4deg);
}

.projects {
  background: var(--paper);
}

.project-grid {
  display: grid;
  max-width: var(--max-width);
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.25rem;
  margin: 0 auto;
}

.project-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4rem);
}

.project-card-main {
  color: var(--white);
  background: var(--ink);
}

.project-card-secondary {
  background: var(--lime);
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-tag::before {
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.project-card h3 {
  margin: 2rem 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.project-card p {
  max-width: 580px;
  color: #babcaf;
}

.project-card-secondary p {
  color: rgba(21, 22, 17, 0.7);
}

.project-card .button {
  align-self: flex-start;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.status i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(240, 122, 69, 0.2);
}

.follow {
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(213, 241, 92, 0.11),
      transparent 24%
    ),
    var(--ink-soft);
}

.follow-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.follow-inner .eyebrow::before {
  display: none;
}

.follow h2 {
  margin: 1.5rem 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5.7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.follow p {
  max-width: 660px;
  margin: 0 auto;
  color: #b6b8ad;
  font-size: 1.05rem;
}

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

.text-link.light {
  color: var(--white);
}

.support-note {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 2.5rem var(--pad);
  color: #515349;
  background: var(--paper-dark);
  font-size: 0.82rem;
}

.support-note strong {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

.support-note p {
  max-width: 800px;
  margin: 0;
}

.support-note a {
  font-weight: 700;
  text-decoration: underline;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem var(--pad);
  color: #989a8f;
  background: var(--ink);
  font-size: 0.75rem;
}

.brand-footer {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer > span {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr 0.75fr;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
  }

  .story-grid {
    gap: 4rem;
  }

  .pillar {
    min-height: 460px;
    padding: 2rem;
  }

  .support-note {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] i:first-of-type {
    top: 1.22rem;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i:last-of-type {
    top: 1.22rem;
    transform: rotate(-45deg);
  }

  .main-menu {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 5rem 2rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.65rem;
    opacity: 0;
    background: var(--ink);
    transform: translateY(-1rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms;
  }

  .main-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: 0.5rem;
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .hero-copy {
    margin-bottom: 3.5rem;
  }

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

  .hero-visual {
    width: calc(100% - 1rem);
    margin-left: auto;
  }

  .image-frame img {
    height: min(65svh, 580px);
  }

  .hero-note {
    right: -0.5rem;
    bottom: 1.5rem;
    width: 135px;
    min-height: 115px;
  }

  .scroll-hint {
    display: none;
  }

  .manifesto {
    min-height: 55vh;
  }

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

  .story-image {
    max-width: 500px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row h2 {
    margin-top: 2rem;
    text-align: left;
  }

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

  .pillar {
    min-height: auto;
  }

  .pillar-icon {
    margin-top: 2.5rem;
  }

  .project-card {
    min-height: 400px;
  }

  .support-note,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 0.4rem;
  }

  .site-footer > span {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .follow-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .story-image {
    padding: 0 0 1.35rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
