:root {
  --ivory: #F7F3EE;
  --paper: #FFFDF9;
  --text: #3A3632;
  --soft-text: #6F6860;
  --muted-gold: #B8A47E;
  --charcoal: #171412;
  --charcoal-soft: #221E1B;
  --line: rgba(58, 54, 50, 0.13);
  --line-light: rgba(255, 253, 249, 0.16);
  --shadow: 0 28px 70px rgba(58, 54, 50, 0.14);
  --nav-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ivory);
  color: var(--text);
  font-family: "Noto Serif KR", serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.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;
}

.top-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(247, 243, 238, 0.12);
  background: rgba(247, 243, 238, 0.93);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  min-width: 0;
}

.wordmark-name,
.wordmark-dot {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.wordmark-name {
  color: var(--text);
  font-size: clamp(1.62rem, 6vw, 2rem);
}

.wordmark-dot {
  color: var(--muted-gold);
  font-size: clamp(1.08rem, 4vw, 1.28rem);
}

.nav-sample {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(58, 54, 50, 0.16);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 34px) 0 84px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(184, 164, 126, 0.08), transparent 42%),
    var(--charcoal);
  background-size: 100% 100%, auto;
  color: var(--paper);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-left: clamp(0px, 7vw, 42px);
}

.hero-eyebrow,
.section-eyebrow {
  color: var(--muted-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  display: grid;
  gap: 0;
  max-width: 8.4em;
  margin-top: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.7rem, 17.5vw, 9.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-subline {
  display: grid;
  gap: 4px;
  max-width: 40rem;
  margin-top: 34px;
  color: rgba(255, 253, 249, 0.78);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

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

.button-outline {
  border: 1px solid rgba(255, 253, 249, 0.28);
  background: rgba(255, 253, 249, 0.04);
  color: var(--paper);
}

.button-light {
  border: 1px solid rgba(58, 54, 50, 0.11);
  background: rgba(255, 253, 249, 0.72);
  color: var(--text);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(255, 253, 249, 0.5);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: cue-bounce 1.8s ease-in-out infinite;
}

.section-band {
  padding: clamp(74px, 10vw, 124px) 0;
}

.points {
  background:
    linear-gradient(180deg, var(--paper), var(--ivory));
}

.points .section-eyebrow {
  margin-bottom: 28px;
  text-align: center;
}

.point-grid {
  display: grid;
  gap: 18px;
}

.point-card {
  display: grid;
  align-content: start;
  min-height: 238px;
  padding: clamp(26px, 5vw, 38px);
  border: 1px solid rgba(58, 54, 50, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.74);
  box-shadow: 0 22px 58px rgba(58, 54, 50, 0.06);
}

.point-mark {
  width: 10px;
  height: 10px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(184, 164, 126, 0.42);
}

.point-card h3 {
  max-width: 8em;
  font-size: clamp(2.1rem, 8vw, 3.15rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.point-card p {
  margin-top: 18px;
  color: var(--soft-text);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
}

.philosophy {
  background: var(--ivory);
}

.philosophy-inner {
  display: grid;
  gap: 34px;
}

.philosophy-copy {
  display: grid;
  gap: 18px;
}

.philosophy h2,
.showcase h2 {
  max-width: 11em;
  font-size: clamp(2rem, 7vw, 3.7rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
}

.philosophy-copy p:not(.section-eyebrow) {
  max-width: 35rem;
  color: var(--soft-text);
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.95;
}

.philosophy-list {
  display: grid;
  gap: 18px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.9;
}

.philosophy-list li {
  position: relative;
  padding-left: 22px;
}

.philosophy-list li::before {
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--muted-gold);
  content: "";
}

.showcase {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.4), rgba(247, 243, 238, 0.88)),
    var(--paper);
  text-align: center;
}

.showcase-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.showcase h2 {
  margin-bottom: 28px;
}

.phone-link {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
}

.phone-frame {
  position: relative;
  display: block;
  width: min(312px, calc(100vw - 88px));
  aspect-ratio: 9 / 18.6;
  padding: 16px 13px;
  border: 1px solid rgba(58, 54, 50, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(247, 243, 238, 0.88));
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 50%;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: rgba(58, 54, 50, 0.18);
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

.sample-caption {
  color: var(--soft-text);
  font-size: 0.94rem;
  text-decoration: underline;
  text-decoration-color: rgba(111, 104, 96, 0.25);
  text-underline-offset: 6px;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1000px, calc(100% - 40px));
  min-height: 76px;
  padding: 14px 16px 14px 24px;
  border: 1px solid rgba(58, 54, 50, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 20px 70px rgba(58, 54, 50, 0.14);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sticky-cta p {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.sticky-cta .button {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.88rem;
}

.footer {
  padding: 48px 0 calc(52px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  color: var(--soft-text);
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: right;
}

.footer a {
  text-decoration-color: rgba(111, 104, 96, 0.28);
  text-underline-offset: 4px;
}

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

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

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(7px) rotate(45deg);
  }
}

@media (min-width: 760px) {
  .nav-inner,
  .section-inner,
  .footer-inner {
    width: min(1120px, calc(100% - 72px));
  }

  .hero-inner {
    width: min(1120px, calc(100% - 72px));
  }

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

  .philosophy-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: start;
    gap: 72px;
  }
}

@media (max-width: 759px) {
  :root {
    --nav-height: 58px;
  }

  .nav-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .wordmark-name {
    font-size: 1.48rem;
  }

  .wordmark-dot {
    font-size: 1rem;
  }

  .nav-sample {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .hero {
    align-items: start;
    padding: calc(var(--nav-height) + 76px) 0 88px;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-left: 18px;
  }

  .hero-title {
    margin-top: 20px;
    font-size: clamp(4.18rem, 19.4vw, 5.6rem);
    line-height: 0.85;
  }

  .hero-subline {
    margin-top: 30px;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 280px);
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .section-band {
    padding: 70px 0;
  }

  .points .section-eyebrow {
    text-align: left;
  }

  .point-card {
    min-height: 216px;
  }

  .point-mark {
    margin-bottom: 28px;
  }

  .philosophy-list {
    gap: 14px;
  }

  .showcase h2 {
    margin-bottom: 20px;
  }

  .sticky-cta {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 15px;
  }

  .sticky-cta p {
    font-size: 0.84rem;
    text-align: center;
  }

  .sticky-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .sticky-cta .button {
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
  }

  .footer {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 3.85rem;
  }

  .point-card h3 {
    font-size: 1.95rem;
  }

  .phone-frame {
    width: calc(100vw - 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
