:root {
  --bg-canvas: #fbf1f0;
  --bg-surface: #fffaf8;
  --bg-surface-translucent: rgba(255, 250, 248, 0.88);
  --bg-plum-tint: #f3e6ed;
  --bg-plum-deep: #471337;
  --text-primary: #1c1917;
  --text-muted: #6b5e59;
  --text-on-dark: #fdf8f6;
  --accent-primary: #6b2155;
  --accent-hover: #531841;
  --accent-soft: #ebd0e0;
  --border-subtle: #ebd7d3;
  --border-plum: #caa0bc;
  --radius-card: 20px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-block: 4px 4px 0 #3b0e2e;
  --shadow-elevation: 0 10px 28px -6px rgba(71, 19, 55, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, .serif-display {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p, li, input, textarea, select {
  font-size: 1.05rem;
  color: var(--text-primary);
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-kinetic);
}
a:hover {
  color: var(--accent-hover);
}

/* Header & Tagline Bar */
.top-notice-bar {
  background-color: var(--bg-plum-deep);
  color: var(--text-on-dark);
  font-size: 0.88rem;
  padding: 0.45rem 1.25rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.site-header {
  position: static;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  width: 100%;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  text-align: left;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: var(--accent-primary);
  color: #fffaf8;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 38px;
  text-align: center;
  margin-right: 0.65rem;
}

.brand-title {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desktop-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background-color: var(--bg-plum-tint);
  color: var(--accent-primary);
}

/* Mobile 3-dot trigger */
.nav-trigger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--accent-primary);
}

.mobile-menu-overlay {
  display: none;
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-list a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding: 0.4rem 0;
}

/* Layout Bands */
.band {
  width: 100%;
  padding: 4rem 1.25rem;
}

.band-blush {
  background-color: var(--bg-canvas);
}

.band-pale {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.band-plum-pattern {
  background-color: var(--bg-canvas);
  background-image: radial-gradient(var(--border-plum) 1px, transparent 1px);
  background-size: 18px 18px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.reading-column {
  max-width: 72ch;
  margin: 0 auto;
}

/* Hero Section (No image, solid blush field, large serif) */
.hero-band {
  padding: 5rem 1.25rem 4.5rem;
  background-color: var(--bg-canvas);
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-plum-tint);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 70ch;
}

/* Plum Action Buttons */
.btn-plum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: #fffaf8 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.85rem;
  border-radius: 20px;
  border: 2px solid var(--accent-primary);
  text-decoration: none;
  box-shadow: var(--shadow-block);
  cursor: pointer;
  transition: transform 0.15s var(--ease-kinetic), box-shadow 0.15s var(--ease-kinetic);
}

.btn-plum:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #3b0e2e;
  color: #fffaf8;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-primary) !important;
  border: 2px solid var(--accent-primary);
  box-shadow: 3px 3px 0 var(--border-plum);
}

.btn-secondary:hover {
  background-color: var(--bg-plum-tint);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border-plum);
}

/* Card Systems */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.grow-card {
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.3s var(--ease-kinetic), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.grow-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-plum);
}

.card-plum-tint {
  background: rgba(243, 230, 237, 0.75);
  border-color: var(--border-plum);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}

.card-body {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* Media Cards */
.media-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-subtle);
}

.media-card-body {
  padding: 1.75rem;
}

/* Sunlight Observation Table */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

table.grow-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.grow-table th, table.grow-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

table.grow-table th {
  background-color: var(--bg-plum-tint);
  color: var(--accent-primary);
  font-family: Georgia, serif;
  font-size: 1rem;
}

table.grow-table tr:last-child td {
  border-bottom: none;
}

/* Interactive Note & Worksheet Callout */
.worksheet-box {
  background: var(--bg-plum-tint);
  border-left: 6px solid var(--accent-primary);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.worksheet-box h3 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Detail Split Sections */
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-img-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
}

/* Form Styles for Contact */
.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-plum);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
}

.form-control:focus {
  outline: 2px solid var(--accent-primary);
}

/* Scroll reveal triggers */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

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

/* Footer (Matching Rules) */
.site-footer {
  background-color: #260a1d;
  color: #eed6e5;
  padding: 4rem 1.5rem 3rem;
  border-top: 4px solid var(--accent-primary);
}

.site-footer a {
  color: #eed6e5;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #4a193b;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #fffaf8;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  color: #fffaf8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #c9a5bd;
}

/* Responsive queries */
@media (max-width: 860px) {
  .split-band {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .nav-trigger-btn {
    display: block;
  }
  .hero-band {
    padding: 3.5rem 1.25rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
