/* ─────────────────────────────────────────────────────────────────────────
   KLPARTNERS Landing — design tokens & base styles
   Warm cream + ink black + brushed gold. Classical, friendly, trustworthy.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* Surfaces — bright, crisp blue-tinted whites */
  --cream:        #eef2fb;   /* light blue tint (was cream) */
  --cream-2:      #e2e8f6;
  --cream-3:      #cfd8ef;
  --paper:        #ffffff;   /* pure white */
  --ink:          #0e1240;   /* deep indigo near-black */
  --ink-2:        #1a1f55;
  --ink-soft:     #4a5377;
  --ink-mute:     #8089a8;
  --line:         rgba(14,18,64,0.10);
  --line-strong:  rgba(14,18,64,0.20);

  /* Accent — driven by Tweaks (default deep indigo, reference-style) */
  --gold:         #2a3df0;   /* bright primary blue */
  --gold-deep:    #16166b;   /* deep navy (reference theme color) */
  --gold-soft:    #d6def9;   /* soft pastel blue */

  /* Typography */
  --f-serif:  "Noto Serif KR", "Cormorant Garamond", "Nanum Myeongjo", serif;
  --f-sans:   "Noto Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-display:"Cormorant Garamond", "Noto Serif KR", serif;
  --f-mono:   "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 140px);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-tight { padding-top: clamp(48px,6vw,90px); padding-bottom: clamp(48px,6vw,90px); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-deep);
}

.h-display {
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h-section {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 620px;
  text-wrap: pretty;
}

/* ─── Section header ─── */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 760px;
}
.section-head .eyebrow { margin-bottom: 4px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
}
.btn-primary {
  background: var(--gold-deep);
  color: var(--paper);
  border-color: var(--gold-deep);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(42,61,240,0.25); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--cream-2); border-color: var(--ink); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--paper); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── Brand logo (header / footer / mobile menu) ─── */
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(3200%) hue-rotate(222deg) brightness(96%) contrast(96%);
}

/* ─── Site header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  padding-top: env(safe-area-inset-top, 0);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(14, 18, 64, 0.06);
}
.site-header:not(.is-scrolled) .site-header__brand-text .en,
.site-header:not(.is-scrolled) .site-header__brand-text .kr,
.site-header:not(.is-scrolled) .site-header__nav a,
.site-header:not(.is-scrolled) .site-header__phone {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.35);
}
.site-header:not(.is-scrolled) .site-header__nav a:hover,
.site-header:not(.is-scrolled) .site-header__phone:hover {
  color: rgba(255, 255, 255, 0.88);
}
.site-header:not(.is-scrolled) .site-header__inner .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.site-header.is-scrolled .site-header__inner .brand-logo {
  filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(3200%) hue-rotate(222deg) brightness(96%) contrast(96%);
}
.site-header:not(.is-scrolled) .site-header__burger {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.site-header:not(.is-scrolled) .site-header__burger span {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.site-header:not(.is-scrolled) .site-header__cta-btn {
  background: #fff;
  color: var(--gold-deep);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.site-header:not(.is-scrolled) .site-header__cta-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
  min-height: 60px;
  box-sizing: border-box;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-header__brand-text .en {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.site-header__brand-text .kr {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 2px;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-header__nav a {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-header__nav a:hover { color: var(--ink); }
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-header__phone {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--gold-deep); }
.site-header__cta-btn {
  padding: 10px 18px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: var(--cream);
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;
}
.site-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}
.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .site-header__phone { display: none; }
}
@media (max-width: 880px) {
  .site-header__brand-text { display: none; }
  .site-header__brand .brand-logo { width: 40px; height: 40px; }
  .site-header__nav,
  .site-header__actions { display: none; }
  .site-header__burger { display: flex; }
}
@media (min-width: 881px) {
  .site-mobile-menu { display: none !important; }
}

/* ─── Mobile menu (header 밖 별도 레이어) ─── */
.site-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
.site-mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
.site-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(14, 18, 64, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.site-mobile-menu.is-open .site-mobile-menu__backdrop {
  opacity: 1;
}
.site-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 86vw);
  background: var(--paper);
  box-shadow: -10px 0 40px rgba(14, 18, 64, 0.18);
  display: flex;
  flex-direction: column;
  padding:
    calc(12px + env(safe-area-inset-top, 0))
    20px
    calc(20px + env(safe-area-inset-bottom, 0));
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform;
}
.site-mobile-menu.is-open .site-mobile-menu__panel {
  transform: translateX(0);
}
.site-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.site-mobile-menu__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.site-mobile-menu__close {
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.site-mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0;
}
.site-mobile-menu__nav a {
  display: block;
  width: 100%;
  max-width: 240px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.site-mobile-menu__nav a:hover,
.site-mobile-menu__nav a:active {
  background: var(--cream);
  color: var(--gold-deep);
}
.site-mobile-menu__cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  flex-shrink: 0;
}
.site-mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.site-mobile-menu__footer .brand-logo {
  width: 56px;
  height: 56px;
}
.site-mobile-menu__footer .en {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.site-mobile-menu__footer .kr {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

body.is-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(80px, 9vw, 140px);
  overflow: hidden;
  background: var(--paper);
  min-height: min(100vh, 920px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero .container { position: relative; z-index: 1; }

/* Hero typography — white + multi shadow for clarity on photo */
.hero-copy {
  --hero-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.65),
    0 4px 18px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.hero-copy .h-display,
.hero-copy .hero-h1,
.hero-copy .lede,
.hero-copy .hero-badge,
.hero-copy .hero-meta-item .num,
.hero-copy .hero-meta-item .label,
.hero-copy .hero-meta-item .num-suffix {
  text-shadow: var(--hero-shadow);
}
.hero-copy .h-display,
.hero-copy .hero-h1 {
  color: #fff;
}
.hero-action-block {
  margin-top: 28px;
  max-width: 640px;
}
.hero-grid.stacked .hero-action-block {
  margin-left: auto;
  margin-right: auto;
}
.hero-copy .hero-lede {
  margin: 0 0 0;
  color: #fff;
  font-size: clamp(17px, 1.55vw, 19px);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.75),
    0 6px 28px rgba(0, 0, 0, 0.5);
}
.hero-action-block .hero-cta-row {
  margin-top: 36px;
  gap: 14px;
}
.hero-copy .typewriter-caret {
  background: #fff;
  box-shadow: var(--hero-shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero-grid.stacked { grid-template-columns: 1fr; text-align: center; max-width: 880px; margin: 0 auto; }
.hero-grid.stacked .hero-art { display: none; }
.hero-grid.stacked .hero-cta-row { justify-content: center; }
.hero-grid.stacked .lede { margin-left: auto; margin-right: auto; }
.hero-grid.stacked .hero-meta { justify-content: center; }
.hero-grid.stacked .hero-eyebrow-wrap { justify-content: center; }
.hero-grid.stacked .hero-badge { margin-left: auto; margin-right: auto; }

.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-grid.stacked .hero-eyebrow-wrap,
.hero-grid.centered .hero-eyebrow-wrap {
  justify-content: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 500;
}
.hero h1 .accent {
  color: #fff;
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 500;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--gold);
  box-shadow: 0 2px 12px rgba(42, 61, 240, 0.55);
  z-index: -1;
  border-radius: 2px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 120px;
}
.hero-meta-item .num {
  font-family: var(--f-display);
  font-size: clamp(44px, 8vw, 56px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.hero-meta-item .num-suffix {
  font-size: 0.42em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 2px;
}
.hero-meta-item .label {
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.hero .hero-btn-primary {
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 700;
  background: #fff;
  color: var(--gold-deep);
  border: 2px solid #fff;
  text-shadow: none;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.2);
}
.hero .hero-btn-primary:hover {
  background: #f0f3ff;
  border-color: #f0f3ff;
  color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hero .hero-btn-primary .arrow {
  font-weight: 700;
}
.hero .hero-btn-secondary {
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.92);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.hero .hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Hero art (right column) */
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-2);
}
.hero-art .stock {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, var(--cream-3) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .stock-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(251,249,244,0.7);
  border-radius: 4px;
}
.hero-art-floating {
  position: absolute;
  background: var(--paper);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 20px 50px rgba(26,24,21,0.12), 0 0 0 1px var(--line);
}
.hero-art-floating.fl-1 {
  bottom: 20px; left: -20px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-art-floating.fl-2 {
  top: 30px; right: -20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-art-floating .ic {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero { padding-top: clamp(100px, 18vw, 140px); min-height: min(100svh, 800px); }
  .hero h1 { font-size: clamp(32px, 8.5vw, 48px); line-height: 1.2; }
  .hero-action-block { max-width: 100%; }
  .hero-copy .hero-lede { font-size: 16px; line-height: 1.82; }
  .hero-action-block .hero-cta-row {
    justify-content: center;
    flex-direction: column;
  }
  .hero-action-block .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
    margin-top: 40px;
    padding-top: 28px;
  }
  .hero-meta-item { min-width: 0; }
  .hero-meta-item .num { font-size: clamp(36px, 10vw, 48px); }
  .hero-meta-item .label { font-size: 12px; line-height: 1.4; }
  .hero-h1 { min-height: 3.2em; }
}

/* Hero variant: centered */
.hero-grid.centered {
  grid-template-columns: 1fr;
  text-align: left;
  max-width: 980px;
}
.hero-grid.centered .hero-art {
  margin-top: 60px;
  aspect-ratio: 21/9;
  border-radius: 8px;
}
.hero-grid.centered .hero-art-floating { display: none; }

/* ─── Section photo backgrounds (흰 오버레이 없음 · 선명) ─── */
.section--photo {
  position: relative;
  overflow: hidden;
  background-color: #0e1240;
}
.section--photo > .container {
  position: relative;
  z-index: 1;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--section-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: none;
}
.services.section--photo {
  --section-photo: url('assets/bg-services.jpg');
}
.funds.section--photo {
  --section-photo: url('assets/bg-funds.jpg');
}
.contact.section--photo {
  --section-photo: url('assets/bg-contact.jpg');
}

/* 배경 위 섹션 타이틀 — 흰 카드 패널 (3·4섹션 등, 사진은 그대로 선명) */
.section--photo .section-head {
  background: var(--paper);
  padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(14, 18, 64, 0.28);
  max-width: min(760px, 100%);
  margin-bottom: clamp(28px, 5vw, 44px);
}
.section--photo .section-head .eyebrow {
  color: var(--gold-deep);
  text-shadow: none;
}
.section--photo .section-head .eyebrow::before {
  background: var(--gold-deep);
}
.section--photo .section-head .h-section {
  color: var(--ink);
  text-shadow: none;
}
.section--photo .section-head .lede {
  color: var(--ink-soft);
  text-shadow: none;
  max-width: 100%;
}

/* ─── About / Strengths (2섹션 · 흰 배경) ─── */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about-grid .lede { font-size: 17px; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}
.strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 36px;
  border: 1px solid var(--line);
}
.strength {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease;
}
.strength:hover { background: var(--cream); }
.strength-num {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  font-weight: 600;
}
.strength h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.strength p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .strengths { grid-template-columns: 1fr; }
}

/* ─── Services ─── */
.services {
  background: transparent;
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(14, 18, 64, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,24,21,0.07);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--cream) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-deep);
}
.service-card h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.service-card .desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}
.service-card .features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card .features li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.service-card .features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}
.service-card .more {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── Funds list ─── */
.funds { background: transparent; }
.funds-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
}
.fund-row {
  background: var(--paper);
  padding: 22px 26px;
  box-shadow: 0 4px 20px rgba(14, 18, 64, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  transition: background 0.2s ease;
}
.fund-row:hover { background: var(--cream); }
.fund-row .tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
  white-space: nowrap;
}
.fund-row .name {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.fund-row .name .sub {
  display: block;
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  font-weight: 400;
}
.fund-row .amt {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .funds-wrap { grid-template-columns: 1fr; }
  .fund-row { grid-template-columns: 1fr; gap: 6px; }
  .fund-row .amt { font-size: 16px; }
}

/* ─── Process ─── */
.process {
  background: linear-gradient(180deg, #16166b 0%, #0e1240 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.process::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(42,61,240,0.25) 0%, transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(214,222,249,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.process > * { position: relative; z-index: 1; }
.process .h-section, .process .eyebrow { color: var(--paper); }
.process .eyebrow { color: var(--gold-soft); }
.process .eyebrow::before { background: var(--gold-soft); }
.process .lede { color: rgba(255, 255, 255, 0.75); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(214,222,249,0.55) 0 6px, transparent 6px 12px);
  opacity: 0.7;
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process-step .num-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214,222,249,0.45);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.process-step h4 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}
.process-step .step-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ─── Stats ─── */
.stats {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stat .value {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat .value .unit {
  font-size: 0.4em;
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0;
}
.stat .note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ─── Testimonials (실제 후기 느낌 + 자동 슬라이드) ─── */
.testimonials {
  background: var(--cream);
  overflow: hidden;
}
.testimonials-slider {
  margin-top: 8px;
}
.testimonials-slider__hint {
  display: none;
}
.testimonials-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 8px 0 20px;
  width: 100%;
  max-width: 100%;
}
.testimonials-slider__viewport::-webkit-scrollbar { display: none; }
.testimonials-slider__track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.testimonial-card {
  flex: 0 0 360px;
  max-width: 380px;
  scroll-snap-align: start;
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(14, 18, 64, 0.08);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 2px 8px rgba(14, 18, 64, 0.04),
    0 12px 28px rgba(14, 18, 64, 0.06);
  position: relative;
}
.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-stars {
  display: inline-flex;
  gap: 1px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.review-stars .on { color: #f5b301; }
.review-stars .off { color: #e2e6ef; }
.testimonial-card__date {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.testimonial-card__badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold-deep);
  background: rgba(42, 61, 240, 0.08);
  border: 1px solid rgba(42, 61, 240, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: -0.02em;
}
.testimonial-card__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  color: var(--ink-mute);
  background: var(--cream);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid var(--line);
}
.testimonial-card__body {
  margin: 4px 0 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.02em;
  word-break: keep-all;
  text-wrap: pretty;
}
.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8ecf8 0%, #d6def9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.testimonial-card__who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.3;
}
.testimonial-card__who .name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-card__who .role {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.45;
}
.testimonials-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.testimonials-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--cream-3);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.testimonials-slider__dot.is-active {
  background: var(--gold-deep);
  transform: scale(1.15);
}
.testimonials-slider__dot:hover { background: var(--gold); }

@media (min-width: 640px) {
  .testimonial-card {
    flex: 0 0 min(340px, 42vw);
  }
}
@media (min-width: 981px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: 380px;
  }
  .testimonials-slider__viewport {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ─── FAQ ─── */
.faq { background: var(--cream); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 26px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q .q-mark {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-deep);
  flex-shrink: 0;
  font-style: italic;
}
.faq-q .q-text { flex: 1; }
.faq-q .toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink-soft);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .toggle {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-left: 46px;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding-bottom: 26px;
}
.faq-a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ─── Contact ─── */
.contact {
  background: transparent;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-grid > * {
  min-width: 0;
}
.contact-info { padding-top: 8px; }
.contact-info .h-section { font-size: clamp(28px, 3.4vw, 44px); }

/* 상담 — 연락처 안내: 흰 카드로 배경 위에서 선명하게 */
.section--photo .contact-info {
  background: var(--paper);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(14, 18, 64, 0.25);
  text-align: left;
}
.section--photo .contact-info .eyebrow {
  color: var(--gold-deep);
  text-shadow: none;
}
.section--photo .contact-info .eyebrow::before {
  background: var(--gold-deep);
}
.section--photo .contact-info .h-section {
  color: var(--ink);
  text-shadow: none;
}
.section--photo .contact-info .lede {
  color: var(--ink-soft);
  text-shadow: none;
}
.section--photo .contact-info-item {
  border-bottom-color: var(--line);
}
.section--photo .contact-info-item .k {
  color: var(--ink-mute);
  text-shadow: none;
}
.section--photo .contact-info-item .v {
  color: var(--ink);
  text-shadow: none;
}
.section--photo .contact-info-item .v a {
  color: var(--gold-deep);
  font-weight: 500;
  text-shadow: none;
}
.section--photo .contact-info-item .v a:hover {
  color: var(--gold);
}
.section--photo .contact-info-item .v .small {
  color: var(--ink-soft);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}
.contact-info-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-info-item .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 4px;
}
.contact-info-item .v {
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-info-item .v .small {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 400;
}

.contact-form {
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(14, 18, 64, 0.2);
}
.section--photo .funds-wrap {
  box-shadow: 0 12px 40px rgba(14, 18, 64, 0.2);
}
.contact-form .form-title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.contact-form .form-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.contact-form .form-field {
  margin-bottom: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  appearance: none;
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--f-sans);
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(42,61,240,0.16);
}
.form-consent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 22px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
  min-width: 0;
}
.form-consent > span {
  min-width: 0;
  overflow-wrap: break-word;
}
.form-consent input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gold-deep);
}
.form-consent strong {
  color: var(--ink);
  font-weight: 600;
}
.form-consent-detail {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.form-consent a {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--gold-deep);
}
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold-deep);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}
.form-submit:hover { background: var(--gold); box-shadow: 0 8px 20px rgba(42,61,240,0.28); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer / Map ─── */
.footer {
  background: linear-gradient(180deg, #0e1240 0%, #050720 100%);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: 40px;
}
.footer-top {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(251, 249, 244, 0.1);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.footer-brand .footer-logo img { width: 48px; height: 48px; opacity: 0.95; }
.footer-brand .footer-logo .en {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.footer-brand .footer-logo .kr {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(251,249,244,0.5);
  display: block;
  margin-top: 4px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  color: rgba(251,249,244,0.6);
}
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(251,249,244,0.4);
}
.footer-contact {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(251, 249, 244, 0.55);
}
.footer-contact span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  line-height: 1.6;
}
.footer-contact strong {
  color: var(--gold-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
  min-width: 4.5em;
}
.footer-contact a {
  color: rgba(251, 249, 244, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact a:hover { color: var(--gold-soft); }

.footer-business {
  padding: 40px 0 48px;
  border-bottom: 1px solid rgba(251, 249, 244, 0.1);
}
.footer-business-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin: 0 0 24px;
}
.footer-biz-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  margin: 0;
}
.footer-biz-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 16px;
  align-items: start;
}
.footer-biz-row--wide {
  grid-column: 1 / -1;
}
.footer-biz-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(251, 249, 244, 0.45);
  letter-spacing: 0.02em;
}
.footer-biz-row dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(251, 249, 244, 0.78);
  word-break: keep-all;
}
.footer-biz-row dd a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-biz-row dd a:hover { color: var(--paper); }

.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal a:hover { color: var(--gold-soft); }
.footer-bottom-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}
.footer-bottom-biz {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(251, 249, 244, 0.38);
}


.contact-info-item .v a {
  color: var(--gold-deep);
  font-weight: 500;
  text-decoration: none;
}
.contact-info-item .v a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .footer-biz-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-biz-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(251, 249, 244, 0.06);
  }
  .footer-biz-row:last-child { border-bottom: none; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Misc animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Reveal (scroll-triggered) ───────────────────────────── */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.75s cubic-bezier(.22,.7,.2,1),
    transform 0.85s cubic-bezier(.22,.7,.2,1);
}
.reveal-up    { transform: translate3d(0, 44px, 0); }
.reveal-down  { transform: translate3d(0, -32px, 0); }
.reveal-left  { transform: translate3d(-56px, 0, 0); }
.reveal-right { transform: translate3d(56px, 0, 0); }
.reveal-scale { transform: scale(.94); }
.reveal-fade  { transform: none; }

.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .typewriter-caret { display: none !important; }
  .hero {
    background:
      radial-gradient(1200px 600px at 80% -10%, var(--cream-2) 0%, transparent 60%),
      radial-gradient(800px 500px at -10% 100%, var(--cream) 0%, transparent 65%),
      var(--paper);
  }
}

/* ─── Typewriter caret ────────────────────────────────────── */
.hero-h1 { min-height: 3.6em; }   /* reserve vertical space so layout doesn't pop */

.typewriter-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.9em;
  background: var(--gold-deep);
  margin-left: 0.06em;
  vertical-align: -0.08em;
  border-radius: 1px;
  animation: tw-blink 0.85s steps(1) infinite;
}
@keyframes tw-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ─── Floating actions ─── */
.float-bar {
  display: none;
}

.float-fab {
  display: none;
}

@media (max-width: 880px) {
  .float-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(14, 18, 64, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  body:not(.is-menu-open) {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
  }

  body.is-menu-open .float-bar {
    display: none;
  }

  .float-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    transition: background 0.2s, color 0.2s;
  }

  .float-bar__btn--phone {
    background: var(--gold-deep);
    color: var(--paper);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .float-bar__btn--phone:active {
    background: var(--gold);
  }

  .float-bar__btn--contact {
    background: var(--paper);
    color: var(--gold-deep);
  }

  .float-bar__btn--contact:active {
    background: var(--cream);
  }

  .float-fab {
    display: none !important;
  }
}

@media (min-width: 881px) {
  .float-bar {
    display: none !important;
  }

  .float-fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1050;
  }

  .float-fab__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--paper);
    background: var(--gold-deep);
    box-shadow: 0 6px 20px rgba(22, 22, 107, 0.28);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s, opacity 0.25s, visibility 0.25s;
  }

  .float-fab__btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(42, 61, 240, 0.32);
  }

  .float-fab__btn--top {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line-strong);
    box-shadow: 0 4px 16px rgba(14, 18, 64, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
  }

  .float-fab__btn--top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .float-fab__btn--top:hover {
    background: var(--cream);
    color: var(--gold-deep);
  }

  .float-fab__btn--contact {
    background: var(--gold);
    color: var(--paper);
  }

  .float-fab__btn--contact:hover {
    background: var(--gold-deep);
  }
}

/* placeholder image utility */
.stock-img {
  background:
    repeating-linear-gradient(45deg, var(--cream-2) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  position: relative;
}
.stock-img-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(251,249,244,0.7);
  border-radius: 4px;
}
