/* ====== KCU Homepage / Brand: Korea Coffee-Shop Union ====== */
:root{
  --bean-900:#3b1c0c;
  --bean-800:#5a2a12;
  --bean-700:#6e3210;   /* logo brown */
  --bean-600:#8a4519;
  --bean-500:#a85a26;
  --bean-300:#d9b58a;
  --cream-50:#fbf6ee;
  --cream-100:#f3eadd;
  --cream-200:#e9dac4;
  --ink-900:#1c130c;
  --ink-700:#3d2a1c;
  --ink-500:#6b5544;
  --ink-300:#a89379;
  --line:#e7d9c4;
  --shadow:0 14px 40px rgba(60,30,10,.12);
  --shadow-sm:0 4px 14px rgba(60,30,10,.08);
  --r-sm:6px; --r:12px; --r-lg:20px;
  --max:1200px;
  --header-h:78px;

  --font-sans:'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,
              system-ui,'Segoe UI',Roboto,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',
              'Helvetica Neue',Helvetica,Arial,sans-serif;
  --font-display:'Pretendard Variable','Pretendard',var(--font-sans);
  --font-en:'Inter','Pretendard Variable',var(--font-sans);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:var(--header-h)}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--ink-900);
  background:var(--cream-50);
  line-height:1.7;
  font-weight:400;
  letter-spacing:-.01em;            /* tighter for Korean */
  word-break:keep-all;              /* keep Korean words intact */
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
ul,ol{margin:0; padding:0; list-style:none}
h1,h2,h3,h4{
  margin:0; font-weight:700; line-height:1.3;
  letter-spacing:-.02em;
  font-family:var(--font-display);
  word-break:keep-all;
}
p{margin:0; word-break:keep-all}

.wrap{max-width:var(--max); margin:0 auto; padding:0 24px}

/* ============ Header ============ */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:50; height:var(--header-h);
  background:transparent;
  transition:background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.95);
  box-shadow:var(--shadow-sm);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:100%; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:#fff; min-width:0;
}
.site-header.is-scrolled .brand{color:var(--bean-800)}
.brand-mark{
  height:38px; width:auto; flex-shrink:0;
  /* Invert solid-brown PNG to white over dark hero, with halo for legibility */
  filter:brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.55));
  transition:filter .25s ease;
}
.site-header.is-scrolled .brand-mark{filter:none}
.brand-text{
  font-size:22px; font-weight:700; letter-spacing:-.03em;
  line-height:1;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  text-shadow:0 1px 4px rgba(0,0,0,.4);
}
.site-header.is-scrolled .brand-text{text-shadow:none}

.primary-nav{display:flex; align-items:center; gap:32px}
.primary-nav ul{display:flex; gap:32px}
.primary-nav a{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  color:#fff; font-weight:500; padding:8px 4px;
  position:relative; font-size:15px;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}
.site-header.is-scrolled .primary-nav a{color:var(--ink-900); text-shadow:none}
.primary-nav a small{
  font-size:11px; font-weight:400; opacity:.8;
  letter-spacing:0; font-family:var(--font-sans);
}
.primary-nav a::after{
  content:""; position:absolute; left:50%; bottom:-2px;
  width:0; height:2px; background:var(--bean-500);
  transition:width .25s ease, left .25s ease;
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after{width:24px; left:calc(50% - 12px)}
.nav-cta{
  background:var(--bean-700); color:#fff !important;
  padding:10px 18px !important; border-radius:999px;
  font-size:14px; text-shadow:none !important;
}
.nav-cta::after{display:none}
.nav-cta:hover{background:var(--bean-800)}

.nav-toggle{
  display:none; background:none; border:0; cursor:pointer;
  width:44px; height:44px; padding:10px; position:relative;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; width:100%; height:2px; background:#fff; margin:5px 0;
  transition:transform .25s, opacity .2s, background .25s;
  box-shadow:0 1px 2px rgba(0,0,0,.4);
}
.site-header.is-scrolled .nav-toggle span{background:var(--ink-900); box-shadow:none}
.nav-toggle[aria-expanded="true"] span{box-shadow:none}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ============ Hero ============ */
.hero{
  position:relative; height:100vh; min-height:620px;
  overflow:hidden; color:#fff;
}
.hero-slides{position:absolute; inset:0}
.hero-slide{
  position:absolute; inset:0;
  opacity:0; transform:scale(1.06);
  transition:opacity 1.1s ease, transform 7s ease;
}
.hero-slide.is-active{opacity:1; transform:scale(1)}
.hero-pic,.hero-pic img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,10,4,.55) 0, rgba(20,10,4,0) 22%, rgba(20,10,4,0) 60%, rgba(20,10,4,.55) 100%),
    linear-gradient(135deg, rgba(40,16,4,.45), rgba(20,10,4,.25) 50%, rgba(40,16,4,.5));
}
.hero-content{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:var(--header-h);
}
.hero-eyebrow{
  font-family:var(--font-en);
  font-size:13px; letter-spacing:.4em; text-transform:uppercase;
  margin-bottom:18px; color:var(--bean-300); font-weight:500;
}
.hero-title{
  font-size:clamp(36px, 6vw, 72px); font-weight:800;
  line-height:1.2; letter-spacing:-.03em;
  text-shadow:0 4px 24px rgba(0,0,0,.4);
}
.hero-title .kcu{
  font-family:var(--font-en); font-weight:900;
  background:linear-gradient(135deg, #fff, var(--bean-300));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  padding:0 4px;
}
.hero-copy{
  margin-top:24px; font-size:clamp(15px, 1.6vw, 19px);
  max-width:540px; line-height:1.7; color:rgba(255,255,255,.92);
  font-weight:400;
}

.hero-controls{
  position:absolute; left:0; right:0; bottom:48px; z-index:3;
  display:flex; justify-content:center; align-items:center; gap:24px;
}
.hero-prev,.hero-next{
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.4);
  color:#fff; font-size:24px; cursor:pointer;
  transition:background .2s, transform .2s;
  font-family:var(--font-sans);
}
.hero-prev:hover,.hero-next:hover{background:rgba(255,255,255,.25); transform:scale(1.05)}
.hero-dots{display:flex; gap:10px}
.hero-dots li{
  width:32px; height:3px; background:rgba(255,255,255,.4);
  cursor:pointer; transition:background .25s, width .25s;
}
.hero-dots li.is-active{background:#fff; width:48px}

.hero-scroll{
  position:absolute; right:32px; bottom:48px; z-index:3;
  font-family:var(--font-en);
  font-size:11px; letter-spacing:.4em; text-transform:uppercase;
  color:rgba(255,255,255,.85); font-weight:500;
  display:flex; align-items:center; gap:14px;
  writing-mode:vertical-rl;
}
.hero-scroll span{
  width:1px; height:54px; background:rgba(255,255,255,.5);
  position:relative; overflow:hidden;
}
.hero-scroll span::after{
  content:""; position:absolute; top:-54px; left:0; width:100%; height:54px;
  background:#fff; animation:dropline 2.4s ease-in-out infinite;
}
@keyframes dropline{
  0%{top:-54px} 60%,100%{top:54px}
}

/* ============ Sections common ============ */
.section{padding:120px 0; position:relative}
.section-head{text-align:center; max-width:760px; margin:0 auto 72px}
.section-head .eyebrow{
  font-family:var(--font-en);
  letter-spacing:.4em; text-transform:uppercase;
  color:var(--bean-600); font-size:13px; font-weight:500;
  margin-bottom:14px;
}
.section-head h2{
  font-size:clamp(28px,3.4vw,44px); color:var(--bean-900);
  margin-bottom:18px; font-weight:800; letter-spacing:-.03em;
}
.section-head .lede{color:var(--ink-500); font-size:16px; line-height:1.8}
.block-head{
  font-size:24px; color:var(--bean-800); margin:80px 0 28px;
  display:flex; align-items:center; gap:14px; font-weight:700;
}
.block-head::before{
  content:""; width:6px; height:22px; background:var(--bean-700); border-radius:3px;
}

/* ============ Profile ============ */
.section-profile{background:#fff}
.profile-grid{
  display:grid; grid-template-columns:1.3fr 1fr; gap:48px; align-items:start;
}
.profile-greeting h3{
  font-size:22px; color:var(--bean-700); margin-bottom:18px;
  padding-bottom:14px; border-bottom:2px solid var(--bean-300);
}
.profile-greeting p{margin-bottom:16px; color:var(--ink-700); font-size:15.5px; line-height:1.85}
.profile-greeting .signature{margin-top:22px; color:var(--bean-800); font-size:15px}
.profile-figure{
  position:relative; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow); margin:0;
}
.profile-figure picture, .profile-figure img{display:block; width:100%; height:100%}
.profile-figure img{min-height:420px; object-fit:cover}
.profile-figure figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:24px; color:#fff;
  background:linear-gradient(transparent, rgba(20,10,4,.85));
  font-size:14px; letter-spacing:.02em;
}

/* Timeline */
.timeline{position:relative; padding-left:0; display:grid; gap:0}
.timeline::before{
  content:""; position:absolute; left:120px; top:8px; bottom:8px;
  width:2px; background:var(--line);
}
.timeline li{
  position:relative; display:grid; grid-template-columns:120px 1fr;
  align-items:flex-start; padding:14px 0; gap:32px;
}
.timeline li::before{
  content:""; position:absolute; left:115px; top:22px;
  width:12px; height:12px; border-radius:50%;
  background:#fff; border:2px solid var(--bean-500);
}
.timeline li.is-now::before{background:var(--bean-500); box-shadow:0 0 0 6px rgba(168,90,38,.18)}
.t-date{
  font-family:var(--font-en);
  color:var(--bean-700); font-weight:700; font-size:17px;
  letter-spacing:0;
}
.t-desc{color:var(--ink-700); padding-left:28px; line-height:1.75}

/* Org chart */
.org-chart{
  background:var(--cream-100); padding:36px 24px;
  border-radius:var(--r-lg); border:1px solid var(--line);
}
.org-level{
  display:flex; justify-content:center; gap:14px;
  margin-bottom:26px; position:relative;
}
.org-level::before{
  content:""; position:absolute; left:50%; bottom:-20px;
  width:2px; height:14px; background:var(--bean-300); transform:translateX(-50%);
}
.org-level:last-child{margin-bottom:0}
.org-level:last-child::before{display:none}
.org-level.org-cols-5{display:grid; grid-template-columns:repeat(5,1fr); gap:14px}

/* Aux branch: spine node centered, side node hangs to the right */
.org-level.org-aux{
  display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center; column-gap:48px;
}
.org-level.org-aux > .org-node{grid-column:2; justify-self:center}
.org-aux-side{
  grid-column:3; justify-self:start;
  background:#fff; border:1px solid var(--line);
  padding:11px 18px; border-radius:var(--r);
  font-size:13.5px; font-weight:500; color:var(--ink-700);
  box-shadow:var(--shadow-sm);
  position:relative;
}
.org-aux-side::before{
  content:""; position:absolute;
  right:100%; top:50%; transform:translateY(-50%);
  width:48px; height:2px; background:var(--bean-300);
}
.org-node{
  background:#fff; border:1px solid var(--line);
  padding:13px 18px; border-radius:var(--r);
  text-align:center; font-size:14px; font-weight:500;
  color:var(--ink-900); box-shadow:var(--shadow-sm);
  line-height:1.4;
}
.org-node.org-top{
  background:var(--bean-700); color:#fff; border-color:var(--bean-700);
  font-size:16px; font-weight:700; padding:14px 38px;
}
.org-node.org-mid{
  background:var(--bean-500); color:#fff; border-color:var(--bean-500);
  font-weight:700; padding:12px 30px;
}
.org-branch{
  display:flex; flex-direction:column; gap:10px;
  background:rgba(255,255,255,.55);
  border:1px solid var(--line); border-radius:var(--r);
  padding:12px;
}
.org-branch .org-node.org-head{
  font-weight:700; color:var(--bean-800);
  border-color:var(--bean-300); background:#fff;
  padding:11px 12px; font-size:14px;
}
.org-branch ul{
  display:flex; flex-direction:column; gap:6px;
  padding:0; margin:0; list-style:none;
}
.org-branch li{
  font-size:12.5px; color:var(--ink-700); text-align:center;
  padding:7px 8px; background:var(--cream-50);
  border-radius:var(--r-sm); line-height:1.4;
}

/* Locate */
.locate{
  display:grid; grid-template-columns:1fr 1.2fr; gap:32px;
  background:var(--cream-100); padding:36px; border-radius:var(--r-lg);
  border:1px solid var(--line);
}
.locate-name{font-size:20px; font-weight:700; color:var(--bean-800); margin-bottom:14px}
.locate-info ul{display:grid; gap:8px; margin-bottom:18px; color:var(--ink-700)}
.locate-info ul b{display:inline-block; width:80px; color:var(--bean-700); font-weight:600}
.locate-info h4{margin:18px 0 12px; color:var(--bean-700); font-size:15px; font-weight:700}
.transit li{display:flex; align-items:center; gap:10px; padding:6px 0; font-size:14.5px; color:var(--ink-700)}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:26px; height:26px; padding:0 8px; border-radius:13px;
  font-size:11px; font-weight:700; color:#fff; flex-shrink:0;
}
.badge.subway{background:#bf3f4d}
.badge.bus{background:#2c8a3e}
.locate-map{
  position:relative; min-height:340px;
  border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow-sm);
  background:#fff;
}
.locate-map iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.map-link{
  position:absolute; right:12px; bottom:12px; z-index:2;
  background:rgba(255,255,255,.95); padding:8px 14px;
  border-radius:999px; font-size:12px; font-weight:500;
  color:var(--bean-800); box-shadow:var(--shadow-sm);
}

/* ============ Service ============ */
.section-service{
  background:linear-gradient(180deg, var(--cream-50), var(--cream-100));
}
.svc-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.svc-card{
  background:#fff; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .3s, box-shadow .3s;
  display:flex; flex-direction:column;
}
.svc-card:hover{transform:translateY(-4px); box-shadow:var(--shadow)}
.svc-thumb{
  display:block; height:200px; position:relative; overflow:hidden;
}
.svc-thumb img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s ease;
}
.svc-card:hover .svc-thumb img{transform:scale(1.04)}
.svc-thumb::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(transparent 60%, rgba(20,10,4,.35));
  pointer-events:none;
}
.svc-body{padding:22px 22px 26px; flex:1; display:flex; flex-direction:column}
.svc-body h3{font-size:18px; color:var(--bean-800); margin-bottom:10px; font-weight:700}
.svc-body p{color:var(--ink-500); font-size:14.5px; line-height:1.75}
.chips{display:flex; flex-wrap:wrap; gap:6px; margin-top:14px}
.chips li{
  font-size:12px; padding:4px 10px; border-radius:999px;
  background:var(--cream-200); color:var(--bean-800); font-weight:500;
}

/* ============ Membership ============ */
.section-member{background:#fff}
.member-cards{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  align-items:stretch;
}
.m-card{
  background:var(--cream-50); border-radius:var(--r-lg);
  padding:36px 30px; border:1px solid var(--line);
  display:flex; flex-direction:column;
  transition:transform .25s, box-shadow .25s;
}
.m-card:hover{transform:translateY(-4px); box-shadow:var(--shadow)}
.m-card.is-feature{
  background:linear-gradient(160deg, var(--bean-700), var(--bean-900));
  color:#fff; border-color:transparent;
}
.m-card.is-feature:hover{transform:translateY(-4px)}
.m-card header{margin-bottom:20px}
.m-tag{
  display:inline-block; padding:5px 14px; border-radius:999px;
  font-size:12px; font-weight:600; letter-spacing:0;
  background:var(--bean-700); color:#fff; margin-bottom:14px;
}
.is-feature .m-tag{background:#fff; color:var(--bean-700)}
.m-card h3{
  font-family:var(--font-en);
  font-size:30px; color:var(--bean-700); font-weight:700;
  letter-spacing:-.02em;
}
.is-feature h3{color:#fff}
.m-target{
  font-size:14px; color:var(--ink-500); padding-bottom:18px;
  border-bottom:1px dashed var(--line); line-height:1.7;
}
.is-feature .m-target{color:rgba(255,255,255,.85); border-color:rgba(255,255,255,.25)}
.m-rights{margin:18px 0; flex:1; display:grid; gap:8px}
.m-rights li{
  position:relative; padding-left:22px; font-size:14.5px; color:var(--ink-700);
  line-height:1.65;
}
.m-rights li::before{
  content:"✓"; position:absolute; left:0; top:0;
  color:var(--bean-500); font-weight:700;
}
.is-feature .m-rights li{color:rgba(255,255,255,.92)}
.is-feature .m-rights li::before{color:var(--bean-300)}
.m-fee{
  display:flex; gap:12px; padding:16px 0; margin-top:auto;
  border-top:1px solid var(--line);
}
.m-fee span{
  flex:1; text-align:center; font-size:13.5px; font-weight:600;
  color:var(--bean-800); padding:10px; background:#fff;
  border-radius:var(--r-sm);
}
.is-feature .m-fee{border-color:rgba(255,255,255,.25)}
.is-feature .m-fee span{background:rgba(255,255,255,.15); color:#fff}
.m-note{
  font-size:12.5px; color:var(--bean-700); margin:8px 0 16px;
  text-align:center; font-weight:500; min-height:1em;
}
.is-feature .m-note{color:var(--bean-300)}
.m-cta{
  display:block; text-align:center; padding:14px;
  background:var(--bean-700); color:#fff !important; border-radius:999px;
  font-size:14px; font-weight:600;
  transition:background .2s;
}
.m-cta:hover{background:var(--bean-900)}
.is-feature .m-cta{background:#fff; color:var(--bean-700) !important}
.is-feature .m-cta:hover{background:var(--bean-300)}

.member-howto{
  margin-top:80px; padding:48px;
  background:var(--cream-100); border-radius:var(--r-lg);
}
.member-howto h3{
  text-align:center; color:var(--bean-800);
  font-size:22px; margin-bottom:36px; font-weight:700;
}
.howto{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  position:relative;
}
.howto li{
  background:#fff; padding:22px 18px; border-radius:var(--r);
  text-align:center; font-size:13.5px; color:var(--ink-500);
  position:relative; line-height:1.6;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.howto li span{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:var(--bean-700); color:#fff; font-weight:700;
  font-family:var(--font-en);
}
.howto li > div{display:flex; flex-direction:column; gap:4px}
.howto li b{color:var(--bean-800); font-size:15px; font-weight:700; line-height:1.4}
.howto li p{font-size:13px; color:var(--ink-500); line-height:1.55}
.howto-contact{
  margin-top:28px; text-align:center; color:var(--ink-700); font-size:14.5px;
}
.howto-contact a{color:var(--bean-700); font-weight:600}

.member-boards{
  margin-top:60px;
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
}
.mb-card{
  padding:32px; background:#fff; border-radius:var(--r-lg);
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.mb-card h3{
  color:var(--bean-800); font-size:19px; margin-bottom:12px; font-weight:700;
  padding-bottom:12px; border-bottom:2px solid var(--bean-300);
}
.mb-card p{color:var(--ink-700); font-size:14.5px; line-height:1.8}
.mb-card a{color:var(--bean-700); font-weight:500; text-decoration:underline; text-underline-offset:2px}
.mb-rule{
  margin-top:14px !important; padding-top:14px;
  border-top:1px dashed var(--line);
  font-size:12.5px !important; color:var(--ink-500) !important;
}

/* ============ Board ============ */
.section-board{background:linear-gradient(180deg, var(--cream-100), var(--cream-50))}
.board-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.bd-card{
  background:#fff; padding:32px; border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm);
}
.bd-card h3{
  font-size:20px; color:var(--bean-800); margin-bottom:8px;
  padding-bottom:14px; border-bottom:2px solid var(--bean-300);
  font-weight:700;
}
.bd-desc{font-size:13.5px; color:var(--ink-500); margin:12px 0 18px; line-height:1.7}
.bd-list{display:grid; gap:10px}
.bd-list li{
  display:flex; gap:12px; padding:8px 0;
  border-bottom:1px dashed var(--line);
  font-size:14px;
}
.bd-list li:last-child{border-bottom:0}
.bd-date{
  flex-shrink:0; color:var(--bean-600); font-weight:600;
  font-family:var(--font-en); font-size:13px;
  width:64px;
}
.bd-list a{color:var(--ink-700); transition:color .15s; line-height:1.5}
.bd-list a:hover{color:var(--bean-700)}
.bd-rule{
  margin-top:18px !important; padding-top:14px;
  border-top:1px dashed var(--line);
  font-size:12px; color:var(--ink-500); text-align:right;
}
.board-warn{
  margin-top:36px; padding:18px 24px;
  background:rgba(168,90,38,.08); border-left:4px solid var(--bean-500);
  color:var(--ink-700); font-size:13px; line-height:1.75;
  border-radius:var(--r-sm);
}

/* ============ Donation strip ============ */
.strip{
  background:var(--bean-900); color:#fff; padding:60px 0;
  position:relative; overflow:hidden;
}
.strip::before{
  content:""; position:absolute; right:-200px; top:-200px;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(168,90,38,.4), transparent 70%);
}
.strip-inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:32px; flex-wrap:wrap; position:relative;
}
.strip-eyebrow{
  font-family:var(--font-en);
  letter-spacing:.4em; text-transform:uppercase;
  color:var(--bean-300); font-size:12px; margin-bottom:8px; font-weight:500;
}
.strip h3{font-size:22px; line-height:1.6; max-width:500px; font-weight:700}
.strip-info{display:flex; flex-direction:column; align-items:flex-end; gap:14px}
.strip-info p{font-size:14px; color:rgba(255,255,255,.85)}
.strip-info b{color:var(--bean-300); font-weight:600}
.strip-cta{
  background:var(--bean-300); color:var(--bean-900) !important;
  padding:12px 24px; border-radius:999px; font-weight:700; font-size:14px;
  transition:background .2s;
}
.strip-cta:hover{background:#fff}

/* ============ Footer ============ */
.site-footer{background:var(--ink-900); color:rgba(255,255,255,.78); padding:64px 0 0}
.foot-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:48px; padding-bottom:48px;
}
.foot-brand img{max-width:240px; margin-bottom:18px; filter:brightness(0) invert(1)}
.foot-brand p{font-size:14px; color:rgba(255,255,255,.65)}
.foot-col h4{
  color:#fff; font-size:13px; margin-bottom:18px;
  letter-spacing:.04em; text-transform:uppercase;
  font-family:var(--font-en); font-weight:700;
}
.foot-col ul{display:grid; gap:8px; font-size:14px}
.foot-col a{color:rgba(255,255,255,.78); transition:color .15s}
.foot-col a:hover{color:var(--bean-300)}
.copyline{border-top:1px solid rgba(255,255,255,.1); padding:22px 0}
.copyline p{font-size:12.5px; color:rgba(255,255,255,.5); text-align:center; letter-spacing:.02em}

/* ============ To-top ============ */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index:40;
  width:48px; height:48px; border-radius:50%;
  background:var(--bean-700); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; box-shadow:var(--shadow);
  opacity:0; transform:translateY(8px); pointer-events:none;
  transition:opacity .25s, transform .25s, background .2s;
  border:0; cursor:pointer;
}
.to-top.is-visible{opacity:1; transform:none; pointer-events:auto}
.to-top:hover{background:var(--bean-900)}

/* ============ Animations ============ */
/* Hidden initial state only when JS is alive (no-JS fallback = visible) */
html.js-ready .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .7s cubic-bezier(.2,.6,.2,1) var(--reveal-delay, 0ms),
    transform .7s cubic-bezier(.2,.6,.2,1) var(--reveal-delay, 0ms);
  will-change:opacity, transform;
}
html.js-ready .reveal.is-in{opacity:1; transform:none}

/* Org chart cascade — fires when .org-chart.is-in */
html.js-ready .org-chart > .org-level{
  opacity:0; transform:translateY(14px) scale(.94);
  transition:opacity .35s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1);
}
html.js-ready .org-chart > .org-level::before{
  transform:translateX(-50%) scaleY(0); transform-origin:top;
  transition:transform .22s ease-out;
}
html.js-ready .org-chart .org-aux-side{
  opacity:0; transform:translateX(-14px);
  transition:opacity .3s ease-out, transform .3s ease-out;
}
html.js-ready .org-chart .org-aux-side::before{
  transform:translateY(-50%) scaleX(0); transform-origin:left;
  transition:transform .22s ease-out;
}
html.js-ready .org-chart .org-branch{
  opacity:0; transform:translateY(16px) scale(.92);
  transition:opacity .35s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1);
}
html.js-ready .org-chart .org-branch li{
  opacity:0; transform:translateY(6px);
  transition:opacity .25s ease-out, transform .25s ease-out;
}

html.js-ready .org-chart.is-in > .org-level{opacity:1; transform:none}
html.js-ready .org-chart.is-in > .org-level::before{transform:translateX(-50%) scaleY(1)}
html.js-ready .org-chart.is-in .org-aux-side{opacity:1; transform:none}
html.js-ready .org-chart.is-in .org-aux-side::before{transform:translateY(-50%) scaleX(1)}
html.js-ready .org-chart.is-in .org-branch{opacity:1; transform:none}
html.js-ready .org-chart.is-in .org-branch li{opacity:1; transform:none}

html.js-ready .org-chart.is-in > .org-level:nth-child(1){transition-delay:0s}
html.js-ready .org-chart.is-in > .org-level:nth-child(1)::before{transition-delay:.20s}
html.js-ready .org-chart.is-in > .org-level:nth-child(2){transition-delay:.22s}
html.js-ready .org-chart.is-in > .org-level:nth-child(2)::before{transition-delay:.42s}
html.js-ready .org-chart.is-in > .org-level:nth-child(3){transition-delay:.44s}
html.js-ready .org-chart.is-in > .org-level:nth-child(3) .org-aux-side::before{transition-delay:.58s}
html.js-ready .org-chart.is-in > .org-level:nth-child(3) .org-aux-side{transition-delay:.62s}
html.js-ready .org-chart.is-in > .org-level:nth-child(3)::before{transition-delay:.68s}
html.js-ready .org-chart.is-in > .org-level:nth-child(4){transition-delay:.70s}
html.js-ready .org-chart.is-in > .org-level:nth-child(4) .org-aux-side::before{transition-delay:.84s}
html.js-ready .org-chart.is-in > .org-level:nth-child(4) .org-aux-side{transition-delay:.88s}
html.js-ready .org-chart.is-in > .org-level:nth-child(4)::before{transition-delay:.94s}
html.js-ready .org-chart.is-in > .org-level:nth-child(5) .org-branch:nth-child(1){transition-delay:.98s}
html.js-ready .org-chart.is-in > .org-level:nth-child(5) .org-branch:nth-child(2){transition-delay:1.04s}
html.js-ready .org-chart.is-in > .org-level:nth-child(5) .org-branch:nth-child(3){transition-delay:1.10s}
html.js-ready .org-chart.is-in > .org-level:nth-child(5) .org-branch:nth-child(4){transition-delay:1.16s}
html.js-ready .org-chart.is-in > .org-level:nth-child(5) .org-branch:nth-child(5){transition-delay:1.22s}

html.js-ready .org-chart.is-in .org-branch li:nth-child(1){transition-delay:1.30s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(2){transition-delay:1.34s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(3){transition-delay:1.38s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(4){transition-delay:1.42s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(5){transition-delay:1.46s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(6){transition-delay:1.50s}
html.js-ready .org-chart.is-in .org-branch li:nth-child(7){transition-delay:1.54s}

/* Hero entrance — fires on .is-active (initial load + each slide change) */
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-copy{
  animation:heroIn .9s cubic-bezier(.2,.6,.2,1) both;
}
.hero-slide.is-active .hero-eyebrow{animation-delay:.05s}
.hero-slide.is-active .hero-title  {animation-delay:.20s}
.hero-slide.is-active .hero-copy   {animation-delay:.38s}
@keyframes heroIn{
  from{opacity:0; transform:translateY(20px)}
  to  {opacity:1; transform:none}
}

/* ============ Motion preference ============ */
@media (prefers-reduced-motion: reduce){
  .hero-slide{transition:opacity .3s}
  .hero-scroll span::after{animation:none}
  html.js-ready .reveal{opacity:1; transform:none; transition:none}
  html.js-ready .org-chart > .org-level,
  html.js-ready .org-chart .org-aux-side,
  html.js-ready .org-chart .org-branch,
  html.js-ready .org-chart .org-branch li{
    opacity:1; transform:none; transition:none;
  }
  html.js-ready .org-chart > .org-level::before,
  html.js-ready .org-chart .org-aux-side::before{transition:none}
  .hero-slide.is-active .hero-eyebrow,
  .hero-slide.is-active .hero-title,
  .hero-slide.is-active .hero-copy{animation:none}
  *{scroll-behavior:auto !important}
}

/* ============ Responsive ============ */
@media (max-width:1024px){
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .member-cards{grid-template-columns:repeat(3,1fr); gap:18px}
  .m-card{padding:28px 22px}
  .m-card h3{font-size:26px}
  .board-grid{grid-template-columns:repeat(2,1fr)}
  .board-grid > .bd-card:nth-child(3){grid-column:1 / -1}
  .profile-grid{grid-template-columns:1fr}
  .profile-figure img{min-height:320px}
  .locate{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr; gap:32px}
  .org-level.org-cols-5{grid-template-columns:repeat(3,1fr)}
  .howto{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .svc-grid{grid-template-columns:1fr; gap:18px}
  .member-cards{grid-template-columns:1fr}
  .board-grid{grid-template-columns:1fr}
  .board-grid > .bd-card:nth-child(3){grid-column:auto}
  .howto{grid-template-columns:repeat(2,1fr); gap:14px}
}
@media (max-width:768px){
  :root{--header-h:60px}

  /* Drop backdrop-filter on mobile: it creates a containing block that
     traps the fixed-position .primary-nav (slide-in menu) inside the header. */
  .site-header.is-scrolled{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    background:#fff;
  }
  .section{padding:64px 0}
  .section-head{margin-bottom:36px}
  .section-head h2{font-size:26px}
  .section-head .lede{font-size:15px}
  .block-head{font-size:20px; margin:48px 0 20px}

  /* Header */
  .nav-wrap{gap:8px}
  .brand{gap:8px; flex:1; min-width:0}
  .brand-mark{height:30px}
  .brand-text{font-size:17px}
  .nav-toggle{display:block}

  .primary-nav{
    position:fixed; top:var(--header-h); left:0; right:0; bottom:0;
    background:#fff; flex-direction:column; gap:0; padding:24px;
    transform:translateX(100%); transition:transform .3s ease;
    align-items:stretch; overflow-y:auto;
    box-shadow:var(--shadow);
  }
  .primary-nav.is-open{transform:none}
  .primary-nav ul{flex-direction:column; gap:0; width:100%}
  .primary-nav a{
    color:var(--ink-900); padding:18px 4px;
    flex-direction:row; justify-content:space-between;
    border-bottom:1px solid var(--line); font-size:16px;
    text-shadow:none;
  }
  .primary-nav a small{opacity:.6; font-size:12px}
  .primary-nav a::after{display:none}
  .nav-cta{margin-top:24px; text-align:center; padding:14px !important}

  /* Hero */
  .hero{min-height:520px; height:86vh}
  .hero-content{padding:var(--header-h) 24px 110px}
  .hero-eyebrow{font-size:11px; letter-spacing:.28em; margin-bottom:14px}
  .hero-title{font-size:32px; line-height:1.25}
  .hero-copy{font-size:14.5px; line-height:1.7; max-width:none}
  .hero-scroll{display:none}
  .hero-controls{bottom:24px; gap:14px}
  .hero-prev,.hero-next{width:38px; height:38px; font-size:20px}
  .hero-dots li{width:24px}
  .hero-dots li.is-active{width:36px}

  /* Timeline */
  .timeline::before{left:72px}
  .timeline li{grid-template-columns:72px 1fr; gap:16px}
  .timeline li::before{left:67px; top:18px}
  .t-date{font-size:14px}
  .t-desc{padding-left:18px; font-size:14px}

  /* Org */
  .org-chart{padding:20px 14px}
  .org-level{margin-bottom:22px}
  .org-level::before{bottom:-18px; height:12px}
  .org-level.org-aux{column-gap:24px}
  .org-aux-side{padding:9px 12px; font-size:12.5px}
  .org-aux-side::before{width:24px}
  .org-level.org-cols-5{grid-template-columns:repeat(2,1fr); gap:10px}
  .org-level.org-cols-5 > .org-branch:nth-child(3){grid-column:1 / -1}
  .org-node{padding:10px 8px; font-size:12.5px}
  .org-node.org-top{padding:11px 22px; font-size:15px}
  .org-node.org-mid{padding:11px 22px; font-size:14px}
  .org-branch{padding:10px; gap:8px}
  .org-branch .org-node.org-head{font-size:13px; padding:9px 8px}
  .org-branch li{font-size:11.5px; padding:6px}

  /* Locate */
  .locate{padding:24px 18px; gap:24px}
  .locate-name{font-size:18px}
  .locate-info ul b{width:64px; font-size:13.5px}
  .transit li{font-size:13.5px; align-items:flex-start}
  .locate-map{min-height:280px}

  /* Service */
  .svc-thumb{height:220px}

  /* Membership */
  .m-card{padding:24px 20px}
  .m-card header{margin-bottom:14px}
  .m-card h3{font-size:24px}
  .m-target{font-size:13.5px; padding-bottom:14px; line-height:1.65}
  .m-rights{margin:14px 0; gap:6px}
  .m-rights li{font-size:14px; line-height:1.55; padding-left:20px}
  .m-fee{padding:12px 0; gap:8px}
  .m-fee span{padding:8px 6px; font-size:13px}
  .m-note{font-size:12px; margin:6px 0 12px}
  .m-cta{padding:12px; font-size:13.5px}

  .member-howto{padding:24px 16px; margin-top:48px; border-radius:var(--r)}
  .member-howto h3{font-size:18px; margin-bottom:20px}
  .howto{grid-template-columns:1fr; gap:10px}
  .howto li{
    flex-direction:row; align-items:center; gap:14px;
    text-align:left; padding:14px 16px;
  }
  .howto li > div{align-items:flex-start}
  .howto li span{width:32px; height:32px; font-size:14px}
  .howto li b{font-size:14px}
  .howto-contact{margin-top:18px; font-size:13.5px; line-height:1.7}

  .member-boards{grid-template-columns:1fr; margin-top:36px; gap:14px}
  .mb-card{padding:20px}
  .mb-card h3{font-size:17px; margin-bottom:8px}
  .mb-card p{font-size:14px; line-height:1.7}

  /* Board */
  .bd-card{padding:24px}
  .bd-list li{align-items:flex-start}
  .bd-date{width:56px}

  /* Strip */
  .strip{padding:48px 0}
  .strip-inner{flex-direction:column; align-items:flex-start; gap:24px}
  .strip h3{font-size:18px}
  .strip-info{align-items:flex-start; width:100%}

  /* Footer */
  .foot-grid{grid-template-columns:1fr; gap:32px; padding-bottom:36px}
  .foot-brand img{max-width:200px}

  .to-top{right:16px; bottom:16px; width:42px; height:42px}
}
@media (max-width:380px){
  .brand-text{display:none}
}
