:root {
  --ink: #17201c;
  --muted: #52615a;
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --line: #d8dfd9;
  --forest: #164f3b;
  --leaf: #2f8c57;
  --clay: #a84632;
  --sun: #f2c94c;
  --blue: #1f6fb2;
  --shadow: 0 18px 48px rgba(23, 32, 28, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--paper-strong);
  background: var(--forest);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.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: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(216, 223, 217, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 50%;
  font-weight: 800;
}

.brand-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 52px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--forest);
  background: #eaf2ec;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(540px, calc(84svh - var(--header-height)), 760px);
  display: grid;
  align-items: end;
  padding: clamp(40px, 9vw, 96px) clamp(20px, 7vw, 80px);
  color: var(--paper-strong);
  background:
    linear-gradient(rgba(14, 24, 18, 0.26), rgba(14, 24, 18, 0.28)),
    url("assets/hero-harvest.jpeg") center 34% / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 30, 21, 0.88) 0%, rgba(9, 30, 21, 0.64) 42%, rgba(9, 30, 21, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 30, 21, 0.34), transparent 45%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.15rem, 8vw, 6.8rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 4.6vw, 4.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.hero-lede {
  width: min(620px, 100%);
  margin: 24px 0 0;
  font-size: clamp(1.17rem, 2vw, 1.55rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  color: var(--paper-strong);
  background: var(--clay);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #873525;
  outline: 3px solid rgba(242, 201, 76, 0.55);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--paper-strong);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 3px solid rgba(242, 201, 76, 0.55);
  outline-offset: 3px;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section,
.photo-band,
.pillars-section,
.learning-section,
.support-section,
.contact-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-section {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}

.intro-copy p,
.section-heading p,
.learning-copy p,
.support-copy p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.intro-copy p {
  max-width: 680px;
}

.resonance-quote,
.learning-quote {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  background: rgba(242, 201, 76, 0.16);
}

.resonance-quote p,
.learning-quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  font-weight: 750;
}

.image-panel {
  margin: 0;
}

.image-panel img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-band {
  background: var(--paper-strong);
}

.photo-band-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.photo-band-heading h2 {
  max-width: 12ch;
}

.photo-band-heading p:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}

.photo-tile {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: #eaf2ec;
  border-radius: var(--radius);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.photo-tile figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 10px 12px;
  color: var(--paper-strong);
  background: rgba(16, 24, 21, 0.78);
  border-radius: var(--radius);
  font-weight: 750;
}

.photo-tile-large {
  grid-row: span 2;
}

.photo-tile-large img {
  min-height: 476px;
  object-position: center 36%;
}

.photo-tile-wide {
  grid-column: span 2;
}

.pillars-section {
  background: #eef4ef;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 13ch;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pillar-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.pillar-content p {
  margin: 0;
  color: var(--muted);
}

.status {
  align-self: flex-start;
  padding: 5px 9px;
  color: var(--forest);
  background: #dbece0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.text-card {
  position: relative;
  min-height: 100%;
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(22, 79, 59, 0.96), rgba(31, 111, 178, 0.88)),
    var(--forest);
}

.text-card .status {
  color: var(--ink);
  background: var(--sun);
}

.text-card p {
  color: rgba(255, 255, 255, 0.86);
}

.text-card-mark {
  padding: 22px 20px 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.9;
}

.learning-section {
  color: var(--paper-strong);
  background: var(--forest);
}

.learning-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.learning-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 36%;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.learning-copy .eyebrow {
  color: var(--sun);
}

.learning-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.learning-quote {
  border-left-color: var(--sun);
  background: rgba(255, 255, 255, 0.11);
}

.learning-quote p {
  color: var(--paper-strong);
}

.belief-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.belief-list span {
  padding: 9px 12px;
  color: var(--paper-strong);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  font-weight: 800;
}

.support-section {
  background: var(--paper);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}

.support-copy {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

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

.support-list li {
  position: relative;
  padding: 13px 14px 13px 40px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

.support-list li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: var(--leaf);
  border-radius: 50%;
  content: "";
}

.support-images {
  display: grid;
  gap: 18px;
}

.support-images figure {
  margin: 0;
}

.support-images img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(22, 79, 59, 0.94), rgba(22, 79, 59, 0.82)),
    url("assets/maker-studio-product.jpeg") center / cover no-repeat;
  color: var(--paper-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-section .eyebrow {
  color: var(--sun);
}

.contact-section h2 {
  max-width: 13ch;
}

.contact-section p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel {
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
}

.contact-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 750;
}

.placeholder {
  color: var(--clay);
}

.site-footer {
  padding: 28px 0;
  color: var(--paper-strong);
  background: #101815;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.footer-inner span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner a {
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--sun);
  outline: none;
}

@media (max-width: 980px) {
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .photo-band-heading,
  .intro-grid,
  .learning-grid,
  .support-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-tile-large,
  .photo-tile-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-tile-large img {
    min-height: 300px;
  }

  .support-copy {
    position: static;
  }

  h1 {
    max-width: 10ch;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding: 12px 22px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    flex-basis: 44px;
    width: 44px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    padding: 10px;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: clamp(500px, 78svh, 640px);
    padding: 48px 22px;
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 30, 21, 0.9), rgba(9, 30, 21, 0.52)),
      linear-gradient(0deg, rgba(9, 30, 21, 0.34), transparent 45%);
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 9.4vw, 2.85rem);
    line-height: 1.08;
  }

  h3 {
    line-height: 1.12;
  }

  .intro-section,
  .photo-band,
  .pillars-section,
  .learning-section,
  .support-section,
  .contact-section {
    padding: 58px 0;
  }

  .intro-copy p,
  .section-heading p,
  .photo-band-heading p:last-child,
  .learning-copy p,
  .support-copy p,
  .contact-section p {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 44px, 1160px);
  }

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

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

  .photo-tile,
  .photo-tile img,
  .photo-tile-large img {
    min-height: 250px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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