/* ===== Soam Natural — Base ===== */
:root {
  --color-bg: #f7f4ef;
  --color-bg-alt: #efe9df;
  --color-text: #2e2a26;
  --color-text-soft: #6b6358;
  --color-accent: #8a9a7e; /* sage green */
  --color-line: #ddd5c7;
  --color-white: #ffffff;
  --font-serif: 'Noto Serif KR', serif;
  --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.05em;
}

.logo img { height: auto; width: auto; max-height: 72px; }

.main-nav { display: flex; gap: 32px; align-items: center; }

.main-nav a {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--color-text-soft);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--color-text); }

.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ===== Language Switcher ===== */
.lang-switch { position: relative; margin-left: 16px; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; letter-spacing: 0.02em; color: var(--color-text-soft); background: none; border: 1px solid transparent; border-radius: 999px; padding: 6px 11px; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover, .lang-switch.open .lang-btn { color: var(--color-text); border-color: var(--color-line); background: var(--color-bg-alt); }
.lang-btn .globe-ic { display: block; flex-shrink: 0; }
.lang-btn .lang-current { line-height: 1; }
.lang-btn .lang-caret { transition: transform 0.2s; opacity: 0.7; }
.lang-switch.open .lang-btn .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 140px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--color-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,0.10); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 300; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { margin: 0; }
.lang-menu .lc { display: block; padding: 9px 14px; font-size: 13px; color: var(--color-text-soft); text-decoration: none; border-radius: 7px; letter-spacing: 0.02em; transition: background 0.15s, color 0.15s; }
.lang-menu .lc:hover { background: var(--color-bg-alt); color: var(--color-text); }
.lang-menu .lc.active { color: var(--color-text); font-weight: 600; background: var(--color-bg-alt); }
@media (max-width: 880px) { .lang-switch { margin: 0; padding: 10px 24px; border-top: 1px solid var(--color-line); } .lang-menu { right: auto; left: 24px; } }

@media (max-width: 880px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid var(--color-line); }
  .nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: calc(100vh - 76px);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider .slide.active { opacity: 1; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.22);
  border: none;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  user-select: none;
}
.slider-arrow:hover { background: rgba(255,255,255,0.38); }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.52));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content .eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.hero-content p {
  font-size: 16px;
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto;
}

.scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 11px;
  position: relative;
}

.scroll-hint .mouse::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(10px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

/* ===== Sections ===== */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--color-text-soft);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.alt-bg { background: var(--color-bg-alt); }

/* ===== Brand intro ===== */
.brand-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.brand-intro p { margin: 0 0 18px; font-size: 16px; color: var(--color-text-soft); }
.brand-intro p:last-child { margin-bottom: 0; }

/* ===== Brand philosophy (Brand Story intro) ===== */
.brand-philosophy { max-width: 760px; margin: 0 auto; text-align: center; }
.brand-philosophy .bp-eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 26px; }
.brand-philosophy .bp-lead {
  font-family: var(--font-serif); font-size: clamp(22px, 3.1vw, 31px); font-weight: 500;
  line-height: 1.6; color: var(--color-text); margin: 0 0 36px;
}
.brand-philosophy .bp-divider { width: 40px; height: 1px; background: var(--color-accent); margin: 0 auto 36px; }
.brand-philosophy .bp-text { font-size: 16px; line-height: 1.9; color: var(--color-text-soft); margin: 0 0 38px; }
.brand-philosophy .bp-keywords { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-philosophy .bp-keywords span {
  font-family: var(--font-serif); font-size: 15px; padding: 9px 22px;
  border: 1px solid var(--color-line); border-radius: 999px; color: var(--color-text);
  background: var(--color-white); transition: border-color .2s, color .2s;
}
.brand-philosophy .bp-keywords span:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ===== Brand intro (main page) ===== */
.brand-intro2 { max-width: 740px; margin: 0 auto; text-align: center; }
.brand-intro2 .bi2-lead {
  font-family: var(--font-serif); font-size: clamp(13px, 2vw, 20px); font-weight: 500;
  line-height: 1.6; color: var(--color-text); margin: 0 0 26px;
}
.brand-intro2 .bi2-text { font-size: 15.5px; line-height: 1.95; color: var(--color-text-soft); margin: 0 0 42px; }
.brand-intro2 .bi2-flow { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 44px; }
.brand-intro2 .bi2-flow span { font-family: var(--font-serif); font-size: 16px; color: #8b6247; letter-spacing: 0.08em; }
.brand-intro2 .bi2-flow i { width: 28px; height: 1px; background: #8b6247; display: inline-block; opacity: 0.5; }
@media (max-width: 480px) { .brand-intro2 .bi2-flow { gap: 12px; } .brand-intro2 .bi2-flow i { width: 18px; } }

/* ===== Gift sets (main page) ===== */
.gift-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
.gift-grid .cat-card { padding: 30px 16px; }
.gift-message {
  max-width: 620px; margin: 44px auto 0; text-align: center;
  font-family: var(--font-serif); font-size: 17px; line-height: 1.9; color: var(--color-text-soft);
}
.gift-message-top { margin: 0 auto 52px; max-width: 820px; }

/* ===== Category grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.cat-card .thumb {
  width: 140px;
  height: 140px;
  margin: 28px auto 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-line);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.cat-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .thumb img { transform: scale(1.08); }
.cat-card .body { padding: 18px 18px 28px; }
.cat-card .name { font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; }
.cat-card .desc { font-size: 13px; color: var(--color-text-soft); }

@media (max-width: 480px) {
  .cat-card .thumb { width: 110px; height: 110px; }
}

/* ===== Scent / Zen image thumb ===== */
.scent-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
}
.scent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.scent-card:hover .scent-img img,
.zen-card:hover .scent-img img { transform: scale(1.05); }

/* ===== Scent grid ===== */
.scent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.scent-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 30px 24px;
  position: relative;
}
.scent-card .concept { font-size: 12px; letter-spacing: 0.1em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 10px; }
.scent-card h3 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 10px; }
.scent-card .tagline { font-size: 14px; color: var(--color-text-soft); margin-bottom: 16px; min-height: 44px; }
.scent-card .keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.scent-card .keywords span {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-text-soft);
}

/* ===== Zen grid ===== */
.zen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.zen-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 36px 28px;
}
.zen-card .place { font-size: 12px; letter-spacing: 0.1em; color: var(--color-text-soft); text-transform: uppercase; margin-bottom: 8px; }
.zen-card h3 { font-family: var(--font-serif); font-size: 24px; margin: 0 0 4px; }
.zen-card .romaji { font-size: 13px; color: var(--color-accent); margin-bottom: 18px; }
.zen-card p { font-size: 14px; color: var(--color-text-soft); }
.zen-card .moment-list { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-line); font-size: 13px; color: var(--color-text-soft); }
.zen-card .moment-list span { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: var(--color-bg-alt); border-radius: 999px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--color-text);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--color-text); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: #74866a; border-color: #74866a; }
.center { text-align: center; }

/* ===== Safety / notice ===== */
.safety-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: var(--color-text-soft);
}
.safety-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--color-line); position: relative; }
.safety-list li::before { content: '–'; position: absolute; left: 0; color: var(--color-accent); }

/* ===== Notice / FAQ / Contact 3단 카드 ===== */
.index-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.ib-card {
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  text-align: center;
}
.ib-card .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.ib-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 12px;
}
.ib-card p {
  font-size: 13px;
  color: var(--color-text-soft);
  line-height: 1.8;
  margin: 0 0 20px;
}
.ib-link {
  font-size: 13px;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.ib-link:hover { opacity: 0.7; }
@media (max-width: 700px) {
  .index-bottom-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: #2e2a26;
  color: #cfc8bd;
  padding: 64px 0 32px;
  font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.7fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h4 { color: #fff; font-size: 13px; letter-spacing: 0.05em; margin: 0 0 16px; font-weight: 500; }
.footer-grid a, .footer-grid p { color: #a9a094; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #45403a; padding-top: 24px; color: #7f7669; text-align: center; line-height: 1.9; }

/* ===== Generic page hero (sub pages) ===== */
.page-hero {
  background: var(--color-bg-alt);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}
.page-hero .eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; font-weight: 500; }
.page-hero p { color: var(--color-text-soft); max-width: 560px; margin: 0 auto; }

/* ===== Shop category cards (external link) ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.shop-card .shop-thumb { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.shop-card .shop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.shop-card:hover .shop-thumb img { transform: scale(1.05); }
.shop-card .shop-body { padding: 26px 24px 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; }
.shop-card h3 { font-family: var(--font-serif); font-size: 19px; margin: 0; }
.shop-card p { font-size: 13px; color: var(--color-text-soft); margin: 0; }
.shop-card .btn { margin-top: auto; }

/* ===== Brand keyword & tone (Brand Story) ===== */
.keyword-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
}
.keyword-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 30px 26px 32px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.keyword-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.keyword-card .num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--color-line);
  letter-spacing: 0.08em;
}
.keyword-card .en { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
.keyword-card .ko { font-size: 12px; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 16px; }
.keyword-card .desc { font-size: 14px; color: var(--color-text-soft); line-height: 1.75; margin: 0; }

.tone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
.tone-item { background: var(--color-bg); padding: 34px 30px; }
.tone-item .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; }
.tone-item h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.tone-item p { font-size: 13.5px; color: var(--color-text-soft); margin: 0; line-height: 1.7; }
@media (max-width: 720px) { .tone-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tone-grid { grid-template-columns: 1fr; } }

/* ===== Notice / FAQ / Contact ===== */
.faq-item { border-bottom: 1px solid var(--color-line); padding: 24px 0; }
.faq-item .q { font-weight: 600; margin-bottom: 8px; display: flex; gap: 10px; }
.faq-item .q span.tag { color: var(--color-accent); font-family: var(--font-serif); }
.faq-item .a { color: var(--color-text-soft); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 28px; }
.info-block h4 { font-family: var(--font-serif); font-size: 16px; margin: 0 0 8px; }
.info-block p { color: var(--color-text-soft); font-size: 14px; margin: 0; }

.disclaimer-box {
  border: 1px solid var(--color-line);
  background: var(--color-bg-alt);
  padding: 24px;
  font-size: 13px;
  color: var(--color-text-soft);
  margin-top: 24px;
}
