:root {
  --site-font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --english-font: "Cormorant Garamond", Georgia, serif;
}

:lang(en) { font-family: var(--english-font); }

.document-main { padding: 0 0 100px; }

.landing-hero {
  position: relative;
  margin: 0;
  background: #423a34;
}

.landing-hero picture, .landing-hero picture img { display: block; width: 100%; }
.landing-hero picture img { height: auto; }

.landing-hero-caption {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  padding: 28px max(94px, 6.5vw) clamp(28px, 6vw, 100px) clamp(28px, 4vw, 76px);
  background: linear-gradient(0deg, rgb(18 13 11 / 74%), rgb(18 13 11 / 35%) 39%, transparent 68%);
  color: #fff;
}

.hero-brand-lockup {
  font-size: clamp(36px, 6.7vw, 132px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.065em;
}

.hero-brand-lockup > span { display: block; white-space: nowrap; }
.hero-brand-lockup > span + span { margin-top: .1em; }
.hero-brand-lockup small { font-size: .66em; letter-spacing: -.07em; }

.hero-brand-copy {
  margin: 0 0 clamp(16px, 5vh, 60px);
  text-align: right;
  font-size: clamp(16px, 2.45vw, 48px);
  line-height: 1.35;
  letter-spacing: -.035em;
  text-shadow: 0 1px 6px rgb(18 13 11 / 70%);
}

.hero-brand-copy strong { display: block; font-weight: 750; }
.hero-brand-copy strong span { color: #ffdfc4; }
.hero-brand-name {
  display: block;
  margin-top: .65em;
  font-size: .53em;
  font-weight: 500;
}

.document-article { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.document-title {
  padding-block: clamp(34px, 5vw, 56px) clamp(18px, 2.8vw, 30px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3.4vw, 40px);
}
.document-title h1 { font-size: 36px; font-weight: 750; line-height: 1.45; letter-spacing: -.04em; }
.document-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

.document-keywords li {
  max-width: 100%;
  padding: 5px 12px;
  border: 1px solid #ded4cb;
  border-radius: 999px;
  background: #f2ebe4;
  color: #624940;
}
.document-image { margin: 0 auto 48px; text-align: center; }
.document-image img { max-width: 100%; height: auto; margin: auto; }

.design-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--sand);
}

.design-carousel .swiper-slide img { width: 100%; }

.design-carousel:not(.swiper-initialized) .swiper-slide:not(:first-child),
.design-carousel:not(.swiper-initialized) .gallery-arrow { display: none; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: clamp(44px, 4.2vw, 52px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgb(255 250 245 / 72%);
  border-radius: 50%;
  background: rgb(45 33 30 / 80%);
  color: #fffaf5;
  cursor: pointer;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible { background: #392a25; }
.gallery-arrow:focus-visible { outline: 2px solid #fffaf5; outline-offset: 2px; }
.gallery-prev { left: clamp(8px, 2vw, 22px); }
.gallery-next { right: clamp(8px, 2vw, 22px); }

.gallery-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-prev::before { transform: translateX(2px) rotate(-135deg); }
.gallery-next::before { transform: translateX(-2px) rotate(45deg); }

@media (max-width: 650px) {
  .gallery-prev { left: 32px; }
  .gallery-next { right: 32px; }
}

.document-section { margin: 0 0 50px; scroll-margin-top: 25px; }
.document-section p { font-size: 18px; line-height: 2; white-space: pre-wrap; margin: 0 0 24px; }
.document-section h2 { font-size: 27px; line-height: 1.7; margin: 38px 0 28px; white-space: pre-wrap; }
.document-brand-statement {
  margin: 0 0 clamp(28px, 4.5vw, 52px);
  border: 1px solid #624940;
  padding: clamp(30px, 6vw, 65px) clamp(15px, 4vw, 40px);
  background: linear-gradient(145deg, #42312c, #281e1c);
  color: #fff8f0;
  text-align: center;
}

.document-section .document-brand-statement .document-slogan {
  margin: 0;
  font-size: clamp(26px, 5.2vw, 56px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.05em;
  white-space: normal;
  text-wrap: balance;
}

.document-slogan span { display: block; color: #ffdfc4; }

.document-section .design-slogan {
  margin: 0 0 24px;
  padding-inline-start: clamp(13px, 3vw, 24px);
  border-inline-start: 3px solid #73524b;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 40px);
  font-weight: 750;
  line-height: 1.37;
  letter-spacing: -.047em;
  white-space: normal;
}

.design-slogan span { color: #7b4e43; }

.ingredient-keyword {
  padding: .08em .2em;
  border-radius: .15em;
  background-color: #eee0d5;
  color: #693d34;
  font-weight: 750;
  white-space: nowrap;
}

.document-section.care-panel {
  padding: clamp(19px, 3.5vw, 34px);
  margin-bottom: 24px;
  border: 1px solid #dcd0c4;
  border-radius: 8px;
  background: #f4ede5;
}

.document-section.care-panel-aftercare {
  background: #fffaf4;
  border-color: #dec8bb;
}

.document-section.care-panel h2 {
  margin: 0 0 .55em;
  color: #543b33;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.care-panel-content > p:last-child { margin-bottom: 0; }
.care-panel-duration strong { color: #65453a; }

.aftercare-list {
  margin: 0 0 20px;
  padding-inline-start: 1.25em;
}

.aftercare-list li + li { margin-top: .55em; }
.aftercare-list li::marker { color: #875b4f; }

.aftercare-alert {
  padding: 13px 16px;
  border-inline-start: 3px solid #8b4a43;
  border-radius: 4px;
  background: #f4e5e0;
  color: #633630;
}

.document-section .aftercare-alert p { margin: 0; line-height: 1.65; }

.document-section .document-brand-english {
  margin: 18px 0 0;
  color: #ead6c7;
  font-size: clamp(14px, 2.4vw, 23px);
  line-height: 1.45;
  letter-spacing: .07em;
}
.document-section:last-child { margin-bottom: 0; }

section#consultation {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 18px clamp(24px, 4vw, 44px);
  align-items: center;
  margin-bottom: 24px;
}

#consultation .document-image { margin: 0; }
#consultation .document-image img { width: 100%; border-radius: 4px; }
.consultation-copy { min-width: 0; }
.consultation-copy p { margin: 0 0 14px; }
.consultation-copy p:last-child { margin-bottom: 0; }

.consultation-keypoints {
  grid-column: 1 / -1;
  padding: clamp(14px, 2.4vw, 24px) clamp(12px, 3vw, 32px);
  border-block: 1px solid #ded4cb;
  background: #f2ebe4;
  text-align: center;
  color: #624940;
}

.document-section .consultation-keypoints > :is(p, h2) {
  margin: 0;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.document-section .consultation-keypoints h2 { margin-top: .16em; }

@media screen and (prefers-reduced-motion: no-preference) {
  .scroll-revealed {
    animation: scroll-fade-up .68s cubic-bezier(.22, .61, .36, 1);
  }

  .landing-hero .scroll-revealed {
    animation: hero-fade-in .85s ease-out;
  }

  .hero-brand-lockup > span,
  .hero-brand-copy strong,
  .hero-brand-name {
    animation: hero-type-in .8s cubic-bezier(.22, .61, .36, 1) both;
  }

  .hero-brand-lockup > span:first-child { animation-delay: .13s; }
  .hero-brand-lockup > span + span { animation-delay: .26s; }
  .hero-brand-copy strong { animation-delay: .39s; }
  .hero-brand-name { animation-delay: .56s; }
}

@keyframes scroll-fade-up {
  from { opacity: .12; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
  from { opacity: .65; }
  to { opacity: 1; }
}

@keyframes hero-type-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.document-section .checklist-intro { font-weight: 600; margin-bottom: 24px; }

.checklist-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.checklist-item {
  position: relative;
  padding: 19px 22px 19px 65px;
  border: 1px solid #ded4cb;
  border-radius: 6px;
  background: #f2ebe4;
}

.checklist-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #73524b;
}

.checklist-item::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 29px;
  width: 10px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.document-section .checklist-item p { margin: 0; line-height: 1.75; }
.checklist-item p:first-child { font-weight: 600; }
.document-section .checklist-item p + p { margin-top: 8px; }
.document-section .checklist-item .checklist-detail { font-size: 14px; }

@media (min-width: 951px) {
  .document-section .checklist-item .checklist-detail { white-space: nowrap; }
}

@media (min-width: 651px) {
  .landing-hero picture img {
    height: calc(100vh - var(--header));
    height: calc(100svh - var(--header));
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 651px) and (max-width: 950px) {
  .document-article { width: min(820px, calc(100% - 116px)); }
}

@media (min-width: 851px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-inner .brand { justify-self: start; }
  #navigation { grid-column: 2; gap: clamp(28px, 3.5vw, 52px); font-size: clamp(14px, 1.25vw, 17px); }
  #navigation a { font-weight: 600; white-space: nowrap; }
}

@media (max-width: 850px) {
  #navigation { text-align: center; }
  #navigation a { font-size: 18px; font-weight: 600; }
}

@media (max-width: 650px) {
  .landing-hero-caption {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    gap: 17px;
    padding: 22px 18px 32px;
  }
  .hero-brand-lockup { font-size: clamp(28px, 7.8vw, 49px); }
  .hero-brand-copy { margin: 0; text-align: left; font-size: clamp(22px, 6.3vw, 36px); }
  .hero-brand-name { font-size: .64em; }
  .document-article { width: calc(100% - 36px); }
  .document-main { padding-bottom: 55px; }
  .document-title h1 { font-size: 25px; }
  .document-keywords { font-size: 12px; margin-top: 18px; }
  .document-image { margin-bottom: 30px; }
  .document-section { margin-bottom: 34px; }
  .document-section p { font-size: 16px; line-height: 1.95; margin-bottom: 22px; }
  .document-section h2 { font-size: 22px; margin: 30px 0 22px; }
  .checklist-item { padding: 15px 14px 15px 50px; }
  .checklist-item::before { top: 17px; left: 13px; width: 25px; height: 25px; }
  .checklist-item::after { top: 23px; left: 20px; }
}

@media (max-width: 560px) {
  section#consultation { grid-template-columns: minmax(0, 1fr); }
  #consultation .document-image { width: min(100%, 338px); margin-inline: auto; }
}

.forehead-guide .document-section { margin-bottom: clamp(32px, 5vw, 58px); }

.forehead-guide .document-section > h2 {
  margin: 0 0 20px;
  padding: 13px clamp(12px, 2vw, 20px);
  border-inline-start: 4px solid var(--accent);
  background: linear-gradient(90deg, #efe4d9, transparent);
  color: #4d342b;
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
}

.forehead-guide .document-section.care-panel > h2 {
  position: relative;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-inline-start: 0;
  background: transparent;
  font-size: clamp(18px, 2.15vw, 21px);
}

.forehead-guide .document-section.care-panel > h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: calc(6px + .675em);
  width: 2px;
  height: 17px;
  transform: translateY(-50%);
  background-color: var(--accent);
}

.forehead-guide h3 {
  margin: clamp(22px, 4vw, 36px) 0 10px;
  color: #65453a;
  font-size: clamp(19px, 2.35vw, 23px);
  font-weight: 650;
  line-height: 1.5;
}

.forehead-guide .document-image { margin: clamp(22px, 4.5vw, 40px) auto; }
.forehead-guide .document-image img { display: block; width: 100%; }
.review-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.8vw, 16px);
  margin-block: clamp(22px, 4.5vw, 40px);
}
.forehead-guide .review-photos .review-photo { margin: 0; }
.review-photo img { aspect-ratio: 10 / 3; object-fit: contain; }
.review-photo figcaption { padding-top: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.forehead-guide .document-section > :last-child { margin-bottom: 0; }

#faq > :is(h3, p) {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

#faq > p { white-space: normal; }

.faq-marker {
  display: grid;
  place-items: center;
  height: 26px;
  margin-top: .23em;
  border: 1px solid #ded0c5;
  border-radius: 4px;
  background: #f4ede5;
  color: #65453a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

#faq h3 .faq-marker { background: #65453a; border-color: #65453a; color: #fff; }

.forehead-guide .article-disclaimer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.visit-map {
  overflow: hidden;
  margin: 24px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
}

.visit-map .root_daum_roughmap { width: 100%; max-width: 100%; }
.visit-map .root_daum_roughmap > .cont,
.visit-map .wrap_map img[hidden] { display: none !important; }

.visit-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px;
  color: #65453a;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-map-fallback:focus-visible { outline-offset: -4px; }
.visit-map:has(.wrap_map) .visit-map-fallback { display: none; }

.visit-contact {
  overflow: hidden;
  border: 1px solid #ded4cb;
  border-radius: 8px;
  background: #f4ede5;
}

.visit-contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px clamp(14px, 2vw, 22px);
}

.visit-contact-item + .visit-contact-item { border-top: 1px solid #ded4cb; }

.visit-contact-item > div {
  display: grid;
  grid-template-columns: 2.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}

.visit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ded0c5;
  border-radius: 50%;
  background: #fcf8f3;
  color: #78534a;
}

.visit-icon svg { width: 22px; height: 22px; }
.forehead-guide .visit-contact h3 { margin: 0; font-size: 16px; }
.forehead-guide .visit-contact p { margin: 0; font-size: 16px; line-height: 1.6; }
.visit-contact a { text-decoration: underline; text-underline-offset: 3px; }

