/* ============================================================
   Vietnam Coffee Shop Awards — Style 5: "Quiet Confidence"
   Vietnamese-first · Refined Luxury Editorial · Muted Earth
   ============================================================ */

:root {
  --cream:           #F5F0EB;
  --terracotta:      #C17D56;
  --sand:            #D9CBBA;
  --olive:           #6B7C5E;
  --warm-gray:       #8A8178;
  --espresso:        #1C1612;
  --ivory:           #FDFAF6;
  --pale-terracotta: #E8D5C8;
  --secondary-text:  #5A534C;

  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes extendDown {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.anim {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}
.anim--1 { animation-delay: 0.1s; }
.anim--2 { animation-delay: 0.3s; }
.anim--3 { animation-delay: 0.5s; }
.anim--4 { animation-delay: 0.7s; }
.anim--5 { animation-delay: 1.2s; }

/* ============================================================
   HORIZONTAL RULE — the only divider
   ============================================================ */
.rule {
  border: none;
  height: 1px;
  background: var(--sand);
  width: 100%;
  max-width: 700px;
}

.rule--section {
  margin: 0 auto 64px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  position: relative;
  gap: 0;
}

.hero-title {
  margin-bottom: 48px;
}

/* Vietnamese event name — primary, larger */
.event-name {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--espresso);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

/* English event name — secondary but also larger than before */
.event-name-en {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  color: var(--secondary-text);
  letter-spacing: 0.01em;
}

.hero .rule {
  max-width: 60px;
  background: var(--terracotta);
  margin-bottom: 48px;
}

/* Vietnamese hero quote — primary (matches section quote size) */
.hero-quote .quote-primary {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* English hero quote — secondary (matches section quote size) */
.hero-quote .quote-secondary {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin-top: 12px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--sand);
  transform-origin: top center;
  animation: extendDown 1.2s var(--ease) 1.6s both;
}

/* ============================================================
   QUOTE TYPOGRAPHY
   ============================================================ */
blockquote {
  border: none;
}

/* Vietnamese — primary quote (large display) */
.quote-primary {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.quote-primary--quiet {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--warm-gray);
}

/* English — secondary quote (larger than old Vietnamese, darker) */
.quote-secondary {
  font-family: var(--ff-body);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--secondary-text);
  margin-top: 12px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 64px 24px;
  background: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.section--sand .rule--section {
  background: var(--terracotta);
  opacity: 0.4;
}

.section--signup {
  background: var(--pale-terracotta);
}

.section--signup .rule--section {
  background: var(--terracotta);
  opacity: 0.3;
}

/* Section content — the shifting column */
.section-content {
  max-width: 700px;
}

.section-content--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-content--left {
  margin-left: 10%;
  margin-right: auto;
  text-align: left;
}

.section-content--right {
  margin-left: auto;
  margin-right: 10%;
  text-align: right;
}

/* ============================================================
   STAT — 500.000+
   ============================================================ */
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--terracotta);
  letter-spacing: -0.03em;
  margin-top: 24px;
  margin-bottom: 0;
}

.section--sand .quote-secondary {
  color: rgba(90, 83, 76, 0.7);
}

/* ============================================================
   EMAIL SIGNUP
   ============================================================ */
.signup-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.signup-label {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.signup-label-sep {
  color: var(--sand);
  margin: 0 0.3em;
}

.signup-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.signup-form input[type="email"] {
  flex: 1;
  min-height: 44px;
  padding: 10px 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--espresso);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--warm-gray);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.signup-form input[type="email"]::placeholder {
  color: var(--warm-gray);
  font-style: italic;
  font-weight: 300;
}

.signup-form input[type="email"]:focus {
  border-bottom-color: var(--terracotta);
}

.signup-form button {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 24px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--terracotta);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}

.signup-form button:hover {
  background: var(--espresso);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--espresso);
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.footer-links a {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  padding: 8px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer-sep {
  width: 1px;
  height: 12px;
  background: rgba(138, 129, 120, 0.3);
  display: block;
}

/* Vietnamese copyright — primary */
.footer-copy {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(138, 129, 120, 0.6);
  margin-bottom: 2px;
}

/* English copyright — secondary */
.footer-copy-en {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(138, 129, 120, 0.4);
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */
@media (min-width: 768px) {
  .hero {
    padding: 80px 40px;
  }

  .hero-title {
    margin-bottom: 56px;
  }

  .hero .rule {
    margin-bottom: 56px;
  }

  .section {
    padding: 100px 40px;
  }

  .rule--section {
    margin-bottom: 80px;
  }

  .section-content--left {
    margin-left: 12%;
  }

  .section-content--right {
    margin-right: 12%;
  }

  .footer {
    padding: 56px 40px;
  }
}

/* ============================================================
   RESPONSIVE — Desktop (1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .hero {
    padding: 100px 60px;
  }

  .hero-title {
    margin-bottom: 64px;
  }

  .hero .rule {
    margin-bottom: 64px;
  }

  .section {
    padding: 140px 60px;
  }

  .rule--section {
    margin-bottom: 100px;
  }

  .section-content--left {
    margin-left: 18%;
  }

  .section-content--right {
    margin-right: 18%;
  }

  .stat-number {
    margin-bottom: 32px;
  }

  .footer {
    padding: 64px 60px;
  }
}

/* ============================================================
   MOBILE FINE-TUNING
   ============================================================ */
@media (max-width: 767px) {
  .section-content--left,
  .section-content--right {
    margin-left: 24px;
    margin-right: 24px;
    text-align: left;
  }

  .signup-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .signup-form button {
    align-self: flex-start;
  }

  .stat-number {
    font-size: clamp(4rem, 18vw, 6rem);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .anim {
    opacity: 1;
    animation: none;
  }

  .scroll-line {
    animation: none;
    transform: scaleY(1);
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
