/* ===========================
   BASICS & TOKENS
   =========================== */
:root {
  --bg: #f8f5ee;
  --bg-alt: #eee8d6;
  --fg: #1b3d1e;
  --fg-2: #3a6040;
  --fg-muted: #5c7a58;
  --accent: #c98c3a;
  --accent-warm: #e4aa68;
  --white: #ffffff;
  --border: #d4c9b0;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===========================
   NAV
   =========================== */
.site-nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 5rem 3rem 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--fg-2);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(27, 61, 30, 0.15);
}

.hero-caption {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* ===========================
   SECTION LABEL
   =========================== */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  padding: 6rem 3rem;
  background: var(--fg);
  color: var(--bg);
}

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

.philosophy-ornament {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--bg);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.philosophy-body {
  font-size: 1rem;
  color: var(--bg-alt);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 6rem 3rem;
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-card:nth-child(3n) {
  border-right: none;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card:nth-child(6) {
  border-bottom: none;
}

.feature-marker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===========================
   SHOWCASE
   =========================== */
.showcase {
  padding: 6rem 3rem;
  background: var(--bg-alt);
}

.showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2rem;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.showcase-large {
  grid-row: 1 / 3;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.4s ease;
}

.showcase-large .showcase-img {
  min-height: 530px;
}

.showcase-item:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(27, 61, 30, 0.85) 0%, transparent 100%);
}

.showcase-desc {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* ===========================
   CLOSING
   =========================== */
.closing {
  padding: 8rem 3rem 6rem;
  text-align: center;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.closing-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.closing-signup {
  margin-bottom: 4rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
}

.signup-form input:focus {
  border-color: var(--accent);
}

.btn-signup {
  padding: 0.8rem 1.5rem;
  background: var(--fg);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-signup:hover {
  background: var(--fg-2);
}

.btn-signup:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-msg {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  min-height: 1.2em;
}

.signup-msg.success { color: var(--fg-2); }
.signup-msg.error   { color: #c0392b; }

.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--fg);
  color: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-note {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent-warm);
}

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding: 3rem 1.5rem 3rem;
  }

  .hero-img {
    height: 280px;
  }

  .hero-caption {
    right: 0;
    bottom: -1rem;
  }

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

  .feature-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .feature-card:nth-child(even) {
    border-right: none;
  }

  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    border-bottom: none;
  }

  .feature-card:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }

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

  .showcase-large {
    grid-row: auto;
  }

  .showcase-img {
    min-height: 220px;
  }

  .showcase-large .showcase-img {
    min-height: 280px;
  }

  .closing-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .site-nav,
  .philosophy,
  .features,
  .showcase,
  .closing {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .closing-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }
}