:root {
  --ivory: #fff6e5;
  --ivory-soft: #faf8e8;
  --ivory-light: #fff9e8;
  --forest: #0e3f28;
  --sage: #5c7d69;
  --ink: #1f2b24;
  --shadow: rgba(14, 63, 40, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: #0a4f37;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

a:hover {
  color: #1e6a4d;
}

.nav a,
.button,
.brand a {
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--ivory-light);
  border-bottom: 1px solid rgba(14, 63, 40, 0.1);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(14, 63, 40, 0.2);
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest);
}

.brand-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--sage);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--ivory);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px -16px var(--shadow);
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  color: var(--ivory);
}

.button-outline {
  background: transparent;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(14, 63, 40, 0.2);
  color: var(--forest);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--forest);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lead {
  font-size: 1.15rem;
  max-width: 42ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--sage);
}

.hero-actions {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card .card,
.hero-card.card {
  background: var(--ivory-soft);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px -30px var(--shadow);
  border: 1px solid rgba(14, 63, 40, 0.1);
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.image-stack img {
  border-radius: 14px;
  height: 160px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(14, 63, 40, 0.08);
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-copy {
  margin-bottom: 1.5rem;
  color: var(--sage);
}

.small {
  font-size: 0.85rem;
  color: var(--sage);
}

.section {
  padding: 4rem 0;
}

.section.muted {
  background: var(--ivory-soft);
  border-top: 1px solid rgba(14, 63, 40, 0.08);
  border-bottom: 1px solid rgba(14, 63, 40, 0.08);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2rem;
}

.grid,
.three-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(14, 63, 40, 0.08);
  box-shadow: 0 14px 30px -22px var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.spotlight-video-card {
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.3fr);
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.spotlight-video-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 63, 40, 0.12);
  background: #0f1f1a;
}

.spotlight-video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0f1f1a;
}

.tool-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--ivory-soft);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(14, 63, 40, 0.1);
}

.site-footer {
  background: var(--ivory-light);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(14, 63, 40, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-heading {
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.plain-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.flow-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
  max-width: 760px;
}

.small-note {
  font-size: 0.92rem;
  color: var(--sage);
  margin-top: 0.8rem;
}

.lot-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.lot-controls {
  position: sticky;
  top: 100px;
}

.input {
  width: 100%;
  border: 1px solid rgba(14, 63, 40, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.75rem;
  font: inherit;
  background: #fff;
}

.lot-controls hr {
  border: 0;
  border-top: 1px solid rgba(14, 63, 40, 0.12);
  margin: 1rem 0;
}

.lot-detail .image-stack {
  margin: 1rem 0;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .nav {
    justify-content: center;
  }

  .header-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .lot-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-video-card {
    grid-template-columns: 1fr;
  }

  .lot-controls {
    position: static;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions-row .button {
    width: 100%;
  }
}
