/* AstrylStudio 웹사이트 — 5페이지 정적 사이트의 전체 스타일.
 * 레이아웃 수치(컨테이너 폭·여백·타입 스케일·전환 시간)는 눈대중이 아니라
 * 계산된 CSS에서 실측해 정한 값이다. 아래 주석의 숫자가 그 근거다. */

/* ── 폰트 ──────────────────────────────────────────────────────────
 * InterVariable(가변 웨이트 100~900)을 직접 동봉한다. 파일이 없으면 아래
 * 폴백 사슬을 타고 윈도우에서는 Segoe UI 가 뜬다 — 그래도 레이아웃은 안 깨진다. */
@font-face {
  font-family: "InterVariable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("InterVariable"), local("Inter var"), local("Inter"),
       url("fonts/InterVariable.woff2") format("woff2");
}

:root {
  --font: "InterVariable", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
          "Segoe UI Symbol";

  /* 밴드 배경 */
  --ink: #070806;        /* 어두운 본문 밴드 */
  --shell: #111827;      /* 상단바 · 푸터 */
  --paper: #ffffff;
  --paper-2: #f9fafb;    /* 폼 밴드 */

  /* 밝은 배경 위 글자 */
  --text: #111827;
  --text-2: #6b7280;
  --text-3: #4b5563;
  --heading: #1a1a1a;
  --line: #e5e7eb;

  /* 어두운 배경 위 글자 (원본과 다른 부분 — 파일 하단 주석 참고) */
  --d-heading: #f5f5f5;
  --d-text: #9ca3af;
  --d-line: rgba(255, 255, 255, 0.1);
  --d-well: rgba(255, 255, 255, 0.04);

  /* 강조색 — <meta name="theme-color"> 에 선언된 값 */
  --accent: #00847d;
  --accent-hover: #00625d;
  --teal-well: rgba(20, 184, 166, 0.1);
  --teal: #2dd4bf;

  --focus: #3b82f6;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: normal;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--accent); color: #fff; padding: 12px 20px;
  border-radius: 0 0 6px 0; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ── 레이아웃 컨테이너 ──────────────────────────────────────────── */
.section { padding-inline: 16px; }
.section-inner { margin-inline: auto; height: 100%; width: 100%; max-width: 1280px; }
@media (min-width: 768px) { .section { padding-inline: 24px; } }

/* ── 상단바 ────────────────────────────────────────────────────── */
.navbar {
  display: flex; align-items: center; width: 100%; z-index: 1000;
  transition: 0.3s;
  position: sticky; top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: var(--shell);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 64px;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 100%; gap: 24px; min-height: 64px;
}
.navbar-logo { flex-shrink: 0; }
.navbar-logoLink { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 10px; }
.navbar-logoMark { width: 30px; height: 30px; flex-shrink: 0; }
.navbar-logoText { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.navbar-links {
  display: flex; align-items: center; gap: 32px; flex: 1 1 0%; padding: 0 24px;
}
.navbar-link {
  text-decoration: none; color: rgba(255, 255, 255, 0.9);
  font-size: 15px; font-weight: 500; transition: opacity 0.2s; white-space: nowrap;
}
.navbar-link:hover { color: #fff; opacity: 0.7; }
.navbar-link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.navbar-actions { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.navbar-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: 0.2s; white-space: nowrap;
  background-color: var(--accent); color: #fff;
}
.navbar-cta:hover { background-color: var(--accent-hover); }

.navbar-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  padding: 8px; cursor: pointer; border-radius: 6px;
}
.navbar-toggle:hover { background: rgba(255, 255, 255, 0.1); }

/* 가로 메뉴가 들어가려면 857px 필요하다 — 좌우 여백 48 + 로고 151 + 간격 24
 * + 링크 507 + 간격 24 + 버튼 103. 로고에 마크를 붙이면서 로고 블록이 40px
 * 넓어졌으므로 흔히 쓰는 768px 전환점으로는 그 사이 구간이 터진다. */
@media (max-width: 899px) {
  .navbar-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--shell); padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  .navbar-links[data-open="true"] { display: flex; }
  .navbar-link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .navbar-toggle { display: inline-flex; }
  .navbar { position: sticky; }
  .navbar .section-inner { position: relative; }
}

/* ── 히어로 슬라이더 ───────────────────────────────────────────── */
/* 높이를 화면에 맞춰 줄인다 — 600px 고정이면 노트북(세로 660px 남짓)에서
 * 히어로가 화면을 통째로 먹어 아래에 내용이 더 있다는 신호가 사라진다 */
.slider {
  position: relative; width: 100%; overflow: hidden;
  height: clamp(420px, 62vh, 620px); background: var(--ink);
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slider-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  background: var(--ink);
}
.slider-slide--active { opacity: 1; pointer-events: auto; z-index: 1; }
/* 네 장 모두 대상이 가로 63% 지점에 있고 왼쪽 30% 에는 아무것도 없다(실측).
 * 그래서 잘릴 때 오른쪽을 남긴다 — 50% 로 두면 빈 하늘이 더 들어온다. */
.slider-background {
  position: absolute; inset: 0;
  background-size: cover; background-position: 62% center; background-repeat: no-repeat;
}
/* 평평한 검정 55% 는 글자 뒤와 성운을 똑같이 죽인다. 글자가 놓이는 왼쪽만
 * 짙게 덮고 대상이 있는 오른쪽은 열어 둔다 — 빈 하늘이 «가림막»으로 읽히고
 * 사진은 사진대로 보인다. */
.slider-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(
    90deg,
    rgba(4, 8, 17, 0.90) 0%,
    rgba(4, 8, 17, 0.84) 40%,
    rgba(4, 8, 17, 0.58) 72%,
    rgba(4, 8, 17, 0.34) 100%
  );
}
.slider-content {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  gap: 16px; max-width: 800px; padding: 48px 24px; color: #fff; width: 100%;
}
.slider-subheadline {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; opacity: 0.9;
}
.slider-headline { font-size: 36px; font-weight: 700; line-height: 1.2; margin: 0; }
.slider-description {
  font-size: 16px; line-height: 1.6; opacity: 0.9; max-width: 600px; margin: 0;
}
.slider-buttons { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* 촬영 표기 — 어떤 천체를 어떤 필터로 찍은 것인지. 전부 소유자가 직접 찍은
 * 사진이므로 배경을 «분위기용 남의 사진» 으로 오해하지 않도록 이름을 붙인다. */
/* 색을 물려받지 않고 직접 정한다 — 어두운 사진 위에 놓이는 글자라
 * 상속이 한 번만 어긋나도 검은 글자가 되어 그대로 사라진다 */
.slider-capture {
  margin: 18px 0 0; font-size: 12px; letter-spacing: 1.4px;
  text-transform: uppercase; opacity: 0.62; color: #ffffff;
}
/* 필터 이름의 그리스 문자는 대문자로 바꾸지 않는다 — Hα 가 HA 로 읽혀 버린다 */
.slider-capture .no-caps { text-transform: none; }
.slider-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: 6px; transition: 0.2s; cursor: pointer;
  border: none;
}
/* 원본과 다름 ①: 원본 주버튼은 #070806 으로 같은 색 배경 위에 놓여 대비 1.00 이었다. */
.slider-button--primary { background-color: var(--accent); color: #fff; }
.slider-button--primary:hover { background-color: var(--accent-hover); }
.slider-button--secondary { background-color: rgba(255, 255, 255, 0.2); color: #fff; }
.slider-button--secondary:hover { background-color: rgba(255, 255, 255, 0.3); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255, 255, 255, 0.2); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s;
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.slider-arrow--prev { left: 16px; }
.slider-arrow--next { right: 16px; }
.slider-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; transition: 0.2s; padding: 0;
}
.slider-dot--active { background: #fff; }
.slider-dot:hover { background: rgba(255, 255, 255, 0.5); }

/* 좁은 화면에서는 화살표가 본문 글자 위에 겹친다 — 점 표시로 넘기게 두고 숨긴다 */
@media (max-width: 767px) {
  .slider-arrow { display: none; }
}

@media (min-width: 768px) {
  .slider-headline { font-size: 48px; }
  .slider-description { font-size: 18px; }
  .slider-arrow--prev { left: 24px; }
  .slider-arrow--next { right: 24px; }
}
@media (min-width: 1024px) { .slider-headline { font-size: 56px; } }

/* ── 안내 밴드 ─────────────────────────────────────────────────── */
.notice { background: var(--paper); padding-block: 56px; }
.notice-title { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.notice-body { font-size: 16px; line-height: 1.7; color: var(--text-3); margin: 0; max-width: 800px; }

/* ── 기능 그리드 ───────────────────────────────────────────────── */
.features { width: 100%; padding-block: 120px; background: var(--ink); }
.features-header {
  text-align: center; margin: 0 auto 64px; max-width: 800px;
}
.features-title {
  font-size: 2.5rem; font-weight: 700; margin: 0 0 16px; line-height: 1.2;
  color: var(--heading);
}
.features-subtitle { font-size: 1.125rem; color: var(--text-2); margin: 0; line-height: 1.6; }
.features-grid { display: grid; gap: 48px 64px; grid-template-columns: repeat(3, 1fr); }
.features-item { display: flex; gap: 20px; align-items: flex-start; }
.features-iconWrapper {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background-color: var(--teal-well); color: var(--teal);
}
.features-iconWrapper svg { width: 24px; height: 24px; }
.features-content { flex: 1 1 0%; min-width: 0; }
.features-itemTitle {
  font-size: 1.25rem; font-weight: 600; margin: 0 0 8px; line-height: 1.3;
  color: var(--heading);
}
.features-itemDescription { font-size: 1rem; color: var(--text-2); margin: 0; line-height: 1.7; }

/* 원본과 다름 ②: 이 두 밴드는 밝은 배경용 색(#1a1a1a / #111827)을 그대로 둔 채
 * 어두운 배경에 얹혀 있어서, 제목 8개가 대비 1.13~1.15 로 사실상 안 보였다.
 * 배치는 그대로 두고 글자색만 어두운 배경용으로 바꾼다. */
.features--dark .features-title,
.features--dark .features-itemTitle { color: var(--d-heading); }
.features--dark .features-subtitle,
.features--dark .features-itemDescription { color: var(--d-text); }

@media (max-width: 1024px) {
  .features-grid { gap: 40px 48px; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features { padding: 80px 0; }
  .features-header { margin-bottom: 48px; }
  .features-title { font-size: 2rem; }
  .features-subtitle { font-size: 1rem; }
  .features-grid { gap: 32px; grid-template-columns: 1fr; }
  .features-item { gap: 16px; }
  .features-iconWrapper { width: 40px; height: 40px; }
  .features-iconWrapper svg { width: 20px; height: 20px; }
  .features-itemTitle { font-size: 1.125rem; }
  .features-itemDescription { font-size: 0.9375rem; }
}

/* ── 지그재그(그림 + 글) ───────────────────────────────────────── */
.zigzag { padding-block: 96px; background: var(--paper); }
.zigzag-row {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
.zigzag-row + .zigzag-row { margin-top: 80px; }
.zigzag-figure { margin: 0; }
.zigzag-figure img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
.zigzag-caption { font-size: 13px; color: var(--text-2); margin: 10px 0 0; line-height: 1.6; }
.zigzag-kicker {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin: 0 0 12px;
}
.zigzag-title { font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: var(--heading); }
.zigzag-body { font-size: 1rem; line-height: 1.7; color: var(--text-3); margin: 0 0 12px; }
.zigzag-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; font-size: 1rem; font-weight: 500; text-decoration: none;
  border-radius: 8px; transition: opacity 0.2s, transform 0.2s;
  width: fit-content; margin-top: 8px;
  background: var(--accent); color: #fff;
}
.zigzag-button:hover { opacity: 0.9; transform: translateY(-1px); }
@media (min-width: 768px) {
  .zigzag-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .zigzag-row--flip .zigzag-figure { order: 2; }
}

/* ── 사양표 ────────────────────────────────────────────────────── */
.spec { padding-block: 96px; background: var(--paper-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table caption {
  text-align: left; font-size: 2rem; font-weight: 700; color: var(--heading);
  margin-bottom: 24px; line-height: 1.2;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 34%; font-weight: 600; color: var(--text);
}
.spec-table td { color: var(--text-3); line-height: 1.7; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { width: 100%; padding-block: 96px; background: var(--ink); }
.faq-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-title {
  font-size: 36px; font-weight: 700; margin: 0 0 16px; line-height: 1.2;
  color: var(--d-heading);
}
.faq-subtitle {
  font-size: 18px; line-height: 1.6; max-width: 600px; margin: 0 auto;
  color: var(--d-text);
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--d-well); border-radius: 12px; overflow: hidden;
  transition: 0.2s; border: 1px solid var(--d-line);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; background: transparent; border: none;
  cursor: pointer; text-align: left; font-size: 16px; font-weight: 600;
  transition: 0.2s; color: var(--d-heading); font-family: inherit;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.03); }
.faq-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; overflow: hidden; height: 0; transition: height 0.3s ease; }
.faq-answer-inner { padding-bottom: 20px; }
.faq-answer p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--d-text); }
@media (max-width: 768px) {
  .faq { padding: 72px 0; }
  .faq-container { padding: 0 16px; }
  .faq-title { font-size: 28px; }
  .faq-subtitle { font-size: 16px; }
  .faq-question { padding: 16px 20px; font-size: 15px; }
  .faq-answer { padding: 0 20px; }
  .faq-answer p { font-size: 14px; }
}

/* ── 문의 폼 ───────────────────────────────────────────────────── */
.contactForm { padding: 64px 24px; background-color: var(--paper-2); }
.contactForm-container { max-width: 560px; margin: 0 auto; }
.contactForm-header { text-align: center; margin-bottom: 40px; }
.contactForm-title { font-size: 36px; font-weight: 700; color: var(--text); margin: 0 0 16px; }
.contactForm-subtitle { font-size: 18px; color: var(--text-2); margin: 0; line-height: 1.6; }
.contactForm-form { display: flex; flex-direction: column; gap: 24px; }
.contactForm-field { display: flex; flex-direction: column; gap: 8px; }
.contactForm-label { font-size: 14px; font-weight: 600; color: #374151; }
.contactForm-input, .contactForm-textarea {
  width: 100%; padding: 14px 16px; font-size: 16px;
  border: 1px solid #d1d5db; border-radius: 8px; background-color: #fff;
  color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.contactForm-input:focus, .contactForm-textarea:focus {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.contactForm-input::placeholder, .contactForm-textarea::placeholder { color: #9ca3af; }
.contactForm-textarea { resize: vertical; min-height: 120px; }
.contactForm-submit {
  padding: 16px 32px; font-size: 16px; font-weight: 600; color: #fff;
  background-color: var(--accent); border: none; border-radius: 8px;
  cursor: pointer; transition: background-color 0.2s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  font-family: inherit;
}
.contactForm-submit:hover { background-color: var(--accent-hover); }
.contactForm-submit:active { transform: scale(0.98); }
.contactForm-note { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.6; text-align: center; }
@media (min-width: 768px) {
  .contactForm { padding: 80px 24px; }
  .contactForm-title { font-size: 42px; }
}

/* ── 푸터 ──────────────────────────────────────────────────────── */
/* padding 한 줄로 쓰면 .section 의 좌우 여백까지 0 으로 덮어써서
 * 푸터 글자만 화면 왼쪽 끝에 붙는다 — 위아래만 지정할 것 */
.footer { padding-block: 64px 32px; background: var(--shell); color: #fff; }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.5fr 2fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logoMark { width: 36px; height: 36px; flex-shrink: 0; }
.footer-logoText { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.footer-description {
  font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-socialLink {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); transition: 0.2s; color: #fff;
}
.footer-socialLink:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.footer-columns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px;
}
.footer-column { display: flex; flex-direction: column; gap: 16px; }
.footer-columnTitle {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin: 0;
}
.footer-columnLinks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-columnLink {
  font-size: 14px; text-decoration: none; transition: opacity 0.2s;
  color: rgba(255, 255, 255, 0.75);
}
.footer-columnLink:hover { opacity: 0.7; text-decoration: underline; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center;
}
.footer-copyright { font-size: 13px; margin: 0; color: rgba(255, 255, 255, 0.6); }

/* ── 모션 ──────────────────────────────────────────────────────── */
/* 숨기는 것은 자바스크립트가 살아 있을 때만. 스크립트가 죽거나 차단되면
 * 본문이 통째로 안 보이는 사고가 나므로, 기본 상태는 항상 '보임'이다.
 *
 * 애니메이션이 아니라 전이(transition)를 쓴다 — 애니메이션은 한 번 끝나면
 * 되돌아오지 않아서 «나갈 때 페이드 아웃»이 안 된다. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* 표의 행은 옮기지 않고 밝기만 바꾼다 — tr 에 transform 을 걸면 칸 경계가
 * 흔들려 보인다. FAQ 항목은 카드라 옮겨도 괜찮지만 폭을 줄여 잔잔하게. */
.js tr[data-reveal] { transform: none; }
.js .faq-item[data-reveal] { transform: translateY(10px); }
.js .faq-item[data-reveal].is-visible { transform: none; }

/* 패럴랙스 층. transform 은 스크립트가 매 프레임 덮어쓰므로 여기서는
 * 합성만 미리 준비해 둔다. */
[data-parallax] { will-change: transform; }

/* 배경 층은 위아래로 흘러야 하므로 원래 칸보다 크게 잡아 가장자리가 비지 않게 한다 */
.slider-background[data-parallax] { top: -12%; height: 124%; }
.zigzag-figure[data-parallax] img { display: block; }

/* 감쇠 모드가 꺼야 하는 것은 «움직임» 이지 «밝기 변화» 가 아니다.
 *
 * 자리를 옮기는 것(패럴랙스, 떠오르는 등장)은 전정기관을 자극하므로 끈다.
 * 반면 히어로의 천체사진이 서로 넘어가는 크로스페이드는 아무것도 움직이지
 * 않는 불투명도 변화이고, 접근성 지침이 «움직임 대신 쓰라» 고 권하는 바로
 * 그 방식이다. 그래서 감쇠 모드에서도 남긴다.
 *
 * 예전에는 `*` 에 transition-duration: 0.01ms 를 걸어 이 크로스페이드까지
 * 죽였다. 윈도우 「애니메이션 효과」를 끈 PC 에서는 히어로가 첫 장에 멈춰
 * 있었고, 그게 «배경이 안 바뀐다» 의 원인이었다. */
/* 감쇠 규칙은 전부 `html:not(.force-motion)` 아래에 둔다. 그래야 미리보기
 * (?motion=1) 일 때 규칙이 아예 안 걸린다 — 예전에는 강제모션 쪽에서
 * `transform: revert !important` 로 덮으려 했는데, 그 !important 가 스크립트가
 * 넣는 인라인 transform 까지 이겨서 패럴랙스가 0 으로 멈췄다. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *:not(.slider-slide):not([data-reveal]),
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* 등장은 «떠오름» 만 빼고 밝기로만 남긴다 */
  html:not(.force-motion).js [data-reveal] { transform: none; }
  /* 자리를 옮기는 것은 전부 정지 */
  html:not(.force-motion) [data-parallax] { transform: none !important; will-change: auto; }
  html:not(.force-motion) .slider-background[data-parallax] { top: 0; height: 100%; }
}
