/* ==========================================================================
   배움스키아카데미 공통 화면 틀 (모든 페이지)
   시그너리처럼 흰 바탕 + 사진 위 투명 메뉴바(내리면 흰색), 거의 검정인 바닥글, 떠 있는 상담 버튼.
   세련된 디테일: 둥근 버튼 안의 화살표 동그라미, 이중 테두리, 무게감 있는 움직임.
   색·간격 값은 css/tokens.css의 변수만 씁니다. 휴대폰 먼저, 64rem(1024px)부터 PC.
   ========================================================================== */

/* ── 기본 ─────────────────────────────────────────────────────────────── */
:root { --header-h-now: var(--header-h); }
@media (min-width: 64rem) { :root { --header-h-now: var(--header-h-lg); } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-now) + 1rem);
  scrollbar-color: var(--color-scrollbar) transparent;
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  word-break: keep-all;
  overflow-wrap: anywhere;
  caret-color: var(--color-caret);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
::selection { background: var(--color-selection); color: var(--color-text); }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--color-link); text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
s { text-decoration-thickness: 1px; }
strong, b { font-weight: var(--weight-bold); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.on-dark :focus-visible { outline-color: var(--color-focus-on-field); }

.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.skip-link {
  position: absolute; left: var(--space-4); top: -4rem; z-index: var(--z-skip);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  background: var(--color-field); color: var(--color-on-field); font-weight: var(--weight-bold); text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ── 버튼: 둥근 알약 + 오른쪽 화살표 동그라미 ─────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: var(--btn-height-page); padding: 0.375rem var(--space-5);
  border: 0; border-radius: var(--radius-pill);
  font-weight: var(--weight-bold); font-size: var(--text-small); line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.5s var(--ease-fluid), box-shadow 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid);
}
.button:has(.button__dot) { padding-right: 0.375rem; }
.button:active { transform: scale(0.98); }
.button > .icon { width: 1.125rem; height: 1.125rem; }
.button__dot {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-left: auto; border-radius: 50%;
  background: rgb(255 255 255 / 0.14); transition: transform 0.6s var(--ease-fluid);
}
.button__dot .icon { width: 1rem; height: 1rem; }
@media (hover: hover) and (pointer: fine) { .button:hover .button__dot { transform: translate(2px, -1px) scale(1.06); } }
.button--primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.button--gold { background: var(--btn-accent-bg); color: var(--btn-accent-fg); }
.button--gold .button__dot { background: rgb(12 56 31 / 0.12); }
.button--kakao { background: var(--btn-kakao-bg); color: var(--btn-kakao-fg); }
.button--kakao .button__dot { background: rgb(0 0 0 / 0.07); }
.button--line { background: var(--color-surface); color: var(--color-heading); box-shadow: inset 0 0 0 1px var(--color-border-soft); }
.button--line .button__dot { background: var(--color-shell); }
.button--glass { background: rgb(255 255 255 / 0.12); color: var(--color-on-photo); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.button--sm { min-height: var(--btn-height-sm); padding-inline: var(--space-4); }
.button--sm:has(.button__dot) { padding-right: 0.25rem; }
.button--sm .button__dot { width: 2.25rem; height: 2.25rem; }
@media (hover: hover) and (pointer: fine) {
  .button--primary:hover { background: var(--btn-primary-bg-hover); }
  .button--gold:hover { background: var(--btn-accent-bg-hover); }
  .button--kakao:hover { background: var(--btn-kakao-bg-hover); }
  .button--line:hover { box-shadow: inset 0 0 0 1px var(--pine-300); }
  .button--glass:hover { background: rgb(255 255 255 / 0.2); }
}

/* 작은 영문 꼬리표 (모든 제목 위) */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border-soft);
  font-size: 0.6875rem; font-weight: var(--weight-semibold); letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5;
  color: var(--color-text-muted);
}
.eyebrow::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--gold-400); }
.on-dark .eyebrow, .on-photo .eyebrow { background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22); color: var(--color-on-photo-muted); }

/* 이중 테두리: 얇은 바깥 틀 안에 카드 */
.shell { padding: var(--shell-pad); border-radius: var(--radius-shell); background: var(--color-shell); box-shadow: inset 0 0 0 1px var(--color-border-soft); }
.core { height: 100%; border-radius: var(--radius-core); background: var(--color-surface); box-shadow: 0 1px 2px rgb(19 32 25 / 0.05), inset 0 1px 1px rgb(255 255 255 / 0.9); overflow: hidden; }

/* ── 공지 띠 ──────────────────────────────────────────────────────────── */
.notice { position: relative; z-index: calc(var(--z-header) + 1); background: var(--notice-bg); color: var(--notice-fg); }
.notice__link {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 2.375rem; padding: var(--space-2) var(--gutter);
  color: inherit; text-decoration: none; font-size: var(--text-caption); line-height: 1.4; text-align: center;
}
.notice__link b { color: var(--color-accent); font-weight: var(--weight-bold); }
.notice__long { display: none; }
@media (min-width: 40rem) { .notice__long { display: inline; } .notice__short { display: none; } }
.notice__dday { flex: none; padding: 0.0625rem 0.5rem; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--pine-900); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
@media (hover: hover) and (pointer: fine) { .notice__link:hover span:not(.notice__dday) { text-decoration: underline; } }

/* ── 메뉴바: 사진 위에서는 투명(흰 글씨), 내리면 흰 바탕 ──────────────── */
.gnb-wrap {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: inset 0 -1px 0 var(--color-border-soft);
  color: var(--color-heading);
  transition: background-color 0.5s var(--ease-fluid), box-shadow 0.5s var(--ease-fluid), color 0.5s var(--ease-fluid);
}
body[data-head="photo"] .gnb-wrap:not(.is-stuck):not(.is-open) {
  background: transparent; box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.16); color: var(--color-on-photo);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.gnb-wrap.is-stuck { box-shadow: inset 0 -1px 0 var(--color-border-soft), 0 10px 30px -24px rgb(19 32 25 / 0.45); }
.gnb { display: flex; align-items: center; gap: var(--space-3); height: var(--header-h-now); }

.gnb__brand {
  display: flex; align-items: center; gap: var(--space-2); margin-right: auto;
  color: inherit; text-decoration: none; font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; white-space: nowrap;
}
.gnb__brand img { width: 1.75rem; }
@media (min-width: 64rem) { .gnb__brand { font-size: 1.0625rem; margin-right: 0; } .gnb__brand img { width: 2rem; } }

.gnb__menu { display: none; }
@media (min-width: 64rem) { .gnb__menu { display: block; margin-inline: auto; } .gnb__list { display: flex; align-items: center; } }
.gnb__item { position: relative; }
.gnb__link {
  position: relative; display: flex; align-items: center; gap: 0.25rem;
  --gnb-pad: var(--space-3);
  height: var(--header-h-now); padding-inline: var(--gnb-pad);
  color: inherit; text-decoration: none; font-weight: var(--weight-semibold); font-size: 0.9375rem; opacity: 0.86;
  transition: opacity 0.4s var(--ease-fluid);
}
.gnb__link::after {
  content: ""; position: absolute; left: var(--gnb-pad); right: var(--gnb-pad); bottom: 1.1rem; height: 1.5px;
  background: currentColor; transform: scaleX(0); transition: transform 0.5s var(--ease-fluid);
}
.gnb__link[aria-current="page"] { opacity: 1; }
.gnb__link[aria-current="page"]::after { transform: scaleX(1); }
.gnb__caret { width: 0.75rem; height: 0.75rem; opacity: 0.7; transition: rotate 0.5s var(--ease-fluid); }

.gnb__sub {
  position: absolute; top: calc(100% - 0.5rem); left: 50%; z-index: 1;
  min-width: 17rem; padding: var(--shell-pad);
  border-radius: var(--radius-shell); background: rgb(255 255 255 / 0.96); box-shadow: inset 0 0 0 1px var(--color-border-soft), var(--shadow-menu);
  color: var(--color-text);
  opacity: 0; visibility: hidden; transform: translate(-50%, -0.375rem);
  transition: opacity var(--duration-exit) ease, transform var(--duration-exit) var(--ease-out), visibility 0s linear var(--duration-exit);
}
.gnb__item:hover > .gnb__sub, .gnb__item:focus-within > .gnb__sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity 0.4s var(--ease-fluid), transform 0.4s var(--ease-fluid), visibility 0s;
}
.gnb__item:hover .gnb__caret, .gnb__item:focus-within .gnb__caret { rotate: 180deg; }
.gnb__sub a { display: grid; gap: 0.125rem; padding: var(--space-3) var(--space-4); border-radius: var(--radius-core); color: var(--color-text); text-decoration: none; }
.gnb__sub b { font-size: 0.9375rem; color: var(--color-heading); }
.gnb__sub span { font-size: var(--text-caption); color: var(--color-text-muted); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .gnb__link:hover { opacity: 1; }
  .gnb__link:hover::after { transform: scaleX(1); }
  .gnb__sub a:hover { background: var(--color-page-alt); }
}

.gnb__actions { display: flex; align-items: center; gap: var(--space-2); }
.gnb__tel { display: none; }
@media (min-width: 80rem) { .gnb__link { --gnb-pad: var(--space-4); } }
@media (min-width: 80rem) {
  .gnb__tel { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--btn-height-sm); padding-inline: var(--space-2); color: inherit; text-decoration: none; font-weight: var(--weight-bold); font-size: var(--text-small); }
  .gnb__tel .icon { width: 1rem; height: 1rem; }
}
.gnb__cta { min-height: 2.5rem; padding-inline: var(--space-4); font-size: var(--text-caption); }
.gnb__cta .button__dot { display: none; }
@media (min-width: 48rem) { .gnb__cta { min-height: var(--btn-height-sm); padding-right: 0.25rem; font-size: var(--text-small); } .gnb__cta .button__dot { display: grid; width: 2.25rem; height: 2.25rem; } }
body[data-head="photo"] .gnb-wrap:not(.is-stuck):not(.is-open) .gnb__cta { background: var(--snow-0); color: var(--pine-800); }
body[data-head="photo"] .gnb-wrap:not(.is-stuck):not(.is-open) .gnb__cta .button__dot { background: var(--color-shell); }

.menu-btn {
  position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--color-shell); color: inherit; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--color-border-soft);
}
body[data-head="photo"] .gnb-wrap:not(.is-stuck):not(.is-open) .menu-btn { background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.menu-btn__bar { position: absolute; left: 50%; top: 50%; width: 1.125rem; height: 1.5px; margin-left: -0.5625rem; border-radius: 1px; background: currentColor; transition: transform 0.5s var(--ease-fluid); }
.menu-btn__bar:first-child { transform: translateY(-0.25rem); }
.menu-btn__bar:last-child { transform: translateY(0.25rem); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:last-child { transform: rotate(-45deg); }
@media (min-width: 64rem) { .menu-btn { display: none; } }

/* 휴대폰 전체 메뉴: 화면을 덮는 흰 유리판, 항목이 차례로 올라옴 */
.mmenu {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--mmenu-top, var(--header-h-now)); z-index: var(--z-menu);
  overflow-y: auto; overscroll-behavior: contain;
  background: rgb(255 255 255 / 0.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: var(--space-3) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
}
.mmenu__group { padding-block: var(--space-4); border-bottom: 1px solid var(--color-border-soft); }
@media (prefers-reduced-motion: no-preference) {
  .mmenu:not([hidden]) .mmenu__group, .mmenu:not([hidden]) .mmenu__contact { animation: mmenu-up 0.6s var(--ease-fluid) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes mmenu-up { from { opacity: 0; transform: translateY(1.25rem); } }
}
.mmenu__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--btn-height-sm); color: var(--color-heading); text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.03em; }
.mmenu__head[aria-current="page"]::after { content: "지금 보는 페이지"; font-size: var(--text-caption); font-weight: var(--weight-semibold); letter-spacing: 0; color: var(--color-accent-text); }
.mmenu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-3); margin-top: var(--space-1); }
.mmenu__sub a { display: flex; align-items: center; min-height: var(--btn-height-sm); color: var(--color-text-muted); text-decoration: none; font-size: var(--text-small); }
.mmenu__contact { display: grid; gap: var(--space-2); margin-top: var(--space-6); }
.mmenu__contact .button { width: 100%; }
.mmenu__hours { margin-top: var(--space-3); font-size: var(--text-caption); color: var(--color-text-muted); text-align: center; }

/* ── 상담 띠: 모든 페이지 끝, 진초록 이중 테두리 카드 ─────────────────── */
.cta-band { padding-block: var(--page-section-y); }
.cta-band .shell { background: rgb(12 56 31 / 0.07); }
.cta-band .core {
  display: grid; gap: var(--space-6); align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--color-field); color: var(--color-on-field); box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.12);
}
.cta-band__title { margin-top: var(--space-4); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.045em; text-wrap: balance; }
.cta-band__text { margin-top: var(--space-3); color: var(--color-on-field-muted); }
.cta-band__btns { display: grid; gap: var(--space-2); }
.cta-band__btns .button { width: 100%; justify-content: flex-start; padding-left: var(--space-5); }
@media (min-width: 48rem) { .cta-band .core { grid-template-columns: 1fr auto; gap: var(--space-8); } .cta-band__btns { min-width: 17rem; } }

/* ── 바닥글: 거의 검정 ─────────────────────────────────────────────────── */
.ft { background: var(--color-footer); color: rgb(255 255 255 / 0.62); padding-block: var(--space-9) calc(var(--space-9) + env(safe-area-inset-bottom)); font-size: var(--text-small); line-height: 1.7; }
.ft a { color: rgb(255 255 255 / 0.88); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ft a:hover { color: var(--snow-0); text-decoration: underline; } }
.ft__top { display: grid; gap: var(--space-4); }
@media (min-width: 64rem) { .ft__top { grid-template-columns: 1fr auto; align-items: end; } }
.ft .ft__brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--snow-0); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.ft__brand img { width: 2.25rem; }
.ft__desc { margin-top: var(--space-2); }
.ft__big { font-family: var(--font-serif); font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); line-height: 1; color: rgb(255 255 255 / 0.9); letter-spacing: -0.01em; }
.ft__cols { display: grid; gap: var(--space-6); margin-top: var(--space-8); padding-top: var(--space-7); border-top: 1px solid rgb(255 255 255 / 0.1); }
@media (min-width: 48rem) { .ft__cols { grid-template-columns: 1.1fr 1.2fr 1fr; } }
.ft__h { margin-bottom: var(--space-3); color: rgb(255 255 255 / 0.55); font-size: 0.6875rem; font-weight: var(--weight-semibold); letter-spacing: 0.2em; text-transform: uppercase; }
.ft__list { display: grid; gap: var(--space-1); }
.ft__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1) var(--space-4); }
.ft__bottom { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.1); font-size: var(--text-caption); }

/* ── 떠 있는 상담 버튼 (시그너리처럼 오른쪽 아래) ─────────────────────── */
.float { position: fixed; right: max(var(--space-4), env(safe-area-inset-right)); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); z-index: var(--z-bar); display: grid; justify-items: end; gap: var(--space-2); }
@media (min-width: 64rem) { .float { right: var(--space-6); bottom: var(--space-6); } }
.float__btn {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; padding-inline: 0.875rem;
  border: 0; border-radius: var(--radius-pill); text-decoration: none; cursor: pointer;
  font-size: var(--text-caption); font-weight: 800;
  box-shadow: 0 12px 28px -14px rgb(19 32 25 / 0.55);
  transition: transform 0.5s var(--ease-fluid), opacity 0.4s var(--ease-fluid), visibility 0s;
}
.float__btn:active { transform: scale(0.96); }
.float__btn .icon { width: 1.125rem; height: 1.125rem; }
.float__btn--kakao { background: var(--btn-kakao-bg); color: var(--btn-kakao-fg); }
.float__btn--call { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.float__btn--top { width: 2.75rem; padding: 0; justify-content: center; background: var(--color-surface); color: var(--color-heading); box-shadow: inset 0 0 0 1px var(--color-border-soft), 0 12px 28px -18px rgb(19 32 25 / 0.5); }
.float__btn--top.is-away { opacity: 0; visibility: hidden; transform: translateY(0.5rem); transition: opacity var(--duration-exit) ease, transform var(--duration-exit) ease, visibility 0s linear var(--duration-exit); }
html.menu-open .float { display: none; }
@media (min-width: 64rem) { .float__btn { min-height: 3rem; padding-inline: var(--space-4); font-size: var(--text-small); } .float__btn--top { width: 3rem; } }
/* 휴대폰 첫 화면에서는 페이지 안의 상담 버튼과 겹치지 않게 숨겼다가, 조금 내리면 나타나요 */
@media (max-width: 63.98rem) { .float.is-top .float__btn--call, .float.is-top .float__btn--kakao { opacity: 0; visibility: hidden; transform: translateY(0.5rem); transition: opacity var(--duration-exit) ease, transform var(--duration-exit) ease, visibility 0s linear var(--duration-exit); } }

/* ── 알림 (링크 복사 등) ─────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(6rem + env(safe-area-inset-bottom)); z-index: var(--z-toast);
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  background: var(--ink-900); color: var(--snow-0); font-size: var(--text-small); line-height: 1.5; text-align: center;
  opacity: 0; transform: translate(-50%, 0.5rem); pointer-events: none;
  transition: opacity 0.4s var(--ease-fluid), transform 0.4s var(--ease-fluid);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ── 스크롤하면 천천히 나타나기 (동작 줄이기를 켜면 처음부터 보임) ───── */
.rise-on [data-rise] { opacity: 0; transform: translateY(1.75rem); filter: blur(6px); transition: opacity 0.9s var(--ease-fluid), transform 0.9s var(--ease-fluid), filter 0.9s var(--ease-fluid); transition-delay: calc(var(--i, 0) * 80ms); }
.rise-on [data-rise].is-in { opacity: 1; transform: none; filter: none; }

/* ── 홈 첫 방문 안내창 (시즌 오픈 한정가) ──────────────────────────────
   왼쪽 큰 사진 + 오른쪽 혜택. 휴대폰에서는 사진이 위, 혜택이 아래. */
.promo {
  width: min(62rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius-shell); background: transparent; color: var(--color-text); overflow: visible;
}
.promo:focus, .promo__title:focus { outline: none; }
.promo::backdrop { background: rgb(7 17 12 / 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html:has(.promo[open]) { overflow: hidden; }
.promo__card {
  display: grid; max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain;
  border-radius: var(--radius-shell); background: var(--color-surface);
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.55);
}
@media (min-width: 48rem) { .promo__card { grid-template-columns: 0.85fr 1.15fr; overflow: hidden; } }
.promo__photo { position: relative; min-height: 10.5rem; background: var(--pine-950); color: var(--snow-0); }
.promo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.promo__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 36 20 / 0) 25%, rgb(7 36 20 / 0.85) 100%); }
.promo__photo-text { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); z-index: 1; }
.promo__kicker { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.promo__big { margin-top: var(--space-1); font-family: var(--font-serif); font-size: clamp(2rem, 1.6rem + 2.4vw, 4rem); line-height: 0.95; }
.promo__brand { margin-top: var(--space-2); font-size: var(--text-caption); font-weight: 600; color: rgb(255 255 255 / 0.85); }
@media (min-width: 48rem) {
  .promo__photo { min-height: 100%; }
  .promo__photo-text { left: var(--space-7); right: var(--space-7); bottom: var(--space-7); }
  .promo__brand { font-size: var(--text-small); }
}
.promo__body { position: relative; padding: var(--space-5) var(--space-5) var(--space-2); }
@media (min-width: 48rem) { .promo__body { max-height: calc(100dvh - 2rem); overflow: auto; padding: var(--space-8) var(--space-7) var(--space-4); } }
.promo__x {
  position: absolute; top: var(--space-3); right: var(--space-3);
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--color-shell); color: var(--color-heading); cursor: pointer;
}
.promo__x .icon { width: 1.125rem; height: 1.125rem; }
.promo__eyebrow { font-size: var(--text-small); font-weight: 700; color: var(--color-accent-text); }
.promo__title { margin-top: var(--space-1); padding-right: var(--space-7); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.375rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.04em; color: var(--color-heading); }
.promo__mark { background: linear-gradient(transparent 58%, var(--gold-100) 58% 92%, transparent 92%); padding-inline: 0.04em; }
.promo__timer {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  background: var(--color-field); color: var(--color-on-field-muted); font-size: var(--text-caption); font-weight: 600;
}
.promo__timer b { color: var(--gold-400); font-weight: 800; }
.promo__timer .num { color: var(--snow-0); font-weight: 700; letter-spacing: 0.02em; }
.promo__list { margin-top: var(--space-4); border-top: 1px solid var(--color-border-soft); }
.promo__list li { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; padding-block: var(--space-2); border-bottom: 1px solid var(--color-border-soft); }
.promo__badge {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--color-page-alt); box-shadow: inset 0 0 0 1px var(--color-border-soft);
  font-size: var(--text-small); font-weight: 800; color: var(--color-heading);
}
.promo__badge--gold { background: var(--gold-400); box-shadow: none; color: var(--pine-900); }
.promo__list b { display: block; font-size: var(--text-small); font-weight: 700; color: var(--color-heading); line-height: 1.4; }
.promo__list small { display: block; font-size: var(--text-caption); color: var(--color-text-muted); line-height: 1.5; }
.promo__list em { font-style: normal; font-size: var(--text-small); font-weight: 800; color: var(--pine-700); white-space: nowrap; text-align: right; }
@media (min-width: 48rem) { .promo__list li { padding-block: var(--space-4); } .promo__badge { width: 3rem; height: 3rem; } }
.promo__note { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--text-caption); color: var(--color-accent-text); }
.promo__note::before { content: ""; flex: none; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--gold-400); }
.promo__btns { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 48rem) { .promo__list { margin-top: var(--space-5); } .promo__btns { margin-top: var(--space-5); } }
.promo__btns .button { padding-inline: var(--space-4); }
.promo__btns .button:has(.button__dot) { padding-right: 0.375rem; }
.promo__foot { display: flex; justify-content: space-between; margin-top: var(--space-2); }
.promo__foot button { min-height: var(--btn-height-sm); padding: 0; border: 0; background: none; font-size: var(--text-caption); color: var(--color-text-muted); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .promo__foot button:hover { color: var(--color-heading); text-decoration: underline; } }
@media (max-width: 23.5rem) { .promo__btns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .promo[open] .promo__card { animation: promo-in 0.6s var(--ease-fluid) both; }
  .promo[open]::backdrop { animation: promo-fade 0.4s ease both; }
  @keyframes promo-in { from { opacity: 0; transform: translateY(1.5rem) scale(0.98); } }
  @keyframes promo-fade { from { opacity: 0; } }
}
