/* ==========================================================================
   떼드영 VIP고객행사 — design tokens (2026-09-28 리디자인: 브리프 §6 팔레트로
   교체. 슬레이트블루 액센트는 "네이비 단독 허용"에 해당 — 오렌지/앰버와
   짝짓지 않음. do not introduce beige/brown/navy+orange/purple)
   ========================================================================== */
:root {
  --dark: #182126;
  --accent: #334C56;
  --base: #FFFFFF;
  --surface: #F4F5F6;
  --text: #182126;
  --muted: #596269;
  --line: #D9DFE2;
  --text-on-light: var(--text);
  --text-on-dark: #ffffff;

  --font-sans: "Noto Sans KR", -apple-system, sans-serif;
  --font-serif: "Noto Serif KR", serif;
  --font-en: "Cormorant", serif;

  --container: 1200px;
  --ve-max: 80rem;
  --ve-gutter: 1.25rem;
  --ve-gap: clamp(1.25rem, 2.3vw, 2.25rem);
  --space-section: clamp(4.5rem, 7vw, 7.5rem);
  --space-section-sm: clamp(3.5rem, 5.5vw, 6rem);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);

  --proc-badge: 48px;
  --proc-badge-radius: 0;
  --proc-line: 2px;

  --sticky-h: 64px;
  color-scheme: only light;
}
@media (min-width: 48rem) { :root { --ve-gutter: 2rem; } }
@media (min-width: 64rem) { :root { --ve-gutter: 3rem; } }

/* ==========================================================================
   Reset / cross-platform baseline
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--text-on-light);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 768px) { body { font-size: 16px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
* { border-radius: 0 !important; box-shadow: none !important; }

body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption {
  word-break: keep-all;
  overflow-wrap: break-word;
}

:where(a, button, [role="button"], summary) { touch-action: manipulation; }
:where(a, button, [role="button"], summary, .btn, nav a, .ft-cluster a) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
}
.breadcrumb a, .breadcrumb span { min-height: auto; min-width: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Typography — "작고 고급스럽게" fixed scale
   ========================================================================== */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; color: var(--text-on-light); line-height: 1.3; margin: 0 0 20px; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.875rem, 5vw, 3.25rem); line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3, .card-title { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); font-weight: 500; }
.hero__hook { font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.4; }
p, li, td, th { font-size: 15px; }
.lead { font-size: 16px; max-width: 34em; color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-family: var(--font-sans); font-weight: 500; margin: 0 0 14px; }
.btn, nav a { font-size: 14px; letter-spacing: 0; }
small, .caption, .meta { font-size: 13px; color: var(--muted); }
@media (max-width: 768px) {
  h1 { font-size: clamp(1.875rem, 8vw, 2.125rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.75rem); }
  h3, .card-title { font-size: 1.125rem; }
  .hero__hook { font-size: clamp(1.375rem, 5vw, 1.625rem); }
  p, li, td, th { font-size: 16px; }
  .lead { font-size: 16px; }
  .btn, nav a { font-size: 15px; }
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */
.container {
  width: calc(100% - 2 * var(--ve-gutter)); max-width: var(--ve-max); margin-inline: auto;
}
.ve-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--ve-gap); align-items: start; }
.ve-grid > * { min-width: 0; }
.ve-span-4 { grid-column: span 4; }
.ve-span-5 { grid-column: span 5; }
.ve-span-7 { grid-column: span 7; }
.ve-span-8 { grid-column: span 8; }
@media (max-width: 63.99rem) { .ve-grid { grid-template-columns: minmax(0, 1fr); } .ve-grid > * { grid-column: auto; } }
.ve-copy { max-width: 34em; }
section { padding-block: var(--space-section-sm); }
.section-lg { padding-block: var(--space-section); }
.dark-section { background: var(--dark); color: var(--text-on-dark); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--text-on-dark); }
.dark-section p, .dark-section li { color: rgba(255,255,255,.78); }

.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .dp-g2, .dp-g3 { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .dp-g3 { grid-template-columns: repeat(2, 1fr); } }

/* module-grid motif (M7) — thin borders, eyebrow labels, module corner marks */
.module-frame { border: 1px solid var(--line); padding: 32px; position: relative; }
.module-frame::before, .module-frame::after {
  content: ''; position: absolute; width: 16px; height: 16px; border-color: var(--accent); border-style: solid;
}
.module-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.module-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.divider-line { border: none; border-top: 1px solid var(--line); margin: 24px 0; }

/* ==========================================================================
   Scroll reveal (2단 안전 계약 — .js 게이트 없으면 항상 노출)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: none; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: var(--base); }
.site-header__inner {
  max-width: var(--ve-max); margin-inline: auto; padding: 18px var(--ve-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hdr-logo { display: flex; flex-direction: column; gap: 2px; }
.hdr-logo__name { font-family: var(--font-en); font-style: italic; font-size: 23px; letter-spacing: .01em; }
.hdr-logo__tagline { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hdr-nav { display: flex; gap: 28px; }
.hdr-nav a { font-size: 13px; color: var(--muted); transition: color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .hdr-nav a:hover { color: var(--text); }
}
.hdr-cta { background: var(--dark); color: #fff; padding: 0 22px; height: 44px; }
.hdr-burger { display: none; flex-direction: column; gap: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hdr-burger span { width: 20px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease), opacity .25s var(--ease); }

@media (max-width: 768px) {
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-burger { display: flex; }
}

.mob-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); height: 100dvh; background: var(--dark);
  transform: translateX(100%); transition: transform .35s var(--ease); z-index: 99;
  display: flex; flex-direction: column; gap: 4px; padding: calc(72px + env(safe-area-inset-top)) 28px 28px;
}
.mob-nav.is-open { transform: translateX(0); }
.mob-nav a { color: var(--text-on-dark); font-size: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mob-nav .btn { margin-top: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  justify-content: center; padding: 0 28px; height: 48px; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { filter: brightness(1.15); }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
  .btn-outline-invert:hover { border-color: #fff; background: rgba(255,255,255,.08); }
}
.btn:active { transform: scale(.98); }

/* ==========================================================================
   Hero — split (4 copy / 8 photo), 브리프 §9-01: 사진 위 카드로 텍스트를
   덮지 않는다. 카피는 독립된 밝은 면.
   ========================================================================== */
.hero-split { background: var(--base); padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-split__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--ve-gap); align-items: center;
  grid-template-areas: "top top top top media media media media media media media media"
                        "bottom bottom bottom bottom media media media media media media media media";
}
.hero-split__top { grid-area: top; display: flex; flex-direction: column; gap: 16px; }
.hero-split__bottom { grid-area: bottom; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.hero-split__top .eyebrow { margin-bottom: 0; }
.hero-split__top h1 { margin: 0; }
.hero__hook { color: var(--accent); margin: 0; }
.hero-split__bottom .lead { margin: 0; }
.hero-split__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-split__media { grid-area: media; margin: 0; }
.hero-split__media figcaption { font-size: 13px; color: var(--muted); padding-top: 12px; }
@media (max-width: 63.99rem) {
  .hero-split__grid { grid-template-columns: 1fr; grid-template-areas: "top" "media" "bottom"; }
  .hero-split__bottom { margin-top: 0; }
}
.js [data-reveal].hero-media-reveal { transform: scale(1.025); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].hero-media-reveal.is-in { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal].hero-media-reveal { transform: none; } }

/* detail page hero (smaller, non-fullbleed) */
.page-hero { position: relative; overflow: hidden; }
.page-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; height: auto; }
.page-hero__caption { position: absolute; left: 24px; bottom: 24px; background: rgba(24,33,38,.82); color: #fff; padding: 16px 22px; max-width: 520px; }
.page-hero__caption h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 0; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb { display: flex; gap: 8px; align-items: center; padding: 20px 0 0; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .breadcrumb a:hover { color: var(--accent); } }
.breadcrumb span[aria-current] { color: var(--text); }
.breadcrumb__sep { color: var(--line); }

/* ==========================================================================
   Detail page components
   ========================================================================== */
.detail-intro { max-width: 42em; }
.detail-figure { margin: 0; }
.detail-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; height: auto; }
.detail-figure figcaption { font-size: 12px; color: var(--muted); padding-top: 8px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .split-grid { grid-template-columns: 1fr; } }
.info-rows { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; margin: 0; }
.info-rows dt, .info-rows dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-rows dt { color: var(--muted); white-space: nowrap; }
.info-rows dd { text-align: right; }
@media (max-width: 480px) { .info-rows dd { text-align: left; } }

.step-list { list-style: none; display: grid; gap: 20px; }
.step-list li { display: flex; gap: 16px; }
.icon-list, .check-list { list-style: none; display: grid; gap: 14px; }
.icon-list li, .check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ''; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px;
  border: 1.5px solid var(--accent);
}

.callout { border-left: 3px solid var(--accent); background: var(--surface); padding: 20px 24px; }
.callout p { margin: 0; }

.compare-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .compare-cards { grid-template-columns: 1fr; } }
.compare-cards > div { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; height: 100%; }

.cost-table-wrap { overflow-x: auto; }
table.cost-table { width: 100%; border-collapse: collapse; min-width: 480px; }
table.cost-table th, table.cost-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
table.cost-table th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* ==========================================================================
   Cards (fixed columns, equal height, stretch)
   ========================================================================== */
.card-grid, .related-grid, .compare-cards, .dp-g2, .dp-g3 { list-style: none; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: 1fr; align-items: stretch; margin: 0; padding: 0; }
@media (min-width: 769px) and (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr; } }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: 1fr; align-items: stretch; margin: 0; padding: 0; }
.related-grid > li { height: 100%; }
.card-grid > li { height: 100%; }
@media (min-width: 769px) and (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-grid--sparse { grid-template-columns: minmax(0, 340px); justify-content: start; }
@media (max-width: 768px) { .related-grid--sparse { grid-template-columns: 1fr; } }

.related-card, .prog-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0; border: 1px solid var(--line);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .related-card:hover, .prog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
}
.related-card__media { aspect-ratio: 4/3; overflow: hidden; }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .related-card:hover .related-card__media img { transform: scale(1.05); } }
.related-card__title { padding: 18px 18px 10px; font-size: 15px; font-weight: 500; }
.related-card__desc { padding: 0 18px 18px; font-size: 12px; color: var(--muted); margin-top: auto; }
.related-card--cta { justify-content: center; align-items: flex-start; padding: 28px 24px; background: var(--dark); color: #fff; }
.related-card--cta .related-card__title { color: #fff; padding: 0 0 12px; }
.related-card--cta .related-card__desc { color: rgba(255,255,255,.75); padding: 0; }

.card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ==========================================================================
   Process timeline — 변형 금지 구역
   ========================================================================== */
.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 0;
  top: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
  left: 50%; width: 100%; height: var(--proc-line); background: var(--line);
}
.proc-num {
  position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge);
  margin: 0 auto 12px; border-radius: var(--proc-badge-radius) !important;
  background: var(--dark); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.proc-step__title { font-size: 15px; font-weight: 500; margin: 0 0 8px; }
.proc-step__desc { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.proc-step__meta { font-size: 12px; color: var(--accent); margin: 0; }
@media (max-width: 1024px) {
  .proc-list { flex-direction: column; gap: 32px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left; }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0; }
  .proc-step:not(:last-child)::after {
    top: var(--proc-badge); left: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
    width: var(--proc-line); height: calc(100% + 32px);
  }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.faq-item__q-wrap, .faq-item__a { background: var(--base); margin: 0; }
.faq-item__q {
  width: 100%; min-height: 52px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-size: 14px; font-weight: 500;
}
.faq-item__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ''; position: absolute; background: var(--text); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 14px; height: 1.5px; }
.faq-item__icon::after { width: 1.5px; height: 14px; transition: transform .25s var(--ease); }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item__a p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

/* ==========================================================================
   CTA banner (5-layer)
   ========================================================================== */
.cta-banner { position: relative; background: var(--dark); color: #fff; padding: var(--space-section-sm) 24px; overflow: hidden; }
.cta-banner:not(.has-bg)::before {
  content: ''; position: absolute; inset: -20% -10%;
  background: repeating-linear-gradient(-38deg, rgba(51,76,86,.16) 0 2px, transparent 2px 64px);
  pointer-events: none;
}
.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-banner__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,33,38,.94) 20%, rgba(24,33,38,.5) 100%); }
.cta-banner__content { position: relative; z-index: 1; max-width: var(--ve-max); margin-inline: auto; }
.cta-banner__eyebrow { color: var(--accent); margin: 0 0 14px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 18px; }
.cta-banner__sub { color: rgba(255,255,255,.78); max-width: 40em; margin: 0 0 32px; }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-banner__actions .btn { min-height: 52px; }
.cta-banner__note { display: block; margin-top: 20px; color: rgba(255,255,255,.55); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stat-row { grid-template-columns: 1fr; } }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--text-on-dark); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ==========================================================================
   Bottom wordmark (decorative, aria-hidden)
   ========================================================================== */
.wordmark-block { overflow: hidden; padding-block: 3rem 0; background: var(--surface); }
.wordmark-block span {
  display: block; font-family: var(--font-en); font-style: italic; white-space: nowrap;
  font-size: clamp(3rem, 14vw, 11rem); line-height: 1;
  color: var(--text); opacity: .08;
}

/* ==========================================================================
   VIP CTA (inline detail-page callouts)
   ========================================================================== */
.vip-cta { background: var(--dark); color: #fff; padding: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.vip-cta h3 { color: #fff; }
.vip-cta-plain { border: 1px solid var(--line); padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface); padding: 64px 0 24px; }
.site-footer .ft-inner {
  max-width: var(--ve-max); margin-inline: auto; padding-inline: var(--ve-gutter);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left;
}
.ft-cluster__title { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-cluster ul li, .ft-cluster ul a { color: var(--muted); font-size: 13px; }
.ft-bottom {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 768px) {
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Sticky bar / floating CTA (safe-area, z-index stack)
   ========================================================================== */
.mob-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--dark);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.mob-bar .btn { width: 100%; }
.float-cta {
  display: none; position: fixed; right: 20px; z-index: 80; background: var(--accent); color: #fff;
  padding: 0 20px; height: 48px; align-items: center; justify-content: center;
  bottom: calc(var(--sticky-h) + 16px + env(safe-area-inset-bottom));
}
@media (max-width: 768px) {
  .mob-bar { display: block; }
  .float-cta { display: none; }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 769px) {
  .float-cta { display: inline-flex; bottom: 24px; }
}

/* ==========================================================================
   Consultation — embedded inquiry form
   ========================================================================== */
.form-embed { border: 1px solid var(--line); background: var(--surface); padding: 4px; }
.form-embed iframe { width: 100%; height: 900px; border: 0; display: block; }
@media (max-width: 768px) { .form-embed iframe { height: 1100px; } }

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-filter__item {
  border: 1px solid var(--line); padding: 0 18px; height: 40px; display: inline-flex; align-items: center;
  font-size: 13px; color: var(--muted); transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.gallery-filter__item.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
@media (hover: hover) and (pointer: fine) {
  .gallery-filter__item:not(.is-active):hover { border-color: var(--accent); color: var(--accent); }
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (min-width: 769px) and (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid__item { margin: 0; }
.gallery-grid__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid__item figcaption { font-size: 11px; color: var(--muted); padding-top: 6px; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-page__eyebrow { font-family: var(--font-en); font-size: 3rem; color: var(--line); margin: 0; }
.error-page__actions { display: flex; gap: 16px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ==========================================================================
   Extra keyframes (animation budget: kenburns + these two)
   ========================================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(51,76,86,.5) !important; }
  100% { box-shadow: 0 0 0 12px rgba(51,76,86,0) !important; }
}
.float-cta { animation: pulseRing 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .float-cta { animation: none; } }
