:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-warm: #f7efdc;
  --surface-green: #edf6e8;
  --ink: #263127;
  --muted: #647064;
  --line: #ded6bf;
  --leaf: #6f9f5f;
  --leaf-dark: #3f6f4f;
  --sky: #a9d8df;
  --sun: #efc75e;
  --berry: #b86472;
  --clay: #c9754b;
  --shadow: 0 18px 42px rgba(47, 61, 43, 0.11);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(169, 216, 223, 0.18), transparent 360px),
    radial-gradient(circle at top left, rgba(239, 199, 94, 0.18), transparent 260px),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.visually-hidden {
  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: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 48px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(222, 214, 191, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fffdf6;
  background: linear-gradient(135deg, var(--leaf), var(--clay));
  border: 2px solid #fff7df;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(76, 104, 67, 0.22);
  font-size: 0.8rem;
  letter-spacing: 0;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--leaf-dark);
  background: var(--surface-green);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--leaf-dark);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-open .menu-icon {
  background: transparent;
}

.menu-open .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 128px);
  padding: clamp(44px, 7vw, 92px) 0 34px;
}

.hero-copy {
  max-width: 640px;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 7vw, 5.25rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-text,
.page-hero p,
.prose p,
.info-card p,
.feature-card p,
.note-card p,
.rule-card p,
.gallery-card p,
.member-card p,
.policy-content p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button.primary {
  color: #fffdf6;
  background: var(--leaf-dark);
  box-shadow: 0 12px 22px rgba(63, 111, 79, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #315b40;
}

.button.secondary {
  color: var(--leaf-dark);
  background: var(--surface);
  border-color: var(--line);
}

.farm-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #caedf0 0%, #f7efdc 58%, #e5f2d9 58%, #d6e9c7 100%);
  border: 1px solid rgba(63, 111, 79, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 42px;
  right: 54px;
  width: 74px;
  height: 74px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(239, 199, 94, 0.18);
}

.hill {
  position: absolute;
  left: -8%;
  width: 116%;
  border-radius: 50% 50% 0 0;
}

.hill-back {
  bottom: 126px;
  height: 160px;
  background: #9dca84;
}

.hill-front {
  bottom: 82px;
  height: 132px;
  background: #78aa65;
}

.field-row {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 26px;
  background: repeating-linear-gradient(90deg, #6f9f5f 0 18px, #f0c767 18px 26px, #6f9f5f 26px 44px);
  border-radius: 999px;
  transform: skewY(-3deg);
}

.row-one {
  bottom: 70px;
}

.row-two {
  bottom: 38px;
}

.row-three {
  bottom: 6px;
}

.tiny-house {
  position: absolute;
  left: 54px;
  bottom: 142px;
  width: 104px;
  height: 74px;
  background: #fff8e3;
  border: 4px solid #5d7659;
  border-radius: 6px;
}

.tiny-house::before {
  position: absolute;
  left: -10px;
  top: -46px;
  width: 122px;
  height: 54px;
  background: var(--clay);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
}

.tiny-house span {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 24px;
  height: 38px;
  background: #8db0bb;
  border: 3px solid #5d7659;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.section-grid,
.content-section,
.two-column,
.contact-layout,
.policy-content,
.cta-strip {
  margin: 34px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.feature-card,
.info-card,
.note-card,
.member-card,
.gallery-card,
.rule-card,
.contact-form,
.policy-content article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(47, 61, 43, 0.07);
}

.feature-card,
.info-card,
.note-card,
.member-card,
.policy-content article {
  padding: clamp(18px, 3vw, 28px);
}

.feature-card.next-night {
  background: linear-gradient(135deg, #fffdf6, #edf6e8);
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.mini-list div {
  padding: 12px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.mini-list dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 18px;
}

.member-grid,
.card-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-card {
  min-height: 220px;
}

.avatar {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 2px solid #fff7df;
}

.avatar-leaf {
  background: linear-gradient(135deg, var(--leaf), #d3e9c1);
}

.avatar-sun {
  background: linear-gradient(135deg, var(--sun), #f3a96d);
}

.avatar-berry {
  background: linear-gradient(135deg, var(--berry), #e8a5ad);
}

.avatar-water {
  background: linear-gradient(135deg, var(--sky), #6f9fbd);
}

.page-hero {
  max-width: 860px;
  padding: clamp(44px, 7vw, 82px) 0 18px;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.12rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 28px;
}

.prose {
  max-width: 680px;
}

.prose p {
  font-size: 1.05rem;
}

.decor-panel {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.soft-band {
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(237, 246, 232, 0.92), rgba(247, 239, 220, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 48px;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

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

.rules-list {
  display: grid;
  gap: 14px;
}

.rule-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
}

.rule-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fffdf6;
  background: var(--leaf-dark);
  border-radius: 8px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.schedule-table caption {
  padding: 18px;
  text-align: left;
  color: var(--leaf-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.schedule-table thead th {
  color: var(--leaf-dark);
  background: var(--surface-green);
}

.schedule-table tbody tr:nth-child(even) {
  background: #fffdf6;
}

.timezone-note {
  max-width: 760px;
}

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

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-green);
  border-bottom: 1px solid var(--line);
}

.gallery-card div {
  padding: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--leaf-dark);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(111, 159, 95, 0.16);
  outline: none;
}

.form-button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 800;
}

.policy-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-content article {
  min-height: 190px;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface-green);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta-strip h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--max));
  margin: 52px auto 0;
  padding: 28px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--leaf-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 253, 246, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
  }

  .hero,
  .intro-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .farm-scene {
    min-height: 340px;
  }

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

  .card-grid.three,
  .policy-content {
    grid-template-columns: 1fr;
  }

  .cta-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  main,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

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

  .brand span:last-child {
    max-width: 160px;
  }

  .hero {
    padding-top: 34px;
  }

  .farm-scene {
    min-height: 300px;
  }

  .tiny-house {
    left: 34px;
    transform: scale(0.82);
    transform-origin: bottom left;
  }

  .member-grid,
  .gallery-grid,
  .check-list,
  .mini-list {
    grid-template-columns: 1fr;
  }

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

  .rule-number {
    width: 52px;
    height: 52px;
  }

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

  .button,
  .form-button {
    width: 100%;
  }
}

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