:root {
  --green-900: #25402d;
  --green-800: #33563d;
  --green-700: #41694c;
  --green-600: #4f7a5a;
  --green-100: #e5eee6;
  --green-50: #f0f5f0;
  --gold-600: #cda45e;
  --gold-100: #f7ecd8;
  --canvas: #f7f6f2;
  --surface: #fff;
  --text: #26382d;
  --muted: #627068;
  --border: #dce2da;
  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 30px;
  --shadow-card: 0 8px 24px rgba(37, 64, 45, .08);
  --shadow-float: 0 24px 60px rgba(37, 64, 45, .18);
  color: var(--text);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(205, 164, 94, .1), transparent 26rem),
    radial-gradient(circle at 90% 8%, rgba(106, 143, 168, .1), transparent 28rem),
    var(--canvas);
}
a { color: inherit; }

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  width: min(1520px, calc(100% - 48px));
  min-height: 74px;
  margin: 18px auto;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(220, 226, 218, .9);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}
.identity { display: flex; min-width: 0; align-items: center; gap: 13px; text-decoration: none; }
.identity span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-600), var(--green-900));
  box-shadow: 0 7px 16px rgba(37, 64, 45, .2);
  font-size: .74rem;
  font-weight: 800;
}
.identity strong {
  overflow: hidden;
  color: var(--green-900);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-header nav { display: flex; gap: 6px; font-size: .78rem; font-weight: 700; }
.site-header nav a { padding: 9px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--green-900); background: var(--green-50); }
.portal-link, .primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--green-700);
  border-radius: 12px;
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 7px 16px rgba(37, 64, 45, .13);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.portal-link:hover, .primary-link:hover { transform: translateY(-2px); background: var(--green-800); box-shadow: 0 11px 22px rgba(37, 64, 45, .17); }

main { width: min(1520px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  position: relative;
  display: flex;
  min-height: min(680px, calc(100vh - 132px));
  align-items: end;
  padding: clamp(34px, 7vw, 92px);
  overflow: hidden;
  border-radius: var(--radius-large);
  color: #f8faf6;
  background-color: var(--green-900);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-float);
  isolation: isolate;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 38, 27, .28), transparent 55%);
  content: "";
}
.hero-copy {
  max-width: 720px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-medium);
  background: rgba(23, 53, 34, .68);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  backdrop-filter: blur(9px);
}
.eyebrow { margin: 0 0 10px; color: var(--green-600); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { color: #f4d79f; }
.eyebrow:empty, #hero-summary:empty, footer span:empty { display: none; }
h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
h1 { max-width: 18ch; font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .96; text-wrap: balance; }
.hero-copy > #hero-summary { max-width: 590px; margin: 22px 0; color: rgba(255, 255, 255, .88); font-size: clamp(.96rem, 1.5vw, 1.14rem); line-height: 1.65; }
.hero .primary-link { color: var(--green-900); border-color: #fff; background: #fff; }
.hero .primary-link:hover { background: var(--green-50); }

.community-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(10px, 4vw, 64px);
}
.community-summary-copy {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}
.community-summary h2, .community-links h2 { color: var(--green-900); font-size: clamp(2.25rem, 4vw, 3.7rem); line-height: 1.05; }
#introduction { display: grid; max-width: 760px; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
#introduction p { margin: 0; }
.introduction-image-frame {
  position: relative;
  width: min(100%, 620px);
  margin: 0;
  justify-self: center;
}
.introduction-image-frame::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 72%;
  height: 72%;
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, var(--green-100), var(--gold-100));
  content: "";
}
.introduction-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, .92);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-float);
  transform: rotate(1.2deg);
}

.community-links {
  margin-bottom: 48px;
  padding: clamp(38px, 5vw, 66px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-card);
}
#link-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 26px; }
#link-list a { display: grid; gap: 7px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--green-50); text-decoration: none; }
#link-list a:hover { border-color: #bdcebf; background: var(--green-100); }
#link-list span { color: var(--muted); font-size: .85rem; }

.meeting-view { width: min(100% - 16px, 1040px); min-height: calc(100vh - 166px); margin: 0 auto; padding: 46px 0 70px; }
.back-link { display: inline-flex; min-height: 40px; align-items: center; margin-bottom: 32px; padding: 8px 12px; border-radius: 10px; color: var(--green-700); background: var(--green-100); font-size: .8rem; font-weight: 800; text-decoration: none; }
.meeting-view article, .meeting-state { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--border); border-radius: var(--radius-large); background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-card); }
.meeting-view h1 { max-width: 22ch; color: var(--green-900); font-size: clamp(2.2rem, 6vw, 4.8rem); }
#meeting-description { max-width: 720px; color: var(--muted); line-height: 1.65; }
#meeting-video { display: block; width: 100%; margin-top: 30px; overflow: hidden; border-radius: var(--radius-medium); background: #13251a; aspect-ratio: 16 / 9; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1520px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 6px 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .75rem;
}
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .community-summary { grid-template-columns: 1fr; }
  .introduction-image-frame { width: min(86%, 620px); }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; width: min(100% - 24px, 1520px); gap: 10px; margin: 12px auto; border-radius: 18px; }
  .site-header nav { display: none; }
  .identity span { width: 44px; height: 44px; flex-basis: 44px; border-radius: 14px; }
  .identity strong { max-width: 170px; font-size: 1rem; }
  .portal-link { min-height: 38px; padding: 8px 11px; font-size: .72rem; }
  main { width: min(100% - 24px, 1520px); }
  .hero { min-height: calc(100svh - 92px); padding: 16px; border-radius: 22px; }
  .hero-copy { width: 100%; padding: 24px 20px; border-radius: 18px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .community-summary { gap: 42px; padding: 66px 0; }
  .community-summary-copy { padding: 26px 22px; border-radius: 22px; }
  .community-summary h2 { font-size: 2.5rem; }
  .introduction-image-frame { width: calc(100% - 24px); }
  .introduction-image-frame::before { top: -14px; right: -12px; }
  .introduction-image-frame img { border-width: 6px; border-radius: 22px; transform: rotate(.7deg); }
  .community-links { padding: 28px 20px; border-radius: 22px; }
  footer { width: min(100% - 24px, 1520px); flex-direction: column; }
}
