@font-face {
  font-family: "Remade Sans";
  src: url("fonts/remade-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #04432a;
  --green-deep: #02301e;
  --green-bright: #0b7a48;
  --mint: #e6ece5;
  --paper: #faf7f2;
  --ink: #17201b;
  --sub: #505a53;
  --line: #d9ddd5;
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Remade Sans", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
p, dd { text-wrap: pretty; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2fa66d; outline-offset: 3px; }

svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; }
.i { flex: none; width: 20px; height: 20px; stroke-width: 1.8; }
.fill { fill: currentColor; }
.dots { stroke-width: 3; }
.hair { stroke-width: 1.5; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 10px 16px; background: #fff; }
.skip:focus { top: 12px; }

.label {
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
}
.hero .label, .space .label { color: #cfe3d6; }

h2 { color: var(--green); font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: -0.04em; }

/* 머리 */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 0 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top a { text-decoration: none; white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand b, .mark { color: var(--green); font-size: 21px; font-weight: 900; letter-spacing: -0.03em; }
.brand span { display: none; }
.top nav { display: flex; }
.top nav a { padding: 12px 6px; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--green-bright); }
.top-book { display: none; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.hero-photo { display: block; position: relative; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 40%;
  background: linear-gradient(to top, var(--green), rgb(4 67 42 / 0));
}
.hero-photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 58% 38%; }
.hero-curve { display: none; }
.hero-text { position: relative; padding: 28px 24px 48px; }
h1 {
  margin-top: 12px;
  font-size: clamp(36px, 10.6vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.045em;
}
.lead { margin-top: 18px; max-width: 24em; color: #eaf2ec; font-size: 18px; }

/* 휴대폰에서는 아래에 고정된 바로가기(.quick)를 쓴다. */
.actions { display: none; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid #9dbbaa;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.btn:last-child { grid-column: 1 / -1; }
.btn:hover { background: var(--green-deep); }
.btn.main { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn.main:hover { background: #fff; }

/* 시술 */
.service { padding: 72px 0; }
.tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--green);
}
.tile svg { width: 48px; height: 48px; stroke-width: 2; }
.brow-title { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.brow h2 { font-size: 68px; line-height: 1.15; }
.brow .tile { width: 84px; height: 84px; }
.brow .tile svg { width: 64px; height: 64px; }
.brow-desc { margin-top: 18px; max-width: 17em; font-size: 21px; line-height: 1.55; }
.others { margin-top: 40px; border-top: 1px solid var(--line); }
.others li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.others p { margin-top: 2px; color: var(--sub); font-size: 16px; line-height: 1.55; }

/* AI 이미지: 바로 아래 설명을 꼭 같이 둔다. */
.mood { padding-bottom: 72px; }
.mood img { aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; }
.mood figcaption { margin-top: 8px; color: var(--sub); font-size: 13px; text-align: right; }

/* 눈썹 전후 */
.result { padding: 72px 0; background: var(--mint); }
.result h2 { margin-top: 12px; }
.cases { display: grid; gap: 32px; margin-top: 32px; }
.pair { display: grid; gap: 3px; overflow: hidden; border-radius: 20px; background: #fff; }
.pair div { position: relative; }
.pair img { aspect-ratio: 3 / 1; object-fit: cover; }
.pair span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 1px 12px;
  border-radius: 99px;
  background: rgb(2 48 30 / .82);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.cases h3 { margin-top: 14px; }
.note { margin-top: 24px; color: var(--sub); font-size: 15px; }

/* 매장 */
.space { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.space h2 { margin-top: 12px; color: #fff; }
.space-text p:last-child { margin-top: 16px; max-width: 18em; color: #eaf2ec; font-size: 18px; }
.space-curve { position: absolute; inset: auto 0 0; width: 100%; height: 260px; stroke: none; fill: #0b5436; }
.space-grid { position: relative; display: grid; gap: 24px; padding: 72px 0; }
.space figure { position: relative; overflow: hidden; border: 2px solid #eef2ea; border-radius: 28px; }
.space img { object-fit: cover; }
.tall img { aspect-ratio: 3 / 4; object-position: 50% 62%; }
.short { width: 72%; margin-left: auto; }
.short img { aspect-ratio: 3 / 4; }
.space figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 5px 18px;
  border-radius: 99px;
  background: rgb(2 48 30 / .82);
  font-size: 15px;
}

/* 오시는 길 */
.visit { display: grid; gap: 32px; padding: 72px 0; }
.visit h2 { margin-top: 12px; }
.visit-text > p:not(.label) { margin-top: 14px; max-width: 20em; }
.hill { display: none; }
.info { border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; }
.info dt .i { margin-top: 4px; color: var(--green-bright); }
.map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  margin-top: 28px;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.map:hover { background: var(--green-deep); }

/* 예약 안내 */
.book { display: grid; gap: 32px; padding: 0 0 72px; }
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.models img { aspect-ratio: 4 / 5; border-radius: 20px; object-fit: cover; }
.models figure:first-child img { object-position: 78% 50%; }
.models p { grid-column: 1 / -1; color: var(--sub); font-size: 14px; }
.book h2 { margin-top: 12px; }
.book-text > p:not(.label) { margin-top: 14px; }
.book-links { display: grid; gap: 12px; margin-top: 24px; }
.book-links .map { margin: 0; }
.map.line { border: 1px solid var(--green); background: none; color: var(--green); }
.map.line:hover { background: var(--mint); }

footer { padding: 36px 0 calc(100px + env(safe-area-inset-bottom)); background: var(--green-deep); color: #d3e0d7; font-size: 15px; }
footer .wrap { display: grid; gap: 14px; }
footer .mark, footer strong { color: #fff; }
.foot-kakao { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }

/* 휴대폰 아래 바로가기 */
.quick {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr .8fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
}
.quick a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 64px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.quick a + a { border-left: 1px solid var(--line); }
.quick .main { background: var(--green); color: #fff; }

/* PC */
@media (min-width: 900px) {
  .quick { display: none; }

  .top { gap: 28px; min-height: 76px; padding: 0 max(32px, (100% - 1300px) / 2); }
  .brand { gap: 18px; margin-right: auto; }
  .brand b, .mark { font-size: 28px; }
  .brand span { display: block; padding-left: 18px; border-left: 1px solid #a9b3ab; font-weight: 600; line-height: 1.3; }
  .top nav { gap: 12px; }
  .top nav a { font-size: 16px; font-weight: 600; }
  .top-book {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 99px;
    background: var(--green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
  }
  .top-book:hover { background: var(--green-deep); }
  .top-book .i { width: 18px; height: 18px; }

  .hero { display: grid; align-items: center; min-height: clamp(560px, 100vh - 76px, 720px); }
  .hero-photo { position: absolute; inset: 0 0 0 42%; }
  .hero-photo::after { inset: 0 auto 0 -1px; width: 34%; height: auto; background: linear-gradient(to right, var(--green), rgb(4 67 42 / 0)); }
  .hero-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 56% 35%; }
  .hero-curve { display: block; position: absolute; left: 42%; top: 0; width: 34%; height: 100%; stroke: none; fill: var(--green); }
  .hero-text { width: min(1200px, 100% - 64px); margin-inline: auto; padding: 56px 0; }
  .hero-text > * { max-width: 520px; }
  h1 { font-size: clamp(50px, 4.8vw, 68px); }
  .lead { font-size: 19px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }

  h2 { font-size: 48px; }
  .service { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; padding: 104px 0; }
  .brow h2 { font-size: 96px; }
  .brow .tile { width: 108px; height: 108px; border-radius: 22px; }
  .brow .tile svg { width: 84px; height: 84px; }
  .brow-desc { font-size: 24px; }
  .others { margin: 0; padding-left: 64px; border-top: 0; border-left: 1px solid #a9c0b2; }
  .others li { gap: 26px; padding: 14px 0; }
  .others li:last-child { border-bottom: 0; }
  .others li div { display: grid; flex: 1; grid-template-columns: 96px 1fr; align-items: center; }
  .others p { margin: 0; font-size: 17px; }
  h3 { font-size: 20px; }

  .mood { padding-bottom: 104px; }
  .mood img { aspect-ratio: 16 / 9; border-radius: 28px; }

  .result { padding: 96px 0; }
  .cases { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

  .book { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; padding-bottom: 104px; }
  .book-text > p:not(.label) { font-size: 19px; }
  .book-links { grid-template-columns: 1fr 1fr; }

  .space-curve { inset: 0; height: 100%; }
  .space-grid { grid-template-columns: 1fr 440px 300px; align-items: end; gap: 24px; padding: 80px 0; }
  .space-text { align-self: start; padding-top: 48px; }
  .tall img { aspect-ratio: 3 / 4; }
  .short { width: auto; margin: 0; }

  .visit { grid-template-columns: 1fr 1.5fr; gap: 72px; padding: 104px 0; }
  .visit-text > p:not(.label) { font-size: 19px; }
  .hill { display: block; width: 100%; max-width: 440px; margin-top: 48px; overflow: visible; color: #a3c4b1; stroke-width: 1; }
  .hill .area { fill: var(--mint); stroke: none; }
  .hill .pin { fill: var(--green); stroke: none; }
  .hill circle { fill: var(--paper); stroke: none; }
  .info div { grid-template-columns: 150px 1fr; padding: 18px 0; }

  footer { padding-bottom: 36px; }
  footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  footer .mark + div { padding-left: 24px; border-left: 1px solid #5f8170; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .space-grid { grid-template-columns: 1fr 360px 240px; }
  .others { padding-left: 36px; }
  .service { column-gap: 32px; }
  .hero-text > * { max-width: 400px; }
  .hero-photo, .hero-curve { left: 46%; }
  .btn { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
