/* ============================================
   皂花拾光 Soap & Bloom Moments
   Color Palette from Logo:
   - Primary: Lavender #9B7BB8
   - Secondary: Peach #E8B4A0
   - Accent: Mist Blue #A8C4D8
   - Background: Cream #FAF5F0
   - Text Dark: Deep Purple #5C4A6E
   - Text Body: #6B5C7A
   ============================================ */

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

:root {
  --primary: #9B7BB8;
  --primary-light: #C4A8D8;
  --primary-dark: #7A5C9A;
  --secondary: #E8B4A0;
  --secondary-light: #F2D4C8;
  --accent: #A8C4D8;
  --cream: #FAF5F0;
  --cream-dark: #F0E8DF;
  --text-dark: #5C4A6E;
  --text-body: #6B5C7A;
  --text-light: #8E7FA0;
  --white: #FFFFFF;
  --border: rgba(155, 123, 184, 0.15);
  --shadow-sm: 0 2px 8px rgba(92, 74, 110, 0.06);
  --shadow-md: 0 4px 20px rgba(92, 74, 110, 0.08);
  --shadow-lg: 0 8px 40px rgba(92, 74, 110, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* --- Container --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 48px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-logo-img {
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-body);
  border-radius: 100px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(155, 123, 184, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(155, 123, 184, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(232, 180, 160, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(168, 196, 216, 0.08) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-logo {
  margin: 0 auto 32px;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(155, 123, 184, 0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-english {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* --- Section Base --- */
.section {
  padding: 96px 0;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-logo-img {
  border-radius: 50%;
  filter: drop-shadow(0 12px 32px rgba(155, 123, 184, 0.12));
}

.about-english {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 2;
}

.about-highlight {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem !important;
  padding-left: 16px;
  border-left: 2px solid var(--primary-light);
}

.about-values {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 400;
}

.value-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(155, 123, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Quote --- */
.quote-section {
  padding: 64px 0;
  background:
    linear-gradient(135deg, rgba(155, 123, 184, 0.04) 0%, rgba(232, 180, 160, 0.04) 100%);
}

.brand-quote {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-dark);
  line-height: 2;
  font-weight: 400;
  position: relative;
  padding: 0 32px;
}

.brand-quote::before,
.brand-quote::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--primary-light);
  margin: 0 auto 24px;
}

.brand-quote::after {
  margin: 24px auto 0;
}

/* --- Services --- */
.services {
  background: var(--white);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.service-card {
  flex: 0 1 calc(33.333% - 16px);
  max-width: 340px;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* --- Gallery --- */
.gallery {
  background: var(--cream);
}

/* Work Card (alternating layout) */
.work-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.work-card-reverse {
  direction: rtl;
}

.work-card-reverse > * {
  direction: ltr;
}

.work-card-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(92, 74, 110, 0) 50%,
    rgba(92, 74, 110, 0.08) 100%
  );
  pointer-events: none;
}

.work-card:hover .work-card-image img {
  transform: scale(1.03);
}

.work-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(155, 123, 184, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.work-card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.work-poem {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 20px;
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-meta > div {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
}

.work-meta dt {
  color: var(--primary);
  font-weight: 500;
  min-width: 36px;
  flex-shrink: 0;
}

.work-meta dd {
  color: var(--text-body);
}

/* Work Card Full Width */
.work-card-full {
  margin-bottom: 80px;
  text-align: center;
}

.center-info {
  max-width: 640px;
  margin: 0 auto 40px;
}

.center-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* Work Trio (3 photos) */
.work-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.work-trio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.work-trio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-trio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(92, 74, 110, 0) 60%,
    rgba(92, 74, 110, 0.25) 100%
  );
  pointer-events: none;
}

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

.work-trio-item p {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.08em;
  z-index: 1;
}

.work-trio-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Work Grid 6 (wedding) */
.work-grid-6 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.work-grid-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 0 1 calc(33.333% - 12px);
  aspect-ratio: 3 / 4;
}

.work-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(92, 74, 110, 0) 55%,
    rgba(92, 74, 110, 0.3) 100%
  );
  pointer-events: none;
}

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

.work-grid-item p {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.06em;
  z-index: 1;
}

.work-grid-item-wide {
  flex: 0 1 calc(33.333% - 12px);
  aspect-ratio: 3 / 4;
}

/* Gallery CTA */
.gallery-cta {
  text-align: center;
  margin-top: 16px;
}

/* --- Workshop --- */
.workshop {
  background: var(--white);
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.workshop-intro {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 32px;
}

.workshop-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.workshop-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(155, 123, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.workshop-feature h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.workshop-feature p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Workshop Visual Card */
.workshop-card {
  position: relative;
  background: linear-gradient(145deg, rgba(155, 123, 184, 0.06) 0%, rgba(232, 180, 160, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}

.wv-deco {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(155, 123, 184, 0.06);
}

.wv-deco-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(232, 180, 160, 0.06);
}

.wv-inner {
  position: relative;
  z-index: 1;
}

.wv-icon {
  margin: 0 auto 24px;
  color: var(--primary-light);
}

.wv-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.wv-inner p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.wv-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid var(--primary-light);
  padding: 8px 24px;
  border-radius: 100px;
}

/* --- Stockist --- */
.stockist-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stockist-pin {
  color: var(--primary);
  margin-bottom: 16px;
}

.stockist-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.stockist-address {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.stockist-ig {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: var(--transition);
}

.stockist-ig:hover {
  color: var(--primary-dark);
}

.stockist-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* --- FAQ --- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-left-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 24px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.5;
}

.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239B7BB8' stroke-width='2'%3E%3Cpath d='M6 2v8M2 6h8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M2 6h8'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-body);
}

/* --- Contact --- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.contact-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  border-radius: 50%;
  opacity: 0.9;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-english {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 2px;
}

.footer-brand p {
  font-size: 0.78rem;
  opacity: 0.5;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(30, 20, 40, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Clickable images */
.work-card-image img,
.work-trio-item img,
.work-grid-item img {
  cursor: zoom-in;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
/* >=1200px: 桌機大螢幕 — 服務 3+2 置中, 婚禮 3+3 */
/* 預設已處理 */

/* 900-1199px: 小桌機/大平板 — 服務 3+2, 婚禮 3+3 */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-logo-img {
    max-width: 240px;
  }

  .about-highlight {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--primary-light);
    padding-top: 16px;
  }

  .about-values {
    justify-content: center;
  }

  .work-card,
  .work-card-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 769-900px: 平板 — 服務 2+2+1 置中, 婚禮 3+3 */
@media (max-width: 900px) and (min-width: 769px) {
  .service-card {
    flex: 0 1 calc(50% - 12px);
    max-width: 400px;
  }
}

/* <=768px: 手機/小平板 */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 245, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 24px 60px;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .section {
    padding: 64px 0;
  }

  /* 服務: 2+2+1 置中 */
  .service-card {
    flex: 0 1 calc(50% - 12px);
    max-width: none;
  }

  .work-trio {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-trio-item {
    aspect-ratio: 4 / 3;
  }

  /* 婚禮: 2+2+2 */
  .work-grid-item {
    flex: 0 1 calc(50% - 8px);
  }

  .work-grid-item-wide {
    flex: 0 1 calc(50% - 8px);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .work-trio-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* <=480px: 小手機 — 全部單欄 */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-values {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* 服務: 單欄 */
  .service-card {
    flex: 0 1 100%;
  }

  /* 婚禮: 單欄 */
  .work-grid-item,
  .work-grid-item-wide {
    flex: 0 1 100%;
    aspect-ratio: 4 / 3;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}
