/* ============================================
   HEREU Brand Stylesheet · v1.0
   Korean Clean Aesthetic · Quiet Luxury
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --bg:         #FAFAF7;
  --bg-soft:    #F4F1EC;
  --cream:      #F0EDE8;
  --rose:       #E8D5D0;
  --rose-deep:  #D89B8E;
  --ink:        #2C2C2C;
  --ink-soft:   #5C5651;
  --muted:      #968B82;
  --line:       #E8E2DA;
  --green:      #6B7A5C;
  --red:        #B85447;
  --gold:       #C49542;

  /* Typography */
  --serif:      'Noto Serif TC', 'Cormorant Garamond', serif;
  --sans:       'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --display:    'Cormorant Garamond', 'Noto Serif TC', serif;

  /* Spacing */
  --pad-section: 96px;
  --pad-section-mobile: 64px;
  --pad-side: 64px;
  --pad-side-mobile: 28px;
  --max-width: 1280px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad-side);
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--ink);
}
.nav-brand em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--rose-deep);
  letter-spacing: 0.15em;
  margin-left: 8px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 1px;
  background: var(--rose-deep);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--rose-deep);
  border: 1px solid var(--rose-deep);
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--rose-deep);
  color: white;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--rose-deep);
  letter-spacing: 0.2em;
  text-transform: lowercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.section-title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  color: var(--rose-deep);
}
.section-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.7;
}

/* ---------- LAYOUT ---------- */
.section {
  padding: var(--pad-section) var(--pad-side);
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-full {
  padding: var(--pad-section) 0;
  background: var(--bg-soft);
}
.section-full .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-side);
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark .section-title { color: var(--cream); }
.section-dark .section-lead { color: rgba(240,237,232,0.7); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  padding: 16px 36px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-rose {
  background: var(--rose-deep);
  color: white;
  border: 1px solid var(--rose-deep);
}
.btn-rose:hover {
  background: transparent;
  color: var(--rose-deep);
}
.btn-ghost {
  font-family: var(--display);
  font-style: italic;
  color: var(--rose-deep);
  border-bottom: 1px solid var(--rose-deep);
  padding: 4px 0;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px var(--pad-side) 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.footer-brand em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--rose);
  letter-spacing: 0.15em;
  margin-left: 8px;
}
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--rose);
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-family: var(--display);
  font-style: italic;
  font-size: 12px;
  color: var(--rose);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-weight: 400;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li {
  padding: 8px 0;
  font-size: 13px;
  color: rgba(240,237,232,0.7);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(240,237,232,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 12px;
  color: rgba(240,237,232,0.5);
  letter-spacing: 0.1em;
}

/* ---------- FLOATING CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 50;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 24px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.float-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.divider {
  width: 60px;
  height: 1px;
  background: var(--rose-deep);
  margin: 24px 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .section, .section-full .inner, .footer {
    padding-left: var(--pad-side-mobile);
    padding-right: var(--pad-side-mobile);
  }
  .nav { padding: 16px var(--pad-side-mobile); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta { display: none; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .float-cta {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }
  :root {
    --pad-section: 64px;
  }
}
