/* ============================================================
   page-sirocco-fan-spec.css
   시로코팬 교체 규격 — 규격표 읽는 법 / 사이징 가이드 페이지 전용 스타일
   Title: Hahmlet 700 / Body: IBM Plex Sans KR 400
   Layout signature: 좌측 사이징 가이드 + 우측 용어 사전(glossary) 카드
   ============================================================ */

:root {
  --cta-primary: #1E1B4B;
  --cta-secondary: #EEF2FF;
  --ssp-accent: #6366F1;
  --ssp-ink: #1E1B4B;
  --ssp-line: #C7D2FE;
  --ssp-r-sm: 4px;
  --ssp-r-md: 18px;
  --ssp-r-lg: 36px 8px;
  --ssp-pad-y: 64px;
}

body { font-family: 'IBM Plex Sans KR', -apple-system, sans-serif; font-weight: 400; background: #fff; color: var(--ssp-ink); }
h1, h2, h3 { font-family: 'Hahmlet', serif; font-weight: 700; color: var(--ssp-ink); letter-spacing: -.01em; }

/* ---- divider: dashed rule with center dot (distinct from replacement page's diamond tick) ---- */
.ssp-divider { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--ssp-pad-y); }
.ssp-divider::before,
.ssp-divider::after { content: ""; flex: 1; height: 0; border-top: 2px dashed var(--ssp-line); }
.ssp-divider span { width: 10px; height: 10px; border-radius: 50%; background: var(--cta-primary); flex-shrink: 0; }

/* ---- intro ---- */
.ssp-intro { max-width: 860px; margin: 0 auto; padding: 56px 20px 40px; text-align: center; }
.ssp-intro__eyebrow { color: var(--ssp-accent); font-weight: 700; font-size: .92rem; letter-spacing: .06em; margin-bottom: 10px; }
.ssp-intro h1 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); margin-bottom: 18px; }
.ssp-intro p { color: #312E81; line-height: 1.8; }

/* ---- section shell ---- */
.ssp-section { max-width: 1080px; margin: 0 auto; padding: 0 20px var(--ssp-pad-y); }
.ssp-section h2 { font-size: 1.5rem; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 3px solid var(--cta-primary); display: inline-block; }
.ssp-section p { margin-bottom: 14px; line-height: 1.85; color: #312E81; }
.ssp-section ol { margin: 0 0 14px 22px; color: #312E81; line-height: 1.8; }
.ssp-section li { margin-bottom: 10px; }

/* ---- sizing guide + glossary sidebar layout ---- */
.ssp-layout { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 40px; align-items: start; }
.ssp-guide h3 { font-size: 1.05rem; margin: 26px 0 8px; display: flex; align-items: center; gap: 10px; }
.ssp-guide h3:first-child { margin-top: 0; }
.ssp-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--cta-primary);
  color: #fff; font-family: 'IBM Plex Sans KR', sans-serif; font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.ssp-interlink {
  margin-top: 24px; padding: 16px 18px; background: var(--cta-secondary);
  border-left: 4px solid var(--ssp-accent); border-radius: 0 var(--ssp-r-md) var(--ssp-r-md) 0;
  color: #312E81;
}

.ssp-glossary {
  position: sticky; top: 90px; background: var(--cta-secondary);
  border: 1px solid var(--ssp-line); border-radius: var(--ssp-r-lg); padding: 22px 24px;
}
.ssp-glossary h3 { font-size: 1rem; margin: 0 0 14px; color: var(--ssp-accent); }
.ssp-glossary dl { border-top: 1px solid var(--ssp-line); }
.ssp-glossary dt { padding-top: 12px; font-weight: 700; color: var(--ssp-ink); font-size: .95rem; }
.ssp-glossary dd { margin: 3px 0 0; padding-bottom: 3px; color: #4338CA; font-size: .87rem; line-height: 1.6; }

@media (max-width: 860px) {
  .ssp-layout { grid-template-columns: 1fr; }
  .ssp-glossary { position: static; top: auto; }
}

/* ---- comparison table ---- */
.ssp-table-wrap { overflow-x: auto; border-radius: var(--ssp-r-md); border: 1px solid var(--ssp-line); }
.ssp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.ssp-table th, .ssp-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--ssp-line); }
.ssp-table thead th { background: var(--ssp-ink); color: #EEF2FF; font-weight: 700; }
.ssp-table tbody th { background: var(--cta-secondary); color: var(--ssp-ink); font-weight: 700; white-space: nowrap; }
.ssp-table tbody tr:last-child td, .ssp-table tbody tr:last-child th { border-bottom: none; }
.ssp-note { font-size: .85rem; color: var(--ssp-accent); margin-top: 10px; }

/* ---- process timeline (ordered list) ---- */
.ssp-steps { counter-reset: ssp-step; list-style: none; margin-left: 0; }
.ssp-steps li {
  position: relative; padding: 0 0 18px 44px; margin-bottom: 0;
  border-left: 2px solid var(--ssp-line);
}
.ssp-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ssp-steps li::before {
  counter-increment: ssp-step; content: counter(ssp-step);
  position: absolute; left: -15px; top: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--cta-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.ssp-steps li strong { color: var(--ssp-ink); }

/* ---- misconception accordion (details/summary) ---- */
.ssp-faq { display: flex; flex-direction: column; gap: 10px; }
.ssp-faq details { border: 1px solid var(--ssp-line); border-radius: var(--ssp-r-md); padding: 4px 18px; background: #fff; }
.ssp-faq summary { padding: 14px 0; font-weight: 700; color: var(--ssp-ink); font-size: 1rem; position: relative; padding-right: 28px; }
.ssp-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.3rem; color: var(--cta-primary); font-weight: 400;
}
.ssp-faq details[open] summary::after { content: "\2212"; }
.ssp-faq .ssp-faq-a { padding: 0 0 16px; color: #312E81; line-height: 1.8; }

/* ---- exactly one animation type on this page: CSS-only scroll reveal ---- */
.ssp-section,
.ssp-glossary,
.ssp-table-wrap,
.ssp-faq details {
  animation: ssp-reveal .5s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 25%;
}
@keyframes ssp-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ssp-section, .ssp-glossary, .ssp-table-wrap, .ssp-faq details { animation: none; }
}

@media (max-width: 480px) {
  .ssp-section h2 { font-size: 1.25rem; }
  .ssp-glossary { padding: 18px; }
}

/* ---- site photo: 4:3 crop (요청 반영) ---- */
.photo-row img { aspect-ratio: 4 / 3; }
