/* Bliss Nail — site.css. Tokens from docs/cowork/blissnail/DESIGN_BRIEF.md §2; ink = logo colour #263436. */
:root {
  --bg: #FBF8F5;
  --surface: #F4EDE8;
  --blush: #E9CFC6;
  --blush-soft: #F3E3DD;
  --ink: #263436;
  --ink-2: #3A4B4D;
  --text: #2B2523;
  --muted: #6B625E;
  --line: #E6DCD6;
  --rose: #A85A50;
  --rose-display: #B2675E;
  --white: #fff;
  --ok: #3F7A5A;
  --f-display: "Cormorant Garamond", "Gowun Batang", Georgia, serif;
  --f-body: "Manrope", "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(38, 52, 54, .22);
  --shadow-sm: 0 4px 14px -6px rgba(38, 52, 54, .18);
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}
.lang-ko { --f-display: "Gowun Batang", "Cormorant Garamond", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--f-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -0.005em;
}
.lang-ko body { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 2rem; height: 2rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.surface { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); margin: 12px 0 0; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.h2 { font: 500 clamp(1.9rem, 1.4rem + 2vw, 2.75rem)/1.1 var(--f-display); letter-spacing: -.01em; }
.lang-ko .h2 { font-weight: 700; font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.25rem); letter-spacing: -.02em; }
.h2.center { margin-bottom: clamp(28px, 4vw, 44px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.lang-ko .eyebrow { letter-spacing: .04em; font-size: .95rem; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }

/* Buttons */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #1A2526; box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--blush-soft); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .9rem; }
.btn-lg { --h: 54px; padding: 0 30px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--blush); padding: 6px 0; min-height: 44px; }
.link-arrow:hover { border-color: var(--ink); }
.chip { display: inline-block; white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: var(--blush-soft); color: var(--rose); font-weight: 700; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, .9); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: rgba(230, 220, 214, .6); box-shadow: 0 12px 40px -18px rgba(38, 52, 54, .16); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; padding: 6px 0; }
.brand img { width: 80px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); }
.main-nav a:hover { background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--blush-soft); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 600; min-height: 40px; }
.lang-switch span { padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch span.on { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 26px; height: 26px; }

.lang-banner { background: var(--ink); color: var(--white); font-size: .92rem; }
.lang-banner .wrap { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.lang-banner a { color: var(--white); font-weight: 700; }
.lang-banner button { margin-left: auto; background: none; border: 0; color: var(--white); width: 44px; height: 44px; display: grid; place-items: center; }

/* Hero */
.display { font: 500 clamp(2.9rem, 1.6rem + 5.2vw, 5.4rem)/.98 var(--f-display); letter-spacing: -.02em; margin-bottom: 24px; }
.display span, .display em { display: block; }
.display em { font-style: italic; color: var(--rose-display); }
.lang-ko .display { font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4rem); line-height: 1.15; letter-spacing: -.03em; }
.lang-ko .display em { font-style: normal; }
.display-sm { font: 500 clamp(2.4rem, 1.6rem + 3.2vw, 3.8rem)/1.02 var(--f-display); letter-spacing: -.02em; margin-bottom: 18px; }
.lang-ko .display-sm { font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.hero-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.hero-note a { color: var(--ink); font-weight: 600; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 28px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.why-card h3 { font: 600 1.15rem/1.3 var(--f-body); margin: 14px 0 8px; }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.why-icon { color: var(--rose); width: 22px; height: 22px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.team-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.team-card h3 { font: 500 1.6rem/1.1 var(--f-display); }
.lang-ko .team-card h3 { font-weight: 700; font-size: 1.3rem; }
.team-title { color: var(--rose); font-weight: 600; font-size: .85rem; margin: 4px 0 10px; }
.team-card p:not(.team-title) { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }

/* Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-item { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 9 / 16; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.ig-item:hover img { opacity: .85; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.facts { margin: 0; display: grid; gap: 18px; }
.facts div { display: grid; gap: 2px; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lang-ko .facts dt { letter-spacing: .02em; font-size: .88rem; }
.facts dd { margin: 0 0 0 28px; font-size: 1.05rem; color: var(--ink); }
.facts dd a { font-weight: 600; }
.hours { margin-top: 28px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; }
.open-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 122, 90, .15); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .97rem; }
.hours-table th, .hours-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; color: var(--ink-2); }
.hours-table tr.today th, .hours-table tr.today td { font-weight: 700; color: var(--ink); }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 600; vertical-align: 2px; }
.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background:
  radial-gradient(circle at 30% 40%, var(--blush-soft), transparent 60%), linear-gradient(135deg, var(--surface), var(--blush)); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; width: 100%; border: 0; background: none; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--ink); }
.map-title { font-weight: 700; font-size: 1.05rem; }
.map-note { font-size: .85rem; color: var(--muted); }

/* Page head */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head .btn-row { margin-top: 20px; }

/* Services */
.cat-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(251, 248, 245, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.cat-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.cat-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.cat-tabs a:hover, .cat-tabs a.active { background: var(--ink); color: var(--white); }
.services-list { padding-top: 16px; padding-bottom: 64px; }
.svc-cat { padding-top: clamp(36px, 5vw, 56px); }
.svc-cat-head { margin-bottom: 12px; max-width: 680px; }
.svc-cat-head p { color: var(--muted); margin: 8px 0 0; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.svc-name { font: 600 1.12rem/1.35 var(--f-body); }
.svc-alt { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.svc-price { font-weight: 700; color: var(--rose); white-space: nowrap; }
.svc-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin: 4px 0 6px; }
.svc-desc { color: var(--ink-2); font-size: .95rem; margin: 0; max-width: 64ch; }
.svc-book { margin-top: 2px; }
.svc-variants { margin-top: 12px; }
.svc-variants summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); list-style: none; min-height: 40px; }
.svc-variants summary::-webkit-details-marker { display: none; }
.svc-variants summary .icon { transition: transform .2s; }
.svc-variants[open] summary .icon { transform: rotate(45deg); }
.svc-variants ul { list-style: none; margin: 6px 0 0; padding: 4px 16px; border-radius: var(--r-sm); background: var(--surface); }
.svc-variants li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; align-items: baseline; }
.svc-variants li:last-child { border-bottom: 0; }
.v-name small { display: block; color: var(--muted); font-size: .82rem; }
.v-dur { color: var(--muted); white-space: nowrap; }
.v-price { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--rose); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 20px; max-width: 70ch; }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.masonry { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 16px; }
.masonry li { break-inside: avoid; margin-bottom: 16px; }
.masonry li[hidden] { display: none; }
.masonry a { display: block; border-radius: var(--r); overflow: hidden; }
.gallery-bottom { margin-top: 32px; color: var(--muted); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20, 26, 27, .94); color: var(--white); }
.lightbox::backdrop { background: rgba(20, 26, 27, .94); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 56px 64px; }
.lightbox img { max-height: calc(100vh - 140px); max-width: min(92vw, 1100px); width: auto; border-radius: var(--r-sm); }
.lightbox figcaption { font-size: .92rem; color: rgba(255, 255, 255, .8); text-align: center; max-width: 60ch; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* About */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prose p { color: var(--ink-2); }
.about-art { aspect-ratio: 3 / 4; max-width: 440px; justify-self: end; width: 100%; box-shadow: var(--shadow); }
.wide-photo { border-radius: var(--r-lg); overflow: hidden; margin-top: 24px; aspect-ratio: 16 / 9; }
.e404-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 0; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ≤ 1024 */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ≤ 900: mobile nav, stacked hero, sticky bottom bar */
@media (max-width: 900px) {
  :root { --header-h: 64px; --gutter: 16px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .brand img { width: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-book { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s; margin: 0; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.1rem; min-height: 52px; padding: 0 12px; width: 100%; }
  .nav-extra { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; font-weight: 600; text-decoration: none; color: var(--ink); }
  .header-actions { margin-left: auto; }

  .visit, .split { grid-template-columns: 1fr; }
  .about-art { justify-self: center; }
  .map { min-height: 300px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(251, 248, 245, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 999px;
    text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); border: 1.5px solid var(--line); background: var(--white); }
  .mobile-bar .mobile-book { background: var(--ink); color: var(--white); border-color: var(--ink); }
}

/* ≤ 600 */
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .lang-switch span { padding: 6px 8px; }
  .btn-row .btn { flex: 1 1 auto; }
  .svc { grid-template-columns: 1fr; }
  .svc-book { justify-self: start; }
  .svc-variants li { grid-template-columns: 1fr auto; }
  .v-dur { grid-column: 1; grid-row: 2; font-size: .82rem; }
  .v-price { grid-row: 1 / span 2; align-self: center; }
  .team-card { grid-template-columns: 84px 1fr; padding: 18px; gap: 16px; }
  .team-card img { width: 84px; height: 84px; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip { grid-auto-columns: 68%; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lightbox figure { padding: 64px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
