/* 첫 화면 제목, 안내 상자, 본문 구역 공통 */
/* 제목 영역 */
.title-block { padding: 44px 0 30px; border-bottom: 4px solid var(--navy); }
.kicker { margin: 0 0 10px; display: inline-block; padding: 4px 10px; color: #fff; background: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.title-block h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.22; letter-spacing: -.035em; font-weight: 800; }
.lead { max-width: 640px; margin: 18px 0 26px; color: var(--text-soft); font-size: 1.06rem; line-height: 1.7; }
.headline-figures { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.headline-figures div { padding: 14px 16px; border-left: 1px solid var(--line); }
.headline-figures div:first-child { border-left: 0; padding-left: 0; }
.headline-figures dt { color: var(--text-soft); font-size: .82rem; }
.headline-figures dd { margin: 2px 0 0; color: var(--navy); font-size: 2rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.headline-figures dd span { margin-left: 3px; font-size: .95rem; font-weight: 500; }
.figure-note { margin: 8px 0 0; color: var(--text-soft); font-size: .78rem; }

/* 안내 */
.notice { margin: 28px 0 0; padding: 14px 18px; display: flex; gap: 14px; border: 1px solid var(--amber-line); background: var(--amber-bg); }
.notice strong { flex-shrink: 0; font-size: .9rem; }
.notice p { margin: 0; font-size: .9rem; }

/* 본문 구역 */
.section { padding: 52px 0 8px; }
.section h2 { margin: 0 0 18px; padding: 0 0 12px 16px; position: relative; border-bottom: 1px solid var(--line-strong); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.section h2::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 13px; width: 5px; background: var(--navy); }
.section h2 span { margin-right: 9px; color: var(--blue); font-variant-numeric: tabular-nums; }
.section-desc { margin: 0 0 16px; color: var(--text-soft); }
.section-desc strong { color: var(--text); }
.fine { margin: 6px 0 0; color: var(--text-soft); font-size: .78rem; }

/* 참여하기 탭: 처음 온 사람을 위한 요약과 이용 방법 */
.intro { margin-top: 28px; }
.intro-facts { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.intro-facts li { padding: 11px 0; display: grid; grid-template-columns: 11em 1fr; column-gap: 16px; align-items: baseline; border-bottom: 1px solid var(--line); font-size: .93rem; }
.intro-facts li strong { color: var(--navy); white-space: nowrap; }
.intro-steps-title { margin: 22px 0 8px; font-size: 1rem; }
.intro-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border: 1px solid var(--line-strong); }
.intro-steps li + li { border-left: 1px solid var(--line); }
.intro-steps a { height: 100%; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; color: var(--text); text-decoration: none; }
.intro-steps a:hover { background: var(--blue-bg); }
.intro-steps a:focus-visible { outline: 3px solid var(--blue-light); outline-offset: -3px; }
.intro-steps span { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--navy); font-weight: 700; }
.intro-steps strong { color: var(--navy); }
.intro-steps small { color: var(--text-soft); font-size: .78rem; }
.sim-hint { margin: -6px 0 16px; padding: 10px 14px; border-left: 3px solid var(--blue); background: var(--blue-bg); font-size: .88rem; }
.sim-hint strong { margin-right: 6px; color: var(--navy); }
.sim-hint em { font-style: normal; font-weight: 700; }

/* 첫 화면 바로가기 버튼: 시뮬레이터를 바로 찾을 수 있게 한다 */
.cta-row { margin: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.cta { padding: 11px 18px; color: var(--navy); border: 1px solid var(--navy); background: #fff; font-weight: 700; text-decoration: none; }
.cta:hover { background: var(--blue-bg); }
.cta-primary { color: #fff; background: var(--navy); }
.cta-primary:hover { background: var(--navy-soft); }
.cta:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.cta-note { margin: 0 0 20px; color: var(--text-soft); font-size: .8rem; }
.notice-after { margin-top: 24px; }

/* ===== 첫 화면: 소양호 위에 떠 있는 수상태양광 =====
   깊은 호수(남색) 위에 패널 배열을 CSS로 그린다. 그림 파일을 쓰지 않는다. */
.lake { position: relative; overflow: hidden; padding: 52px 0 0; color: #fff; background: #04174f; border-bottom: 0; }
.lake::after { /* 물결: 가는 가로선이 반복된다 */
  content: ""; position: absolute; inset: auto 0 44px 0; height: 46%;
  background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(169, 222, 244, .09) 13px 14px);
  pointer-events: none; }
.lake-inner { position: relative; z-index: 2; padding-left: 34px; padding-bottom: 34px; }
.lake .kicker { color: var(--blue-light); letter-spacing: .04em; }
.lake h1 { color: #fff; }
.lake-inner > *:not(.gauge) { max-width: 34rem; }
.lake .lead, .lake .cta-note, .lake .figure-note { color: #c9d6f2; }
.lake .figure-note a { color: #fff; }
.lake .cta { color: #fff; border-color: #fff; background: transparent; }
.lake .cta:hover { background: rgba(255, 255, 255, .1); }
.lake .cta-primary { color: var(--navy); background: #fff; }
.lake .cta-primary:hover { background: var(--blue-light); }
.lake .headline-figures { max-width: 460px; border-top-color: rgba(255, 255, 255, .7); border-bottom-color: rgba(255, 255, 255, .2); }
.lake .headline-figures div { border-left-color: rgba(255, 255, 255, .2); }
.lake .headline-figures dt { color: #c9d6f2; }
.lake .headline-figures dd { color: #fff; }
.lake .headline-figures div:last-child dd { color: var(--blue); }

/* 댐 수위계: 왼쪽 세로 눈금 */
.gauge { position: absolute; left: 0; top: 4px; bottom: 34px; width: 14px; border-left: 2px solid var(--blue);
  background: repeating-linear-gradient(180deg, var(--blue) 0 1px, transparent 1px 12px) left / 8px 100% no-repeat,
              repeating-linear-gradient(180deg, var(--blue) 0 2px, transparent 2px 60px) left / 14px 100% no-repeat; }

/* 수상태양광 패널 배열: 비스듬히 누운 격자 */
.lake-array { position: absolute; z-index: 1; right: -40px; top: 70px; width: 46%; height: 300px;
  transform: perspective(700px) rotateX(58deg) rotateZ(-14deg); transform-origin: center; }
.lake-array i { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, #04174f 46px 52px),
    repeating-linear-gradient(0deg, transparent 0 26px, #04174f 26px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 11.5px),
    #1d5aa8;
  border: 3px solid #0b2a6b; opacity: .9; }
.lake-array::after { /* 패널을 잇는 부유 통로 */
  content: ""; position: absolute; left: -4%; right: -4%; top: 48%; height: 7px; background: #c9d6f2; opacity: .55; }

/* 댐 안내판 같은 제원 띠 */
.dam-plate { position: relative; z-index: 2; background: var(--blue); color: #04174f; font-size: .82rem; font-weight: 700; }
.dam-plate .wrap { padding: 9px 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.dam-plate span + span::before { content: "·"; margin: 0 10px; opacity: .6; }

