:root {
  color-scheme: light;
  --bg: #fbf7ed;
  --bg-soft: #eef6e9;
  --surface: #ffffff;
  --surface-strong: #fffaf0;
  --text: #1c2a22;
  --muted: #617064;
  --brand: #183b2d;
  --brand-2: #2f6d43;
  --accent: #c94435;
  --accent-soft: #ffd9c9;
  --line: rgba(24, 59, 45, 0.16);
  --shadow: 0 20px 50px rgba(24, 59, 45, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 217, 201, 0.68), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, var(--bg) 35%, #f7f4e9 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.soft-bg {
  background:
    linear-gradient(135deg, rgba(238, 246, 233, 0.92), rgba(255, 250, 240, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(47, 109, 67, 0.12), transparent 24rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 237, 0.76);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100% - 2rem, var(--container));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(47, 109, 67, 0.12);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy h1 {
  margin: 0.25rem 0 1.2rem;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  color: var(--brand);
}

.lead {
  max-width: 63ch;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 850;
}

.hero-actions,
.pill-row,
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 59, 45, 0.24);
}

.button.secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li,
.pill-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
}

.hero-main,
.image-frame,
.contact-card,
.fact-panel,
.feature-card,
.story-card,
.note-card,
.gallery-card {
  box-shadow: var(--shadow);
}

.hero-main {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: var(--surface);
  transform: rotate(1.5deg);
}

.mini-grid {
  width: min(82%, 440px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: -3rem auto 0;
  position: relative;
  z-index: 1;
}

.mini-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 18px;
  box-shadow: 0 14px 24px rgba(24, 59, 45, 0.18);
}

.section-title {
  max-width: 790px;
  margin: 0 auto 2.3rem;
  text-align: center;
}

.section-title h2,
.split h2,
.contact-card h2 {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-title p,
.split p,
.contact-card p {
  color: var(--muted);
}

.section-title.narrow {
  max-width: 680px;
}

.feature-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card,
.note-card,
.fact-panel,
.gallery-card,
.story-card,
.contact-card,
.image-frame {
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card h3,
.feature-card p,
.note-card h3,
.note-card p {
  padding-inline: 1.25rem;
}

.feature-card h3,
.story-card h3,
.note-card h3,
.fact-panel h3 {
  margin: 1.1rem 0 0.4rem;
  color: var(--brand);
  line-height: 1.15;
}

.feature-card p,
.note-card p {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.split.reverse > figure {
  order: -1;
}

.fact-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 233, 0.9));
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

.story-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  min-height: 250px;
}

.story-card.large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card div {
  padding: 1.2rem;
}

.story-card p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: var(--accent-soft);
  color: #7b281f !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.image-frame {
  overflow: hidden;
  margin: 0;
  background: var(--surface);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-frame figcaption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-section {
  overflow: hidden;
}

.filter-row {
  justify-content: center;
  margin-bottom: 1.6rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--brand);
  color: #fff;
}

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

.gallery-card {
  overflow: hidden;
  margin: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--brand);
  font-weight: 800;
}

.notes-grid {
  margin-top: 1.5rem;
}

.note-card {
  padding: 1.2rem;
}

.note-card h3,
.note-card p {
  padding-inline: 0;
}

.note-number {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: clamp(1.3rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 233, 0.94)),
    url('/assets/img/bamboo-grove.svg') center / cover;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--brand);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(47, 109, 67, 0.22);
  border-color: var(--brand-2);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  padding: 3rem 0;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 2rem;
}

.footer-brand,
.footer-heading {
  color: #fff;
}

.footer-heading {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  width: fit-content;
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse > figure {
    order: 0;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .feature-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .story-card,
  .story-card.large {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    padding-block: 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 4.7rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.5rem;
    background: rgba(255, 250, 240, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .mini-grid {
    margin-top: -1.3rem;
  }

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

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


.nav-links a.active,
.nav-links a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--brand-2);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.page-hero {
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-hero h1 {
  margin: 0.25rem 0 1.2rem;
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: var(--brand);
}

.page-hero-image {
  transform: rotate(1deg);
}

.preview-grid {
  align-items: stretch;
}

.note-card .text-link {
  margin-top: 0.75rem;
}

@media (max-width: 980px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    max-width: 15ch;
  }
}


/* Extended content pages */
.nav-links a {
  font-size: 0.94rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 750;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.stat-grid,
.compact-grid,
.article-grid,
.resource-grid,
.reserve-grid,
.legal-grid {
  display: grid;
  gap: 1rem;
}

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

.compact-grid,
.article-grid,
.resource-grid,
.reserve-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  align-items: start;
}

.stat-card,
.article-card,
.resource-card,
.reserve-card,
.toc-card,
.legal-card,
.faq-card,
.quote-card,
.timeline-item,
.media-card,
.error-card {
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.stat-card,
.resource-card,
.toc-card,
.legal-card,
.faq-card,
.quote-card,
.timeline-item,
.error-card {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.stat-card strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-card span,
.article-meta,
.resource-card p,
.reserve-card p,
.toc-card p,
.legal-card p,
.faq-card p,
.timeline-item p,
.media-card p,
.quote-card p {
  color: var(--muted);
}

.article-card,
.reserve-card,
.media-card {
  overflow: hidden;
}

.article-card img,
.reserve-card img,
.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-card .card-body,
.reserve-card .card-body,
.media-card .card-body {
  padding: 1.2rem;
}

.article-card h3,
.resource-card h3,
.reserve-card h3,
.media-card h3,
.faq-card h3,
.timeline-item h3,
.quote-card h3 {
  margin: 0 0 0.45rem;
  color: var(--brand);
  line-height: 1.15;
}

.article-card a,
.reserve-card a,
.resource-card a,
.toc-card a,
.legal-card a {
  text-decoration: none;
}

.article-card a:hover h3,
.article-card a:focus-visible h3,
.reserve-card a:hover h3,
.reserve-card a:focus-visible h3,
.resource-card a:hover h3,
.resource-card a:focus-visible h3 {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.article-meta span {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: rgba(47, 109, 67, 0.1);
  color: var(--brand-2);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.article-body {
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.article-body h2 {
  margin: 2.2rem 0 0.65rem;
  color: var(--brand);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.04rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
}

.article-body blockquote {
  margin: 1.4rem 0;
  border-left: 6px solid var(--brand-2);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  background: rgba(238, 246, 233, 0.72);
  color: var(--brand);
  font-weight: 750;
}

.toc-card {
  position: sticky;
  top: 98px;
}

.toc-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-card a {
  color: var(--brand-2);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 1rem;
  counter-reset: item;
}

.timeline-item {
  position: relative;
  padding-left: 4.4rem;
}

.timeline-item::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 1.3rem;
  top: 1.35rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-card img {
  aspect-ratio: 1 / 1;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 900px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(24, 59, 45, 0.08);
}

.faq-list summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 850;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-card {
  position: sticky;
  top: 98px;
}

.legal-body {
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-body h2 {
  margin: 1.8rem 0 0.55rem;
  color: var(--brand);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.error-card {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  display: block;
  color: var(--accent);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  font-weight: 750;
  font-size: 0.92rem;
}

.notice-box {
  border: 1px solid rgba(47, 109, 67, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  background: rgba(238, 246, 233, 0.84);
  color: var(--brand);
}

@media (max-width: 1120px) {
  .nav-links a {
    padding-inline: 0.68rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .stat-grid,
  .compact-grid,
  .article-grid,
  .resource-grid,
  .reserve-grid,
  .legal-grid,
  .article-layout,
  .media-strip {
    grid-template-columns: 1fr;
  }

  .toc-card,
  .legal-card {
    position: static;
  }
}

.site-footer .footer-grid { grid-template-columns: 1.15fr 0.72fr 0.88fr 0.92fr; }
@media (max-width: 980px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
