:root {
  color-scheme: light;
  --ink: #201a18;
  --muted: #6f625d;
  --paper: #fbf5ed;
  --paper-deep: #efe0d0;
  --wine: #7f1f2e;
  --rose: #d9897d;
  --sage: #7d9285;
  --gold: #c49b5d;
  --line: rgba(32, 26, 24, 0.13);
  --shadow: 0 28px 80px rgba(61, 34, 24, 0.16);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  font-family: "IBM Plex Sans KR", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 137, 125, 0.32), transparent 30rem),
    radial-gradient(circle at 85% 22%, rgba(125, 146, 133, 0.26), transparent 26rem),
    linear-gradient(135deg, #fffaf5 0%, var(--paper) 52%, #ead8c8 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(251, 245, 237, 0.82);
  box-shadow: 0 12px 40px rgba(61, 34, 24, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--wine), #b15748);
  font: 700 24px/1 "Gowun Batang", serif;
  box-shadow: 0 12px 28px rgba(127, 31, 46, 0.26);
}

.brand strong { display: block; font-weight: 700; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  padding: 11px 16px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.site-nav a:hover { background: rgba(127, 31, 46, 0.08); color: var(--wine); transform: translateY(-1px); }

.menu-toggle { display: none; }

.section-shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100vh - 86px);
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.055em; }
h1, h2 { font-family: "Gowun Batang", serif; }
h1 { font-size: clamp(48px, 8vw, 94px); line-height: 0.98; max-width: 780px; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; }
h3 { font-size: 21px; }
p { line-height: 1.75; }

.hero-lead { color: var(--muted); font-size: clamp(17px, 2vw, 21px); max-width: 650px; margin: 28px 0 0; }
.hero-actions, .location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fffaf5; background: var(--wine); box-shadow: 0 18px 42px rgba(127, 31, 46, 0.24); }
.button.ghost { border: 1px solid var(--line); background: rgba(255, 250, 245, 0.5); color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.9), transparent 20rem),
    linear-gradient(160deg, rgba(127, 31, 46, 0.22), rgba(125, 146, 133, 0.32));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
}

.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 300px; height: 300px; top: 90px; right: 48px; background: radial-gradient(circle, #fff4e8 0 38%, rgba(217, 137, 125, 0.42) 39% 68%, transparent 69%); }
.orb-two { width: 230px; height: 230px; bottom: 76px; left: 42px; background: radial-gradient(circle, rgba(125, 146, 133, 0.72), transparent 68%); }

.glass-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(61, 34, 24, 0.13);
  padding: 22px;
}
.glass-card span { color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.glass-card strong { display: block; margin-top: 9px; font: 700 28px/1.1 "Gowun Batang", serif; }
.glass-card p { margin: 8px 0 0; color: var(--muted); }
.appointment-card { left: 34px; right: 34px; bottom: 34px; }
.trust-card { top: 48px; left: 32px; max-width: 255px; }

.intro, .care, .hours, .location { padding: 96px 0; }
.intro-grid, .care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.intro article, .care article, .hours-panel, .location-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.58);
  box-shadow: 0 18px 50px rgba(61, 34, 24, 0.08);
}
.intro article { padding: 28px; }
.intro ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading p:last-child { max-width: 340px; color: var(--muted); margin: 0; }
.care-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.care article {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, background 180ms ease;
}
.care article:nth-child(odd) { transform: translateY(22px); }
.care article:hover { background: rgba(255, 250, 245, 0.9); transform: translateY(-4px); }
.care article:nth-child(odd):hover { transform: translateY(14px); }
.care span { color: var(--gold); font-weight: 700; }
.care strong { font-size: 20px; letter-spacing: -0.04em; }
.care p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.hours { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.hours-panel { padding: 16px; }
.hours-panel dl { margin: 0; }
.hours-panel div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
}
.hours-panel div + div { margin-top: 4px; }
.hours-panel div:nth-child(odd) { background: rgba(127, 31, 46, 0.055); }
.hours-panel dt { color: var(--muted); font-weight: 700; }
.hours-panel dd { margin: 0; font-size: 20px; font-weight: 700; }
.hours-panel .closed dd { color: var(--wine); }

.location {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: stretch;
}
.location-copy { padding: 34px; }
.location-copy p { color: var(--muted); margin: 18px 0 0; }
.location-copy .phone { color: var(--wine); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.location iframe {
  width: 100%;
  min-height: 470px;
  border: 0;
  border-radius: var(--radius-lg);
  filter: saturate(0.7) contrast(1.05);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 60px;
  padding: 42px 18px;
  color: #fff8ef;
  background: #201a18;
  text-align: center;
}
.site-footer p { margin: 6px 0; color: rgba(255, 248, 239, 0.72); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero, .hours, .location { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-visual { min-height: 500px; }
  .intro-grid { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .care article:nth-child(odd), .care article:nth-child(odd):hover { transform: none; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 12px; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .brand small { display: none; }
  .menu-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 250, 245, 0.78);
  }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 74px 18px auto;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 245, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 14px 16px; }
  .section-shell { width: min(100% - 28px, 1120px); }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-visual { min-height: 420px; }
  .trust-card { left: 20px; right: 20px; top: 24px; max-width: none; }
  .appointment-card { left: 20px; right: 20px; bottom: 20px; }
  .care-grid { grid-template-columns: 1fr; }
  .care article { min-height: 170px; }
  .hours-panel div { grid-template-columns: 1fr; gap: 4px; }
  .location-copy { padding: 26px; }
  .location-copy .phone { font-size: 29px; }
}
