/* =========================================================
   LEATHER ZEPETO — Premium Shoe Care
   Design system & layout
   ========================================================= */

:root {
  /* ---- palette ---- */
  --ink:          #0E0B09;
  --espresso:     #14100C;
  --espresso-2:   #1C1712;
  --card-dark:    #221B15;
  --coffee:       #2A211A;
  --cream:        #F3EDE3;
  --cream-2:      #ECE3D5;
  --ivory:        #FBF8F2;

  --gold:         #C9A66B;
  --gold-soft:    #B6975D;
  --gold-bright:  #E2CB95;
  --champagne:    #EFE2C4;   /* pale foil highlight */
  --wine:         #5A2A33;   /* oxblood leather-dye accent (used sparingly) */
  --wine-bright:  #7C3B46;

  --t-on-dark:     #EBE3D6;
  --t-on-dark-dim: #A99B86;
  --t-on-light:    #2A221C;
  --t-on-light-dim:#6F6357;

  --line-dark:  rgba(201,166,107,.20);
  --line-light: rgba(42,34,28,.13);

  /* ---- type ---- */
  --f-display: 'Cormorant Garamond', 'Noto Serif KR', serif;                 /* Latin brand & display */
  --f-serif:   'Pretendard Variable', Pretendard, 'Noto Serif KR', serif;    /* Korean display headings */
  --f-body:    'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Noto Sans KR', sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* shared grain texture */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--t-on-light);
  background: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-body); font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 1.15em 2.4em; border-radius: 2px;
  transition: all .5s var(--ease); white-space: nowrap; overflow: hidden;
}
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-sm { padding: .9em 1.6em; font-size: .72rem; }

.btn-gold {
  background: linear-gradient(150deg, var(--gold-bright), var(--gold) 55%, var(--gold-soft));
  color: var(--ink); box-shadow: 0 12px 30px -14px rgba(201,166,107,.5);
}
.btn-gold:hover {
  box-shadow: 0 16px 40px -12px rgba(201,166,107,.65); transform: translateY(-2px);
}

.btn-ghost-light {
  color: var(--t-on-dark); border: 1px solid rgba(235,227,214,.28);
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-bright); }

/* couture outline — hero primary */
.btn-outline {
  color: var(--gold-bright); border: 1px solid rgba(201,166,107,.55); background: transparent;
}
.btn-outline::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(201,166,107,.14), rgba(201,166,107,.04));
  opacity: 0; transition: opacity .5s var(--ease);
}
.btn-outline:hover { border-color: var(--gold); color: var(--champagne); }
.btn-outline:hover::after { opacity: 1; }

.link-more {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  transition: color .35s var(--ease);
}
.link-more.dark { color: var(--t-on-light); }
.link-more.sm { font-size: .74rem; letter-spacing: .1em; }
.link-more .arr { transition: transform .4s var(--ease); }
.link-more:hover { color: var(--gold-soft); }
.link-more.dark:hover { color: var(--gold-soft); }
.link-more:hover .arr { transform: translateX(6px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);   /* anchor the fixed mobile dropdown to the header in all scroll states */
}
.site-header.scrolled {
  background: rgba(14,11,9,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display); font-weight: 600; font-size: 1.42rem;
  letter-spacing: .18em; color: var(--t-on-dark);
}
.brand-sub {
  font-size: .56rem; letter-spacing: .42em; color: var(--gold);
  margin-top: 6px; padding-left: 2px;
}

.main-nav { display: flex; gap: 38px; }
.nav-link {
  position: relative; font-size: .92rem; font-weight: 400; color: var(--t-on-dark);
  letter-spacing: .02em; padding: 4px 0; transition: color .35s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav-link:hover { color: var(--gold-bright); }
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after, .nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--t-on-dark);
  transition: all .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 auto 0; top: 100%;
  background: rgba(14,11,9,.97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 4px; padding: 22px 40px 34px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.m-link { color: var(--t-on-dark); font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid rgba(235,227,214,.08); }
.m-link:hover { color: var(--gold); }
.m-cta { justify-content: center; margin-top: 18px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--ink); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0c0907;
  background-image:
    radial-gradient(130% 90% at 78% 18%, rgba(201,166,107,.22), transparent 46%),
    radial-gradient(120% 120% at 80% 60%, rgba(120,78,40,.32), transparent 55%),
    linear-gradient(100deg, #0c0907 12%, rgba(12,9,7,.55) 50%, rgba(12,9,7,.78) 100%),
    linear-gradient(180deg, rgba(12,9,7,.6), rgba(12,9,7,.2) 30%, rgba(12,9,7,.85)),
    url('../images/hero.jpg');
  background-size: cover; background-position: center, center, center, center, 62% center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13) translateX(-1.5%); } }
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); background-size: 180px; opacity: .05; mix-blend-mode: overlay;
}
.hero::after { /* vignette */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 220px 60px rgba(8,5,3,.9);
}

.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; padding-top: 80px; }
.hero-content { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .95em;
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--t-on-light-dim); font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-gold { color: var(--gold); }

.hero-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: .98; letter-spacing: .04em;
  color: var(--t-on-dark); margin: 22px 0 26px;
  background: linear-gradient(180deg, #F4ECDC 0%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.45; color: var(--t-on-dark);
}
.hero-divider { display: block; width: 56px; height: 1px; background: var(--gold); margin: 30px 0; opacity: .8; }
.hero-desc { font-size: clamp(.95rem, 1.4vw, 1.06rem); color: var(--t-on-dark-dim); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-pager { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hp-num { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .2em; color: var(--t-on-dark-dim); transition: color .4s; }
.hp-num.is-on { color: var(--gold); }
.hp-line { width: 1px; height: 28px; background: linear-gradient(var(--line-dark), transparent); }
.hero-pager .hp-num.is-on + .hp-line { background: linear-gradient(var(--gold), transparent); }

.scroll-cue {
  position: absolute; left: 40px; bottom: 34px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .62rem; letter-spacing: .35em; color: var(--t-on-dark-dim); writing-mode: vertical-rl;
}
.scroll-cue .cue-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.4; transform-origin: top; } 50%{ transform: scaleY(1); opacity:1; transform-origin: top; } }

/* =========================================================
   Sections — shared
   ========================================================= */
.section { position: relative; padding: clamp(80px, 11vh, 140px) 0; }
.section-cream { background: var(--cream); color: var(--t-on-light); }
.section-ivory { background: var(--ivory); color: var(--t-on-light); }
.section-dark  { background: var(--espresso); color: var(--t-on-dark); }
.section-dark::before, .process-sec::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 200px; opacity: .035; mix-blend-mode: overlay;
}

.section-head { margin-bottom: 64px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.section-head.split.end { align-items: flex-end; }
.section-title {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: .01em; color: var(--t-on-light);
  margin-bottom: 14px;
}
.section-title.on-dark { color: var(--t-on-dark); }
.section-title.serif-en { font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; }
.section-note { font-size: .98rem; color: var(--t-on-light-dim); line-height: 1.85; max-width: 360px; text-align: right; }

/* =========================================================
   Feature grid (Special Care)
   ========================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--line-light);
}
.feature {
  padding: 50px 26px 8px; text-align: center; position: relative;
}
.feature + .feature::before {
  content: ''; position: absolute; left: 0; top: 42px; bottom: 8px; width: 1px; background: var(--line-light);
}
.feature-ico {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 26px; color: var(--gold-soft);
}
.feature-ico svg { width: 48px; height: 48px; }
.feature h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.12rem; color: var(--t-on-light); margin-bottom: 12px; }
.feature p { font-size: .88rem; color: var(--t-on-light-dim); line-height: 1.75; }

.vibram-badge {
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--gold-soft); border: 1.5px solid var(--gold-soft); border-radius: 40px;
  padding: 8px 16px; line-height: 1;
}

/* =========================================================
   Before & After
   ========================================================= */
.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.ba-card { }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 1px solid var(--line-dark); padding: 6px; background: rgba(0,0,0,.2); }
.ba-img {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: flex-start;
}
.ba-tag {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  font-size: .56rem; letter-spacing: .2em; font-weight: 600;
  padding: 4px 8px; background: rgba(10,8,6,.6); color: var(--t-on-dark-dim); backdrop-filter: blur(4px);
}
.ba-tag.gold { color: var(--ink); background: var(--gold); }
.ba-img::before { /* studio sheen */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.1), transparent 70%);
  pointer-events: none;
}
.ba-img:not(.after)::after { /* "before" grime */
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(20,14,10,.45), rgba(40,30,20,.2));
  filter: saturate(.7);
  pointer-events: none;
}
.ba-card figcaption { margin-top: 18px; text-align: center; font-family: var(--f-serif); font-size: 1rem; color: var(--t-on-dark); }
.ba-card { transition: transform .5s var(--ease); }
.ba-card:hover { transform: translateY(-6px); }
.ba-card:hover .ba-pair { border-color: var(--gold); }

/* =========================================================
   Lab grid
   ========================================================= */
.lab-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.lab-card { display: flex; flex-direction: column; }
.lab-thumb {
  display: block; aspect-ratio: 4/3; overflow: hidden; position: relative;
  transition: transform .6s var(--ease);
}
.lab-thumb::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-light); }
.lab-card:hover .lab-thumb { transform: scale(1.015); }
.lab-body { padding-top: 22px; }
.lab-body h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.12rem; color: var(--t-on-light); margin-bottom: 12px; line-height: 1.4; }
.lab-body p { font-size: .85rem; color: var(--t-on-light-dim); line-height: 1.7; margin-bottom: 18px; min-height: 2.4em; }

/* =========================================================
   Process
   ========================================================= */
.process-sec { background: var(--ink); }
.process-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  border: 1px solid var(--line-dark); border-radius: 2px; overflow: hidden;
}
.step {
  position: relative; padding: 44px 18px; text-align: center;
  border-right: 1px solid var(--line-dark);
}
.step:last-child { border-right: none; }
.step-no { font-family: var(--f-display); font-size: .92rem; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 22px; }
.step-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 20px; color: var(--t-on-dark); opacity: .92; }
.step-ico svg { width: 40px; height: 40px; }
.step h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.05rem; color: var(--t-on-dark); margin-bottom: 10px; }
.step p { font-size: .8rem; color: var(--t-on-dark-dim); line-height: 1.7; }
.step::after { content: ''; position: absolute; top: 56px; right: -6px; width: 11px; height: 11px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); opacity: .5; z-index: 2; }
.step:last-child::after { display: none; }
.step:hover { background: rgba(201,166,107,.05); }

/* =========================================================
   About + Contact
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.1fr 1fr; gap: 56px; align-items: stretch;
}
.about-portrait {
  border-radius: 2px; min-height: 480px;
  filter: grayscale(.25);
}
.about-text { padding-top: 6px; }
.about-text .eyebrow { margin-bottom: 30px; }
.about-copy { margin-top: 14px; }
.about-copy p { font-size: 1rem; color: var(--t-on-light); line-height: 2; margin-bottom: 18px; }
.about-sign { font-family: var(--f-serif); font-size: 1.05rem; color: var(--t-on-light); margin-top: 26px; text-align: right; }

.contact-card {
  background: var(--espresso); color: var(--t-on-dark);
  padding: 46px 40px; border-radius: 2px; border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.8);
}
.cc-title { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; color: var(--t-on-dark); margin-bottom: 14px; }
.cc-desc { font-size: .92rem; color: var(--t-on-dark-dim); line-height: 1.8; margin-bottom: 32px; }
.cc-btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 12px;
  border: 1px solid var(--line-dark); border-radius: 3px; font-size: .95rem; color: var(--t-on-dark);
  transition: all .4s var(--ease); background: rgba(255,255,255,.015);
}
.cc-btn:last-of-type { margin-bottom: 0; }
.cc-btn:hover { border-color: var(--gold); background: rgba(201,166,107,.08); transform: translateX(4px); }
.cc-ico { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.cc-ico svg { width: 17px; height: 17px; }
.cc-btn.kakao .cc-ico { background: #FEE500; color: #3A1D1D; }
.cc-btn.naver .cc-ico { background: #03C75A; color: #fff; font-weight: 800; font-size: .9rem; }
.cc-btn.phone .cc-ico { background: var(--gold); color: var(--ink); }
.cc-arr { margin-left: auto; color: var(--gold); transition: transform .4s var(--ease); }
.cc-btn:hover .cc-arr { transform: translateX(4px); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; background: var(--ink); color: var(--t-on-dark-dim); padding: 60px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-main { text-align: center; }
.footer-links { display: flex; gap: 26px; justify-content: center; margin-bottom: 16px; }
.footer-links a { font-size: .85rem; color: var(--t-on-dark); transition: color .35s; }
.footer-links a:hover { color: var(--gold); }
.footer-info { font-size: .8rem; letter-spacing: .02em; margin-bottom: 8px; }
.footer-copy { font-size: .72rem; letter-spacing: .16em; color: #6b5f50; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--line-dark); border-radius: 50%; color: var(--t-on-dark-dim); transition: all .4s var(--ease);
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all .5s var(--ease); box-shadow: 0 14px 30px -10px rgba(201,166,107,.55);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gold-bright); transform: translateY(-3px); }

/* =========================================================
   Placeholder visuals (swap with real photos in /images)
   ========================================================= */
.ph {
  position: relative; background-color: var(--card-dark); overflow: hidden;
  background-size: cover; background-position: center;
}
.ph::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: var(--grain); background-size: 150px; opacity: .06; mix-blend-mode: overlay;
}
/* before/after photography */
.ph-1, .case-1 { background-image: url('../images/case-1-before.jpg'); }
.ph-2, .case-2 { background-image: url('../images/case-2-before.jpg'); }
.ph-3, .case-3 { background-image: url('../images/case-3-before.jpg'); }
.ph-4, .case-4 { background-image: url('../images/case-4-before.jpg'); }
.case-5 { background-image: url('../images/case-5-before.jpg'); }
.case-6 { background-image: url('../images/case-6-before.jpg'); }
.case-7 { background-image: url('../images/case-7-before.jpg'); }
.case-8 { background-image: url('../images/case-8-before.jpg'); }
.case-9 { background-image: url('../images/case-9-before.jpg'); }
.ba-img.after.ph-1, .ba-img.after.case-1 { background-image: url('../images/case-1-after.jpg'); }
.ba-img.after.ph-2, .ba-img.after.case-2 { background-image: url('../images/case-2-after.jpg'); }
.ba-img.after.ph-3, .ba-img.after.case-3 { background-image: url('../images/case-3-after.jpg'); }
.ba-img.after.ph-4, .ba-img.after.case-4 { background-image: url('../images/case-4-after.jpg'); }
.ba-img.after.case-5 { background-image: url('../images/case-5-after.jpg'); }
.ba-img.after.case-6 { background-image: url('../images/case-6-after.jpg'); }
.ba-img.after.case-7 { background-image: url('../images/case-7-after.jpg'); }
.ba-img.after.case-8 { background-image: url('../images/case-8-after.jpg'); }
.ba-img.after.case-9 { background-image: url('../images/case-9-after.jpg'); }

/* lab thumbnails */
.lab-1 { background-image: url('../images/lab-1.jpg'); }
.lab-2 { background-image: url('../images/lab-2.jpg'); }
.lab-3 { background-image: url('../images/lab-3.jpg'); }
.lab-4 { background-image: url('../images/lab-4.jpg'); }
.lab-5 { background-image: url('../images/lab-5.jpg'); }
.lab-6 { background-image: url('../images/lab-6.jpg'); }
.lab-7 { background-image: url('../images/lab-7.jpg'); }
.lab-8 { background-image: url('../images/lab-8.jpg'); }

/* hero local image fallback handled in .hero-media; about portrait: */
.about-portrait {
  background-color: #2a221b;
  background-image:
    linear-gradient(180deg, rgba(20,14,10,.15), rgba(20,14,10,.55)),
    radial-gradient(90% 70% at 50% 25%, rgba(201,166,107,.18), transparent 60%),
    url('../images/founder.jpg');
  background-size: cover; background-position: center;
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.reveal:nth-child(5) { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Inner page hero (sub-pages)
   ========================================================= */
.page-hero {
  position: relative; padding: 200px 0 90px; background: var(--espresso); overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); background-size: 200px; opacity: .04; mix-blend-mode: overlay; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 120% at 80% 10%, rgba(201,166,107,.14), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.2rem,5vw,3.4rem); color: var(--t-on-dark); margin: 16px 0 18px; letter-spacing: .02em; }
.page-hero p { color: var(--t-on-dark-dim); font-size: 1.02rem; max-width: 560px; line-height: 1.85; }
.crumb { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(3)::before { display: none; }
  .feature:nth-child(n+4) { border-top: 1px solid var(--line-light); }
  .lab-grid { grid-template-columns: repeat(3, 1fr); }
  .lab-card:nth-child(n+4) { display: none; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .step:nth-child(4) { border-right: none; }
  .step:nth-child(4)::after { display: none; }
  .step:nth-child(n+5) { border-top: 1px solid var(--line-dark); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-portrait { grid-column: 1 / -1; min-height: 360px; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 0; }
  .section-head.split { flex-direction: column; align-items: flex-start !important; gap: 18px; }
  .section-note { text-align: left; }
  .hero-pager { display: none; }
  .scroll-cue { display: none; }
  .hero-inner { padding-top: 110px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature::before { display: none !important; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-card:nth-child(n+3) { display: flex; }
  .lab-card:nth-child(n+5) { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step::after { display: none; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 28px; }
  .footer-brand { align-items: center; }
}

@media (max-width: 520px) {
  .container { padding-inline: 22px; }
  .section { padding: 72px 0; }
  .ba-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(n+2) { border-top: 1px solid var(--line-light); }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card { display: flex !important; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   Sub-page components
   ========================================================= */

/* service grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.service-card {
  background: var(--ivory); border: 1px solid var(--line-light); border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(40,30,20,.5); }
.service-thumb { aspect-ratio: 16/11; position: relative; }
.service-body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.32rem; color: var(--t-on-light); margin-bottom: 14px; }
.service-body p { font-size: .92rem; color: var(--t-on-light-dim); line-height: 1.85; margin-bottom: 24px; flex: 1; }
.service-tag { font-size: .68rem; letter-spacing: .22em; color: var(--gold-soft); text-transform: uppercase; margin-bottom: 16px; }

/* filter / tab bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 56px; }
.chip {
  font-size: .86rem; letter-spacing: .04em; color: var(--t-on-light-dim);
  padding: 10px 22px; border: 1px solid var(--line-light); border-radius: 40px;
  transition: all .35s var(--ease); background: transparent;
}
.chip:hover { border-color: var(--gold); color: var(--t-on-light); }
.chip.is-active { background: var(--coffee); color: var(--ivory); border-color: var(--coffee); }
.section-dark .chip { color: var(--t-on-dark-dim); border-color: var(--line-dark); }
.section-dark .chip:hover { color: var(--t-on-dark); border-color: var(--gold); }
.section-dark .chip.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* cases gallery */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cases-catalog { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.cases-grid.cases-grid--bag { grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cases-grid.cases-grid--sole { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cases-grid .ba-pair { margin: 0; }
.cases-grid .ba-card .ba-pair .ba-img { aspect-ratio: 3/4; }

/* lab full grid */
.lab-grid.cols4 { grid-template-columns: repeat(4, 1fr); }

/* process detail */
.proc-detail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.proc-step { position: relative; }
.proc-img { aspect-ratio: 4/3; position: relative; border: 1px solid var(--line-dark); margin-bottom: 22px; }
.proc-img .pno {
  position: absolute; top: 14px; left: 14px; font-family: var(--f-display); font-size: 1.1rem;
  letter-spacing: .15em; color: var(--ink); background: var(--gold); padding: 4px 12px; border-radius: 2px;
}
.proc-step h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.18rem; color: var(--t-on-dark); margin-bottom: 10px; }
.proc-step p { font-size: .86rem; color: var(--t-on-dark-dim); line-height: 1.75; }

/* contact */
.contact-cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.panel-title { font-family: var(--f-serif); font-weight: 500; font-size: 1.4rem; color: var(--t-on-dark); margin-bottom: 8px; }
.panel-sub { font-size: .9rem; color: var(--t-on-dark-dim); margin-bottom: 30px; }
.method-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 14px;
  border: 1px solid var(--line-dark); border-radius: 3px; transition: all .4s var(--ease);
  background: rgba(255,255,255,.015);
}
.method-card:hover { border-color: var(--gold); background: rgba(201,166,107,.06); transform: translateX(4px); }
.method-card .cc-ico { width: 44px; height: 44px; }
.method-card .cc-ico svg { width: 22px; height: 22px; }
.method-info strong { display: block; font-size: 1.02rem; color: var(--t-on-dark); font-weight: 500; margin-bottom: 3px; }
.method-info span { font-size: .82rem; color: var(--t-on-dark-dim); }
.method-card .cc-arr { margin-left: auto; }

.inquiry-form { background: var(--espresso-2); border: 1px solid var(--line-dark); border-radius: 3px; padding: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .8rem; letter-spacing: .04em; color: var(--t-on-dark-dim); margin-bottom: 10px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(0,0,0,.25); border: 1px solid var(--line-dark); border-radius: 2px;
  padding: 14px 16px; color: var(--t-on-dark); font-family: var(--f-body); font-size: .95rem;
  transition: border-color .35s var(--ease); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #6f6353; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C9A66B' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-done { display: none; margin-top: 18px; padding: 14px; text-align: center; color: var(--gold);
  border: 1px solid var(--line-dark); border-radius: 2px; font-size: .9rem; }
.form-done.show { display: block; }

/* sub-page photography */
.svc-1 { background-image: url('../images/service-1.jpg'); }
.svc-2 { background-image: url('../images/service-2.jpg'); }
.svc-3 { background-image: url('../images/service-3.jpg'); }
.svc-4 { background-image: url('../images/service-4.jpg'); }
.svc-5 { background-image: url('../images/service-5.jpg'); }
.svc-6 { background-image: url('../images/service-6.jpg'); }
.proc-1 { background-image: url('../images/process-1.jpg'); }
.proc-2 { background-image: url('../images/process-2.jpg'); }
.proc-3 { background-image: url('../images/process-3.jpg'); }
.proc-4 { background-image: url('../images/process-4.jpg'); }
.proc-5 { background-image: url('../images/process-5.jpg'); }
.proc-6 { background-image: url('../images/process-6.jpg'); }
.proc-7 { background-image: url('../images/process-7.jpg'); }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid.cases-grid--bag { grid-template-columns: 1fr; }
  .lab-grid.cols4 { grid-template-columns: repeat(2, 1fr); }
  .lab-grid.cols4 .lab-card:nth-child(n+4) { display: flex; }
  .proc-detail { grid-template-columns: repeat(2, 1fr); }
  .contact-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .service-grid, .cases-grid, .lab-grid.cols4, .proc-detail { grid-template-columns: 1fr; }
  .inquiry-form { padding: 26px; }
}

/* =========================================================
   v2 — Leather Geppetto additions
   (real photos, floating consultation FAB, B/A slider,
    lab in-page articles, CEO intro)
   ========================================================= */

/* brand sub-label fits the longer restoration tagline */
.brand-sub { letter-spacing: .26em; font-size: .5rem; white-space: nowrap; }

/* ---- real photographs inside before/after frames ---- */
.ba-card { display: block; }
a.ba-card { cursor: pointer; }
.ba-img > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; transition: transform .7s var(--ease);
}
.ba-card:hover .ba-img > img { transform: scale(1.05); }
.ba-img.has-photo::after { content: none; }        /* drop the faux "grime" tint */
.ba-pair.single { grid-template-columns: 1fr; }
.ba-tag.result { color: var(--ink); background: var(--gold); }
.ba-card figcaption { line-height: 1.5; padding: 0 4px; }
.ba-card .ba-cat { display: block; margin-top: 6px; font-family: var(--f-body);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }

/* ---- home before/after horizontal slider ---- */
.ba-slider { position: relative; }
.ba-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 26px) / 4); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px; scrollbar-width: none;
}
.ba-track::-webkit-scrollbar { height: 0; display: none; }
.ba-track > .ba-card { scroll-snap-align: start; }
@media (max-width: 1080px) { .ba-track { grid-auto-columns: calc((100% - 26px) / 2); } }
@media (max-width: 640px)  { .ba-track { grid-auto-columns: 84%; gap: 16px; } }

/* ---- generic photo helper for lab/service/single ---- */
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.lab-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proc-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- contact card: instagram variant ---- */
.cc-btn.insta .cc-ico, .method-card .cc-ico.insta, .fab-ic.insta {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
  color: #fff;
}

/* ---- CEO / about intro tweaks ---- */
.about-copy p em { color: var(--gold-soft); }
.about-copy .lead-line { font-family: var(--f-serif); font-size: 1.16rem; color: var(--t-on-light);
  line-height: 1.9; margin-bottom: 20px; }

/* =========================================================
   Floating consultation FAB
   ========================================================= */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 95;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.fab-items {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; pointer-events: none; transform: translateY(12px) scale(.96);
  transform-origin: bottom right; transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.fab.open .fab-items { opacity: 1; pointer-events: auto; transform: none; }
.fab-item { display: flex; align-items: center; gap: 12px; }
.fab-item:nth-child(1) { transition-delay: .04s; }
.fab-item .fab-txt {
  font-size: .82rem; letter-spacing: .02em; color: var(--t-on-dark); font-weight: 500;
  background: rgba(14,11,9,.92); border: 1px solid var(--line-dark);
  padding: 8px 13px; border-radius: 22px; white-space: nowrap;
  backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.7);
}
.fab-ic {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.6); transition: transform .3s var(--ease);
}
.fab-ic svg { width: 25px; height: 25px; }
.fab-item:hover .fab-ic { transform: scale(1.09); }
.fab-ic.kakao { background: #FEE500; color: #3A1D1D; }
.fab-ic.naver { background: #03C75A; color: #fff; }
.fab-ic.tel   { background: var(--gold); color: var(--ink); }

.fab-main {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; align-self: flex-end;
  box-shadow: 0 18px 36px -12px rgba(201,166,107,.66);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.fab-main:hover { transform: translateY(-2px); }
.fab.open .fab-main { background: var(--espresso); color: var(--gold); }
.fab-main svg { width: 28px; height: 28px; position: absolute; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.fab-ic-close { opacity: 0; transform: rotate(-45deg); }
.fab.open .fab-ic-chat { opacity: 0; transform: rotate(45deg); }
.fab.open .fab-ic-close { opacity: 1; transform: rotate(0); }
.fab-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold);
  animation: fabpulse 2.4s ease-out infinite; pointer-events: none;
}
.fab.open .fab-ring { display: none; }
@keyframes fabpulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(1.5); opacity: 0; } }
.fab-hint {
  position: absolute; right: 74px; bottom: 20px; white-space: nowrap;
  font-size: .78rem; letter-spacing: .02em; color: var(--t-on-dark);
  background: rgba(14,11,9,.9); border: 1px solid var(--line-dark);
  padding: 7px 13px; border-radius: 22px; backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.7);
  opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease) .3s, transform .4s var(--ease) .3s;
  pointer-events: none;
}
.fab:not(.open) .fab-hint { opacity: 1; transform: none; }

/* keep back-to-top clear of the FAB */
.to-top { left: 26px; right: auto; }

/* =========================================================
   Lab — in-page articles
   ========================================================= */
.lab-card .lab-thumb { cursor: pointer; }
.lab-topic-tag { display: inline-block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 10px; }

.lab-articles { border-top: 1px solid var(--line-dark); }
.lab-article { padding: clamp(52px, 8vh, 80px) 0; border-bottom: 1px solid var(--line-dark); scroll-margin-top: 96px; }
.lab-article-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.lab-article:nth-child(even) .lab-article-media { order: 2; }
.lab-article-media { position: relative; aspect-ratio: 3/4; overflow: hidden; border: 1px solid var(--line-dark); position: sticky; top: 96px; }
.lab-article-media img { width: 100%; height: 100%; object-fit: cover; }
.lab-article-media .num { position: absolute; top: 14px; left: 14px; font-family: var(--f-display);
  font-size: 1.05rem; letter-spacing: .12em; color: var(--ink); background: var(--gold); padding: 4px 12px; }
.lab-article-body .crumb { display: block; margin-bottom: 14px; }
.lab-article-body h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: var(--t-on-dark); line-height: 1.28; margin-bottom: 22px; }
.lab-article-body .art-lead { font-family: var(--f-serif); font-size: 1.12rem; color: var(--t-on-dark);
  line-height: 1.9; margin-bottom: 30px; }
.lab-article-body h3 { font-size: 1.06rem; font-weight: 600; color: var(--gold); letter-spacing: .01em;
  margin: 26px 0 12px; }
.lab-article-body h3::before { content: '— '; color: var(--gold-soft); }
.lab-article-body p { font-size: .96rem; color: var(--t-on-dark-dim); line-height: 1.95; margin-bottom: 8px; }
.lab-article-body .art-closing { margin-top: 30px; padding: 20px 24px; border-left: 2px solid var(--gold);
  background: rgba(201,166,107,.05); }
.lab-article-body .art-closing p { color: var(--t-on-dark); margin: 0; }
.lab-back { margin-top: 26px; }
@media (max-width: 820px) {
  .lab-article-grid { grid-template-columns: 1fr; }
  .lab-article:nth-child(even) .lab-article-media { order: 0; }
  .lab-article-media { position: relative; top: 0; aspect-ratio: 16/10; max-height: 340px; }
}

/* =========================================================
   Case gallery counts / labels
   ========================================================= */
.cases-count { text-align: center; margin-bottom: 40px; color: var(--t-on-dark-dim); font-size: .86rem; letter-spacing: .06em; }
.cases-grid .ba-card figcaption { color: var(--t-on-dark); }
.cases-empty { display: none; text-align: center; color: var(--t-on-dark-dim); padding: 60px 0; }

@media (max-width: 520px) {
  .fab { right: 16px; bottom: 16px; }
  .to-top { left: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* =========================================================
   v3 — Before / After drag-compare  (ported from jepeto-design)
   ========================================================= */
.compare {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 3/4;
  border-radius: 4px; overflow: hidden; background: var(--card-dark);
  box-shadow: 0 30px 70px -42px rgba(0,0,0,.85), 0 0 0 1px var(--line-dark);
  touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; -webkit-user-drag: none;
}
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0;
  display: flex; align-items: center; justify-content: center; z-index: 3; pointer-events: none;
}
.compare__seam {
  position: absolute; top: 0; bottom: 0; width: 2px; left: -1px;
  background: linear-gradient(var(--gold-bright), var(--gold), var(--gold-bright));
  box-shadow: 0 0 14px rgba(0,0,0,.5);
}
.compare__seam::before { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(transparent 0 6px, rgba(10,8,6,.5) 6px 9px); }
.compare__knob {
  position: relative; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, var(--cream));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.6);
  border: 1.5px solid var(--gold);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.compare:hover .compare__knob, .compare:focus-visible .compare__knob {
  transform: scale(1.09);
  box-shadow: 0 10px 26px rgba(0,0,0,.6), 0 0 0 6px rgba(201,166,107,.18), inset 0 0 0 1px rgba(255,255,255,.6);
}
.compare__knob::before { content: "❮ ❯"; font-weight: 700; font-size: .6rem; letter-spacing: -.06em; color: var(--coffee); }
.compare__tag {
  position: absolute; top: 12px; z-index: 2; font-size: .56rem; font-weight: 700;
  letter-spacing: .2em; padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.compare__tag--before { left: 12px; background: rgba(10,8,6,.6); color: var(--t-on-dark-dim); border: 1px solid var(--line-dark); }
.compare__tag--after  { right: 12px; background: var(--gold); color: var(--ink); }
.compare:focus-visible { outline: none; }
.compare:focus-visible .compare__seam { box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(0,0,0,.5); }

/* single result card (sole detail / no-before) */
.ba-single {
  position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  background: var(--card-dark); box-shadow: 0 30px 70px -42px rgba(0,0,0,.85), 0 0 0 1px var(--line-dark);
}
.ba-single img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ba-card:hover .ba-single img { transform: scale(1.05); }

/* caption link (home featured cards) */
.ba-card figcaption a { display: inline-flex; align-items: center; gap: .4em; color: var(--t-on-dark); transition: color .35s var(--ease); }
.ba-card figcaption a .arr { color: var(--gold); transition: transform .4s var(--ease); }
.ba-card figcaption a:hover { color: var(--gold-bright); }
.ba-card figcaption a:hover .arr { transform: translateX(5px); }

/* =========================================================
   v4 — Maison premium pass  (hallmark seal, couture polish)
   ========================================================= */

/* hero — refined rhythm + single CTA + locale line */
.hero-title { letter-spacing: .05em; }
.hero-lead { letter-spacing: .01em; }
.hero-divider { background: linear-gradient(90deg, var(--gold), var(--wine-bright)); width: 60px; opacity: .9; }
.hero-actions { margin-top: 44px; }
.hero-locale {
  margin-top: 26px; font-size: .76rem; letter-spacing: .14em;
  color: var(--t-on-dark-dim);
}
.hero-locale::before { content: "— "; color: var(--gold-soft); }

/* the hallmark — hand-stamped maker's mark (signature element) */
.hero-mark { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; }
.seal { width: clamp(200px, 27vh, 300px); height: auto; overflow: visible; }
.seal-ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .5; }
.seal-dot  { stroke-dasharray: 1.5 4.5; opacity: .42; }
.seal-text {
  fill: var(--gold-bright); font-family: var(--f-body); font-size: 8.4px;
  font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; text-anchor: middle;
}
.seal-diamond { fill: var(--gold); opacity: .85; }
.seal-mono {
  fill: var(--gold-bright); font-family: var(--f-display); font-weight: 600;
  font-size: 46px; letter-spacing: 3px; text-anchor: middle;
}
.seal-sub {
  fill: var(--gold); font-family: var(--f-body); font-size: 7px;
  letter-spacing: 4px; text-transform: uppercase; text-anchor: middle; opacity: .82;
}

/* header — quieter, more precise */
.brand-name { letter-spacing: .2em; }
.site-header.scrolled { background: rgba(12,9,7,.88); }
.nav-link { font-size: .9rem; letter-spacing: .04em; }

/* cards — gallery-grade, hairline & deep soft shadow */
.feature-ico { color: var(--gold); }
.service-card { border-color: var(--line-light); }
.service-card:hover { box-shadow: 0 42px 84px -48px rgba(38,24,12,.6); border-color: rgba(201,166,107,.4); }
.contact-card { box-shadow: 0 52px 96px -52px rgba(0,0,0,.85); }
.lab-article-body .art-closing { border-left-color: var(--gold); }

/* couture chips (filters) */
.chip { letter-spacing: .06em; }

@media (max-width: 860px) {
  .hero-mark { display: none; }
  .hero-inner { justify-content: flex-start; }
}

/* =========================================================
   v5 — Pretendard typography + "왜 레더제페토인가" redesign
   ========================================================= */

/* Korean headings now render in Pretendard — tune weight & tracking
   so they read as intentional, premium display type.
   (.serif-en / brand / hero-title keep Cormorant via --f-display) */
.section-title { font-weight: 700; letter-spacing: -.022em; }
.section-title.serif-en { font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; }
.page-hero h1 { font-weight: 700; letter-spacing: -.025em; }
.hero-lead { font-weight: 600; letter-spacing: -.022em; line-height: 1.36; }
.cc-title, .panel-title { font-weight: 700; letter-spacing: -.015em; }
.lab-article-body h2 { font-weight: 700; letter-spacing: -.02em; }
.lab-article-body .art-lead { font-weight: 500; }
.feature h3, .service-body h3, .lab-body h3, .step h3, .proc-step h3,
.lab-article-body h3 { font-weight: 600; letter-spacing: -.01em; }
.about-copy .lead-line { font-weight: 700; letter-spacing: -.015em; }
.about-sign { font-weight: 500; }
.ba-card figcaption { font-weight: 500; letter-spacing: -.005em; }
.method-info strong, .cc-title { letter-spacing: -.01em; }

/* ---- 왜 레더제페토인가 — atelier standard ---- */
.why-head { text-align: center; max-width: 660px; margin: 0 auto clamp(48px, 6vw, 76px); }
.why-head .eyebrow { justify-content: center; margin-bottom: 22px; color: var(--gold-soft); }
.why-head .section-title { margin-bottom: 22px; }
.why-lead {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem); font-weight: 600; letter-spacing: -.025em;
  color: var(--t-on-light); line-height: 1.45;
}
.why-lead em { color: var(--gold-soft); font-style: normal; }
.why-sub { margin-top: 18px; font-size: 1rem; color: var(--t-on-light-dim); line-height: 1.8; }

.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light);
  border-radius: 3px; overflow: hidden;
}
.why-card {
  position: relative; background: var(--cream); text-align: center;
  padding: clamp(42px, 4vw, 58px) 26px clamp(34px, 3.4vw, 46px);
  transition: background .5s var(--ease);
}
.why-card::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 0; height: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width .55s var(--ease);
}
.why-card:hover { background: var(--ivory); }
.why-card:hover::before { width: 46px; }
.why-medal {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%;
  border: 1px solid rgba(201,166,107,.45); color: var(--gold-soft);
  transition: border-color .5s var(--ease), background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.why-medal svg { width: 27px; height: 27px; }
.why-card:hover .why-medal {
  border-color: var(--gold); background: rgba(201,166,107,.09); color: var(--gold); transform: translateY(-3px);
}
.why-card h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; color: var(--t-on-light); margin-bottom: 12px; }
.why-card p { font-size: .87rem; color: var(--t-on-light-dim); line-height: 1.8; }

@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .why-grid { grid-template-columns: 1fr; } }

/* ---- cases page lightbox ---- */
.cases-grid .ba-card .compare,
.cases-grid .ba-card .ba-pair,
.cases-grid .ba-card .ba-single { cursor: zoom-in; }

.case-lightbox {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.case-lightbox.is-open { opacity: 1; visibility: visible; }
.case-lightbox[hidden] { display: none; }
.case-lightbox:not([hidden]) { display: flex; }
body.lightbox-open { overflow: hidden; }

.case-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 6, 4, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.case-lightbox__panel {
  position: relative; z-index: 1; width: min(1120px, 100%);
  max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  transform: translateY(12px) scale(.98);
  transition: transform .4s var(--ease);
}
.case-lightbox.is-open .case-lightbox__panel { transform: none; }

.case-lightbox__close {
  position: absolute; top: -6px; right: 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(20,16,12,.85);
  color: var(--t-on-dark); display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.case-lightbox__close svg { width: 20px; height: 20px; }
.case-lightbox__close:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201,166,107,.12); }

.case-lightbox__stage {
  display: grid; gap: 14px; overflow: auto;
  grid-template-columns: 1fr;
  max-height: calc(100vh - 120px);
  padding-top: 44px;
}
.case-lightbox__stage.is-pair { grid-template-columns: 1fr 1fr; }

.case-lightbox__item {
  position: relative; border-radius: 4px; overflow: hidden;
  background: var(--card-dark); border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px -36px rgba(0,0,0,.9);
}
.case-lightbox__item img {
  display: block; width: 100%; height: auto; max-height: min(78vh, 820px);
  object-fit: contain; background: #0a0806;
}
.case-lightbox__label {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: .58rem; font-weight: 700; letter-spacing: .2em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(10,8,6,.72); color: var(--t-on-dark-dim);
  border: 1px solid var(--line-dark); backdrop-filter: blur(6px);
}
.case-lightbox__label.is-after { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.case-lightbox__caption {
  margin-top: 18px; text-align: center;
  font-family: var(--f-serif); font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--t-on-dark); line-height: 1.5; padding: 0 48px 4px;
}

@media (max-width: 760px) {
  .case-lightbox__stage.is-pair { grid-template-columns: 1fr; }
  .case-lightbox__item img { max-height: 42vh; }
  .case-lightbox__close { top: 0; right: 0; }
  .case-lightbox__caption { padding: 0 8px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .case-lightbox, .case-lightbox__panel { transition: none; }
}
