/* ==========================================================================
   SKIDS 스키즈 어린이 학교 — site stylesheet
   1. Tokens        2. Base            3. Layout & headings
   4. Buttons & UI  5. Header & menu   6. Heroes
   7. Home sections 8. Sub pages       9. CTA band, footer, quick contact
   10. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --blue-800: #0a4a94;
  --blue-700: #0a5bb8;
  --blue-600: #0b6bd6;
  --blue-500: #2186f0;
  --blue-400: #5aa8ff;
  --blue-200: #c4dfff;
  --blue-100: #e3f0ff;
  --blue-50: #f2f8ff;
  --navy-900: #0d2340;
  --navy-800: #17365c;
  --navy-600: #3b5779;
  --slate-500: #5a6e86;
  --slate-400: #8699af;
  --slate-200: #d5dfea;
  --line: #e4ebf3;
  --ice: #f4f9ff;
  --yellow: #ffc93c;
  --yellow-100: #fff3d1;
  --pink: #ff5f87;
  --pink-100: #ffe5ec;
  --kakao: #fee500;
  --kakao-ink: #191600;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-hand: "Jua", "Pretendard Variable", Pretendard, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(13, 35, 64, .05), 0 4px 14px rgba(13, 35, 64, .05);
  --shadow: 0 12px 32px rgba(13, 35, 64, .09);
  --shadow-lg: 0 28px 64px rgba(13, 35, 64, .16);
  --ease: cubic-bezier(.22, .8, .25, 1);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 64px;
  --section-y: clamp(72px, 9vw, 120px);
}
@media (min-width: 960px) { :root { --header-h: 76px; } }

/* Colour families used by cards, badges and icons.
   --tone: icons and accents, --tone-soft: tinted backgrounds, --tone-ink: text (AA contrast). */
.tone-blue   { --tone: #0b6bd6; --tone-soft: #e3f0ff; --tone-ink: #0a5bb8; }
.tone-mint   { --tone: #14a88f; --tone-soft: #dbf5ef; --tone-ink: #0b7a67; }
.tone-yellow { --tone: #e8a100; --tone-soft: #fff3d1; --tone-ink: #8a5a00; }
.tone-sky    { --tone: #1f8fe0; --tone-soft: #e0f1ff; --tone-ink: #0f6cb5; }
.tone-pink   { --tone: #ff5f87; --tone-soft: #ffe5ec; --tone-ink: #c2244f; }
.tone-orange { --tone: #f07a1a; --tone-soft: #ffebd9; --tone-ink: #b04a00; }
.tone-purple { --tone: #6e56f0; --tone-soft: #ece8ff; --tone-ink: #5a3fe0; }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy-800);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--navy-900); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
::selection { background: var(--blue-200); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  padding: 10px 18px; border-radius: 12px;
  background: var(--navy-900); color: #fff; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: -.01em; }
/* Focus points so every crop of the SKIDS photos keeps the children in frame */
.ph-beginner { object-position: 50% 60%; }
.ph-view { object-position: 50% 60%; }
.ph-highfive { object-position: 50% 40%; }
.ph-snow { object-position: 50% 45%; }
.ph-lift { object-position: 50% 15%; }
.ph-armsup { object-position: 50% 45%; }
.ph-summit { object-position: 50% 52%; }
.ph-coach { object-position: 50% 38%; }
.ph-snowman { object-position: 50% 66%; }
.ph-pole { object-position: 50% 52%; }
.ph-team { object-position: 50% 50%; }
.ph-nightclass { object-position: 50% 56%; }
.ph-coachnight { object-position: 50% 50%; }
.ph-coachdusk { object-position: 50% 58%; }
.ph-coachsnow { object-position: 50% 66%; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. Layout & headings ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--ice { background: var(--ice); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 48px; margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section-head__text { max-width: 660px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; }
.section-lead { margin-top: 16px; max-width: 580px; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.8; color: var(--slate-500); }

/* Highlighted words in titles: blue with the SKIDS yellow marker underline */
h1 em, h2 em {
  font-style: normal; color: var(--blue-600);
  background: linear-gradient(transparent 64%, rgba(255, 201, 60, .6) 64%, rgba(255, 201, 60, .6) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .04em;
}

/* 4. Buttons & small UI ---------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, translate .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --btn-bg: var(--blue-600); }
.btn-dark { --btn-bg: var(--navy-900); }
.btn-kakao { --btn-bg: var(--kakao); --btn-fg: var(--kakao-ink); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--blue-700); --btn-bd: var(--blue-200); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (hover: hover) {
  .btn:hover { translate: 0 -2px; box-shadow: 0 10px 22px rgba(13, 35, 64, .16); }
  .btn-primary:hover { --btn-bg: var(--blue-700); box-shadow: 0 12px 24px rgba(11, 107, 214, .28); }
  .btn-dark:hover { --btn-bg: #07182d; }
  .btn-outline:hover { --btn-bg: var(--blue-50); --btn-bd: var(--blue-600); box-shadow: none; }
  .btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .22); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: var(--blue-700);
}
.link-arrow svg { width: 18px; height: 18px; transition: translate .25s var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { translate: 4px 0; } }

.icon-badge {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--tone-soft, var(--blue-100)); color: var(--tone, var(--blue-600));
}
.icon-badge svg { width: 28px; height: 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--tone-soft, var(--blue-100)); color: var(--tone-ink, var(--blue-700));
  font-size: 12px; font-weight: 800; letter-spacing: .1em; line-height: 1.2;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font-size: 14px; font-weight: 700;
}
.chip svg { width: 16px; height: 16px; }

/* 5. Header & mobile menu -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(13, 35, 64, .06); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 44px; height: 44px; flex: none; }
@media (min-width: 960px) { .brand-logo { width: 52px; height: 52px; } }
.site-footer .brand-logo { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 22px; font-weight: 900; letter-spacing: -.03em; color: var(--navy-900); }
.brand-text small { margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--slate-500); }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative; display: block; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--navy-600);
  transition: color .2s, background-color .2s;
}
.main-nav a[aria-current="page"] { color: var(--blue-600); font-weight: 700; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-600); translate: -50% 0;
}
@media (hover: hover) { .main-nav a:hover { color: var(--blue-600); background: var(--blue-50); } }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center; gap: 0; margin-left: auto;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px;
  background: var(--blue-50); color: var(--navy-900); cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: translate .3s var(--ease), rotate .3s var(--ease), opacity .2s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { translate: 0 6px; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { translate: 0 -6px; rotate: -45deg; }

@media (min-width: 1120px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; top: var(--header-h); right: 0; bottom: 0; z-index: 99;
  display: flex; flex-direction: column; gap: 28px;
  width: min(380px, 100%); padding: 20px var(--gutter) 32px;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open {
  transform: none; visibility: visible;
  box-shadow: -24px 0 48px rgba(13, 35, 64, .14);
  transition: transform .35s var(--ease);
}
@media (max-width: 479px) { .mobile-menu { width: 100%; } }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 700; color: var(--navy-900);
}
.mobile-menu__nav a svg { width: 18px; height: 18px; color: var(--slate-400); }
.mobile-menu__nav a[aria-current="page"] { color: var(--blue-600); }
.mobile-menu__nav a[aria-current="page"] svg { color: var(--blue-600); }
.mobile-menu__actions { display: grid; gap: 10px; }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__meta { font-size: 14px; color: var(--slate-500); }
.menu-backdrop {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 98;
  background: rgba(13, 35, 64, .38); opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
html.menu-open { overflow: hidden; }
@media (min-width: 1120px) { .mobile-menu, .menu-backdrop { display: none; } }

/* 6. Heroes ---------------------------------------------------------------- */
/* Snowy mountain scenery shared by the page heroes and CTA band */
.scenery {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: clamp(90px, 12vw, 170px); pointer-events: none;
}
.flake { position: absolute; z-index: 1; color: #fff; opacity: .9; pointer-events: none; animation: flake-float 7s ease-in-out infinite; }
.flake svg { width: 100%; height: 100%; }
.flake--blue { color: var(--blue-200); }
@keyframes flake-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 20deg; } }

/* Home hero: full-width photo background slider (the previous SKIDS main visual, kept as it was) */
.hero-classic { position: relative; height: 620px; overflow: hidden; isolation: isolate; color: #15345b; }
.hero-classic__bg { position: absolute; inset: -96px 0 0 0; background: #dceeff; will-change: transform; }
.slider__viewport { height: 100%; overflow: hidden; }
.slider__track { display: flex; height: 100%; transition: transform .62s var(--ease); will-change: transform; }
.slider__track.no-anim { transition: none; }
.slider__slide { position: relative; flex: 0 0 100%; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-classic__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .52) 40%, transparent 70%);
}
.hero-classic__inner { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; padding-top: 42px; }
.hero-classic__copy { width: 430px; max-width: 100%; }
.hero-classic__small { display: inline-block; margin: 0 0 -7px; font-size: 35px; line-height: 1.25; rotate: -5deg; }
.hero-classic__title { font-family: var(--font-hand); font-weight: 400; font-size: 55px; line-height: 1.03; letter-spacing: -2px; color: #15345b; rotate: -3deg; }
.hero-classic__stroke { display: block; width: 235px; height: 7px; margin: 5px 0 20px 50px; border-radius: 50%; background: #ffca20; rotate: -6deg; }
.hero-classic__desc { margin-bottom: 20px; font-size: 15px; line-height: 1.8; font-weight: 500; }
.hero-classic__btn {
  display: inline-flex; align-items: center; gap: 26px; padding: 12px 23px; border-radius: 30px;
  background: #1682e8; color: #fff; font-size: 13px; font-weight: 800;
  transition: background-color .2s, translate .25s var(--ease), box-shadow .25s;
}
.hero-classic__btn--call { gap: 9px; }
.hero-classic__btn--call .icon { width: 18px; height: 18px; }
.hero-classic__note { position: absolute; right: 150px; top: 42px; font-size: 32px; line-height: 1.05; rotate: 6deg; }
.hero-classic__note span { font-size: 24px; }
.hero-classic__arrow {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0 0 4px; border: 0; border-radius: 50%;
  background: #fff; color: #50647d; font-size: 28px; line-height: 1; cursor: pointer;
  box-shadow: 0 3px 12px rgba(21, 52, 91, .13); translate: 0 -50%; transition: scale .2s, box-shadow .2s;
}
.hero-classic__arrow--left { right: 72px; }
.hero-classic__arrow--right { right: 24px; }
.hero-classic__dots { position: absolute; left: 50%; bottom: 13px; z-index: 3; display: flex; gap: 12px; translate: -50% 0; }
.hero-classic .slider__dot {
  position: relative; width: 10px; height: 10px; padding: 0; border: 1px solid #b4c3d2; border-radius: 50%;
  background: #fff; cursor: pointer; transition: scale .2s, border-color .2s, box-shadow .2s;
}
.hero-classic .slider__dot::before { content: ""; position: absolute; inset: -8px; }
.hero-classic .slider__dot[aria-current="true"] { border-color: #fff; box-shadow: inset 0 0 0 2px #8094a9; }
@media (hover: hover) {
  .hero-classic__btn:hover { background: var(--blue-700); translate: 0 -2px; box-shadow: 0 10px 22px rgba(11, 107, 214, .28); }
  .hero-classic__arrow:hover { scale: 1.08; box-shadow: 0 7px 18px rgba(21, 52, 91, .2); }
  .hero-classic .slider__dot:hover { scale: 1.18; }
}
@media (max-width: 1050px) { .hero-classic__note { right: 70px; } }
@media (max-width: 760px) {
  .hero-classic { height: 600px; }
  .hero-classic__overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .3)); }
  .hero-classic__inner { padding-top: 50px; }
  .hero-classic__copy { width: 320px; }
  .hero-classic__small { font-size: 28px; }
  .hero-classic__title { font-size: 43px; }
  .hero-classic__note, .hero-classic__arrow { display: none; }
  .hero-classic .slider__slide img { object-position: 50% 50% !important; }
}

/* Sub-page hero */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #e5f1ff 0%, #f3f9ff 62%, #fff 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(120px, 14vw, 200px);
}
.page-hero__sun {
  position: absolute; z-index: 0; right: max(6vw, 20px); top: clamp(28px, 5vw, 64px);
  width: clamp(96px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #ffe7a6, var(--yellow) 74%);
  opacity: .92;
}
@media (max-width: 759px) { .page-hero__sun { opacity: .45; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--slate-500); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  rotate: 45deg; opacity: .55;
}
.breadcrumb a { transition: color .2s; }
@media (hover: hover) { .breadcrumb a:hover { color: var(--blue-600); } }
.breadcrumb [aria-current="page"] { font-weight: 700; color: var(--navy-800); }
.page-hero .eyebrow { margin-top: 28px; }
.page-title { max-width: 780px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.22; }
.page-lead { margin-top: 20px; max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.8; color: var(--slate-500); }

/* 7. Home sections --------------------------------------------------------- */
/* Why SKIDS feature cards */
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.feature-card {
  flex: 1 1 100%;
  padding: 28px 24px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
@media (min-width: 600px) { .feature-card { flex-basis: calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); } }
@media (min-width: 900px) { .feature-card { flex-basis: calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); } }
@media (min-width: 1120px) { .feature-card { flex-basis: calc((100% - 64px) / 5); max-width: calc((100% - 64px) / 5); } }
.feature-card h3 { margin-top: 22px; font-size: 19px; }
.feature-card p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--slate-500); }
@media (hover: hover) { .feature-card:hover { translate: 0 -6px; box-shadow: var(--shadow); } }

/* Program cards */
.program-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .program-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .program-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .program-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.program-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
.program-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-100); }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.program-card__media .badge { position: absolute; left: 14px; top: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.program-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 22px 24px; }
.program-card__body h3 { font-size: 20px; }
.program-card__body p { flex: 1; font-size: 15px; line-height: 1.65; color: var(--slate-500); }
.program-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--tone-ink); }
.program-card__more svg { width: 16px; height: 16px; transition: translate .25s var(--ease); }
@media (hover: hover) {
  .program-card:hover { translate: 0 -6px; box-shadow: var(--shadow); }
  .program-card:hover .program-card__media img { scale: 1.05; }
  .program-card:hover .program-card__more svg { translate: 4px 0; }
}

/* Class steps (home + guide) */
.steps { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  position: relative; padding: 30px 26px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step__icon {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px rgba(11, 107, 214, .26);
}
.step__icon svg { width: 28px; height: 28px; }
.step__num { display: block; margin-top: 22px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--blue-700); }
.step h3 { margin-top: 6px; font-size: 20px; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--slate-500); }
@media (min-width: 1040px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 59px; left: 100px; right: -21px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-200) 0 8px, transparent 8px 14px);
  }
}
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* Coach group card: a supplied image that already carries its own headline */
.team-card {
  max-width: 540px; margin: clamp(32px, 4vw, 52px) auto 0; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
.team-card img { display: block; width: 100%; height: auto; }

/* Teacher cards (home + teachers page) */
.teacher-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1120px) { .teacher-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.teacher-grid--lg { gap: 20px; }
@media (min-width: 1120px) { .teacher-grid--lg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.teacher-card {
  overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
.teacher-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #c7d0da; }
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: scale .7s var(--ease); }
.teacher-card__body { padding: 16px 12px 18px; text-align: center; }
.teacher-card h3 { font-size: 17px; }
.teacher-card p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--slate-500); }
@media (min-width: 760px) {
  .teacher-grid--lg .teacher-card__body { padding: 22px 20px 24px; }
  .teacher-grid--lg .teacher-card h3 { font-size: 21px; }
  .teacher-grid--lg .teacher-card p { margin-top: 6px; font-size: 15px; }
}
@media (hover: hover) {
  .teacher-card:hover { translate: 0 -6px; box-shadow: var(--shadow); }
  .teacher-card:hover .teacher-card__photo img { scale: 1.04; }
}

/* Home gallery section (the previous design, restored) */
.gallery-section {
  background: linear-gradient(90deg, #243e5bdb, #183554dd),
    url("images/photos/coach-snowfall-lg.jpg") center / cover;
  color: #fff;
}
.gallery-inner { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: center; padding-top: 42px; padding-bottom: 42px; }
.gallery-eyebrow { margin-bottom: 7px; font-size: 11px; font-weight: 900; letter-spacing: .4px; color: #d8ecff; }
.gallery-copy h2 { margin-bottom: 15px; font-size: 31px; line-height: 1.25; letter-spacing: -1.5px; color: #fff; }
.gallery-copy > p:not(.gallery-eyebrow) { margin-bottom: 20px; font-size: 13px; line-height: 1.75; color: #dbe5ef; }
.white-btn { display: inline-flex; align-items: center; gap: 26px; padding: 12px 23px; border-radius: 30px; background: #fff; color: #0876df; font-size: 13px; font-weight: 800; }
.gallery-board { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) .8fr; gap: 8px; }
.gallery-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #20405f; }
.gallery-tile.is-wide { aspect-ratio: auto; }
.gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-message { display: grid; place-items: center; border-radius: 6px; background: #e8f5ff; color: #1972bd; font-size: 20px; line-height: 1.1; text-align: center; }
.gallery-board > * { transition: transform .45s var(--ease); }
@media (hover: hover) { .gallery-board > *:hover { transform: translateY(-7px) scale(1.015); } }
@media (max-width: 1180px) { .gallery-inner { display: block; } .gallery-copy { margin-bottom: 24px; } }
@media (max-width: 1050px) { .gallery-board { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .gallery-message { display: none; } }
@media (max-width: 760px) {
  .gallery-inner { padding-top: 36px; padding-bottom: 36px; }
  .gallery-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-tile.is-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Notice + class info (home) */
.info-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1.35fr 1fr; } }
.info-card {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.info-card__head h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.info-card__head h2 svg { width: 24px; height: 24px; color: var(--blue-600); }
.info-card__head a { font-size: 14px; font-weight: 700; color: var(--blue-700); }
.notice-mini li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.notice-mini li:last-child { border-bottom: 0; }
.notice-mini span { font-size: 16px; font-weight: 600; color: var(--navy-800); }
.notice-mini time { flex: none; font-size: 14px; color: var(--slate-400); font-variant-numeric: tabular-nums; }
.info-list > div { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { flex: none; width: 76px; font-weight: 700; color: var(--navy-900); }
.info-list dd { color: var(--slate-500); }
.info-list dd small { display: block; font-size: 14px; color: var(--slate-400); }
.info-card .link-arrow { margin-top: 16px; }

/* 8. Sub pages -------------------------------------------------------------- */
/* Two-column media + text layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .split--reverse .split__media { order: 2; }
}
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before {
  content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; left: -8%; top: -7%;
  border-radius: 50%; background: radial-gradient(circle at 32% 30%, #ffe39a, var(--yellow) 72%);
}
.photo-frame__img { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--blue-100); }
.photo-frame__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame__note {
  position: absolute; right: -10px; bottom: 9%;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-size: 20px; line-height: 1.15; color: var(--navy-900); rotate: 5deg;
}
.photo-frame__note span { color: var(--blue-600); }
.split__text .section-title { margin-top: 0; }
.split__text > p + p { margin-top: 14px; }
.split__text .body-copy { margin-top: 20px; font-size: 17px; line-height: 1.85; color: var(--slate-500); }
.split__text .chip-list { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* About: reasons */
.reason-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .reason-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .reason-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason-card {
  position: relative; overflow: hidden; padding: 30px 26px 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
.reason-card__num {
  position: absolute; right: 18px; top: 8px;
  font-family: var(--font-hand); font-size: 56px; line-height: 1; color: var(--tone-soft);
}
.reason-card h3 { margin-top: 22px; font-size: 20px; }
.reason-card p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--slate-500); }
@media (hover: hover) { .reason-card:hover { translate: 0 -6px; box-shadow: var(--shadow); } }

/* Mini photo row (about) */
.mini-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .mini-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini-gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--blue-100); }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
@media (hover: hover) { .mini-gallery a:hover img { scale: 1.05; } }

/* Programs page rows */
.program-rows { display: grid; gap: clamp(56px, 7vw, 96px); }
.program-row { display: grid; gap: 28px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) {
  .program-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
  .program-row:nth-child(even) .program-row__media { order: 2; }
}
.program-row__media { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--blue-100); }
.program-row__media img { width: 100%; height: 100%; object-fit: cover; }
.program-row__num { position: absolute; left: 20px; bottom: 12px; font-family: var(--font-hand); font-size: 64px; line-height: 1; color: #fff; text-shadow: 0 4px 18px rgba(13, 35, 64, .35); }
.program-row h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 38px); }
.program-row__tagline { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--tone-ink); }
.program-row__desc { margin-top: 14px; font-size: 17px; line-height: 1.85; color: var(--slate-500); }
.program-row .btn { margin-top: 28px; }

/* 오시는길: 약도와 안내 패널 ------------------------------------------------ */
.wayfind { display: grid; gap: clamp(22px, 2.8vw, 36px); align-items: start; }
@media (min-width: 940px) { .wayfind { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); } }
.wayfind__visual { min-width: 0; }
.wayfind__map {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.wayfind__caption { margin: 12px 2px 0; font-size: 13.5px; line-height: 1.65; color: var(--slate-400); }

.wf-bg { fill: #eaf3fb; }
.wf-forest { fill: #dcecdd; }
.wf-hill { fill: #cfe3f6; }
.wf-hill--back { fill: #dfeefb; }
.wf-expressway { fill: none; stroke: #b9c9da; stroke-width: 20; stroke-linecap: round; }
.wf-expressway-line { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 16 14; stroke-linecap: round; }
.wf-road-case { fill: none; stroke: #c3d6e8; stroke-width: 19; stroke-linecap: round; }
.wf-road { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; }
.wf-road--minor { stroke-width: 8; }
.wf-road-case.wf-road--minor { stroke-width: 13; }
.wf-node { fill: #fff; stroke: var(--blue-600); stroke-width: 4; }
.wf-node-dot { fill: var(--blue-600); }
.wf-label__t { font-family: var(--font-sans); font-size: 19px; font-weight: 700; fill: var(--navy-600); }
.wf-label__t--node { font-size: 20px; font-weight: 800; fill: var(--blue-700); }
.wf-label__t--muted { font-size: 17px; font-weight: 600; fill: var(--slate-500); }
.wf-pin { fill: var(--pink); }
.wf-pin-dot { fill: #fff; }
.wf-callout__box { fill: #fff; stroke: var(--line); stroke-width: 2; }
.wf-callout__t { font-family: var(--font-sans); font-size: 20px; font-weight: 800; fill: var(--navy-900); }
.wf-callout__s { font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; fill: var(--slate-500); }
.wf-compass__ring { fill: #fff; opacity: .9; }
.wf-compass__needle { fill: var(--blue-500); }
.wf-compass__t { font-family: var(--font-sans); font-size: 15px; font-weight: 800; fill: var(--slate-500); }

.wayfind__panel {
  padding: clamp(24px, 2.8vw, 34px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.wayfind__panel h3 { margin: 0; font-family: var(--font-hand); font-size: clamp(22px, 2.4vw, 28px); color: var(--navy-900); }
.wayfind__facts { display: grid; gap: 18px; margin: 20px 0 0; }
.wayfind__facts > div { padding-top: 18px; border-top: 1px solid var(--line); }
.wayfind__facts > div:first-child { padding-top: 0; border-top: 0; }
.wayfind__facts dt {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--slate-400);
}
.wayfind__facts dt .icon { width: 17px; height: 17px; color: var(--blue-500); }
.wayfind__facts dd { margin: 8px 0 0; font-size: 16.5px; font-weight: 700; line-height: 1.6; color: var(--navy-900); }
.wayfind__facts dd small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--slate-500); }
.wayfind__copy {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 5px 11px;
  border: 1px solid var(--blue-200); border-radius: 999px; background: var(--blue-50);
  color: var(--blue-700); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
  vertical-align: 2px; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.wayfind__copy .icon { width: 14px; height: 14px; }
.wayfind__copy:hover { background: var(--blue-100); border-color: var(--blue-400); }
.wayfind__copy.is-done { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.wayfind__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 2.4vw, 28px); }
.wayfind__actions .btn { flex: 1 1 190px; justify-content: center; }
@media (max-width: 420px) {
  .wayfind__panel { padding: 20px 18px; }
  .wayfind__facts dd { font-size: 15.5px; }
  .wayfind__copy { margin-left: 0; margin-top: 8px; }
}

/* SKY 강사진 띠 (홈 · 강사진 페이지) ---------------------------------------- */
.sky-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(165deg, #fffaf0 0%, #fff 48%, var(--blue-50) 100%);
}
.sky-band::before {
  content: ""; position: absolute; z-index: -1; inset: auto -12% -40% auto;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 201, 60, .35), transparent 68%);
}
.sky-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) {
  .sky-layout { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(44px, 5vw, 72px); }
}
.sky-figure { margin: 0; }
.sky-figure img {
  display: block; width: 100%; max-width: 420px; height: auto; margin-inline: auto;
  border-radius: var(--radius-lg); background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.sky-text .section-title { margin-top: 0; }
.sky-text .body-copy { margin-top: 18px; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.85; color: var(--slate-500); }
.sky-points { display: grid; gap: 12px; margin-top: clamp(24px, 3vw, 32px); }
.sky-points li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.sky-points .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.sky-points .icon-badge svg { width: 24px; height: 24px; }
.sky-points h3 { margin: 2px 0 0; font-size: 16.5px; line-height: 1.35; color: var(--navy-900); }
.sky-points p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--slate-500); }
.sky-text .hero__actions { margin-top: clamp(24px, 3vw, 32px); }
@media (max-width: 420px) {
  .sky-points li { padding: 16px; gap: 12px; }
  .sky-points .icon-badge { width: 40px; height: 40px; }
}

/* Programs page: 9단계 LEVEL 커리큘럼 ------------------------------------- */
.level-stage { margin-top: clamp(44px, 5vw, 68px); scroll-margin-top: calc(var(--header-h) + 24px); }
.level-stage__head { max-width: 640px; }
.level-stage__head h3 { margin: 12px 0 0; font-family: var(--font-hand); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--navy-900); }
.level-stage__head h3::after {
  content: ""; display: block; width: 48px; height: 4px; margin-top: 12px;
  border-radius: 999px; background: var(--tone);
}
.level-stage__head p { margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.8; color: var(--slate-500); }

.level-grid { display: grid; gap: clamp(16px, 2vw, 24px); margin-top: clamp(24px, 3vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.level-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (hover: hover) { .level-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
.level-card__art {
  display: grid; place-items: center; padding: 8px;
  background: linear-gradient(170deg, var(--tone-soft), #fff 86%);
  border-bottom: 1px solid var(--line);
}
.level-card__body { padding: 18px clamp(18px, 2vw, 22px) clamp(20px, 2.2vw, 24px); }
.level-card__num {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tone-ink);
}
.level-card h4 { margin: 8px 0 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.35; color: var(--navy-900); }
.level-card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--slate-500); }

/* 기술 다이어그램: 슬로프를 위에서 본 그림 + 스키 모양 + 주행 궤적 */
.lv-art { display: block; width: 100%; max-width: 230px; height: auto; color: var(--tone); }
.lv-slope { fill: #fff; stroke: var(--slate-200); stroke-width: 2; }
.lv-ground { fill: none; stroke: var(--slate-400); stroke-width: 3.5; stroke-linecap: round; opacity: .7; }
.lv-ski { fill: currentColor; }
.lv-ski--ghost { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 5 5; opacity: .55; }
.lv-track { fill: none; stroke: var(--tone); stroke-width: 3.5; stroke-linecap: round; opacity: .75; }
.lv-track--dash { stroke-dasharray: 8 8; }
.lv-carve { fill: none; stroke: var(--tone); stroke-width: 3; stroke-linecap: round; opacity: .5; }
.lv-brake { fill: none; stroke: var(--tone); stroke-width: 3.5; stroke-linecap: round; opacity: .45; }
.lv-arrow { fill: none; stroke: var(--tone); stroke-width: 3; stroke-linecap: round; }
.lv-speed { fill: none; stroke: var(--tone); stroke-width: 3; stroke-linecap: round; opacity: .4; }
.lv-angle { fill: none; stroke: var(--tone); stroke-width: 3; stroke-dasharray: 6 5; opacity: .85; }
.lv-fill { fill: currentColor; }
.lv-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.lv-dot { fill: var(--yellow); }
.lv-boot { fill: var(--navy-800); }
.lv-cuff { fill: var(--navy-600); }
.lv-buckle { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.lv-visor { fill: var(--navy-800); }
.lv-flagpole { fill: none; stroke: var(--slate-400); stroke-width: 3; stroke-linecap: round; }

/* 키즈레터 · 진도 평가지 · 피드백 */
.level-report {
  display: grid; gap: clamp(26px, 3vw, 40px); align-items: start;
  margin-top: clamp(48px, 5.5vw, 72px); padding: clamp(28px, 3.6vw, 44px);
  border-radius: var(--radius-xl); background: var(--blue-50); border: 1px solid var(--blue-100);
}
@media (min-width: 900px) { .level-report { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; } }
.level-report__text h3 { margin: 12px 0 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; color: var(--navy-900); }
.level-report__text p { margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.85; color: var(--slate-500); }
.level-report__text strong { color: var(--blue-700); font-weight: 800; }
.level-report__list { display: grid; gap: 12px; }
.level-report__list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline;
  column-gap: 14px; row-gap: 4px;
  padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.level-report__step {
  padding: 4px 11px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.level-report__list strong { font-size: 16.5px; color: var(--navy-900); }
.level-report__list small { grid-column: 2; font-size: 14px; line-height: 1.65; color: var(--slate-500); }

/* 홈 요약: 단계별 미니 카드 */
.level-mini-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .level-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.level-mini {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.level-mini h3 { margin: 12px 0 0; font-family: var(--font-hand); font-size: clamp(21px, 2.2vw, 26px); color: var(--navy-900); }
.level-mini__art { align-self: center; width: 100%; max-width: 180px; margin: 10px 0 4px; }
.level-mini ul { display: grid; gap: 8px; width: 100%; margin-top: 14px; }
.level-mini li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px;
  padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--navy-800);
}
.level-mini li span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--tone-ink); white-space: nowrap; }

@media (max-width: 420px) {
  .level-card__body { padding: 16px 16px 18px; }
  .level-report { padding: 22px 18px; }
  .level-report__list li { padding: 16px; column-gap: 10px; }
}

/* Programs page: branch price tables */
.price-grid { display: grid; gap: clamp(20px, 2.6vw, 28px); margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
.price-card__head { padding: clamp(22px, 2.8vw, 30px) clamp(20px, 2.6vw, 30px); background: var(--tone-soft); }
.price-card__head h3 { margin: 12px 0 0; font-family: var(--font-hand); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: var(--navy-900); }
.price-card__head p { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--tone-ink); }
.price-card__table { padding: clamp(8px, 1.6vw, 18px) clamp(14px, 2.2vw, 26px) clamp(18px, 2.4vw, 26px); overflow-x: auto; }

.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 11px 6px; text-align: right; }
.price-table thead th {
  padding-top: 16px; font-size: 13px; font-weight: 800; color: var(--slate-500);
  border-bottom: 2px solid var(--slate-200);
}
.price-table thead th:first-child, .price-table tbody th { text-align: left; }
.price-table tbody th[scope="row"] { font-size: 16px; font-weight: 700; color: var(--navy-600); white-space: nowrap; }
.price-table td { font-size: 17px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.price-table tbody tr + tr { border-top: 1px solid var(--line); }
.price-table__group {
  padding-top: 18px; padding-bottom: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--tone-ink);
}
.price-table tbody + tbody .price-table__group { padding-top: 22px; border-top: 1px solid var(--line); }
.price-table__off {
  margin-left: 8px; padding: 3px 9px; border-radius: 999px;
  background: var(--tone-soft); color: var(--tone-ink); font-size: 11.5px; font-weight: 800; white-space: nowrap;
}

.price-notes { display: grid; gap: 10px; margin-top: clamp(24px, 3vw, 32px); }
.price-notes li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.7; color: var(--slate-500); }
.price-notes li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400);
}
@media (max-width: 420px) {
  .price-card__table { padding-inline: 12px; }
  .price-table th, .price-table td { padding: 10px 4px; }
  .price-table tbody th[scope="row"] { font-size: 15px; }
  .price-table td { font-size: 15.5px; }
  .price-table__off { margin-left: 6px; padding: 2px 7px; font-size: 11px; }
}

/* Guide page: operating info */
.info-tiles { display: grid; gap: 20px; }
@media (min-width: 700px) { .info-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info-tile {
  display: flex; gap: 18px; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-tile h3 { font-size: 15px; font-weight: 700; color: var(--slate-500); letter-spacing: 0; }
.info-tile p { margin-top: 4px; font-size: 20px; font-weight: 800; color: var(--navy-900); line-height: 1.4; }
.info-tile small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--slate-500); }
.guide-visual .info-tiles { margin-top: 32px; grid-template-columns: minmax(0, 1fr); }

/* Gallery page */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--blue-100); }
.gallery-item.is-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .gallery-item.is-wide { grid-column: span 2; aspect-ratio: auto; } }
.gallery-item__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.gallery-item__zoom {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy-900);
  opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--ease);
}
.gallery-item__zoom svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .gallery-item:hover img { scale: 1.04; }
  .gallery-item:hover .gallery-item__zoom { opacity: 1; translate: 0 0; }
}
.gallery-item__btn:focus-visible { outline-offset: -4px; border-radius: var(--radius); }

.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(6, 17, 33, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 72px 16px 40px; max-width: 100%; }
.lightbox__figure img { max-width: min(92vw, 980px); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox__caption { font-size: 15px; color: #cfdced; text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
@media (min-width: 900px) { .lightbox__prev { left: 32px; } .lightbox__next { right: 32px; } }

/* Notice page */
.board { border-top: 2px solid var(--navy-900); }
.board__head, .board__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 130px; gap: 16px; align-items: center; padding: 20px 16px; border-bottom: 1px solid var(--line); }
.board__head { padding-block: 14px; background: var(--ice); font-size: 14px; font-weight: 700; color: var(--slate-500); }
.board__head span:first-child, .board__num { text-align: center; }
.board__head span:last-child, .board__row time { text-align: right; }
.board__num { font-weight: 700; color: var(--slate-400); font-variant-numeric: tabular-nums; }
.board__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--navy-900); }
.board__title .badge { font-size: 11px; padding: 5px 10px; }
.board__row time { font-size: 15px; color: var(--slate-500); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .board__head { display: none; }
  .board__row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 4px; }
  .board__num { display: none; }
  .board__row time { text-align: left; font-size: 14px; }
}
.board-note { margin-top: 24px; font-size: 15px; color: var(--slate-500); }
.board-note a { font-weight: 700; color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* Contact page */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
.contact-card__label { margin-top: 22px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--tone-ink); }
.contact-card h2 { margin-top: 6px; font-size: clamp(22px, 2.2vw, 26px); }
.contact-card p { flex: 1; margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--slate-500); }
.contact-card .btn { align-self: flex-start; margin-top: 26px; }
@media (hover: hover) { .contact-card:hover { translate: 0 -6px; box-shadow: var(--shadow); } }

/* Phones: icon-left rows keep feature, reason and step lists short; programs sit two-up */
@media (max-width: 599px) {
  .feature-card, .reason-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 16px;
    padding: 20px 20px 22px;
  }
  .feature-card .icon-badge, .reason-card .icon-badge { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; }
  .feature-card .icon-badge svg, .reason-card .icon-badge svg { width: 24px; height: 24px; }
  .feature-card h3, .reason-card h3 { margin-top: 2px; font-size: 17px; }
  .feature-card p, .reason-card p { margin-top: 4px; font-size: 14.5px; }
  .reason-card__num { top: 6px; right: 14px; font-size: 40px; }

  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .program-card__media .badge { left: 10px; top: 10px; padding: 4px 9px; font-size: 10.5px; }
  .program-card__body { gap: 4px; padding: 14px 14px 16px; }
  .program-card__body h3 { font-size: 16px; }
  .program-card__body p { font-size: 13.5px; line-height: 1.55; }
  .program-card__more { margin-top: 6px; font-size: 13px; }
}
@media (max-width: 699px) {
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; padding: 22px 20px 24px; }
  .step__icon { grid-row: span 3; width: 52px; height: 52px; }
  .step__icon svg { width: 24px; height: 24px; }
  .step__num { margin-top: 2px; }
  .step h3 { margin-top: 2px; font-size: 18px; }
  .step p { margin-top: 4px; font-size: 14.5px; }
}

/* Curriculum skills, included-in-the-price list, numbered notes, stats,
   event cards and the two resort branches (곤지암 · 지산). */
.skill-list { display: grid; gap: 9px; margin-top: 20px; }
.skill-list li { display: flex; gap: 11px; font-size: 16px; font-weight: 600; color: var(--navy-800); }
.skill-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px;
  border-radius: 50%; background: var(--tone, var(--blue-600));
}

.pack-list { display: grid; gap: 10px; }
@media (min-width: 760px) { .pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pack-list li {
  display: flex; gap: 12px; padding: 15px 18px; border-radius: var(--radius-sm);
  background: var(--blue-50); font-size: 15.5px; font-weight: 700; color: var(--navy-800);
}
.pack-list li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--blue-600); }
.pack-list li small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--slate-500); }
.pack-list .is-off { background: var(--pink-100); }
.pack-list .is-off svg { color: var(--pink); }

.note-list { counter-reset: note; display: grid; gap: 14px; }
@media (min-width: 900px) { .note-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note-list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 22px 24px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.note-list li::before {
  counter-increment: note; content: counter(note, decimal-leading-zero);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  background: var(--blue-100); color: var(--blue-700); font-size: 15px; font-weight: 800;
}
.note-list h3 { font-size: 17.5px; }
.note-list p { margin-top: 7px; font-size: 15.5px; line-height: 1.8; color: var(--slate-500); }

.stat-strip { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-card {
  padding: 28px 20px 30px; border-radius: var(--radius); text-align: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block; font-family: var(--font-hand); font-weight: 400;
  font-size: clamp(36px, 5vw, 48px); line-height: 1; letter-spacing: -.02em;
  color: var(--tone, var(--blue-600));
}
.stat-card span { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 800; color: var(--navy-900); }
.stat-card small { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.6; color: var(--slate-400); }

.event-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: translate .3s var(--ease), box-shadow .3s;
}
.event-card__tag {
  display: flex; align-items: center; gap: 10px; padding: 13px 24px;
  background: var(--tone-soft, var(--blue-100)); color: var(--tone-ink, var(--blue-700));
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
}
.event-card__tag svg { flex: none; width: 18px; height: 18px; color: var(--tone, var(--blue-600)); }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.event-card h3 { font-size: 20px; }
.event-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--slate-500); }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.event-card__meta span {
  padding: 6px 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font-size: 13px; font-weight: 700;
}

.branch-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.branch-card {
  overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.branch-card__photo { aspect-ratio: 16 / 10; background: var(--blue-100); }
.branch-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.branch-card__body { padding: 24px 26px 28px; }
.branch-card h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.branch-card h3 svg { width: 22px; height: 22px; color: var(--blue-600); }
.branch-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--slate-500); }
.branch-card .chip-list { margin-top: 18px; }
@media (hover: hover) { .event-card:hover { translate: 0 -6px; box-shadow: var(--shadow); } }

/* 9. CTA band, footer, quick contact --------------------------------------- */
/* The band follows a white section (shares its spacing) or an ice section (needs its own). */
.cta-band { padding-block: 0 var(--section-y); }
.section--ice + .cta-band, .page-hero + .cta-band { padding-top: var(--section-y); }
.section--ice + .cta-band { background: linear-gradient(180deg, var(--ice) 0%, #fff 55%); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-xl);
  background: linear-gradient(125deg, #0a5bb8 0%, #0b6bd6 45%, #3d99f5 100%);
  color: #dcebff; box-shadow: 0 30px 60px rgba(11, 107, 214, .25);
}
@media (min-width: 900px) { .cta-card { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.cta-card .eyebrow { color: var(--yellow); }
.cta-card h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }
.cta-card h2 em { color: var(--yellow); background: none; }
.cta-card p { margin-top: 14px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card__art { position: absolute; z-index: -1; right: -2%; bottom: -2px; width: min(560px, 70%); color: rgba(255, 255, 255, .13); }
.cta-card__flake { position: absolute; z-index: -1; color: rgba(255, 255, 255, .22); }

.site-footer { background: var(--navy-900); color: #aebfd3; font-size: 14px; line-height: 1.7; }
.footer-top { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-top { grid-template-columns: 1.25fr 1fr 1fr 1.35fr; gap: 48px; } }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #8ea3bd; }
.footer-slogan { margin-top: 20px; font-size: 22px; line-height: 1.35; color: #fff; }
.site-footer h2 { margin-bottom: 16px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: #fff; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
.site-footer a { transition: color .2s; }
@media (hover: hover) { .site-footer a:hover { color: #fff; } }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .footer-phone { display: inline-block; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer-contact a:not(.footer-phone) { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 18px; height: 18px; }
.footer-biz dl > div { display: flex; gap: 14px; padding: 3px 0; }
.footer-biz dt { flex: none; min-width: 98px; color: #7f95b0; }
.footer-biz dd { color: #d5e0ec; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7f95b0;
}
.footer-bottom .footer-mark { font-weight: 800; letter-spacing: .2em; color: #aebfd3; }

.quick-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; gap: 10px;
  opacity: 0; translate: 0 24px; pointer-events: none; visibility: hidden;
  transition: opacity .3s, translate .35s var(--ease), visibility 0s linear .35s;
}
.quick-contact.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition: opacity .3s, translate .35s var(--ease); }
.quick-contact a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 800; box-shadow: var(--shadow-lg);
}
.quick-contact svg { width: 20px; height: 20px; }
.quick-contact__kakao { background: var(--kakao); color: var(--kakao-ink); }
.quick-contact__phone { background: var(--navy-900); color: #fff; }
@media (min-width: 760px) { .quick-contact .quick-contact__phone { display: none; } }
@media (max-width: 759px) {
  .quick-contact { left: 12px; right: 12px; bottom: 12px; }
  .quick-contact a { flex: 1; min-height: 52px; padding: 0 12px; }
  .site-footer { padding-bottom: 76px; }
}

.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 101; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--yellow));
  transform-origin: 0 50%; scale: var(--progress, 0) 1; pointer-events: none;
}

/* 10. Motion ---------------------------------------------------------------- */
/* Scroll reveal: only hidden when JS is running (html.js), so content never stays invisible */
.js .reveal {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition:
    opacity .8s var(--ease) var(--delay, 0s),
    transform .8s var(--ease) var(--delay, 0s),
    translate .3s var(--ease),
    box-shadow .3s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-fade-out .2s ease both; }
::view-transition-new(root) { animation: vt-fade-in .35s var(--ease) both; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slider__track { transition: none; }
  .flake { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
