:root {
  --ivory: #f5efe6;
  --paper: #fffaf2;
  --stone: #ddd5ca;
  --stone-deep: #b8aea1;
  --charcoal: #292520;
  --charcoal-soft: #3c362f;
  --muted: #7d746a;
  --wood: #967457;
  --champagne: #c2a46e;
  --line: rgba(41, 37, 32, 0.16);
  --max: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(245, 239, 230, 0.94)),
    var(--ivory);
  color: var(--charcoal);
  font-family: "Inter", "Pretendard", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.5;
  word-break: keep-all;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--charcoal);
  color: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(41, 37, 32, 0.12);
  background: rgba(255, 250, 242, 0.88);
  color: var(--charcoal);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  width: min(100%, var(--max));
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-mark {
  display: inline-grid;
  width: fit-content;
  gap: 4px;
  line-height: 1;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-logo--header {
  height: 18px;
  transition:
    filter 200ms ease,
    opacity 200ms ease;
}

.site-header:not(.is-scrolled) .brand-logo--header {
  filter: invert(1) brightness(1.08);
  opacity: 0.94;
}

.site-header.is-scrolled .brand-logo--header {
  opacity: 0.82;
}

.brand-mark small {
  color: var(--champagne);
  font-size: 0.64rem;
  font-weight: 800;
}

.site-nav {
  display: none;
  gap: 30px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.opening {
  position: relative;
  display: grid;
  min-height: 94svh;
  align-items: end;
  overflow: hidden;
  padding: 124px 20px 88px;
}

.opening__media,
.opening__shade,
.opening__watermark {
  position: absolute;
  inset: 0;
}

.opening__media {
  background-image: url("./assets/images/pure/pure-hero.jpg");
  background-position: center center;
  background-size: cover;
}

.opening__shade {
  background:
    linear-gradient(90deg, rgba(34, 30, 26, 0.64), rgba(34, 30, 26, 0.26) 48%, rgba(34, 30, 26, 0.06)),
    linear-gradient(180deg, rgba(34, 30, 26, 0.08), rgba(34, 30, 26, 0.02) 40%, rgba(34, 30, 26, 0.46));
}

.opening__watermark {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 150px max(20px, calc((100vw - var(--max)) / 2)) 0 20px;
  opacity: 0.075;
  pointer-events: none;
}

.opening__watermark img {
  width: min(34vw, 390px);
  height: auto;
  filter: invert(1) brightness(1.1);
}

.opening__inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--paper);
}

.eyebrow {
  margin: 0;
  color: var(--wood);
  font-size: 0.72rem;
  font-weight: 900;
}

.opening .eyebrow {
  color: #ead7b6;
}

.opening h1 {
  max-width: 700px;
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.78rem;
  font-weight: 500;
  line-height: 1.08;
}

.opening__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.98rem;
  line-height: 1.72;
}

.opening__note {
  margin: 18px 0 0;
  color: rgba(234, 215, 182, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
}

.opening__actions,
.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-width: 156px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 242, 0.46);
  border-radius: 2px;
  padding: 0 24px;
  font-size: 0.8rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--charcoal);
}

.button--ghost {
  background: rgba(255, 250, 242, 0.05);
  color: var(--paper);
}

.button--dark {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--paper);
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--charcoal);
}

.mood,
.branches,
.strength,
.branch-contact,
.visit {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 104px 20px;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.08rem;
  font-weight: 500;
  line-height: 1.18;
}

.mood-layout {
  display: grid;
  gap: 14px;
}

figure {
  margin: 0;
}

.mood-feature,
.mood-tile,
.branch-photo,
.strength-photo {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}

.mood-feature img,
.mood-tile img,
.branch-photo img,
.strength-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mood-feature {
  height: 600px;
}

.mood-feature img {
  object-position: center center;
}

.mood-feature::after,
.mood-tile::after,
.strength-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(41, 37, 32, 0), rgba(41, 37, 32, 0.38));
  pointer-events: none;
}

.mood-feature figcaption,
.mood-tile figcaption,
.strength-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--paper);
}

.mood-feature span {
  display: block;
  color: #ead7b6;
  font-size: 0.72rem;
  font-weight: 900;
}

.mood-feature p {
  max-width: 460px;
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.54rem;
  line-height: 1.28;
}

.mood-pair {
  display: grid;
  gap: 12px;
}

.mood-tile {
  height: 274px;
}

.mood-tile figcaption,
.strength-photo figcaption {
  font-size: 0.76rem;
  font-weight: 900;
}

.branch-nav {
  display: flex;
  gap: 8px;
  margin: -8px -20px 18px;
  overflow-x: auto;
  padding: 0 20px 8px;
  scrollbar-width: none;
}

.branch-nav::-webkit-scrollbar {
  display: none;
}

.branch-link {
  flex: 0 0 auto;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  padding: 8px 2px 7px;
  font-size: 0.78rem;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.branch-link:hover,
.branch-link.is-active {
  border-color: var(--wood);
  color: var(--wood);
}

.branch-scene {
  display: grid;
  gap: 28px;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.branch-scene:last-child {
  border-bottom: 1px solid var(--line);
}

.branch-photo {
  min-height: 420px;
  height: 58vw;
  max-height: 680px;
}

.branch-photo img {
  object-position: center center;
}

.branch-photo.reveal,
.branch-copy.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

#pure .branch-photo img,
#nonhyeon .branch-photo img {
  object-position: center top;
}

#baegot .branch-photo img,
#hogupo .branch-photo img {
  object-position: center center;
}

.branch-copy {
  display: grid;
  align-content: center;
}

.branch-copy span {
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 900;
}

.branch-copy h3 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.08rem;
  font-weight: 500;
  line-height: 1.08;
}

.branch-copy p {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
  line-height: 1.78;
}

.branch-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  row-gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.branch-copy li {
  color: var(--wood);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.branch-copy li + li::before {
  color: rgba(150, 116, 87, 0.58);
  content: "/";
  margin: 0 10px;
}

.branch-contact {
  border-top: 1px solid rgba(41, 37, 32, 0.08);
}

.branch-contact__lead {
  max-width: 610px;
  margin: -12px 0 38px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.82;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  min-height: 456px;
  align-content: space-between;
  gap: 28px;
  border: 1px solid rgba(41, 37, 32, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.58), rgba(245, 239, 230, 0.42));
  padding: 26px;
}

.contact-card__eyebrow {
  margin: 0;
  color: var(--champagne);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-card h3 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.54rem;
  font-weight: 500;
  line-height: 1.18;
}

.contact-card p:not(.contact-card__eyebrow) {
  max-width: 380px;
  margin: 14px 0 0;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  line-height: 1.72;
}

.contact-card address {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.68;
}

.contact-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.contact-meta div {
  display: grid;
  gap: 4px;
}

.contact-meta dt {
  color: var(--wood);
  font-size: 0.68rem;
  font-weight: 900;
}

.contact-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.62;
}

.contact-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(41, 37, 32, 0.18);
  padding: 0 12px;
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.contact-button:hover {
  border-color: var(--wood);
  color: var(--wood);
  transform: translateY(-1px);
}

.contact-button--call {
  grid-column: 1 / -1;
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--paper);
}

.contact-button--call:hover {
  border-color: var(--wood);
  background: var(--wood);
  color: var(--paper);
}

.strength-grid {
  display: grid;
  gap: 12px;
}

.strength-photo {
  height: 340px;
}

.strength-photo--large {
  height: 520px;
}

.strength-photo img {
  object-position: center center;
}

.strength-photo--large img {
  object-position: center top;
}

.strength-photo--recovery img {
  object-position: center top;
}

.visit {
  padding-bottom: 112px;
}

.visit__inner {
  display: grid;
  min-height: 400px;
  align-content: center;
  justify-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
}

.visit h2 {
  max-width: 720px;
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.14;
}

.visit__copy {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.82;
}

.site-footer {
  display: grid;
  width: min(100%, var(--max));
  gap: 14px;
  margin: 0 auto;
  padding: 8px 20px 52px;
  color: var(--muted);
}

.site-footer span {
  display: block;
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.brand-logo--footer {
  height: 20px;
  opacity: 0.82;
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--champagne);
}

.site-footer span {
  max-width: 520px;
  color: var(--wood);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.branch-contact .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.branch-contact .contact-card__actions {
  display: grid;
  visibility: visible;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

.branch-contact .contact-button {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
}

@media (min-width: 760px) {
  .site-nav {
    display: flex;
  }

  .opening {
    min-height: 96svh;
    padding-bottom: 108px;
  }

  .opening h1 {
    font-size: 4.42rem;
  }

  .opening__lead {
    font-size: 1.02rem;
  }

  .mood,
  .branches,
  .strength,
  .branch-contact,
  .visit {
    padding-top: 132px;
    padding-bottom: 132px;
  }

  .section-head {
    grid-template-columns: 0.28fr 1fr;
    align-items: end;
  }

  .section-head h2 {
    font-size: 2.62rem;
  }

  .mood-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 14px;
  }

  .mood-feature {
    height: 720px;
  }

  .mood-pair {
    gap: 14px;
  }

  .mood-tile {
    height: 343px;
  }

  .branch-nav {
    justify-content: flex-end;
    margin-right: 0;
    margin-left: 0;
    overflow: visible;
    padding-right: 0;
    padding-left: 0;
  }

  .branch-scene {
    grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
    gap: 58px;
    align-items: center;
    padding: 78px 0;
  }

  .branch-scene--reverse {
    grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
  }

  .branch-scene--reverse .branch-copy {
    order: 1;
  }

  .branch-scene--reverse .branch-photo {
    order: 2;
  }

  .branch-photo {
    height: 640px;
  }

  .branch-copy h3 {
    font-size: 2.86rem;
  }

  .branch-copy li {
    font-size: 0.74rem;
  }

  .strength-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.72fr);
    gap: 14px;
  }

  .branch-contact__lead {
    margin: -18px 0 50px auto;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .contact-card {
    min-height: 482px;
    padding: 30px;
  }

  .contact-card h3 {
    font-size: 1.74rem;
  }

  .strength-photo {
    height: 316px;
  }

  .strength-photo--large {
    grid-row: span 2;
    height: 646px;
  }

  .visit h2 {
    font-size: 3.08rem;
  }

  .visit__copy {
    font-size: 1rem;
  }

  .site-footer {
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    align-items: start;
    padding-bottom: 64px;
  }

  .site-footer span {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 1120px) {
  .nav-inner,
  .opening,
  .mood,
  .branches,
  .strength,
  .branch-contact,
  .visit,
  .site-footer {
    padding-right: 0;
    padding-left: 0;
  }

  .opening h1 {
    font-size: 5.02rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  :root {
    --header-height: 66px;
  }

  .nav-inner {
    gap: 16px;
    padding: 0 22px;
  }

  .brand-logo--header {
    height: 17px;
  }

  .brand-mark small {
    font-size: 0.58rem;
  }

  .opening__watermark {
    display: none;
  }

  .opening {
    min-height: 92svh;
    padding: 104px 22px 60px;
  }

  .opening__media {
    background-position: center top;
  }

  .opening__shade {
    background:
      linear-gradient(90deg, rgba(34, 30, 26, 0.68), rgba(34, 30, 26, 0.28) 66%, rgba(34, 30, 26, 0.12)),
      linear-gradient(180deg, rgba(34, 30, 26, 0.06), rgba(34, 30, 26, 0.18) 48%, rgba(34, 30, 26, 0.56));
  }

  .opening .eyebrow {
    font-size: 0.68rem;
  }

  .opening h1 {
    max-width: 320px;
    margin-top: 16px;
    font-size: 2.22rem;
    line-height: 1.14;
  }

  .opening__lead {
    max-width: 320px;
    margin-top: 20px;
    font-size: 0.88rem;
    line-height: 1.76;
  }

  .opening__note {
    margin-top: 16px;
    font-size: 0.68rem;
  }

  .opening__actions,
  .visit__actions {
    width: min(100%, 320px);
    gap: 10px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 22px;
  }

  .mood,
  .branches,
  .strength,
  .branch-contact,
  .visit {
    padding: 88px 22px;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 32px;
  }

  .section-head h2,
  .visit h2 {
    font-size: 1.8rem;
    line-height: 1.22;
  }

  .mood-feature {
    height: 430px;
  }

  .mood-feature p {
    font-size: 1.2rem;
  }

  .mood-tile {
    height: 252px;
  }

  .mood-feature,
  .mood-tile,
  .branch-photo,
  .strength-photo {
    border-radius: 2px;
  }

  .branch-nav {
    gap: 14px;
    margin: -4px -22px 20px;
    padding: 0 22px 12px;
  }

  .branch-link {
    padding-top: 10px;
    padding-bottom: 9px;
  }

  .branch-scene {
    gap: 26px;
    padding: 62px 0;
  }

  .branch-photo {
    min-height: 360px;
    height: 92vw;
  }

  .branch-copy h3 {
    font-size: 1.74rem;
    line-height: 1.12;
  }

  .branch-copy p {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.74;
  }

  .branch-copy ul {
    row-gap: 8px;
    margin-top: 22px;
  }

  .branch-copy li {
    font-size: 0.68rem;
  }

  .branch-copy li + li::before {
    margin: 0 7px;
  }

  .strength-photo,
  .strength-photo--large {
    height: 386px;
  }

  .strength-grid {
    gap: 14px;
  }

  .strength-photo figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: 0.7rem;
  }

  .strength-photo--large img {
    object-position: center center;
  }

  .branch-contact__lead {
    margin-top: -8px;
    margin-bottom: 34px;
    font-size: 0.9rem;
    line-height: 1.76;
  }

  .contact-grid {
    gap: 16px;
  }

  .contact-card {
    min-height: auto;
    gap: 26px;
    padding: 24px 20px;
  }

  .contact-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .contact-button {
    min-height: 48px;
    width: 100%;
    padding: 0 10px;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .contact-button--call {
    min-height: 50px;
  }

  .contact-card h3 {
    font-size: 1.48rem;
  }

  .contact-card p:not(.contact-card__eyebrow) {
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .contact-card address {
    font-size: 0.8rem;
    line-height: 1.66;
  }

  .contact-meta {
    gap: 10px;
    margin-top: 16px;
  }

  .contact-meta dd {
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .visit__inner {
    min-height: 310px;
    padding: 58px 0;
  }

  .visit__copy {
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .site-footer {
    display: grid;
    align-items: start;
    gap: 12px;
    padding: 10px 22px 48px;
  }
}

@media (max-width: 430px) {
  .opening {
    padding-top: 98px;
    padding-bottom: 54px;
  }

  .opening h1 {
    max-width: 302px;
    font-size: 2.02rem;
  }

  .opening__lead {
    max-width: 304px;
    font-size: 0.84rem;
  }

  .opening__actions,
  .visit__actions {
    width: 100%;
  }

  .section-head h2,
  .visit h2 {
    font-size: 1.66rem;
  }

  .strength-photo,
  .strength-photo--large {
    height: 350px;
  }

  .branch-copy h3 {
    font-size: 1.62rem;
  }

  .branch-copy p {
    font-size: 0.94rem;
  }

  .branch-copy li {
    font-size: 0.66rem;
  }

  .contact-card {
    padding: 22px 18px;
  }

  .contact-button {
    min-height: 46px;
    font-size: 0.68rem;
  }
}
