/* ═══════════════════════════════════════════════════════
   盛事策劃 - Grand Events (Event Planning)
   Design: Dark editorial, rich gold accent, dramatic layouts
   DIALS: VARIANCE=7, MOTION=6, DENSITY=3
   ZERO em-dashes. NO Inter. NO beige/cream.
   18 verified Pexels images.
   ═══════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --gold: #C4A24A;
  --gold-glow: rgba(196, 162, 74, 0.12);
  --gold-soft: rgba(196, 162, 74, 0.06);
  --gold-bright: rgba(196, 162, 74, 0.25);
  --bg: #080808;
  --surface: #101010;
  --surface-elevated: #181818;
  --surface-high: #242424;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.10);
  --text: #F2EEE8;
  --text-secondary: #9E9890;
  --text-muted: #6B6560;
  --font-display: 'Outfit', 'Noto Sans HK', system-ui, sans-serif;
  --font-body: 'Noto Sans HK', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Typography ── */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Layout Containers ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-lg {
  padding: 7rem 0;
}

.section-xl {
  padding: 9rem 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.25s var(--transition-out);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: #080808;
}

.btn-primary:hover {
  background: #D4B25A;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #080808;
}

/* ── Stats Row ── */
.stats-row {
  display: flex;
  gap: 3rem;
  text-align: center;
  flex-wrap: wrap;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* ── Grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Hero: Asymmetric Split ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  padding-top: 68px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 6rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual img,
.img-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero: Editorial (Centered) ── */
.hero-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70dvh;
  padding-top: 68px;
  text-align: center;
}

.hero-editorial h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.hero-editorial p {
  max-width: 52ch;
  font-size: 1.15rem;
}

/* ── Service Cards ── */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--transition-out), transform 0.3s var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-2px);
}

.service-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-elevated);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.service-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ── Service Detail (Services page) ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-elevated);
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-info h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.service-detail-info .service-price {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-detail-info p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

/* ── Portfolio / Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-elevated);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-tall {
  aspect-ratio: 3 / 4;
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--transition-out);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
}

.gallery-overlay span {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ── Filter Pills ── */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--transition-out);
  border-radius: 0;
}

.filter-pill:hover,
.filter-pill.active {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-soft);
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 52ch;
  quotes: none;
}

.testimonial-card blockquote::before,
.testimonial-card blockquote::after {
  content: none;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── About Page ── */
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 80dvh;
  padding-top: 68px;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 6rem;
}

.about-hero-content h1 {
  margin-bottom: 1.25rem;
}

.about-hero-content p {
  font-size: 1.1rem;
  max-width: 46ch;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.value-item .value-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9rem;
  max-width: 28ch;
  margin: 0 auto;
}

/* ── Contact Page ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--transition-out);
  border-radius: 0;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

/* ─── Map Area ── */
.map-placeholder {
  aspect-ratio: 16 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 200;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  max-width: 28ch;
  margin: 0 auto;
}

/* ── Footer ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealIn 0.8s var(--transition-smooth) forwards;
}

.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.30s; }
.reveal-delay-3 { animation-delay: 0.45s; }
.reveal-delay-4 { animation-delay: 0.60s; }

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Page Header ── */
.page-header {
  min-height: 45dvh;
  padding-top: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 48ch;
}

/* ── Two-Column Split ── */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bento-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.bento-cell-lg {
  grid-row: span 2;
}

.bento-cell-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.bento-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.bento-cell:hover .bento-cell-img img {
  transform: scale(1.03);
}

.bento-cell-body {
  padding: 2rem;
}

.bento-cell-body h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.bento-cell-body p {
  font-size: 0.9rem;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 7rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Service list (inline features) ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 3rem 2rem;
  }
  .hero-visual {
    aspect-ratio: 16 / 9;
    max-height: 50vh;
  }
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-hero-content {
    padding: 3rem 2rem;
  }
  .about-image {
    aspect-ratio: 16 / 9;
    max-height: 40vh;
  }
  .grid-3,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-split {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 1.25rem;
  }
  .hero-content {
    padding: 2rem 1.25rem;
  }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 5rem 0; }
  .section-xl { padding: 6rem 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .values-grid,
  .process-steps,
  .bento-grid,
  .split-2,
  .contact-split {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item-wide {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .stats-row {
    gap: 2rem;
    justify-content: center;
  }
  .service-detail {
    grid-template-columns: 1fr;
    padding: 2.5rem 0;
  }
  .about-hero-content {
    padding: 2rem 1.25rem;
  }
  .cta-section {
    padding: 4rem 0;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .service-card-img img,
  .gallery-item img,
  .bento-cell-img img {
    transition: none;
  }
}
