:root {
  --ink: #1A1410;
  --ink-mid: #2C2520;
  --ink-soft: #5C4E44;
  --rust: #C2460A;
  --rust-deep: #9A380A;
  --rust-light: #E05C1A;
  --paper: #F5F0E8;
  --paper-mid: #EDE7DA;
  --paper-dark: #E0D8CC;
  --white: #FAFAF7;
  --border: #C8BFB0;
  --border-dark: #1A1410;

  --f-sans: 'Pretendard', 'Noto Sans KR', sans-serif;

  --fs-display: clamp(3.4rem, 9vw, 7.5rem);
  --fs-h1: clamp(2.6rem, 5.6vw, 5rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.35rem);
  --fs-body: clamp(0.92rem, 1.3vw, 1rem);
  --fs-small: 0.83rem;
  --fs-label: 0.75rem;

  --sp: clamp(64px, 8vw, 112px);
  --sp-sm: clamp(44px, 6vw, 76px);
  --max-w: 1200px;
  --col: clamp(16px, 4vw, 48px);

  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 480px) {
  :root {
    --fs-display: clamp(2.7rem, 13vw, 4rem);
    --fs-h1: clamp(2rem, 8vw, 2.8rem);
    --fs-h2: clamp(1.4rem, 5vw, 1.9rem);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.85rem; white-space: normal; }
thead th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); background: var(--paper-mid); }
tbody th { font-weight: 700; color: var(--ink); background: var(--paper-mid); white-space: nowrap; }
td { color: var(--ink-soft); }
tr:last-child td, tr:last-child th { border-bottom: none; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.04em; }

.scroll-table { overflow-x: auto; border: 1px solid var(--border); }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--col); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--rust); z-index: 9999; }

.label-tag {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  padding-left: 20px;
  position: relative;
}
.label-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px; background: var(--rust);
}
.label-tag--light { color: var(--paper-mid); }
.label-tag--light::before { background: var(--paper-mid); }

/* header / nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--paper); border-bottom: 1px solid var(--border);
  transition: border-color var(--t);
}
.site-header.scrolled { border-bottom-color: var(--ink); }
.nav-inner {
  display: flex; align-items: center; padding: 16px var(--col);
  max-width: calc(var(--max-w) + var(--col) * 2); margin: 0 auto; gap: 40px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.logo-sub { font-size: 0.7rem; font-weight: 500; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; transition: color var(--t); }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-cta {
  margin-left: 8px; background: var(--rust); color: var(--paper);
  padding: 10px 20px; font-weight: 700; font-size: 0.85rem; transition: background var(--t);
}
.main-nav .nav-cta:hover { background: var(--rust-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(280px, 85vw); height: 100dvh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 88px 24px 32px; border-left: 1px solid var(--border);
    transition: right 0.35s cubic-bezier(0.22,1,0.36,1); z-index: 1002; gap: 4px;
  }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav .nav-cta { margin-left: 0; text-align: center; margin-top: 12px; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; background: rgba(26,20,16,0.4);
    opacity: 0; pointer-events: none; transition: opacity var(--t); z-index: 1001;
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
}

/* hero split (main) */
.hero { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 56px; background: var(--paper); }
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px,6vw,80px) var(--col); border-right: 1px solid var(--border);
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--rust); }
.hero-eyebrow-text { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.hero h1 { font-size: var(--fs-display); line-height: 0.97; letter-spacing: -0.05em; margin-bottom: 28px; }
.hero-desc { font-size: 1rem; font-weight: 300; color: var(--ink-soft); line-height: 1.8; max-width: 440px; margin-bottom: 40px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 56px; display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-meta-item { display: block; }
.hero-meta-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px; }
.hero-meta-val { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }
.hero-right-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(245,240,232,0.15) 0%, transparent 30%); pointer-events: none; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { order: -1; height: 56vw; max-height: 480px; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 768px) { .hero-right { height: 52vw; } }
@media (max-width: 480px) { .hero-right { height: 60vw; } }

/* sub hero (detail pages) */
.sub-hero {
  min-height: 56vh; position: relative; display: flex; align-items: flex-end;
  padding-bottom: 56px; padding-top: 56px; overflow: hidden; background: var(--ink);
}
.sub-hero-img { position: absolute; inset: 0; }
.sub-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,11,8,0.92) 0%, rgba(14,11,8,0.5) 50%, rgba(14,11,8,0.2) 100%); }
.sub-hero-content { position: relative; z-index: 2; max-width: calc(var(--max-w) + var(--col) * 2); margin: 0 auto; padding: 0 var(--col); }
.sub-hero h1 { color: var(--paper); font-size: var(--fs-h1); }
.sub-hero p { color: rgba(245,240,232,0.7); font-size: 1rem; margin-top: 12px; max-width: 520px; font-weight: 300; }
.sub-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 768px) { .sub-hero { min-height: 46vh; } .sub-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); } }

/* breadcrumb */
.breadcrumb { background: var(--paper-mid); border-bottom: 1px solid var(--border); padding: 10px 0; margin-top: 56px; }
.breadcrumb .wrap { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--ink-soft); flex-wrap: wrap; }
.breadcrumb a { color: var(--rust); }

/* editorial grid formula */
.egrid { display: grid; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.egrid-cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.egrid--dark { border-left-color: rgba(255,255,255,0.08); border-top-color: rgba(255,255,255,0.08); }
.egrid--dark .egrid-cell { border-right-color: rgba(255,255,255,0.08); border-bottom-color: rgba(255,255,255,0.08); }

.dp-g2 { grid-template-columns: 1fr 1fr; }
.dp-g3 { grid-template-columns: repeat(3,1fr); }
.dp-g4 { grid-template-columns: repeat(4,1fr); }
.dp-g5 { grid-template-columns: repeat(5,1fr); }
.dp-gfill { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }
.dp-stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; align-items: center; }
@media (max-width: 1024px) { .dp-g3, .dp-g4, .dp-g5 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .dp-g2, .dp-g3, .dp-g4, .dp-g5 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-stat3 { grid-template-columns: 1fr; gap: 16px; } }

/* section head util */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.section-head h2 { margin-top: 12px; }
.section-pad { padding-bottom: var(--sp); }

/* services strip marquee */
.service-strip { background: var(--ink); overflow: hidden; white-space: nowrap; }
.service-strip-inner { display: inline-flex; animation: marquee 26s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip-item {
  display: inline-flex; align-items: center; gap: 16px; padding: 14px 32px;
  font-size: var(--fs-small); font-weight: 600; color: rgba(245,240,232,0.55);
  letter-spacing: 0.08em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.08);
}
.strip-item-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rust); }

/* services section (light grid variant — used on main) */
.services-section { background: var(--paper); padding: var(--sp) 0; border-top: 1px solid var(--border); }
.service-item { padding: 36px 26px; transition: background var(--t); }
.service-item:hover { background: var(--paper-mid); }
.service-item-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--rust); margin-bottom: 22px; display: block; }
.service-item h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.service-item p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }

/* cases marquee */
.cases-section { background: var(--ink); padding: var(--sp) 0; overflow: hidden; }
.cases-marquee-wrap {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.cases-marquee-wrap:hover .cases-marquee-track { animation-play-state: paused; }
.cases-marquee-track { display: flex; gap: 2px; width: max-content; animation: cases-scroll 34s linear infinite; }
@keyframes cases-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.case-card { width: 320px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); background: var(--ink-mid); transition: border-color var(--t); overflow: hidden; pointer-events: none; }
.case-card:hover { border-color: var(--rust); }
.case-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--t-slow); }
.case-card:hover .case-img img { transform: scale(1.04); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; gap: 1px; background: var(--border); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; bottom: 6px; left: 6px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; padding: 2px 8px; text-transform: uppercase; }
.ba-label.before { background: var(--ink); color: var(--paper); }
.ba-label.after { background: var(--rust); color: #fff; }
.case-body { padding: 18px 20px 22px; }
.case-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--rust); margin-bottom: 8px; }
.case-title { font-size: 0.95rem; font-weight: 800; color: var(--paper); margin-bottom: 6px; letter-spacing: -0.02em; }
.case-desc { font-size: 0.8rem; color: rgba(245,240,232,0.55); line-height: 1.6; }

/* static cases grid (subpages) */
.cases-grid-section { background: var(--paper); padding: var(--sp) 0; border-top: 1px solid var(--border); }
.case-card-light { background: var(--white); overflow: hidden; }
.case-card-light .case-title { color: var(--ink); }
.case-card-light .case-desc { color: var(--ink-soft); }
.case-card-light:hover { background: var(--paper-mid); }

/* process steps */
.process-section { background: var(--paper); padding: var(--sp) 0; border-top: 1px solid var(--border); }
.process-steps { margin-top: 56px; }
.process-step { padding: 30px 22px; position: relative; }
.process-step-num { font-size: clamp(2.2rem,4vw,3.6rem); font-weight: 900; letter-spacing: -0.06em; color: var(--paper-dark); line-height: 1; margin-bottom: 18px; display: block; }
.process-step h3 { font-size: 0.9rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.process-step p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.65; }

/* features band */
.features-band { background: var(--ink); }
.feature-item { padding: 34px 26px; display: flex; flex-direction: column; gap: 8px; }
.feature-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.feature-value { font-size: 1.02rem; font-weight: 900; color: var(--paper); letter-spacing: -0.02em; }

/* nseo grid */
.nseo-section { background: var(--paper-mid); padding: var(--sp) 0; border-top: 1px solid var(--border); }
.nseo-card { display: block; background: var(--white); transition: background var(--t); overflow: hidden; }
.nseo-card:hover { background: var(--paper); }
.nseo-card-img { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--border); }
.nseo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--t-slow); }
.nseo-card:hover .nseo-card-img img { transform: scale(1.04); }
.nseo-card-body { padding: 18px 20px; }
.nseo-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; display: block; }
.nseo-badge.current { color: var(--rust); }
.nseo-card h3 { font-size: 0.95rem; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nseo-card p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nseo-card-arrow { margin-top: 14px; font-size: 0.78rem; font-weight: 700; color: var(--rust); display: block; }
.nseo-card-more { background: var(--ink); display: flex !important; align-items: center; padding: 20px; gap: 16px; }
.nseo-card-more:hover { background: var(--ink-mid); }
.nseo-card-more-icon { width: 46px; height: 46px; border: 1px solid rgba(245,240,232,0.2); display: flex; align-items: center; justify-content: center; color: rgba(245,240,232,0.5); flex-shrink: 0; transition: border-color var(--t), color var(--t); }
.nseo-card-more:hover .nseo-card-more-icon { border-color: var(--rust); color: var(--rust); }
.nseo-card-more-text h3 { color: var(--paper); }
.nseo-card-more-text p { color: rgba(245,240,232,0.55); -webkit-line-clamp: 1; }

/* CTA section (rust variant — deliberate variation from ink-mid baseline) */
.cta-section { background: var(--rust); padding: var(--sp) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.cta-label { color: var(--ink); margin-bottom: 16px; }
.cta-label::before { background: var(--ink); }
.cta-section h2 { font-size: clamp(1.9rem,4vw,3rem); color: var(--paper); margin-bottom: 16px; }
.cta-desc { font-size: 0.95rem; color: rgba(245,240,232,0.85); font-weight: 300; line-height: 1.8; max-width: 460px; }
.cta-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cta-badge { font-size: 0.78rem; color: rgba(245,240,232,0.8); display: flex; align-items: center; gap: 8px; }
.cta-badge::before { content: '—'; color: var(--ink); }
@media (max-width: 1024px) { .cta-inner { grid-template-columns: 1fr; } }

/* faq */
.faq-section { background: var(--paper); padding: var(--sp) 0; border-top: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
@media (max-width: 768px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 0; gap: 16px; font-size: 0.95rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; width: 22px; height: 22px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--t); font-weight: 400; }
.faq-item[open] summary::after { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; }
.faq-answer p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.75; }

/* buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); padding: 14px 28px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.03em; transition: background var(--t); }
.btn-primary:hover { background: var(--rust); }
.btn-ghost { color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color var(--t), border-color var(--t); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-outline-dark { border: 1.5px solid var(--paper); color: var(--paper); padding: 12px 24px; font-size: 0.88rem; font-weight: 600; transition: background var(--t), color var(--t); }
.btn-outline-dark:hover { background: var(--paper); color: var(--ink); }
.btn-rust { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); padding: 14px 28px; font-size: 0.9rem; font-weight: 700; transition: background var(--t); }
.btn-rust:hover { background: var(--rust-deep); }

/* floating + sticky */
.floating-btns { position: fixed; bottom: 28px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; transition: bottom 0.25s ease; }
.floating-consult { display: flex; align-items: center; gap: 10px; background: var(--rust); color: var(--paper); padding: 12px 18px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 4px 20px rgba(194,70,10,0.35); position: relative; }
.floating-consult:hover { background: var(--rust-deep); transform: translateY(-2px); }
.pulse-ring { position: absolute; inset: -3px; border: 1.5px solid rgba(194,70,10,0.4); animation: pulse-ring 3s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.06); opacity: 0; } }
.floating-top { display: none; width: 40px; height: 40px; background: var(--ink); color: var(--paper); align-items: center; justify-content: center; }
.floating-top.visible { display: flex; }

.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.sticky-tel, .sticky-sms { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; min-height: 54px; font-size: 0.85rem; font-weight: 700; }
.sticky-tel { background: var(--ink); color: var(--paper); }
.sticky-sms { background: var(--rust); color: var(--paper); }
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  #float-cta { display: none; }
}
@media (min-width: 769px) {
  #mob-bar { display: none !important; }
}
.sticky-active .floating-btns { bottom: 70px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal-left { opacity: 0; transform: translateX(-20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal-right { opacity: 0; transform: translateX(20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .service-strip-inner, .cases-marquee-track { animation: none; }
}

/* footer */
.footer-region-links { background: var(--paper-mid); border-top: 1px solid var(--border); padding: 28px 0; }
.footer-region-links .wrap { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.footer-region-links a { font-size: 0.78rem; color: var(--ink-soft); padding: 6px 12px; border: 1px solid var(--border); background: var(--white); transition: all var(--t); }
.footer-region-links a:hover { color: var(--ink); border-color: var(--ink); }
.footer-region-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); margin-right: 6px; }

.site-footer { background: #0E0B08; color: rgba(245,240,232,0.5); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { color: var(--paper); }
.footer-brand p { font-size: 0.82rem; margin-top: 12px; max-width: 320px; line-height: 1.7; }
.footer-nav h4, .footer-contact h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-bottom: 16px; }
.footer-nav a { display: block; font-size: 0.85rem; padding: 6px 0; transition: color var(--t); }
.footer-nav a:hover { color: var(--paper); }
.footer-contact p { font-size: 0.82rem; line-height: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.75rem; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }

/* consult page */
.consult-hero { background: var(--ink); padding: 120px 0 60px; }
.consult-hero h1 { color: var(--paper); }
.consult-hero p { color: rgba(245,240,232,0.7); margin-top: 12px; font-weight: 300; }
.consult-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; max-width: 640px; margin: 48px auto 0; }
.consult-card { background: var(--white); border: 1px solid var(--border); padding: 36px 32px; text-align: center; transition: all var(--t); }
.consult-card:hover { border-color: var(--rust); background: var(--paper); }
.consult-card.tel-card:hover, .consult-card.sms-card:hover { border-color: var(--rust); }
.consult-card-icon { width: 52px; height: 52px; margin: 0 auto 16px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rust); }
.consult-card h2 { font-size: 1rem; margin-bottom: 8px; }
.consult-card p { font-size: 0.82rem; color: var(--ink-soft); }
.consult-info-box { border: 1px solid var(--border); padding: 28px 32px; background: var(--paper-mid); margin-top: 40px; }
.consult-info-box dl { display: grid; grid-template-columns: 100px 1fr; gap: 10px 16px; font-size: 0.85rem; }
.consult-info-box dt { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 768px) { .consult-cards { grid-template-columns: 1fr; } }

/* sitemap page */
.sitemap-hero { background: var(--ink); padding: 100px 0 48px; }
.sitemap-hero h1 { color: var(--paper); }
.sitemap-group { margin-top: 40px; }
.sitemap-group h2 { font-size: 1.1rem; margin-bottom: 20px; }
.sitemap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px; }
.sitemap-card { background: var(--white); border: 1px solid var(--border); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; transition: background var(--t); }
.sitemap-card:hover { background: var(--paper-mid); }
.sitemap-card span { font-size: 0.7rem; color: var(--rust); font-weight: 700; }

/* generic content blocks used inside detail pages */
.content-section { background: var(--paper); padding: var(--sp-sm) 0; }
.content-section--alt { background: var(--paper-mid); }
.content-section h2 { margin-bottom: 20px; }
.content-section p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 16px; max-width: 760px; }
.content-section ul.dp-list { margin-top: 12px; }
.content-section ul.dp-list li { position: relative; padding-left: 20px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 8px; }
.content-section ul.dp-list li::before { content: '—'; position: absolute; left: 0; color: var(--rust); }

.landmark-band { background: var(--white); border: 1px solid var(--border); padding: 28px 32px; margin-top: 32px; }
.landmark-band h3 { font-size: 0.95rem; margin-bottom: 14px; }
.landmark-list { display: flex; flex-wrap: wrap; gap: 10px; }
.landmark-list li { font-size: 0.8rem; padding: 8px 14px; background: var(--paper-mid); color: var(--ink-soft); border: 1px solid var(--border); }

.timeline { margin-top: 40px; position: relative; }
.timeline-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline-year { font-size: 0.75rem; font-weight: 800; color: var(--rust); min-width: 72px; letter-spacing: 0.05em; }
.timeline-body h3 { font-size: 0.92rem; margin-bottom: 6px; }
.timeline-body p { font-size: 0.85rem; color: var(--ink-soft); }

.card-grid-img { aspect-ratio: 4/3; overflow: hidden; }
.card-grid-img img { width: 100%; height: 100%; object-fit: cover; }
.card-grid-body { padding: 16px 18px 20px; }
.card-grid-body h3 { font-size: 0.9rem; margin-bottom: 6px; }
.card-grid-body p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }

.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge-list li { font-size: 0.75rem; padding: 6px 14px; border: 1px solid var(--border); color: var(--ink-soft); }
