/* KCCF — Korean Canadian Curling Federation
   Custom federation stylesheet. Not a template. */

:root {
  --navy: #0B1F3A;
  --navy-deep: #061426;
  --navy-mid: #123056;
  --navy-soft: #1A3F68;
  --ice: #7EC8E3;
  --ice-2: #B9E4F2;
  --ice-3: #E7F5FA;
  --sheet: #F3F8FB;
  --white: #ffffff;
  --ink: #122033;
  --muted: #4A5B6E;
  --maple: #C8102E;
  --maple-deep: #9E0D24;
  --gold: #C9A227;
  --gold-soft: #E8D48B;
  --line: rgba(11, 31, 58, 0.12);
  --frost: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(6, 20, 38, 0.14);
  --radius: 18px;
  --header-h: 84px;
  --max: 1180px;
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --display: "Barlow Condensed", "Pretendard", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

/* One language at a time */
html[lang="en"] .lang-ko { display: none !important; }
html[lang="ko"] .lang-en { display: none !important; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sheet);
  line-height: 1.7;
  min-height: 100vh;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--maple); }
:focus-visible {
  outline: 3px solid var(--ice);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 1000;
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* Ice pebble + sheet lines */
.ice-bg {
  background-color: var(--sheet);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(126, 200, 227, 0.18), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(200, 16, 46, 0.05), transparent 36%),
    repeating-linear-gradient(
      90deg,
      rgba(11, 31, 58, 0.025) 0 1px,
      transparent 1px 28px
    );
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 31, 58, 0.92);
  color: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  background: rgba(6, 20, 38, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand:hover { color: var(--white); }
.brand img {
  width: 40px;
  height: 64px;
  object-fit: contain;
  height: auto;
  flex-shrink: 0;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-primary {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  max-width: 240px;
}
html[lang="en"] .brand-primary {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  max-width: 260px;
}
.brand-secondary {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ice-2);
  font-weight: 600;
}
html[lang="en"] .brand-secondary { letter-spacing: 0; }
html[lang="ko"] .brand-secondary {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 2px;
}
.lang-switch button {
  background: none;
  border: 0;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font: inherit;
  padding: 6px 4px;
  border-radius: 6px;
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button[aria-pressed="true"] {
  color: var(--white);
}
.lang-switch .lang-sep { color: rgba(255,255,255,0.3); user-select: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul > li { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 11px;
  text-decoration: none;
  color: var(--white);
  border-radius: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.nav-cta .nav-link {
  background: var(--maple);
  padding-inline: 16px;
}
.nav-cta .nav-link:hover { background: var(--maple-deep); color: var(--white); }

/* Dropdown — only one open at a time (JS adds .is-open). */
.site-header,
.header-inner,
.header-end,
.site-nav { overflow: visible; }
.site-nav > ul > li { z-index: 1; }
.site-nav > ul > li.is-open { z-index: 30; }
.nav-sub {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  width: max-content;
  max-width: min(380px, calc(100vw - 24px));
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 90;
  border: 1px solid var(--line);
}
.nav-sub-about {
  min-width: 340px;
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-x: hidden;
  overflow-y: auto;
}
.lang-switch button[aria-pressed="true"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav-item.is-open > .nav-sub { display: block; }
.nav-sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav-sub a:hover,
.nav-sub a[aria-current="page"] {
  background: var(--ice-3);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: saturate(0.92) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,20,38,0.55) 0%, rgba(6,20,38,0.35) 35%, rgba(6,20,38,0.78) 100%),
    radial-gradient(circle at 70% 80%, rgba(200,16,46,0.18), transparent 40%);
}
.hero-rings {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(620px, 70vw);
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 72px 0 80px;
}
.hero-logo {
  width: 108px;
  margin: 0 auto 22px;
  background: transparent;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.hero-kicker {
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero-en {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-2);
  margin: 10px 0 0;
  font-weight: 600;
}
.hero-mission {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
}
.hero-mission em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--ice-2);
  font-size: 0.95rem;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--maple); color: var(--white); }
.btn-primary:hover { background: var(--maple-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.btn-line {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn .en {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78em;
  opacity: 0.85;
  font-weight: 600;
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-navy {
  background:
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}
.section .grid + h2,
.section .apply-ways + h2 {
  margin-top: 40px;
}
.section-en {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maple);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
}
.section-dark .section-en,
.section-navy .section-en { color: var(--gold-soft); }
.lede { color: var(--muted); max-width: 720px; }
.section-dark .lede,
.section-navy .lede { color: rgba(255,255,255,0.78); }

.page-hero {
  background: var(--navy) url("../img/ice-sheet.jpg") center/cover;
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,20,38,0.88) 10%, rgba(6,20,38,0.55) 100%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}
.crumb {
  font-size: 13px;
  color: var(--ice-2);
}
.crumb a { color: var(--ice-2); text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* Cards / glass */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(11,31,58,0.05);
  position: relative;
  overflow: hidden;
}
.card.frost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.card h3 { margin: 8px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card.frost p { color: rgba(255,255,255,0.78); }
.card-media {
  margin: -22px -22px 16px;
  height: 170px;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.is-contain {
  height: 220px;
  background: var(--navy-deep);
  display: grid;
  place-items: center;
}
.card-media.is-contain img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.card-media.is-logo {
  background: #fff;
  height: 168px;
  padding: 22px 28px;
  box-sizing: border-box;
}
.card-media.is-logo img {
  object-fit: contain;
  max-height: 124px;
}
.card-media.is-logo.is-on-dark {
  background: #000;
}
.card ul { margin: 10px 0 0; padding-left: 1.15em; color: var(--muted); }
.card li { margin: 5px 0; }
.card .card-kicker {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--maple);
  margin: 10px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.badge-done::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}
.badge-plan {
  background: transparent;
  color: var(--ice);
  border: 1px solid rgba(126,200,227,0.45);
}

/* Timeline */
.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--ice));
}
.tl-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}
.tl-dot {
  width: 14px;
  height: 14px;
  margin: 8px 0 0 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.2);
}
.tl-body {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.tl-date {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maple);
  font-weight: 700;
  font-size: 13px;
}

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.fact { background: rgba(6,20,38,0.35); padding: 18px 16px; }
.fact b { display: block; font-size: 1.05rem; }
.fact span { color: var(--ice-2); font-size: 13px; }

/* Org chart */
.org {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.org-board {
  background: var(--navy);
  color: var(--white);
  padding: 22px 28px;
  border-radius: 16px;
  text-align: center;
  min-width: min(100%, 520px);
}
.org-board h3 { margin: 0 0 12px; }
.org-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.org-person {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 12px;
  min-width: 140px;
}
.org-person small { display: block; color: var(--ice-2); }
.org-line {
  width: 2px;
  height: 28px;
  background: var(--gold);
}
.org-arms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}
.org-unit {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ice);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.org-unit b { display: block; color: var(--navy); }
.org-unit small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.org-label {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.org-committees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.org-unit-special {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, #fffdf6 0%, var(--white) 48%);
}

/* Gallery — masonry columns, object-fit contain (no hard-crop on posters) */
.gallery {
  columns: 3;
  column-gap: 14px;
}
.gallery a, .gallery figure {
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy-deep);
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
}
.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(6,20,38,0.78));
  color: var(--white);
  font-size: 13px;
}
.gallery-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  columns: auto;
}
.gallery-home a {
  margin: 0;
  min-height: 180px;
}
.gallery-home img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
}
label { font-weight: 700; font-size: 14px; color: var(--navy); }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list a { color: var(--navy); font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 48px 0 24px;
  border-top: 3px solid var(--maple);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
.site-footer a { color: var(--ice-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 52px; background: transparent; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.note {
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mt { margin-top: 28px; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  background: var(--white);
}

@media (max-width: 1100px) {
  .nav-link { padding: 10px 8px; font-size: 13px; }
  html[lang="en"] .brand-primary { font-size: 12px; max-width: 210px; }
}
@media (max-width: 980px) {
  .grid-4, .grid-3, .facts, .org-arms, .org-committees, .footer-grid, .split { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .gallery-home { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-end { gap: 8px; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy-deep);
    padding: 12px 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    border: 0;
    margin: 0 0 8px 8px;
  }
  .nav-item.is-open > .nav-sub { display: block; }
  .nav-sub a { color: var(--white); white-space: normal; }
  .nav-sub a:hover, .nav-sub a[aria-current="page"] { background: rgba(255,255,255,0.08); color: var(--white); }
  .brand-primary { font-size: 12px; max-width: 150px; }
  html[lang="en"] .brand-primary { font-size: 11px; max-width: 168px; }
  .grid-2, .grid-3, .grid-4, .facts, .org-arms, .org-committees, .footer-grid, .split, .gallery-home {
    grid-template-columns: 1fr;
  }
  .gallery { columns: 1; }
  .hero-logo { width: 88px; }
}

/* Directors */
.director-card {
  text-align: center;
  padding: 28px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}
.director-mono {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 12px 0 4px;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.18);
}
.director-card h3 { margin: 12px 0 4px; font-size: 1.25rem; }
.director-card .name-ko { color: var(--muted); font-size: 14px; font-weight: 600; }
.director-card .role { margin-top: 8px; font-weight: 700; color: var(--navy); }
.director-card .actions { margin-top: 14px; display: grid; gap: 6px; width: 100%; }
.director-card .actions a { color: var(--navy); font-weight: 700; text-decoration: none; }
.director-card .actions a:hover { color: var(--maple); }
.director-card.is-contact {
  border-color: rgba(201,162,39,0.45);
  box-shadow: 0 10px 30px rgba(11,31,58,0.08), 0 0 0 1px rgba(201,162,39,0.2);
}
.director-card.is-vacant {
  border-style: dashed;
}
.director-card.is-vacant .director-mono {
  box-shadow: none;
  opacity: 0.55;
}
.org-person.is-vacant {
  border-style: dashed;
  opacity: 0.75;
}

/* Legal landing */
.legal-landing { max-width: 860px; }
.legal-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}
.legal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11,31,58,0.05);
}
.legal-panel h3 {
  margin: 0;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
}
.legal-dl { display: grid; margin: 0; }
.legal-dl div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line);
}
.legal-dl dt {
  margin: 0;
  padding: 14px 18px;
  background: var(--ice-3);
  font-weight: 700;
  color: var(--navy);
}
.legal-dl dd { margin: 0; padding: 14px 18px; color: var(--ink); }
.legal-points { display: grid; gap: 14px; margin-top: 22px; }
.legal-points article { padding: 20px 22px; }


/* Bylaw document */
.bylaw-doc {
  max-width: 820px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 40px 48px;
  box-shadow: 0 10px 30px rgba(11,31,58,0.05);
  color: var(--ink);
}
.bylaw-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--navy);
}
.bylaw-kicker {
  margin: 0 0 8px;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--maple);
}
.bylaw-head h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.25;
}
.bylaw-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.bylaw-toc {
  background: var(--ice-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px 18px;
  margin: 0 0 32px;
}
.bylaw-toc-label {
  margin: 0 0 8px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.bylaw-toc ol {
  margin: 0;
  padding-left: 1.3em;
}
.bylaw-toc li { margin: 0.25em 0; }
.bylaw-toc a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.bylaw-toc a:hover { color: var(--maple); }
.bylaw-chapter {
  margin: 40px 0 12px;
  padding: 10px 0 8px;
  border-bottom: 2px solid var(--navy);
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.bylaw-chapter:first-of-type { margin-top: 8px; }
.bylaw-section {
  margin: 22px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-soft);
}
.bylaw-jo {
  margin: 26px 0 8px;
  font-size: 1.08rem;
  color: var(--navy);
  font-weight: 800;
}
.bylaw-doc p {
  margin: 0.45em 0 0.7em;
}
.bylaw-doc ol.bylaw-items {
  list-style: none;
  margin: 0.35em 0 1.1em;
  padding: 0;
  counter-reset: bylaw-item;
}
.bylaw-doc ol.bylaw-items > li {
  counter-increment: bylaw-item;
  padding-left: 1.85em;
  text-indent: -1.85em;
  margin: 0.4em 0;
  line-height: 1.7;
}
.bylaw-doc ol.bylaw-items > li::before {
  content: counter(bylaw-item) ". ";
  font-weight: 800;
  color: var(--navy);
}
@media (max-width: 720px) {
  .bylaw-doc { padding: 24px 18px 32px; }
  .bylaw-head h2 { font-size: 1.35rem; }
}

/* Partners */
.partner-card { padding: 0 0 22px; }
.partner-card .card-media { margin: 0 0 16px; border-radius: 18px 18px 0 0; }
.partner-card h3 { padding: 0 22px; }
.partner-card p, .partner-card ul, .partner-card .badge { margin-left: 22px; margin-right: 22px; }
.partner-card .badge { margin-top: 0; }
.partner-gloss {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.95rem;
}
.provided-label {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--maple);
  margin: 16px 22px 0;
}

/* Join / contact */
.apply-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apply-way {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}
.apply-way p { color: var(--muted); margin: 8px 0 0; }
.apply-way b { display: block; color: var(--navy); margin-bottom: 6px; }
.apply-way a { font-weight: 700; color: var(--navy); }
.person-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 24px 22px;
}
.person-card h3 { margin: 8px 0 4px; color: var(--white); }
.person-card p { color: rgba(255,255,255,0.78); }
.person-card a { color: var(--ice-2); font-weight: 700; }
.person-card a:hover { color: var(--white); }
.person-card .contact-list a { color: var(--ice-2); }
.person-card .contact-list a:hover { color: var(--white); }
.person-card strong { color: var(--gold-soft); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form button[type="submit"] { justify-self: start; }
.form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.form-status.is-sending { background: #eef3f8; color: var(--navy); }
.form-status.is-success { background: #e7f6ee; color: #14532d; }
.form-status.is-error { background: #fde8e8; color: #7f1d1d; }

@media (max-width: 980px) {
  .apply-ways { grid-template-columns: 1fr; }
  .legal-dl div { grid-template-columns: 1fr; }
  .legal-dl dt { padding-bottom: 0; border-bottom: 0; }
}

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


/* Official Instagram embeds — @kccf.ksoc */
.ig-profile {
  display: flex;
  justify-content: center;
  max-width: 540px;
  margin: 0 auto;
}
.ig-profile .instagram-media,
.ig-card .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.ig-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 326px), 1fr));
  gap: 18px;
  justify-items: center;
  align-items: start;
}
.ig-card {
  width: 100%;
  max-width: 540px;
}
