:root {
  --bg-page: #f4eaea;
  --hero-from: #f4eaea;
  --hero-to: #e9c7c7;
  --accent-dark: #98685e;
  --accent-light: #d7a297;
  --accent-rose: #d8a89e;
  --accent-heading: #a6756a;
  --before-bar: #b1b1b1;
  --after-bar: #98685e;
  --text-body: #333333;
  --u: min(1px, 0.125vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-page);
}

body {
  min-height: 100vh;
  background-color: var(--bg-page);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text-body);
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.landing-shell {
  width: 100%;
  max-width: 800px;
  container-type: inline-size;
}

@supports (width: 1cqw) {
  .landing {
    --u: calc(100cqw / 800);
  }
}

.landing {
  position: relative;
  width: 100%;
  background-color: var(--bg-page);
  overflow: hidden;
  padding-bottom: calc(40 * var(--u));
}

/* Ambient background glow ellipses */
.bg-glow {
  position: absolute;
  width: calc(993 * var(--u));
  height: calc(993 * var(--u));
  pointer-events: none;
  z-index: 0;
}

.bg-glow__inner {
  position: absolute;
  inset: -30.21%;
}

.bg-glow__inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.bg-glow--1 {
  left: calc(50% - 399.5 * var(--u));
  top: calc(1367 * var(--u));
  transform: translateX(-50%);
}

.bg-glow--2 {
  left: calc(50% + 400.5 * var(--u));
  top: calc(3699 * var(--u));
  transform: translateX(-50%);
}

.bg-glow--3 {
  left: calc(50% - 399.5 * var(--u));
  top: calc(6031 * var(--u));
  transform: translateX(-50%);
}

/* Hero Section (800 x 834) */
.hero {
  position: relative;
  width: 100%;
  height: calc(834 * var(--u));
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  overflow: hidden;
  z-index: 1;
}

.hero__wave {
  position: absolute;
  width: calc(1038 * var(--u));
  height: calc(1038 * var(--u));
  left: calc(50% + 44 * var(--u));
  top: calc(50% + 6 * var(--u));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__wave img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.3;
}

.hero__glow {
  position: absolute;
  width: calc(542 * var(--u));
  height: calc(542 * var(--u));
  left: 50%;
  top: calc(-23 * var(--u));
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__glow-inner {
  position: absolute;
  inset: -36.9%;
}

.hero__glow-inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero__header {
  position: absolute;
  left: calc(50% - 0.5 * var(--u));
  top: calc(100 * var(--u));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(20 * var(--u));
  white-space: nowrap;
  z-index: 2;
}

.hero__brand {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: calc(18 * var(--u));
  line-height: 1;
  letter-spacing: calc(5 * var(--u));
  color: var(--accent-rose);
  text-align: center;
}

.hero__title {
  font-family: 'Spoqa Han Sans Neo', 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: calc(85 * var(--u));
  line-height: 1.4;
  letter-spacing: calc(-3.4 * var(--u));
  text-align: center;
  background-image: linear-gradient(
    80.68deg,
    rgb(84, 40, 27) 0%,
    rgb(143, 85, 68) 50%,
    rgb(84, 40, 27) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__banner {
  position: absolute;
  left: calc(34 * var(--u));
  top: calc(297 * var(--u));
  width: calc(732 * var(--u));
  height: calc(196 * var(--u));
  background: linear-gradient(90deg, #7e5046 0%, #a67267 50%, #7e5046 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__banner-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(10 * var(--u));
  background-color: var(--accent-rose);
}

.hero__banner-bar--top {
  top: 0;
}

.hero__banner-bar--bottom {
  bottom: 0;
}

.hero__banner-copy {
  font-family: 'Spoqa Han Sans Neo', 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: calc(45 * var(--u));
  line-height: 1.4;
  letter-spacing: calc(-1.8 * var(--u));
  color: #f4eaea;
  text-align: center;
  white-space: nowrap;
}

.hero__banner-copy strong {
  font-weight: 700;
  color: #ffffff;
}

.hero__subcopy {
  position: absolute;
  left: calc(50% - 0.5 * var(--u));
  top: calc(533 * var(--u));
  transform: translateX(-50%);
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: calc(24 * var(--u));
  line-height: 1.5;
  letter-spacing: calc(-0.96 * var(--u));
  color: var(--text-body);
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.hero__cta-wrap {
  position: absolute;
  left: 50%;
  top: calc(649 * var(--u));
  transform: translateX(-50%);
  width: calc(740 * var(--u));
  display: flex;
  gap: calc(10 * var(--u));
  align-items: center;
  z-index: 2;
}

.cta-btn {
  flex: 1 1 0;
  height: max(46px, calc(80 * var(--u)));
  border-radius: calc(15 * var(--u));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  text-decoration: none;
  color: #ffffff;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: calc(27 * var(--u));
  line-height: 1;
  letter-spacing: calc(-1.08 * var(--u));
  white-space: nowrap;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-btn--sms {
  background-color: var(--accent-dark);
}

.cta-btn--call {
  background-color: var(--accent-light);
}

.cta-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(84, 40, 27, 0.14);
}

.cta-btn:active {
  transform: translateY(0) scale(0.985);
}

.cta-btn:focus-visible {
  outline: 3px solid #54281b;
  outline-offset: 2px;
}

.cta-btn__icon {
  display: block;
  flex-shrink: 0;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
}

/* Section Divider (BEFORE & AFTER) */
.section-divider {
  position: relative;
  z-index: 1;
  margin-top: calc(80 * var(--u));
  margin-bottom: calc(80 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 * var(--u));
}

.section-divider__line {
  display: block;
  width: calc(149 * var(--u));
  height: max(1px, calc(1 * var(--u)));
  flex-shrink: 0;
}

.section-divider__line--right {
  transform: rotate(180deg);
}

.section-divider__title {
  font-family: 'Spoqa Han Sans Neo', 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: calc(50 * var(--u));
  line-height: 1.26;
  letter-spacing: calc(-1 * var(--u));
  color: var(--accent-heading);
  text-align: center;
  white-space: nowrap;
}

/* Before & After Gallery (13 cards, gap 100px) */
.gallery {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(100 * var(--u));
  width: 100%;
}

.ba-card {
  position: relative;
  width: 100%;
  height: calc(478 * var(--u));
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
}

.ba-panel {
  position: relative;
  width: calc(400 * var(--u));
  height: calc(478 * var(--u));
  flex-shrink: 0;
  overflow: hidden;
  background-color: #000000;
}

.ba-panel--light {
  background-color: #ffffff;
}

.ba-photo {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  overflow: hidden;
}

.ba-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.ba-photo--fit-offset img {
  position: absolute;
  left: -0.02%;
  top: 0;
  width: 100.04%;
  height: 100%;
  object-fit: fill;
}

.ba-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(75 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: calc(30 * var(--u));
  line-height: 1;
  letter-spacing: calc(-0.9 * var(--u));
  color: #ffffff;
  text-align: center;
  z-index: 2;
}

.ba-label--before {
  background-color: var(--before-bar);
}

.ba-label--after {
  background-color: var(--after-bar);
}

.ba-arrow {
  position: absolute;
  left: calc(50% - 0.5 * var(--u));
  top: calc(50% - 37.5 * var(--u));
  transform: translate(-50%, -50%);
  width: calc(65 * var(--u));
  height: calc(65 * var(--u));
  z-index: 3;
  pointer-events: none;
}

.ba-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Footer Disclaimer */
.disclaimer {
  position: relative;
  z-index: 1;
  width: calc(740 * var(--u));
  min-height: calc(144 * var(--u));
  margin: calc(40 * var(--u)) auto 0;
  padding: calc(29 * var(--u)) calc(20 * var(--u));
  background-color: rgba(216, 168, 158, 0.1);
  border-top: 1px solid rgba(216, 168, 158, 0.5);
  border-bottom: 1px solid rgba(216, 168, 158, 0.5);
}

.disclaimer__list {
  list-style: none;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: max(11px, calc(14 * var(--u)));
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--accent-light);
  display: flex;
  flex-direction: column;
  gap: max(12px, calc(21 * var(--u)));
}

.disclaimer__item {
  padding-left: 1.25em;
  text-indent: -1.25em;
  word-break: keep-all;
}
