/*
Theme Name: su-onesystem
Theme URI: https://example.com/
Author: Onesystem
Author URI: https://example.com/
Description: 협동조합 원시스템(SENIOR UNION) · 가능한 익숙한 곳에서 돌보고, 지역사회가 함께 지키는 휴얼이 통합 상담 협동조합 테마.
Version: 1.1.0
Text Domain: my-custom-theme
Domain Path: /languages
Requires PHP: 7.4
Requires at least: 5.9
*/

/* ============================================================
   디자인 토큰 (index.html 브랜드 팔레트 이식)
   ============================================================ */
:root {
  /* 브랜드 컬러 (로고 추출) */
  --navy: #41538F;        /* 주조색 */
  --navy-ink: #2B3866;    /* 진한 네이비 (제목/대비) */
  --teal: #2F7C8E;        /* 보조색 */
  --teal-deep: #256576;
  --coral: #E67A5C;       /* 포인트 */
  --coral-deep: #D2603F;
  --yellow: #F2A93B;      /* 포인트 */

  /* 배경 (한지 느낌의 따뜻한 종이) */
  --paper: #FBF7EF;
  --paper-2: #F4ECDD;
  --paper-3: #EADFCB;
  --line: #E2D6C2;

  /* 글자 */
  --ink: #33303A;
  --ink-soft: #5F5963;
  --ink-mut: #857F8A;
  --on-dark: #F6F1E8;

  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard Variable", "Pretendard", -apple-system, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(43, 56, 102, .30);
  --shadow-soft: 0 10px 30px -20px rgba(43, 56, 102, .45);
  --maxw: 1180px;

  --fs: 1;            /* 글자 크기 배율 (JS 제어) */
  --pad-sec: clamp(64px, 9vw, 128px);

  /* 클래식 테마 호환용 별칭 */
  --color-primary: var(--coral);
  --color-secondary: var(--navy-ink);
  --color-background: var(--paper);
  --color-text: var(--ink);
  --color-muted: var(--ink-mut);
  --max-content-width: var(--maxw);
  --border-radius: var(--r-md);
}

/* ============================================================
   기본 리셋 / 타이포
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: calc(18px * var(--fs));
  line-height: 1.75;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, figure { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  letter-spacing: -.02em;
  line-height: 1.32;
  color: var(--navy-ink);
  word-break: keep-all;
}

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.site-wrapper,
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 10px; z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============================================================
   버튼
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-family: var(--sans);
  border: none; cursor: pointer; border-radius: 999px;
  padding: 14px 26px; font-size: calc(.97rem * var(--fs));
  transition: transform .2s, box-shadow .2s, background .2s;
  line-height: 1; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -10px rgba(210, 96, 63, .7); }
.btn-primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy-ink); border: 1.8px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-cta { background: var(--navy); color: #fff; }
.btn-cta:hover { background: var(--navy-ink); color: #fff; transform: translateY(-2px); }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 239, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43, 56, 102, .5); }
.site-header .header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: clamp(70px, 9vw, 86px);
}

.site-branding { display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .mark { flex: 0 0 auto; line-height: 0; }
.brand .name { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name .ko { font-family: var(--serif); font-weight: 800; font-size: calc(1.32rem * var(--fs)); color: var(--navy-ink); white-space: nowrap; }
.brand .name .en { font-size: calc(.62rem * var(--fs)); letter-spacing: .28em; color: var(--teal); font-weight: 700; margin-top: 3px; }
.site-title { font-family: var(--serif); font-weight: 800; font-size: calc(1.32rem * var(--fs)); color: var(--navy-ink); }
.site-branding img { max-width: 100%; height: auto; }

.nav-area { margin-left: auto; display: flex; align-items: center; gap: clamp(8px, 2vw, 30px); }

.main-navigation .menu {
  display: flex; flex-wrap: wrap; gap: clamp(6px, 1.6vw, 26px);
  list-style: none; margin: 0; padding: 0;
}
.main-navigation .menu li { margin: 0; }
.main-navigation .menu li a {
  display: inline-block; font-weight: 600; color: var(--ink-soft);
  padding: 8px 6px; font-size: calc(.97rem * var(--fs));
  position: relative; border-radius: 8px;
}
.main-navigation .menu li a::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px;
  height: 2.5px; background: var(--coral); transform: scaleX(0);
  transform-origin: left; transition: transform .26s;
}
.main-navigation .menu li a:hover { color: var(--navy-ink); text-decoration: none; }
.main-navigation .menu li a:hover::after { transform: scaleX(1); }
.main-navigation .menu li.current-menu-item a { color: var(--navy-ink); }

/* 글자 크기 조절 */
.fontctl {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 3px; background: var(--paper);
}
.fontctl span { font-size: calc(.74rem * var(--fs)); color: var(--ink-mut); padding: 0 9px; font-weight: 600; white-space: nowrap; }
.fontctl button {
  width: 31px; height: 31px; border: none; border-radius: 999px;
  background: transparent; cursor: pointer; font-family: var(--serif);
  font-weight: 700; color: var(--navy); display: grid; place-items: center;
}
.fontctl button:hover { background: var(--paper-3); }
.fz-s { font-size: 13px; } .fz-l { font-size: 19px; }

.menu-toggle {
  display: none; width: 46px; height: 46px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 21px; height: 2.4px; background: var(--navy-ink); border-radius: 2px; transition: .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ============================================================
   본문 레이아웃 (서브페이지 공통: 풀폭 + 중앙 정렬)
   ============================================================ */
.site-main { min-width: 0; }

/* 콘텐츠 폭 제한 (가독성) */
.content-narrow { max-width: 820px; margin-inline: auto; }

/* 모든 서브페이지 상단 공통 히어로 헤더 (랜딩 kicker/title 톤) */
.page-hero {
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(242, 169, 59, .14), transparent 70%),
    radial-gradient(55% 60% at 6% 95%, rgba(47, 124, 142, .12), transparent 70%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 92px);
  text-align: center;
}
.page-hero .kicker { justify-content: center; }
.page-hero .kicker::before { display: none; }
.page-hero .page-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900; margin: 0 auto; max-width: 22em;
}
.page-hero .page-subtitle {
  margin: 16px auto 0; max-width: 40em;
  color: var(--ink-soft); font-size: calc(1.04rem * var(--fs));
}

/* 본문 영역 상단 여백 */
.site-main.content-narrow { margin-top: clamp(48px, 6vw, 72px); }

article.hentry {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-soft); margin-bottom: 32px;
}
.entry-header h1, .entry-header h2 { margin: 0 0 18px; line-height: 1.25; }
.entry-title a { color: var(--navy-ink); }
.entry-title a:hover { color: var(--coral-deep); text-decoration: none; }
.entry-meta { color: var(--ink-mut); font-size: calc(.92rem * var(--fs)); margin-bottom: 24px; }
.entry-content { margin-bottom: 32px; }
.entry-content p { margin: 0 0 1.3em; }
.read-more {
  display: inline-flex; font-weight: 700; color: var(--coral-deep);
}
.entry-footer {
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: calc(.9rem * var(--fs)); color: var(--ink-soft);
}

/* ============================================================
   사이드바 / 위젯
   ============================================================ */
.widget {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.widget-title { margin-top: 0; margin-bottom: 16px; font-size: calc(1rem * var(--fs)); font-weight: 700; color: var(--navy-ink); }

/* ============================================================
   검색폼
   ============================================================ */
.search-form { display: flex; max-width: 100%; gap: .5rem; }
.search-field { flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-submit {
  border: none; background: var(--coral); color: #fff;
  padding: .8rem 1.3rem; border-radius: 999px; cursor: pointer; font-weight: 700;
}
.search-submit:hover { background: var(--coral-deep); }

.no-results, .error-404 { padding: 48px 0; }

/* ============================================================
   댓글
   ============================================================ */
.comments-area { margin-top: 48px; }
.comments-title { font-family: var(--serif); font-size: calc(1.3rem * var(--fs)); margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-author img { border-radius: 50%; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer {
  background: var(--navy-ink);
  color: rgba(246, 241, 232, .72);
  padding-block: clamp(56px, 7vw, 84px) 36px;
}
.site-footer .footer-inner { display: block; }
.footer-widgets {
  display: grid; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-widgets.columns-1 { grid-template-columns: 1fr; }
.footer-widgets.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-widgets.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer .widget { background: transparent; border: none; box-shadow: none; padding: 0; }
.site-footer .widget-title { color: #fff; font-family: var(--serif); }
.site-footer .widget a { color: rgba(246, 241, 232, .72); }
.site-footer .widget a:hover { color: var(--yellow); }

.footer-navigation { margin-top: 32px; }
.footer-navigation .footer-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 1.4rem;
}
.footer-navigation .footer-menu li a { color: rgba(246, 241, 232, .72); }
.footer-navigation .footer-menu li a:hover { color: var(--yellow); }

/* 기본(위젯 미설정) 푸터 블록 */
.footer-default { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.f-brand .brand .name .ko { color: #fff; }
.f-brand p { margin-top: 20px; font-size: calc(.95rem * var(--fs)); line-height: 1.7; max-width: 30em; }
.f-col h4.widget-title { color: #fff; font-family: var(--serif); font-weight: 700; font-size: calc(1rem * var(--fs)); margin-bottom: 18px; }
.f-col a, .f-col p { display: block; font-size: calc(.94rem * var(--fs)); margin-bottom: 11px; color: rgba(246, 241, 232, .72); }
.f-col a:hover { color: var(--yellow); }
.f-col a.btn { display: inline-flex; color: #fff; margin-bottom: 0; }
.f-col a.btn:hover { color: #fff; }

.site-info {
  margin-top: 28px; padding-top: 28px;
  font-size: calc(.82rem * var(--fs)); color: rgba(246, 241, 232, .5);
}
.site-info .f-tagline { margin-top: 8px; }
.f-note { font-size: calc(.78rem * var(--fs)); color: rgba(246, 241, 232, .4); margin-top: 8px; }

/* ============================================================
   프론트페이지 (랜딩) 섹션
   ============================================================ */
.fp section { padding-block: 30px; scroll-margin-top: 96px; }
.fp .sec-head { max-width: 48em; margin-bottom: clamp(40px, 5vw, 64px); }
.fp .sec-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; letter-spacing: .16em; font-size: calc(.76rem * var(--fs));
  color: var(--teal-deep); text-transform: uppercase; margin-bottom: 16px;
}
.kicker::before { content: ""; width: 26px; height: 2.5px; background: var(--coral); border-radius: 2px; }
.sec-head.center .kicker::before { display: none; }
h2.sec-title { font-size: clamp(1.7rem, 3.8vw, 2.55rem); font-weight: 900; margin-bottom: 18px; }
.sec-head p { font-size: calc(1.08rem * var(--fs)); color: var(--ink-soft); line-height: 1.8; }

/* 히어로 */
.hero { position: relative; padding-top: 30px; padding-bottom: 30px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(242, 169, 59, .16), transparent 70%),
    radial-gradient(55% 60% at 6% 90%, rgba(47, 124, 142, .13), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  color: var(--teal-deep); font-size: calc(.84rem * var(--fs)); letter-spacing: .04em;
  background: rgba(47, 124, 142, .1); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(2.05rem, 5.4vw, 3.5rem); font-weight: 900; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--coral-deep); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 6%; height: .34em; background: rgba(242, 169, 59, .42); z-index: -1; border-radius: 4px; }
.hero p.lead { font-size: calc(1.16rem * var(--fs)); color: var(--ink-soft); max-width: 30em; margin-bottom: 34px; line-height: 1.8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 30px; border-top: 1px dashed var(--line); }
.hero-meta div b { display: block; font-family: var(--serif); font-weight: 800; font-size: calc(1.7rem * var(--fs)); color: var(--navy); }
.hero-meta div span { font-size: calc(.84rem * var(--fs)); color: var(--ink-mut); font-weight: 600; }

/* 시그니처: 상담 연결도 */
/* ── 프론트페이지 배경 (이미지 + 잉크 확산) ── */
.fp { position: relative; }

/* 사업 방향(#direction) 섹션 배경 이미지 (투명도 조절) */
#direction.has-bg { position: relative; }
#direction.has-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg-image);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: var(--bg-opacity, 1);
  z-index: 0; pointer-events: none;
}
#direction.has-bg > .site-wrapper { position: relative; z-index: 1; }

.fp-ink {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.fp > section { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .fp-ink { opacity: .7; } }

/* ── 시그니처: 돌봄 태양계(궤도) — 순수 CSS ── */
.solar { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 520px; margin-inline: auto; }
@keyframes solar-spin { to { transform: rotate(360deg); } }
@keyframes solar-spin-rev { to { transform: rotate(-360deg); } }
@keyframes solar-breathe { 0%,100% { opacity: .45; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .85; transform: translate(-50%,-50%) scale(1.16); } }
@keyframes solar-ripple { 0% { opacity: .5; transform: translate(-50%,-50%) scale(.55); } 80% { opacity: 0; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(2.6); } }
@keyframes solar-twinkle { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } }

.orbit-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%,-50%); transform-origin: center; }
.r-out { width: 94%; height: 94%; border: 1.5px dashed rgba(65,83,143,.20); animation: solar-spin 90s linear infinite; }
.r-mid { width: 64%; height: 64%; border: 1.5px solid rgba(47,124,142,.16); animation: solar-spin 64s linear infinite reverse; }
.r-in  { width: 36%; height: 36%; border: 1.5px dashed rgba(230,122,92,.22); animation: solar-spin 40s linear infinite; }

.sun { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 6; }
.sun-glow { position: absolute; top: 50%; left: 50%; width: 172px; height: 172px; border-radius: 50%; background: radial-gradient(circle, rgba(65,83,143,.28), rgba(65,83,143,0) 68%); animation: solar-breathe 4.2s ease-in-out infinite; z-index: 1; }
.ripple { position: absolute; top: 50%; left: 50%; width: 150px; height: 150px; border: 2px solid rgba(65,83,143,.45); border-radius: 50%; opacity: 0; animation: solar-ripple 4.2s ease-out infinite; z-index: 1; }
.ripple.d2 { animation-delay: 1.4s; }
.ripple.d3 { animation-delay: 2.8s; }
.sun-core { position: relative; z-index: 3; background: var(--navy); color: #fff; border-radius: 18px; padding: 15px 24px; text-align: center; box-shadow: 0 18px 42px -14px rgba(43,56,102,.9); display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.sun-core b { font-family: var(--serif); font-size: calc(1.06rem * var(--fs)); }
.sun-core s { text-decoration: none; font-size: calc(.72rem * var(--fs)); opacity: .85; font-weight: 600; }

.arm { position: absolute; inset: 0; transform-origin: 50% 50%; animation: solar-spin 46s linear var(--d) infinite; }
.tick { position: absolute; top: 21%; left: 50%; width: 3px; height: 7%; transform: translateX(-50%); background: var(--c); border-radius: 3px; opacity: .75; }
.sat { position: absolute; top: 13%; left: 50%; transform: translate(-50%,-50%); }
.lbl { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 9px 14px; box-shadow: var(--shadow-soft); font-weight: 700; font-size: calc(.82rem * var(--fs)); color: var(--navy-ink); white-space: nowrap; transform-origin: 50% 50%; animation: solar-spin-rev 46s linear var(--d) infinite; }
.lbl i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }

.pdot { position: absolute; inset: 0; transform-origin: 50% 50%; }
.pdot span { position: absolute; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--pc); transform: translateX(-50%); box-shadow: 0 0 12px 1px var(--pc); animation: solar-twinkle 2.4s ease-in-out infinite; }
.p1 { animation: solar-spin 24s linear infinite; }
.p1 span { top: 32%; }
.p2 { animation: solar-spin 34s linear infinite reverse; }
.p2 span { top: 18%; animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .arm, .lbl, .pdot, .pdot span, .sun-glow { animation: none; }
  .ripple { display: none; }
  .arm { transform: rotate(var(--a)); }
  .lbl { transform: rotate(calc(-1 * var(--a))); }
  .sun-glow { opacity: .6; }
}

/* 추진 배경 */
.bg-why { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.why-points { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.why-points li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-soft); }
.why-points .num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; color: #fff; background: var(--teal); }
.why-points li:nth-child(2) .num { background: var(--coral); }
.why-points li:nth-child(3) .num { background: var(--yellow); color: var(--navy-ink); }
.why-points h3 { font-size: calc(1.06rem * var(--fs)); margin-bottom: 5px; color: var(--navy-ink); }
.why-points p { font-size: calc(.95rem * var(--fs)); color: var(--ink-soft); line-height: 1.65; }
.pull { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.pull::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 22px solid rgba(242, 169, 59, .22); border-radius: 50%; }
.pull q { font-family: var(--serif); font-weight: 600; font-size: calc(1.4rem * var(--fs)); line-height: 1.55; quotes: none; display: block; margin-bottom: 18px; }
.pull q::before { content: "“"; color: var(--yellow); } .pull q::after { content: "”"; color: var(--yellow); }
.pull cite { font-style: normal; color: rgba(246, 241, 232, .7); font-size: calc(.9rem * var(--fs)); }

/* 사업 방향 (3) */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.dir { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); position: relative; transition: transform .3s, box-shadow .3s; overflow: hidden; }
.dir:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dir .ring { width: 62px; height: 62px; margin-bottom: 22px; }
.dir h3 { font-size: calc(1.24rem * var(--fs)); margin-bottom: 12px; }
.dir p { color: var(--ink-soft); font-size: calc(.97rem * var(--fs)); line-height: 1.72; }
.dir .tag { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-weight: 800; font-size: calc(1.5rem * var(--fs)); color: var(--paper-3); }

/* 핵심 사업 (5) */
.bg-progs { background: linear-gradient(180deg, var(--paper), var(--paper-2) 60%, var(--paper)); }
.prog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 22px); }
.prog { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 32px); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.prog:nth-child(4) { grid-column: 2 / span 2; }
.prog:nth-child(5) { grid-column: 4 / span 2; }
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.prog .idx { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.prog .idx b { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; color: #fff; font-size: calc(1.2rem * var(--fs)); flex: 0 0 auto; }
.prog:nth-child(1) .idx b { background: var(--navy); }
.prog:nth-child(2) .idx b { background: var(--teal); }
.prog:nth-child(3) .idx b { background: var(--coral); }
.prog:nth-child(4) .idx b { background: var(--yellow); color: var(--navy-ink); }
.prog:nth-child(5) .idx b { background: var(--navy-ink); }
.prog .idx h3 { font-size: calc(1.12rem * var(--fs)); line-height: 1.35; }
.prog > p { color: var(--ink-soft); font-size: calc(.95rem * var(--fs)); margin-bottom: 18px; line-height: 1.68; }
.prog ul { list-style: none; display: grid; gap: 9px; margin-top: auto; padding: 0; }
.prog li { display: flex; gap: 10px; font-size: calc(.92rem * var(--fs)); color: var(--ink); line-height: 1.5; }
.prog li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-top: 9px; }

/* 추진 체계 (역할 표) */
.bg-roles { background: var(--navy-ink); color: var(--on-dark); }
.bg-roles .kicker { color: var(--yellow); }
.bg-roles .kicker::before { background: var(--yellow); }
.bg-roles h2.sec-title { color: #fff; }
.bg-roles .sec-head p { color: rgba(246, 241, 232, .78); }
.roles { display: grid; gap: 14px; }
.role { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); padding: 22px 26px; transition: background .3s; }
.role:hover { background: rgba(255, 255, 255, .09); }
.role .who { display: flex; align-items: center; gap: 13px; font-family: var(--serif); font-weight: 700; font-size: calc(1.1rem * var(--fs)); color: #fff; }
.role .who i { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 auto; }
.role .what { color: rgba(246, 241, 232, .8); font-size: calc(1rem * var(--fs)); line-height: 1.6; }

/* 목표 / CTA */
.goal { text-align: center; background: radial-gradient(50% 70% at 50% 0%, rgba(242, 169, 59, .18), transparent 70%), var(--paper-2); }
.goal .sec-head { margin-inline: auto; }
.goal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); max-width: 920px; margin: 0 auto; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.goal-card .ribbon { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.goal-card h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.4; margin-bottom: 24px; position: relative; }
.goal-card h2 em { font-style: normal; color: var(--coral-deep); }
.goal-card p { color: var(--ink-soft); font-size: calc(1.08rem * var(--fs)); max-width: 34em; margin: 0 auto 32px; position: relative; }
.goal-card .hero-cta { justify-content: center; position: relative; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 페이지네이션 */
.posts-navigation, .pagination, .comment-navigation { margin-top: 40px; }
.posts-navigation a, .pagination a { color: var(--coral-deep); font-weight: 700; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .solar { order: -1; max-width: 400px; }
  .why-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog, .prog:nth-child(4), .prog:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 760px) {
  .main-navigation, .fontctl, .nav-area .btn-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-area.open {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
    padding: 10px clamp(20px, 5vw, 40px) 24px; gap: 0;
  }
  .nav-area.open .main-navigation { display: flex; }
  .nav-area.open .main-navigation .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-area.open .main-navigation .menu li a { padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: calc(1.04rem * var(--fs)); }
  .nav-area.open .fontctl { display: flex; align-self: flex-start; margin-top: 18px; }
  .nav-area.open .btn-cta { display: inline-flex; justify-content: center; margin-top: 14px; }
  .role { grid-template-columns: 1fr; gap: 10px; align-items: flex-start; }
  .hero-meta { gap: 18px; }
}

@media (max-width: 640px) {
  .footer-widgets { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .prog-grid { grid-template-columns: 1fr; }
  .hero-meta div b { font-size: calc(1.4rem * var(--fs)); }
  .lbl { font-size: calc(.72rem * var(--fs)); padding: 7px 11px; gap: 6px; }
  .sat { top: 15%; }
  .sun-glow { width: 128px; height: 128px; }
  .ripple { width: 112px; height: 112px; }
  .sun-core { padding: 13px 18px; }
}
