:root {
  --green-950: #202a35;
  --green-900: #2c3946;
  --green-800: #526373;
  --green-100: #eef2f5;
  --lime: #ef7d00;
  --lime-dark: #d96800;
  --ink: #202a35;
  --muted: #66727d;
  --line: #dbe1e5;
  --paper: #f7f5f2;
  --white: #fff;
  --danger: #b84232;
  --shadow: 0 24px 70px rgba(32, 42, 53, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lime-dark); }
.eyebrow.light { color: #c3cad1; }
.eyebrow.light::before { background: var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1380px, calc(100% - 56px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; }
.brand-logo { width: 143px; height: 50px; object-fit: contain; }
.brand-association {
  padding-left: 13px;
  border-left: 1px solid #dbe1e5;
  color: #5b6874;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.main-nav { display: flex; justify-content: center; gap: 50px; align-items: stretch; height: 86px; }
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #354553;
  font-size: 15px;
  font-weight: 800;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--lime-dark);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.text-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #60707d;
}
.push-toggle {
  padding: 0;
  border: 0;
  background: transparent;
}
.push-toggle[data-state="active"] { color: var(--lime-dark); }
.push-toggle:disabled { opacity: .58; cursor: not-allowed; }
.member-chip {
  max-width: 150px;
  overflow: hidden;
  padding: 8px 12px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.button {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--green-900);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-900);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(32,42,53,.12); }
.button-lime { color: #fff; background: var(--lime); border-color: var(--lime); }
.button-dark { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.button-white { color: var(--green-900); background: #fff; border-color: #fff; }
.button-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.button-large { min-height: 58px; padding: 0 30px; }
.button-ghost { background: transparent; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--green-900); }
.menu-toggle span { transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 110;
  height: calc(100vh - 74px);
  height: calc(100dvh - 74px);
  padding: 18px 24px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 45px rgba(32,42,53,.16);
}
.mobile-nav-primary { border-top: 2px solid var(--green-900); }
.mobile-nav-primary a {
  min-height: 64px;
  padding: 0 5px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 900;
}
.mobile-nav-primary a span { color: var(--lime-dark); font-size: 20px; font-weight: 500; }
.mobile-nav-primary a.active { color: var(--lime-dark); }
.mobile-nav-secondary { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.mobile-nav-secondary a { padding: 9px 5px; color: var(--muted); font-size: 14px; font-weight: 800; }
.mobile-nav-account { padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mobile-nav-account a,
.mobile-push-toggle {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}
.mobile-nav-account .mobile-join { color: #fff; border-color: var(--lime); background: var(--lime); }
.mobile-member { width: 100%; margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.mobile-push-toggle {
  color: var(--lime-dark);
}
.flash {
  position: fixed;
  top: 104px;
  left: 50%;
  z-index: 120;
  width: min(560px, calc(100% - 32px));
  padding: 15px 18px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
}
.flash-error { background: var(--danger); }
.flash button { color: inherit; background: none; border: 0; font-size: 21px; cursor: pointer; }

.home-hero { background: #fff; overflow: hidden; }
.home-hero-top { min-height: 410px; padding: 76px 0 58px; }
.home-hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.home-hero h1 {
  margin: 18px 0 20px;
  color: var(--green-900);
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
}
.home-hero h1 span { color: var(--lime-dark); }
.hero-copy { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; }
.hero-side-card {
  padding: 30px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}
.hero-side-card strong { display: block; margin-bottom: 8px; font-size: 21px; }
.hero-side-card p { margin: 0 0 22px; color: #c3cad1; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-link {
  min-height: 66px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
}
.quick-link:hover { background: rgba(255,255,255,.14); }
.quick-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--lime);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.quick-link b { display: block; font-size: 14px; }
.quick-link small { display: block; color: #c3cad1; font-size: 11px; }
.hero-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: var(--green-900);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: saturate(.75); }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32,42,53,.84), rgba(32,42,53,.24) 55%, rgba(32,42,53,.64));
}
.hero-photo-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.4);
}
.hero-photo-content a {
  min-height: 112px;
  padding: 28px 32px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 900;
}
.hero-photo-content a:last-child { border-right: 0; }
.hero-photo-content a:hover { background: rgba(32,42,53,.42); }
.hero-photo-content small { display: block; margin-bottom: 5px; color: var(--lime); font-size: 11px; letter-spacing: .1em; }
.hero-photo-content span:last-child { font-size: 24px; font-weight: 400; }

.home-section { padding: 100px 0; }
.home-section.paper { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; margin-bottom: 46px; }
.section-heading h2, .page-intro h1, .association-band h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.section-heading p { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.latest-heading {
  margin-bottom: 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.latest-heading h2 {
  margin: 11px 0 0;
  color: var(--green-900);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.latest-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  border-radius: 0 0 0 100%;
  background: var(--green-100);
  transition: transform .25s ease;
}
.category-card:hover::before { transform: scale(1.2); }
.category-number { position: relative; z-index: 1; color: var(--lime-dark); font-size: 13px; font-weight: 900; }
.category-card h3 { margin: 14px 0 12px; font-size: 28px; line-height: 1.15; letter-spacing: -.04em; }
.category-card p { margin: 0; color: var(--muted); }
.card-arrow {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-900);
  border-radius: 50%;
  font-size: 22px;
}

.directory-section { padding: 94px 0 106px; background: #fff; }
.directory-heading {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #c8d1d8;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.directory-heading h2 {
  margin: 9px 0 4px;
  color: var(--green-950);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.055em;
}
.directory-heading p { margin: 0; color: var(--muted); }
.directory-all {
  flex: 0 0 auto;
  padding: 10px 0;
  border-bottom: 2px solid var(--lime-dark);
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
}
.directory-all span { margin-left: 15px; color: var(--lime-dark); }
.class-search-panel {
  margin-bottom: 18px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr minmax(380px, .85fr);
  gap: 34px;
  align-items: center;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}
.class-search-copy > span {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.class-search-copy strong { display: block; font-size: 23px; letter-spacing: -.035em; }
.class-search-copy p { margin: 3px 0 0; color: #c3cad1; font-size: 13px; }
.class-search-form {
  min-height: 58px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
}
.class-search-input { display: flex; align-items: center; min-width: 0; }
.class-search-input input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 8px 0 22px;
  color: var(--green-950);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 18px;
  font-weight: 900;
}
.class-search-input input::-webkit-inner-spin-button { appearance: none; }
.class-search-input span { padding-right: 8px; color: var(--muted); font-size: 14px; font-weight: 800; }
.class-search-form button {
  min-width: 148px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.class-search-form button span { margin-left: 8px; }
.class-search-result {
  margin-bottom: 18px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 25px;
  align-items: center;
  background: #fff3e6;
  border: 1px solid #f1d4b6;
  border-radius: var(--radius);
}
.class-search-result.empty { background: #f3f5f6; }
.class-result-number {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  grid-template-columns: auto auto;
  color: var(--lime);
  background: var(--green-900);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 900;
}
.class-result-number small { margin-left: 2px; align-self: center; font-family: "Noto Sans KR", sans-serif; font-size: 10px; }
.class-search-result > div > span { color: var(--lime-dark); font-size: 11px; font-weight: 900; }
.class-search-result h3 { margin: 4px 0 3px; color: var(--green-950); font-size: 21px; letter-spacing: -.035em; }
.class-search-result p { margin: 0; color: var(--muted); font-size: 13px; }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.directory-card {
  min-height: 228px;
  padding: 27px 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: background .2s ease, color .2s ease;
}
.directory-card:last-child { border-right: 0; }
.directory-card:hover { color: #fff; background: var(--green-900); }
.directory-number { color: #d96800; font-size: 11px; font-weight: 900; }
.directory-title { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.directory-title h3 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.directory-title strong { color: var(--green-950); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.directory-title small { margin-left: 3px; font-family: "Noto Sans KR", sans-serif; font-size: 11px; font-weight: 600; }
.directory-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.directory-arrow { margin-top: auto; color: #ef7d00; font-size: 21px; }
.directory-card:hover .directory-title strong,
.directory-card:hover p { color: #fff; }

.business-section { padding: 96px 0 108px; overflow: hidden; color: #fff; background: var(--green-900); }
.business-heading {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.business-heading h2 {
  margin: 10px 0 7px;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.business-heading p { margin: 0; color: #c3cad1; }
.carousel-actions { display: flex; align-items: center; gap: 8px; }
.carousel-actions > a { margin-right: 15px; color: #e3e8ec; font-size: 13px; font-weight: 900; }
.carousel-actions button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}
.carousel-actions button:hover { color: var(--green-950); background: var(--lime); border-color: var(--lime); }
.business-carousel { overflow: visible; }
.business-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 31.5%);
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.business-rail::-webkit-scrollbar { display: none; }
.business-card {
  min-height: 390px;
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--green-950);
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}
.business-card:hover { transform: translateY(-4px); }
.business-card-media {
  position: relative;
  height: 175px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: #eef2f5;
  font-family: Georgia, serif;
  font-size: 76px;
  font-weight: 900;
}
.business-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.business-card-media.is-contain img { padding: 28px; object-fit: contain; background: #fff; }
.business-card:hover .business-card-media img { transform: scale(1.035); }
.business-card-body { flex: 1; padding: 25px; display: flex; flex-direction: column; }
.business-card-body > span { color: var(--lime-dark); font-size: 11px; font-weight: 900; }
.business-card h3 { margin: 10px 0 8px; font-size: 25px; letter-spacing: -.04em; }
.business-card p { margin: 0; color: var(--muted); font-size: 14px; }
.business-card strong { margin-top: auto; padding-top: 22px; font-size: 13px; }

.latest-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.featured-news {
  min-height: 390px;
  padding: 38px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-news .tag { color: var(--lime); }
.featured-news h3 { max-width: 650px; margin: 16px 0; font-size: 37px; line-height: 1.25; letter-spacing: -.04em; }
.featured-news p { max-width: 650px; color: #c3cad1; }
.news-stack { display: grid; gap: 12px; }
.news-row {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.news-row .meta, .post-meta { color: #6f7c87; font-size: 12px; }
.news-row h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.45; }

.page-intro { padding: 80px 0 62px; background: var(--paper); }
.page-intro-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: end; }
.page-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; }
.page-content { padding: 70px 0 110px; }
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.tab {
  min-height: 44px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-900);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.network-card[hidden], [data-panel][hidden] { display: none !important; }
.tab:hover, .tab.active { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 26px; }
.toolbar p { margin: 0; color: var(--muted); }
.post-list { border-top: 2px solid var(--green-900); }
.post-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 25px 12px;
  border-bottom: 1px solid var(--line);
}
.post-item:hover { background: #f3f5f6; }
.post-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}
.post-item h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.03em; }
.post-item p { margin: 0; color: var(--muted); font-size: 14px; }
.post-stats { display: flex; gap: 16px; color: #6f7c87; font-size: 12px; }
.empty-state { padding: 70px 30px; text-align: center; background: var(--paper); border-radius: var(--radius); }

.article { max-width: 920px; margin: 0 auto; }
.article-header { padding-bottom: 35px; border-bottom: 2px solid var(--green-900); }
.article-header h1 { margin: 15px 0; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.25; letter-spacing: -.05em; }
.article-body { min-height: 280px; padding: 45px 0; color: #44515d; font-size: 17px; line-height: 1.95; white-space: pre-line; }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-actions > form { display: flex; margin: 0; }
.action-button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.action-button.liked { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.comment-section { padding-top: 46px; }
.comment-section h2 { margin: 0 0 22px; font-size: 25px; }
.comment-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 30px; }
.comment-form textarea { min-height: 88px; resize: vertical; }
.comments { display: grid; gap: 12px; }
.comment { padding: 20px; background: var(--paper); border-radius: var(--radius); }
.comment-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.comment-head span { color: #6f7c87; font-size: 12px; }
.comment p { margin: 0; color: #4c5965; white-space: pre-line; }

.company-tabs, .network-tabs { margin-bottom: 35px; }
.company-grid, .network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.company-card, .network-card {
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.company-card .label, .network-card .label {
  width: fit-content;
  padding: 6px 10px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.company-card h2, .network-card h2 { margin: 18px 0 9px; font-size: 23px; letter-spacing: -.035em; }
.company-card p, .network-card p { margin: 0; color: var(--muted); font-size: 14px; }
.network-contact { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.network-contact div { display: flex; justify-content: space-between; gap: 18px; }
.network-contact dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.network-contact dd { margin: 0; color: var(--green-950); font-size: 13px; font-weight: 900; text-align: right; }
.network-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.company-list-card { position: relative; min-height: 410px; padding: 0; overflow: hidden; }
.company-list-media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: #eef2f5;
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 900;
}
.company-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.company-list-media.is-contain img { padding: 28px; object-fit: contain; background: #fff; }
.company-list-card:hover .company-list-media img { transform: scale(1.035); }
.company-list-body { flex: 1; padding: 25px 27px 27px; display: flex; flex-direction: column; }
.company-list-link { margin-top: auto; padding-top: 26px; color: var(--green-900); font-size: 13px; font-weight: 900; }
.company-list-card:hover { border-color: var(--green-800); box-shadow: 0 18px 45px rgba(32,42,53,.1); }
.card-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.network-membership-form { display: inline-flex; }
.network-membership-form .card-link { cursor: pointer; }
.network-membership-form .card-link.joined { color: #fff; border-color: var(--green-900); background: var(--green-900); }
.card-link {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
}
.card-link.primary { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.registration-banner {
  margin-top: 36px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}
.registration-banner h2 { margin: 0 0 8px; font-size: 27px; }
.registration-banner p { margin: 0; color: #c3cad1; }

.company-detail-hero { padding: 80px 0; color: #fff; background: var(--green-900); }
.company-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: center; }
.detail-back { display: block; width: fit-content; margin-bottom: 34px; color: #c3cad1; font-size: 13px; font-weight: 800; }
.company-detail-hero .eyebrow { color: var(--lime); }
.company-detail-hero .eyebrow::before { background: var(--lime); }
.company-detail-hero h1 { margin: 14px 0 16px; font-size: clamp(52px, 7vw, 92px); line-height: 1; letter-spacing: -.06em; }
.company-detail-hero p { max-width: 700px; margin: 0; color: #c3cad1; font-size: 19px; }
.company-detail-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  font-family: Georgia, serif;
  font-size: 96px;
  font-weight: 900;
}
.company-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.company-detail-media.is-contain img { padding: 34px; object-fit: contain; background: #fff; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.company-profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.company-profile h2 { margin: 14px 0 22px; font-size: 42px; letter-spacing: -.05em; }
.company-profile article p { color: #4c5965; font-size: 17px; line-height: 1.95; }
.company-profile aside { padding: 30px; background: var(--paper); border-radius: var(--radius); }
.company-facts { margin: 0 0 26px; }
.company-facts div { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 15px; }
.company-facts dt { color: var(--muted); font-size: 13px; }
.company-facts dd { margin: 0; font-weight: 800; }

.association-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 48px; }
.association-nav a {
  min-height: 66px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}
.association-nav a.active { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.greeting { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; }
.greeting-aside { min-height: 390px; padding: 30px; color: #fff; background: var(--green-900); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; }
.greeting-aside strong { font-size: 28px; }
.greeting-body h2 { margin: 0 0 25px; font-size: 38px; letter-spacing: -.05em; }
.greeting-body p { color: #4c5965; font-size: 17px; line-height: 2; }
.org-chart { display: grid; gap: 18px; }
.org-top { width: min(350px, 100%); margin: 0 auto; }
.org-box { padding: 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.org-box.primary { color: #fff; background: var(--green-900); border-color: var(--green-900); }
.org-box strong { display: block; font-size: 19px; }
.org-box span { color: var(--muted); font-size: 13px; }
.org-box.primary span { color: #c3cad1; }
.org-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.org-departments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--green-900); }
.contact-table th, .contact-table td { padding: 20px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.contact-table th { width: 24%; background: var(--paper); }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: start; }
.form-aside {
  position: sticky;
  top: 116px;
  padding: 32px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}
.form-aside h2 { margin: 0 0 12px; font-size: 31px; letter-spacing: -.04em; }
.form-aside p { margin: 0 0 24px; color: #c3cad1; }
.form-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.04em; }
.form-card > p { margin: 0 0 28px; color: var(--muted); }
.auth-card { padding: 42px; }
.auth-card > p:first-of-type { max-width: 540px; }
.auth-card-login .form-grid { grid-template-columns: 1fr; gap: 20px; }
.auth-card .field input { min-height: 56px; padding: 14px 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 900; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d1d8;
  border-radius: 6px;
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(20,82,70,.1); }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.form-note { color: var(--muted); font-size: 12px; }
.auth-primary-actions {
  margin-top: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
.auth-primary-actions .button { width: 100%; min-height: 54px; }
.auth-primary-actions .form-note { text-align: center; line-height: 1.6; }
.error-list { margin: 0 0 24px; padding: 17px 20px 17px 40px; color: #7e2b22; background: #fff0ed; border-radius: 6px; font-size: 13px; }
.form-card > .auth-switch {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 6px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
.auth-switch a {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: var(--lime-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 900;
}
.auth-switch-links { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 15px; }
.auth-status {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 6px;
  color: var(--green-900);
  background: #eef2f5;
  font-size: 13px;
  line-height: 1.7;
}
.auth-status.success { border-left: 3px solid var(--lime); }
.auth-status.notice { border-left: 3px solid var(--danger); }
.email-verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.email-verification-row .verification-button {
  min-width: 118px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 6px;
}
.verification-code-field[hidden] { display: none !important; }
.verification-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.verification-status.success { color: #317159; font-weight: 800; }
.verification-status.error { color: var(--danger); font-weight: 800; }
.auth-primary-actions .button:disabled,
.verification-button:disabled {
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .58;
}

.association-band { padding: 70px 0; color: #fff; background: var(--green-900); }
.association-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.association-band h2 { margin-top: 10px; color: #fff; }
.association-band p { margin: 13px 0 0; color: #c3cad1; }
.site-footer { padding: 60px 0 26px; color: #e3e8ec; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 38px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 900; }
.footer-grid p, .footer-grid a, .footer-grid span { margin: 0; color: #c3cad1; font-size: 13px; }
.footer-grid strong { margin-bottom: 7px; color: #fff; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); display: flex; justify-content: space-between; color: #9ba7b1; font-size: 11px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 270px 1fr auto; }
  .main-nav { gap: 25px; }
  .brand-logo { width: 132px; height: auto; }
  .home-hero-grid { gap: 34px; }
  .quick-links { grid-template-columns: 1fr; }
  .company-grid, .network-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-card:nth-child(2) { border-right: 0; }
  .directory-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .business-rail { grid-auto-columns: minmax(290px, 43%); }
}

@media (max-width: 850px) {
  .site-header { backdrop-filter: none; }
  .section-wrap { width: min(100% - 32px, 1180px); }
  .header-inner { width: min(100% - 28px, 1380px); height: 74px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .header-actions .member-chip, .header-actions .text-link, .header-actions .button { display: none; }
  .menu-toggle { display: block; }
  .home-hero-top { padding: 52px 0 44px; }
  .home-hero-grid, .section-heading, .page-intro-inner, .form-layout, .greeting { grid-template-columns: 1fr; }
  .hero-side-card { margin-top: 5px; }
  .hero-photo { height: 520px; }
  .hero-photo-content { grid-template-columns: 1fr; }
  .hero-photo-content a { min-height: 84px; padding: 20px 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .category-grid, .latest-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 22px; }
  .directory-heading, .business-heading { align-items: flex-start; flex-direction: column; }
  .latest-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .latest-heading > p { margin: 0; }
  .latest-heading > p br { display: none; }
  .class-search-panel { grid-template-columns: 1fr; gap: 18px; }
  .class-search-result { grid-template-columns: 78px 1fr; }
  .class-search-result .button { grid-column: 2; justify-self: start; }
  .business-rail { grid-auto-columns: minmax(280px, 72%); }
  .company-detail-grid, .company-profile { grid-template-columns: 1fr; }
  .company-detail-media { width: min(100%, 420px); }
  .page-intro { padding: 55px 0 46px; }
  .page-intro-inner { gap: 20px; }
  .form-aside { position: static; }
  .association-band-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .association-nav, .org-row { grid-template-columns: 1fr; }
  .org-departments { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .brand-logo { width: 122px; height: auto; }
  .brand-association { display: none; }
  .home-hero h1 { font-size: 47px; }
  .hero-copy { font-size: 16px; }
  .quick-links { grid-template-columns: 1fr; }
  .hero-photo { height: 490px; }
  .home-section { padding: 72px 0; }
  .category-grid, .company-grid, .network-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr; }
  .class-search-panel { padding: 22px 18px; }
  .class-search-form { grid-template-columns: 1fr; padding: 7px; border-radius: 8px; }
  .class-search-input { border-bottom: 1px solid var(--line); }
  .class-search-form button { min-height: 48px; border-radius: 6px; }
  .class-search-result { grid-template-columns: 1fr; padding: 22px 18px; }
  .class-search-result .button { grid-column: 1; width: 100%; }
  .class-result-number { width: 68px; height: 68px; }
  .directory-card { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .directory-card:last-child { border-bottom: 0; }
  .business-rail { grid-auto-columns: 88%; }
  .carousel-actions { width: 100%; }
  .carousel-actions > a { margin-right: auto; }
  .company-detail-hero { padding: 58px 0; }
  .company-detail-media { width: 100%; font-size: 70px; }
  .post-item { grid-template-columns: 52px 1fr; gap: 12px; }
  .post-badge { width: 48px; height: 48px; }
  .post-stats { grid-column: 2; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .comment-form { grid-template-columns: 1fr; }
  .registration-banner { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 25px 20px; }
  .auth-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card > .auth-switch { align-items: flex-start; flex-direction: column; gap: 8px; }
  .auth-switch-links { justify-content: flex-start; }
  .email-verification-row .verification-button { min-width: 104px; padding: 0 13px; }
  .org-departments { grid-template-columns: 1fr; }
  .contact-table th, .contact-table td { display: block; width: 100%; }
  .contact-table th { padding-bottom: 5px; }
  .contact-table td { padding-top: 5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}
