/* ============================================================
   ONGYEOL Skin Clinic — Global Design System
   ============================================================ */

/* -------- Tokens -------- */
:root {
  /* Palette */
  --off-white: #F8F4EC;
  --warm-beige: #EDE2D3;
  --sand: #E4D6C0;
  --camel: #9B6F4A;
  --camel-hover: #8A6142;
  --deep-brown: #4F4035;
  --rose-beige: #C8A38D;
  --bronze: #B08363;
  --charcoal: #33302D;
  --muted: #8B7F72;
  --hairline: rgba(155, 111, 74, 0.18);
  --hairline-strong: rgba(79, 64, 53, 0.22);

  /* Type */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Malgun Gothic', system-ui, sans-serif;
  /* 필기체(serif) 폐기 — 전 페이지 고딕 통일. 포인트는 컬러로만 처리. */
  --font-serif: var(--font-sans);

  /* Layout */
  --nav-h: 84px;
  --nav-h-sm: 64px;
  --container: 1240px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 20px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* -------- Type Scale -------- */
.eyebrow {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--camel);
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow-kr {
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--camel);
  font-weight: 500;
  text-transform: none;
}
.display {
  font-family: var(--font-sans);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--deep-brown);
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.2;
  color: var(--deep-brown);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--deep-brown);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  color: var(--deep-brown);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--charcoal);
}
.body-sm {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--camel);
  color: var(--off-white);
  border-color: var(--camel);
}
.btn--primary:hover {
  background: var(--camel-hover);
  border-color: var(--camel-hover);
}
.btn--ghost {
  background: transparent;
  color: var(--deep-brown);
  border-color: var(--deep-brown);
}
.btn--ghost:hover {
  background: var(--deep-brown);
  color: var(--off-white);
}
.btn--link {
  padding: 8px 0;
  border: none;
  color: var(--camel);
  background: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--camel);
  border-radius: 0;
}
.btn--link:hover { color: var(--deep-brown); border-color: var(--deep-brown); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* -------- Header / Nav -------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
  transition: background 0.3s ease;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
}
.nav__logo img { height: 100%; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
  height: 100%;
  margin-left: auto; /* 메뉴를 오른쪽 끝으로 */
}
@media (max-width: 1200px) { .nav__links { gap: 32px; } }
.nav__link {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--deep-brown);
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  font-weight: 500;
}
.nav__link:hover, .nav__link.is-active { color: var(--camel); }
.nav__link.has-dropdown::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.nav__dropdown-wrap { position: relative; height: 100%; }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  padding: 14px 0;
  background: var(--off-white);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--camel);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 20px 40px -20px rgba(79, 64, 53, 0.15);
}
.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 11px 26px;
  font-size: 14px;
  color: var(--deep-brown);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}
.nav__dropdown a:hover {
  background: var(--deep-brown);
  color: var(--off-white);
}

.nav__cta {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1024px) {
  .nav__cta { display: inline-flex; }
}
.nav__cta .btn { padding: 10px 22px; font-size: 13.5px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--deep-brown);
  transition: transform 0.3s ease, opacity 0.2s;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: var(--nav-h-sm);
  left: 0; right: 0;
  bottom: 0;
  background: var(--off-white);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  overflow-y: auto;
  padding: 30px 24px 120px;
  display: none;
}
body.menu-open .mobile-menu { transform: translateX(0); }

.mobile-menu__item {
  display: block;
  padding: 20px 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-brown);
  border-bottom: 1px solid var(--hairline);
  letter-spacing: 0.02em;
}
.mobile-menu__sub {
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu__sub a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--charcoal);
}
.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-brown);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.mobile-menu__toggle::after {
  content: '+';
  font-size: 22px;
  color: var(--camel);
  font-weight: 300;
  transition: transform 0.2s;
}
.mobile-menu__toggle.is-open::after { content: '−'; }

@media (max-width: 1023px) {
  .site-header { height: var(--nav-h-sm); }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .mobile-menu { display: block; }
}

/* -------- Page top spacer -------- */
.page {
  padding-top: var(--nav-h);
}
@media (max-width: 1023px) {
  .page { padding-top: var(--nav-h-sm); }
}

/* -------- Mobile bottom CTA bar -------- */
.m-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--off-white);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom);
}
.m-cta__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.m-cta a.m-cta__quick { background: var(--deep-brown); color: var(--off-white); }
.m-cta a.m-cta__quick svg { color: var(--rose-beige); }
.m-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px 14px;
  font-size: 12px;
  color: var(--deep-brown);
  border-right: 1px solid var(--hairline);
}
.m-cta a:last-child { border-right: none; }
.m-cta a svg { width: 20px; height: 20px; color: var(--camel); }
@media (max-width: 900px) {
  .m-cta { display: block; }
  body { padding-bottom: 66px; }
}

/* -------- Right side quick rail (카톡 · 네이버예약 · 인스타 · 블로그 · TOP) -------- */
.side-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-rail__btn {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--deep-brown);
  border: 1px solid rgba(201, 169, 140, 0.45);
  color: var(--off-white);
  box-shadow: 0 10px 24px -10px rgba(40, 28, 20, 0.55);
  cursor: pointer; padding: 0;
  transition: background .25s ease, color .25s ease, transform .25s ease, opacity .3s ease;
}
.side-rail__btn svg { width: 22px; height: 22px; }
.side-rail__btn--naver svg { width: 17px; height: 17px; }
.side-rail__txt { font-size: 12.5px; font-weight: 700; letter-spacing: -0.02em; }
.side-rail__btn:hover { background: var(--rose-beige, #C9A98C); color: var(--deep-brown); transform: translateX(-2px); }
.side-rail__btn--kakao:hover { background: #FEE500; color: #3A1D1D; border-color: #FEE500; }
.side-rail__btn--naver:hover { background: #03C75A; color: #fff; border-color: #03C75A; }
.side-rail__label {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translate(6px, -50%);
  padding: 7px 12px;
  background: var(--deep-brown); color: var(--off-white);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  border-radius: 3px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.side-rail__btn:hover .side-rail__label,
.side-rail__btn:focus-visible .side-rail__label { opacity: 1; transform: translate(0, -50%); }
.side-rail__btn--top { opacity: 0; pointer-events: none; }
.side-rail.is-scrolled .side-rail__btn--top { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) {
  .side-rail { right: 12px; top: auto; bottom: 150px; transform: none; gap: 8px; }
  .side-rail__btn { width: 42px; height: 42px; }
  .side-rail__btn svg { width: 19px; height: 19px; }
  .side-rail__btn--naver svg { width: 14px; height: 14px; }
  .side-rail__txt { font-size: 11px; }
  /* 카톡·네이버 예약은 하단 CTA 바에 이미 있음 */
  .side-rail__btn--kakao, .side-rail__btn--naver { display: none; }
  .side-rail__label { display: none; }
}
@media print { .side-rail { display: none; } }

/* -------- 하단 고정 빠른상담신청 바 -------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 92;
  display: grid; grid-template-columns: 1fr 260px;
  height: 88px;
  background: var(--deep-brown);
  color: var(--off-white);
  box-shadow: 0 -10px 30px -18px rgba(40, 28, 20, 0.5);
}
.qc__form {
  display: flex; align-items: center; gap: 28px;
  padding: 0 32px 0 max(24px, calc((100vw - var(--container)) / 2));
  min-width: 0;
}
.qc__title { display: flex; align-items: center; gap: 12px; flex: none; }
.qc__title > span:last-child { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.qc__title small { font-size: 11.5px; font-weight: 400; color: rgba(248,244,236,.55); letter-spacing: 0; margin-top: 3px; }
.qc__mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rose-beige); color: var(--rose-beige);
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
}
.qc__fields {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: 1fr 1fr 1.1fr; column-gap: 10px; row-gap: 7px;
}
.qc__field input, .qc__field select {
  width: 100%; height: 40px; padding: 0 14px;
  font: inherit; font-size: 14px; color: var(--charcoal);
  background: var(--off-white); border: 1px solid transparent; border-radius: var(--radius-sm);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.qc__field input::placeholder { color: var(--muted); }
.qc__field input:focus, .qc__field select:focus { border-color: var(--camel); box-shadow: 0 0 0 3px rgba(200,163,141,.35); }
.qc__field--select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B6F4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
  padding-right: 34px;
}
.qc__field--select select:invalid { color: var(--muted); }
.qc__agree {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(248,244,236,.62); cursor: pointer; width: max-content;
}
.qc__agree input { width: 14px; height: 14px; accent-color: var(--camel); margin: 0; }
.qc__agree a { color: rgba(248,244,236,.62); text-decoration: underline; text-underline-offset: 2px; }
.qc__agree a:hover { color: var(--rose-beige); }
.qc__submit {
  flex: none; height: 40px; padding: 0 22px; align-self: flex-start; margin-top: 15px;
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--deep-brown); background: var(--rose-beige);
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s, color .2s;
}
.qc__submit:hover { background: var(--off-white); }
.qc__reserve {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--camel); color: var(--off-white);
  transition: background .25s;
}
.qc__reserve:hover { background: var(--camel-hover); }
.qc__reserve-sub { font-size: 12px; letter-spacing: .04em; color: rgba(248,244,236,.72); }
.qc__reserve-main { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.qc__reserve-main span { display: inline-block; transition: transform .25s; }
.qc__reserve:hover .qc__reserve-main span { transform: translateX(4px); }
.is-error { border-color: #C0573F !important; box-shadow: 0 0 0 3px rgba(192,87,63,.25) !important; }
.qc__agree.is-error, .qc-sheet .qc__agree.is-error { color: #F2B6A5; box-shadow: none !important; }

@media (min-width: 901px) {
  body.has-qc { padding-bottom: 88px; }
  body.has-qc .side-rail { top: calc(50% - 44px); }
}
@media (max-width: 1180px) {
  .qc { grid-template-columns: 1fr 200px; }
  .qc__title small { display: none; }
  .qc__form { gap: 18px; padding-right: 20px; }
}
@media (max-width: 900px) { .qc { display: none; } }
@media print { .qc, .qc-sheet, .qc-toast { display: none !important; } }

/* 모바일 바텀시트 */
.qc-sheet { position: fixed; inset: 0; z-index: 210; pointer-events: none; }
.qc-sheet__dim { position: absolute; inset: 0; background: rgba(40,28,20,.45); opacity: 0; transition: opacity .3s; }
.qc-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--off-white); border-radius: 18px 18px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1);
}
.qc-sheet.is-open { pointer-events: auto; }
.qc-sheet.is-open .qc-sheet__dim { opacity: 1; }
.qc-sheet.is-open .qc-sheet__panel { transform: none; }
.qc-sheet__head { display: flex; justify-content: space-between; align-items: center; }
.qc-sheet__head strong { font-size: 19px; font-weight: 600; color: var(--deep-brown); letter-spacing: -0.02em; }
.qc-sheet__x { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--deep-brown); cursor: pointer; display: grid; place-items: center; }
.qc-sheet__x svg { width: 22px; height: 22px; }
.qc-sheet__desc { font-size: 13px; color: var(--muted); margin: 2px 0 18px; }
.qc-sheet__form { display: grid; gap: 10px; }
.qc-sheet .qc__field input, .qc-sheet .qc__field select { height: 50px; font-size: 15px; background: #fff; border-color: var(--hairline-strong); }
.qc-sheet .qc__agree { color: var(--muted); font-size: 13px; margin: 4px 0 6px; width: auto; }
.qc-sheet .qc__agree a { color: var(--muted); }
.qc-sheet .qc__submit { height: 52px; margin: 0; font-size: 16px; background: var(--deep-brown); color: var(--off-white); }

.qc-toast {
  position: fixed; left: 50%; bottom: 108px; z-index: 220;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: var(--charcoal); color: var(--off-white); font-size: 14px; white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.4);
  transition: opacity .25s, transform .25s;
}
.qc-toast.is-ok { background: var(--camel); }
.qc-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .qc-toast { bottom: 84px; white-space: normal; width: max-content; max-width: calc(100vw - 32px); text-align: center; } }

/* -------- Footer -------- */
.site-footer {
  background: var(--deep-brown);
  color: rgba(248, 244, 236, 0.75);
  padding: 72px 0 40px;
  font-size: 14px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 244, 236, 0.12);
}
.footer__brand img { height: 46px; margin-bottom: 20px; }
.footer__brand p {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(248, 244, 236, 0.6);
  max-width: 360px;
}
.footer__col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--off-white);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col a { color: rgba(248, 244, 236, 0.7); transition: color 0.2s; font-size: 13.5px; }
.footer__col a:hover { color: var(--rose-beige); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(248, 244, 236, 0.5);
}
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal a { color: rgba(248, 244, 236, 0.65); }
.footer__legal a:hover { color: var(--rose-beige); }
.footer__notice {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(248, 244, 236, 0.04);
  border-left: 2px solid var(--rose-beige);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(248, 244, 236, 0.55);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* -------- Image Placeholder -------- */
.imgph {
  position: relative;
  background: linear-gradient(135deg, var(--warm-beige) 0%, var(--sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--camel);
}
.imgph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(155, 111, 74, 0.08), transparent 60%);
}
.imgph__inner {
  position: relative;
  text-align: center;
  padding: 24px;
  z-index: 1;
}
.imgph__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  opacity: 0.6;
}
.imgph__label {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 14px;
  color: var(--camel);
  letter-spacing: 0.06em;
}

/* -------- Card base -------- */
.card {
  background: var(--off-white);
  border: 1px solid var(--hairline);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--rose-beige);
  box-shadow: 0 30px 50px -30px rgba(79, 64, 53, 0.18);
}

/* -------- Reveal animation --------
   Content is visible by default so the page always renders, even if JS
   fails to execute. When JS is present, elements start with `.reveal--armed`
   (opacity 0, offset) and the scroll listener adds `.is-visible` to fade
   them in. No `.reveal--armed` = no hidden state = no broken blank page. */
.reveal {
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.reveal--armed {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.reveal--armed.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* -------- Divider -------- */
.rule {
  width: 40px;
  height: 1px;
  background: var(--camel);
  margin: 24px 0;
  border: none;
}
.rule--center { margin: 24px auto; }

/* -------- Section header pattern -------- */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .eyebrow-kr { display: block; margin-bottom: 18px; }
.section-head .h2 { margin-bottom: 20px; }
.section-head .lead { max-width: 620px; margin: 0 auto; color: var(--muted); }

/* -------- Utility -------- */
.text-center { text-align: center; }
.grid { display: grid; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--deep-brown);
  color: var(--off-white);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 200;
}
.skip-link:focus { top: 8px; }
