/* ===========================
   CSS Variables
   =========================== */
:root {
  --color-primary: #1a3a4a;
  --color-secondary: #d4c5a9;
  --color-accent: #6b9dad;
  --color-bg: #faf8f5;
  --color-text: #1a1a1a;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-light-gray: #e8e5e0;

  --font-serif: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 80px;
  --container-padding: clamp(20px, 5vw, 80px);
}

/* ── Korean text letter-spacing ── */
:lang(ko) {
  letter-spacing: -0.025em;
}

/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   Fade-in Animation
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in animations */
.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header--scrolled .header__logo,
.header--scrolled .header__nav a,
.header--scrolled .header__action-btn {
  color: var(--color-text);
}

.header--scrolled .header__hamburger span {
  background-color: var(--color-text);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.4s ease;
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__logo-scrolled {
  display: none;
}

.header--scrolled .header__logo-default {
  display: none;
}

.header--scrolled .header__logo-scrolled {
  display: block;
}

.header__nav {
  display: flex;
}

.header__nav-list {
  display: flex;
  gap: 2.5rem;
}

.header__nav-list a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color 0.4s ease, opacity 0.3s ease;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__action-btn {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color 0.4s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.header__action-btn svg {
  transition: stroke 0.4s ease;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.header__hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000286;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__list {
  text-align: center;
}

.mobile-nav__list li {
  margin-bottom: 2rem;
}

.mobile-nav__list a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-white);
  font-weight: 400;
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 74, 0.65) 0%, rgba(26, 58, 74, 0.35) 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  bottom: 15%;
  left: var(--container-padding);
  right: var(--container-padding);
  z-index: 2;
}

.hero__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero__cta {
  display: inline-block;
  padding: 1.1rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.hero__cta:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  opacity: 1;
}

.hero__tag {
  position: absolute;
  bottom: 5%;
  left: var(--container-padding);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
  z-index: 2;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}


/* ===========================
   About Section
   =========================== */
.about-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background-color: #F5F5F9;
}

.about-section__heading {
  max-width: 1400px;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
  padding: 0 var(--container-padding);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Intro — text below heading */
.about-section__intro {
  max-width: 1400px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
  padding: 0 var(--container-padding);
}

.about-section__intro .about-section__text {
  max-width: 600px;
}

.about-section__intro--center {
  text-align: center;
}

.about-section__intro--center .about-section__title {
  line-height: 1.2;
}

.about-section__intro--center .about-section__text {
  max-width: none;
}

.about-section__quote {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--container-padding);
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  color: var(--color-text-light, #666);
  line-height: 1.8;
  position: relative;
}

.about-section__quote::before {
  content: '\201C';
  display: block;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-style: normal;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.25;
}

.about-section__quote p {
  margin: 0;
}

.about-section__quote p + p {
  margin-top: 0.3rem;
}

/* Block — image + text side by side */
.about-section__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-section__block {
  margin-bottom: clamp(60px, 8vw, 100px);
}


/* Reversed: image right, text left */
.about-section__block--reverse .about-section__img {
  order: 2;
}

.about-section__block--reverse .about-section__content {
  order: 1;
}

/* Image — fills 50% column, flush to edge */
.about-section__img {
  width: 100%;
  aspect-ratio: 32 / 9;
  background-size: cover;
  background-position: center;
}

/* Standalone image — right-aligned */
.about-section__img.about-section__img--full {
  position: relative;
  width: 70%;
  margin-left: auto;
  background-position: center 40%;
  background-size: cover;
}

.about-section__img-wrap {
  position: relative;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.about-section__overlay-text {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: max(var(--container-padding), calc((100% - 1400px) / 2 + var(--container-padding)));
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-section__img.about-section__img--full {
  overflow: hidden;
}

.about-section__overlay-text--light {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: calc(max(var(--container-padding), (100% * 10 / 7 - 1400px) / 2 + var(--container-padding)) - 100% * 3 / 7);
  z-index: 2;
  color: #fff;
}

/* Text content — constrained to content area */
.about-section__content {
  max-width: 700px;
  padding: 0 var(--container-padding);
}

.about-section__block--reverse .about-section__content {
  margin-left: auto;
}

.about-section__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.about-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.about-section__text {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-gray);
}

/* ===========================
   Products
   =========================== */
.products {
  padding: clamp(80px, 10vw, 120px) var(--container-padding);
  background-color: #F5F5F9;
}

.products__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.products__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.products__text {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-gray);
  margin-bottom: 3rem;
}

.products__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: block;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-card__image--cleansers {
  background-image: url('../images/01_gelcream.jpg');
  background-size: cover;
  background-position: center;
}

.product-card__image--serums {
  background-image: url('../images/02_creamtoner.jpg');
  background-size: cover;
  background-position: center;
}

.product-card__image--moisturizers {
  background-image: url('../images/03_toneupcream.jpg');
  background-size: cover;
  background-position: center;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 74, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.product-card__overlay span {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.product-card:hover .product-card__overlay {
  background: rgba(26, 58, 74, 0.4);
}

.product-card:hover .product-card__overlay span {
  opacity: 1;
  transform: translateY(0);
}

.product-card__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.product-card__tagline {
  width: 100%;
}

.product-card__tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-gray);
  margin-bottom: 0.3rem;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.product-card__arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__arrow {
  transform: translateX(5px);
}

/* ===========================
   Collections
   =========================== */
.collections {
  padding: clamp(80px, 10vw, 120px) var(--container-padding);
  background-color: var(--color-white);
}

.collections__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.collections__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.collections__title-group {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.collections__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.collections__count {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-gray);
  font-weight: 300;
}

.collections__action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.collections__btn {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 0.8rem 2rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.collections__btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.collections__plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gray);
}

.collections__list {
  border-top: 1px solid var(--color-light-gray);
}

.collections__item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--color-light-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.collections__item:hover {
  padding-left: 1rem;
  opacity: 1;
}

.collections__item-number {
  font-size: 0.85rem;
  color: var(--color-gray);
  font-weight: 300;
}

.collections__item-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.collections__item-count {
  font-size: 0.85rem;
  color: var(--color-gray);
  font-weight: 300;
}

.collections__item-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.collections__item:hover .collections__item-arrow {
  transform: translateX(5px);
}

/* ===========================
   Sustainability
   =========================== */
.sustainability {
  position: relative;
  padding: clamp(100px, 12vw, 160px) var(--container-padding);
  background-image: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.sustainability__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.sustainability__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sustainability__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--color-gray);
}

.sustainability__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.sustainability__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.sustainability__text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
}

.sustainability__cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #fff;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.sustainability__cta:hover {
  background-color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  background-size: cover;
  background-position: center;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  padding: clamp(80px, 10vw, 120px) var(--container-padding);
  background-color: var(--color-white);
}

.faq__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.faq__header {
  margin-bottom: 4rem;
}

.faq__title-group {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.faq__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.faq__count {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-gray);
  font-weight: 300;
}

.faq__list {
  border-top: 1px solid var(--color-light-gray);
}

.faq__item {
  border-bottom: 1px solid var(--color-light-gray);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.8rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  text-align: left;
  color: var(--color-text);
  transition: opacity 0.3s ease;
  gap: 2rem;
}

.faq__question:hover {
  opacity: 0.7;
}

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gray);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding-bottom: 1.8rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-gray);
}

.faq__answer strong {
  color: var(--color-text);
  font-weight: 500;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background-color: #000286;
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(40px, 6vw, 70px) var(--container-padding) clamp(30px, 4vw, 50px);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: 3rem;
}

.footer__company {
  min-width: 0;
}

.footer__logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer__logo img {
  height: 28px;
  width: auto;
}

.footer__info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.9;
}

.footer__info strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.footer__contact {
  min-width: 200px;
}

.footer__contact-label {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-phone {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__contact-hours {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__account {
  margin-top: 1.2rem;
}

.footer__account-label {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer__account p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li {
  margin-bottom: 0.6rem;
}

.footer__nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer__nav-list a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Modal
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  background-color: var(--color-white);
  border-radius: 0;
  padding: 3rem;
  max-width: 600px;
  width: calc(100% - 40px);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-gray);
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--color-light-gray);
  color: var(--color-text);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  padding-right: 2rem;
  color: var(--color-text);
}

.modal-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray);
}

/* ── Product Detail Modal ── */
.modal-box--product {
  max-width: none;
  width: 100%;
  max-height: none;
  padding: 0;
  border-radius: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: none;
}

.modal-box--product::-webkit-scrollbar {
  display: none;
}

.product-modal__wrapper {
  position: relative;
  max-width: 440px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

@media (max-width: 480px) {
  .product-modal__wrapper {
    width: calc(100% - 16px);
    max-height: 85vh;
  }

  .modal-box.modal-box--product {
    width: 100%;
  }
}

.product-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-modal__close:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.product-modal__image {
  width: 100%;
  display: block;
}

.product-modal__bottom-sheet {
  background-color: #fff;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .product-modal__bottom-sheet {
    padding: 20px;
  }
}

.product-modal__buy-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 40px;
  background-color: #fff;
  color: #333;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: -0.02em;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.product-modal__buy-btn:hover {
  background-color: #000286;
  color: #fff;
  border-color: #000286;
  opacity: 1;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .tagline__row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .tagline__row--reverse {
    grid-template-columns: 1fr 1fr;
  }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .sustainability__inner {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero__content {
    bottom: 20%;
  }

  .hero__tag {
    display: none;
  }

  .about-section__block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-section__block--reverse .about-section__img,
  .about-section__block--reverse .about-section__content {
    order: 0;
  }

  .about-section__img {
    aspect-ratio: 16 / 9;
  }

  .about-section__img.about-section__img--full {
    aspect-ratio: 21 / 9;
  }

  .about-section__content {
    padding: 0 var(--container-padding);
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-card__image {
    aspect-ratio: 4 / 3;
  }

  .collections__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .collections__item {
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
  }

  .collections__item-count {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-box {
    padding: 2rem 1.5rem;
    width: calc(100% - 24px);
    border-radius: 0;
  }

  .modal-box--product {
    padding: 0;
    width: calc(100% - 24px);
    border-radius: 0;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__cta {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }

  .collections__title {
    font-size: 2rem;
  }
}

/* ===========================
   Top Button
   =========================== */
.top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-light-gray);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.top-btn__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-btn--visible {
  opacity: 1;
  pointer-events: auto;
}

.top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .top-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 68px;
    height: 68px;
    padding: 14px;
  }
}
