/* ─── HOME PAGE ─── */

/* Ambient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.orb-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(139,111,94,0.08) 0%, transparent 70%);
  top: -40px; right: -80px;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(184,159,140,0.07) 0%, transparent 70%);
  bottom: 0; left: -60px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.1s;
}
.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 5.5vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.3s;
}
.hero-sub span { display: inline-flex; align-items: center; gap: 6px; }
.hero-sub .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent-light);
  display: inline-block;
}

/* ─── INPUT BOX ─── */
.input-wrap {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}
.dream-textarea {
  width: 100%;
  min-height: 160px;
  padding: 20px 20px 52px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  resize: none;
  outline: none;
  box-shadow: 0 2px 16px rgba(44,40,37,0.07);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dream-textarea:focus {
  border-color: var(--accent-light);
  box-shadow: 0 2px 20px rgba(139,111,94,0.12);
}
.dream-textarea::placeholder {
  color: var(--text-hint);
  font-style: italic;
  font-size: 14px;
  line-height: 1.75;
}
.input-footer {
  position: absolute;
  bottom: 12px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.char-count {
  font-size: 11px;
  color: var(--text-hint);
  pointer-events: none;
  transition: color 0.15s;
}
.char-count.warn { color: #c0614a; }
.submit-btn {
  pointer-events: all;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: var(--text-primary);
  color: var(--bg);
  border: none;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.submit-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.submit-btn:not(:disabled):hover { background: #3d3632; }
.submit-btn:not(:disabled):active { transform: scale(0.97); }
.submit-btn svg { width: 13px; height: 13px; }
.submit-btn.loading .btn-text { display: none; }
.submit-btn.loading .btn-loading { display: inline-flex; align-items: center; gap: 7px; }
.btn-loading { display: none; }
.btn-spinner {
  width: 13px; height: 13px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* ─── HINT CHIPS ─── */
.chips-row {
  display: flex; gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.1s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--accent-light);
  color: var(--accent);
  background: var(--accent-lighter);
  transform: translateY(-1px);
}
.chip:active { transform: translateY(0); }
.chip-icon { font-size: 12px; opacity: 0.7; }

/* ─── FEATURES ─── */
.features-row {
  display: flex; gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}
.feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--text-hint);
}
.feature-icon {
  width: 22px; height: 22px;
  background: var(--accent-lighter);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 12px; height: 12px; color: var(--accent); }

/* ─── HOME GALLERY SECTION ─── */
.gallery-section {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-warm) 60px);
  padding: 56px 20px 64px;
  position: relative;
  z-index: 1;
}
.gallery-inner { max-width: 960px; margin: 0 auto; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: 22px; font-weight: 400;
  color: var(--text-primary);
}
.section-link {
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.section-link:hover { opacity: 0.7; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232,224,216,0.5);
  box-shadow: 0 1px 4px rgba(44,40,37,0.04);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,40,37,0.1);
}
.gallery-card:nth-child(1) { animation-delay: 0.05s; }
.gallery-card:nth-child(2) { animation-delay: 0.1s; }
.gallery-card:nth-child(3) { animation-delay: 0.15s; }
.gallery-card:nth-child(4) { animation-delay: 0.2s; }
.gallery-card:nth-child(5) { animation-delay: 0.25s; }
.gallery-card:nth-child(6) { animation-delay: 0.3s; }
.dream-art {
  width: 100%; aspect-ratio: 2/3;
  position: relative; overflow: hidden;
}
.dream-art svg { width: 100%; height: 100%; display: block; }
.dream-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-body { padding: 11px 13px 13px; }
.gallery-caption {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.gallery-meta { font-size: 11px; color: var(--text-hint); margin-top: 4px; }

/* ─── MOBILE ─── */
@media (max-width: 600px) {
  .hero { padding: 48px 16px 40px; }
  .hero-title { font-size: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card:nth-child(6) { display: none; }
  .features-row { gap: 14px; }
  .gallery-section { padding: 44px 16px 52px; }
  footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav-link-explore { display: none; }
}
