:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --surface: #fffdfa;
  --ink: #1f2526;
  --muted: #66706e;
  --line: #ddd8ce;
  --green: #277a62;
  --coral: #d75f48;
  --blue: #336f9f;
  --gold: #b88a29;
  --shadow: 0 20px 60px rgba(31, 37, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--ink);
}

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

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(92px, 12vw, 132px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  gap: clamp(12px, 3vw, 26px);
  padding: 10px 14px;
  border: 1px solid rgba(31, 37, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: blur(14px);
  font-size: 0.92rem;
}

.site-nav a {
  color: #37413f;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 5vw, 64px) 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.98) 0%, rgba(247, 243, 236, 0.86) 34%, rgba(247, 243, 236, 0.2) 72%),
    linear-gradient(180deg, rgba(247, 243, 236, 0.2), var(--paper));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.project-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: #3e4947;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border: 1px solid rgba(31, 37, 38, 0.18);
  background: rgba(255, 253, 250, 0.76);
}

.work-section,
.approach-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

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

.project-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.project-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 37, 38, 0.08);
}

.project-logo-wide {
  width: min(220px, 100%);
  height: 70px;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
}

.project-card.gift {
  border-top: 5px solid var(--coral);
}

.project-card.basket {
  border-top: 5px solid var(--green);
}

.project-card.next {
  border-top: 5px solid var(--blue);
}

.project-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
}

.project-link {
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.project-link.muted {
  color: var(--muted);
  text-decoration: none;
}

.approach-section {
  background: #eef4f0;
  border-block: 1px solid #d7e1dc;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #d7e1dc;
  background: #d7e1dc;
}

.principles > div {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  background: #fbfdfb;
}

.principle-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.principles h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.principles p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: #4e5956;
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .project-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .project-card,
  .principles > div {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    max-width: 180px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 8px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88svh;
    padding-top: 138px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.98) 0%, rgba(247, 243, 236, 0.88) 45%, rgba(247, 243, 236, 0.68) 100%),
      linear-gradient(180deg, rgba(247, 243, 236, 0), var(--paper));
  }

  h1 {
    font-size: clamp(3.8rem, 22vw, 6rem);
  }

  .button {
    width: 100%;
  }

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