/* ============================================================
   TH DECORATION — WEDDING & EVENTS
   Style System: Cormorant Garamond + Plus Jakarta Sans
   Palette: Soft White · Mist Blue · Sandy Tan · Dark Earth
   ============================================================ */

/* ---- DESIGN TOKENS ---------------------------------------- */
:root {
  /* Brand Colors */
  --soft-white: #F2EDE8;
  --ice-blue: #D8E8EC;
  --pale-blue: #C8D8DC;
  --mist-blue: #A8C4CC;
  --sandy-tan: #C4A882;
  --warm-beige: #D4B896;
  --caramel: #8C6240;
  --dark-earth: #4A2E18;
  
  /* Additional Palette Colors */
  --soft-pink: #F0D5D7;
  --dusty-pink: #DCA3A6;
  --matcha-light: #DFE8CC;
  --matcha-green: #B7C99F;

  /* Semantic roles */
  --bg-primary: var(--soft-white);
  --bg-panel: var(--ice-blue);
  --text-primary: var(--dark-earth);
  --text-secondary: #7A5C42;
  --text-muted: #A68A72;
  --accent: var(--caramel);
  --border-subtle: rgba(140, 98, 64, 0.15);
  --border-med: rgba(140, 98, 64, 0.28);

  /* Shadow tinted to brand */
  --shadow-sm: 0 2px 12px rgba(74, 46, 24, 0.06);
  --shadow-md: 0 8px 32px rgba(74, 46, 24, 0.10);
  --shadow-lg: 0 20px 60px rgba(74, 46, 24, 0.13);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container: min(1380px, 92vw);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-quart: cubic-bezier(0.7, 0, 0.84, 0);
  --duration-fast: 220ms;
  --duration-mid: 400ms;
  --duration-slow: 700ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ---- TYPOGRAPHY ------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

.font-serif {
  font-family: var(--font-serif);
}

/* ---- UTILITIES -------------------------------------------- */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 20px;
  display: block;
}

/* ---- SCROLL-TRIGGERED ANIMATION BASE ---------------------- */
[data-animate] {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-quart),
    transform var(--duration-slow) var(--ease-out-quart);
}

[data-animate="fade-up"] {
  transform: translateY(36px);
}

[data-animate="fade-left"] {
  transform: translateX(50px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--duration-mid) var(--ease-out-quart),
    box-shadow var(--duration-mid) var(--ease-out-quart),
    padding var(--duration-mid) var(--ease-out-quart);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(242, 237, 232, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px;
  transition: padding var(--duration-mid) var(--ease-out-quart);
}

.site-header.scrolled .header-inner {
  padding: 16px 32px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-svg {
  width: 72px;
  height: 72px;
  color: var(--dark-earth);
  transition: transform var(--duration-mid) var(--ease-out-quart), color var(--duration-fast);
}

.site-header.scrolled .logo-svg {
  width: 56px;
  height: 56px;
}

.logo-svg:hover {
  color: var(--caramel);
}

.logo-arc-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  fill: currentColor;
}

.logo-t {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  fill: currentColor;
  letter-spacing: -2px;
}

.logo-h {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  fill: currentColor;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--duration-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--caramel);
  transition: width var(--duration-mid) var(--ease-out-quart);
}

.nav-link:hover {
  color: var(--dark-earth);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: var(--dark-earth);
  color: var(--soft-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background var(--duration-fast), color var(--duration-fast),
    transform var(--duration-fast), box-shadow var(--duration-fast);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--caramel);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 98, 64, 0.3);
}

.header-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.2px;
  background: var(--dark-earth);
  border-radius: 2px;
  transition: transform var(--duration-mid) var(--ease-out-quart),
    opacity var(--duration-fast);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 32px 28px;
  background: rgba(242, 237, 232, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--duration-mid) var(--ease-out-quart),
    opacity var(--duration-mid) var(--ease-out-quart);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--duration-fast);
}

.mobile-nav-link:hover {
  color: var(--dark-earth);
}

.mobile-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  background: var(--dark-earth);
  color: var(--soft-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-align: center;
  transition: background var(--duration-fast);
}

.mobile-cta:hover {
  background: var(--caramel);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* subtle warm grain texture on bg */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.hero-content {
  padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 80px);
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--caramel);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--dark-earth);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line.italic {
  font-style: italic;
  font-weight: 300;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--dark-earth);
  color: var(--soft-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: background var(--duration-fast), transform var(--duration-fast),
    box-shadow var(--duration-fast);
}

.btn-primary:hover {
  background: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(140, 98, 64, 0.32);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border: 1px solid var(--border-med);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;
  transition: border-color var(--duration-fast), color var(--duration-fast),
    background var(--duration-fast);
}

.btn-ghost:hover {
  border-color: var(--caramel);
  color: var(--caramel);
  background: rgba(140, 98, 64, 0.05);
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--dark-earth);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Hero image side */
.hero-image-wrap {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

.hero-image-frame {
  position: absolute;
  inset: 20px 0 20px 20px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-img:hover {
  transform: scale(1.0);
}

/* Hero badge floating */
.hero-badge {
  position: absolute;
  bottom: 36px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 237, 232, 0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-earth);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--caramel), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  60% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

.scroll-indicator span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ============================================================
   MARQUEE BAND
   ============================================================ */
.marquee-band {
  background: var(--dark-earth);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 232, 0.85);
}

.marquee-dot {
  color: var(--caramel) !important;
  font-size: 8px !important;
  opacity: 0.6;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy {
  padding: var(--section-pad) 0;
  background: var(--soft-white);
}

.philosophy-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}

/* Image stack */
.philosophy-visual {
  position: relative;
  padding-bottom: 40px;
}

.philosophy-img-stack {
  position: relative;
}

.philosophy-img-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.philosophy-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-quart);
}

.philosophy-img-main:hover img {
  transform: scale(1.04);
}

.philosophy-img-accent {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--soft-white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.philosophy-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-quart);
}

.philosophy-img-accent:hover img {
  transform: scale(1.06);
}

/* Decorative line art */
.philosophy-deco {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 120px;
  color: var(--sandy-tan);
  opacity: 0.4;
}

/* Text column */
.philosophy-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark-earth);
  margin-bottom: 28px;
}

.philosophy-heading em {
  font-style: italic;
  color: var(--caramel);
}

.philosophy-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 20px;
}

.philosophy-pillars {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
}

.pillar:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--caramel);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
}

.pillar strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-earth);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.pillar p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 40ch;
}

/* ============================================================
   PORTFOLIO / GALLERY SECTION
   ============================================================ */
.portfolio {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--soft-white) 0%, var(--ice-blue) 100%);
}

.portfolio-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  margin-bottom: 56px;
}

.portfolio-heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 68px);
  font-weight: 300;
  color: var(--dark-earth);
  margin-bottom: 40px;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: background var(--duration-fast), color var(--duration-fast),
    border-color var(--duration-fast), transform var(--duration-fast);
}

.filter-btn:hover {
  color: var(--caramel);
  border-color: var(--caramel);
  background: rgba(140, 98, 64, 0.05);
}

.filter-btn.active {
  background: var(--dark-earth);
  color: var(--soft-white);
  border-color: var(--dark-earth);
}

.filter-btn:active {
  transform: scale(0.97);
}

/* Gallery Grid — Uniform style */
.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-img-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out-quart);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 46, 24, 0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-mid) var(--ease-out-quart);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-view-btn {
  width: 48px;
  height: 48px;
  background: rgba(242, 237, 232, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-earth);
  transform: scale(0.7);
  transition: transform var(--duration-mid) var(--ease-out-quart),
    background var(--duration-fast);
}

.gallery-item:hover .gallery-view-btn {
  transform: scale(1);
}

.gallery-view-btn:hover {
  background: white;
}

.gallery-meta {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-mid) var(--ease-out-quart),
    transform var(--duration-mid) var(--ease-out-quart);
}

.gallery-item:hover .gallery-meta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-beige);
  display: block;
  margin-bottom: 4px;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--soft-white);
}

/* hidden item state */
.gallery-item.hidden {
  display: none !important;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 15, 8, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out-quart);
}

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

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(242, 237, 232, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-white);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.lightbox-close:hover {
  background: rgba(242, 237, 232, 0.22);
  transform: rotate(90deg);
}

.lightbox-inner {
  max-width: 900px;
  width: 100%;
  transform: scale(0.93);
  transition: transform var(--duration-slow) var(--ease-out-quart);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(242, 237, 232, 0.7);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--soft-white);
}

.services-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.services-header {
  margin-bottom: 64px;
  max-width: 52ch;
}

.services-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.8vw, 62px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--dark-earth);
}

.services-heading em {
  font-style: italic;
  color: var(--caramel);
}

/* Services grid: asymmetric 2-col + 1-col */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.service-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--soft-white);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--duration-mid) var(--ease-out-quart),
    transform var(--duration-mid) var(--ease-out-quart),
    border-color var(--duration-mid);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sandy-tan), var(--warm-beige));
  opacity: 0;
  transition: opacity var(--duration-mid);
}

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

.service-card:hover::before {
  opacity: 1;
}

/* Featured card */
.service-card.featured {
  background: var(--dark-earth);
  border-color: transparent;
  color: var(--soft-white);
}

.service-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--sandy-tan), var(--warm-beige));
}

.service-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(74, 46, 24, 0.35);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--caramel);
  flex-shrink: 0;
}

.service-card.featured .service-icon {
  color: var(--warm-beige);
}

.service-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(140, 98, 64, 0.1);
  color: var(--caramel);
}

.service-card.featured .service-tag {
  background: rgba(212, 184, 150, 0.2);
  color: var(--warm-beige);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--dark-earth);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card.featured .service-name {
  color: var(--soft-white);
}

.service-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-card.featured .service-desc {
  color: rgba(242, 237, 232, 0.72);
}

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

.service-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--caramel);
}

.service-card.featured .service-features li {
  color: rgba(242, 237, 232, 0.72);
}

.service-card.featured .service-features li::before {
  background: var(--warm-beige);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-med);
  color: var(--dark-earth);
  transition: background var(--duration-fast), color var(--duration-fast),
    border-color var(--duration-fast), transform var(--duration-fast);
  align-self: flex-start;
  margin-top: auto;
}

.service-cta:hover {
  background: var(--dark-earth);
  color: var(--soft-white);
  border-color: var(--dark-earth);
  transform: translateY(-1px);
}

.service-card.featured .service-cta {
  background: var(--soft-white);
  color: var(--dark-earth);
  border-color: transparent;
}

.service-card.featured .service-cta:hover {
  background: var(--warm-beige);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--ice-blue) 0%, var(--soft-white) 100%);
}

.testimonials-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.testimonials-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 300;
  color: var(--dark-earth);
  margin-bottom: 52px;
}

.testimonials-track {
  position: relative;
  min-height: 240px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--duration-slow) var(--ease-out-quart),
    transform var(--duration-slow) var(--ease-out-quart);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--dark-earth);
  max-width: 76ch;
  margin-bottom: 36px;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 1.2em;
  color: var(--caramel);
}

.testimonial-text::after {
  content: '\201D';
  font-size: 1.2em;
  color: var(--caramel);
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sandy-tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--soft-white);
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-earth);
  letter-spacing: 0.02em;
  font-style: normal;
}

.testimonial-event {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Dots */
.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 44px;
}

.t-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--border-med);
  transition: background var(--duration-mid), width var(--duration-mid) var(--ease-out-quart);
}

.t-dot.active {
  background: var(--caramel);
  width: 48px;
}

/* ============================================================
   INQUIRE / CONTACT SECTION
   ============================================================ */
.inquire {
  padding: var(--section-pad) 0;
  background: var(--soft-white);
  border-top: 1px solid var(--border-subtle);
}

.inquire-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.inquire-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark-earth);
  margin-bottom: 24px;
}

.inquire-heading em {
  font-style: italic;
  color: var(--caramel);
}

.inquire-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 44ch;
  margin-bottom: 44px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--caramel);
  flex-shrink: 0;
}

/* Form */
.inquire-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-earth);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(140, 98, 64, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--dark-earth);
  transition: border-color var(--duration-fast), background var(--duration-fast),
    box-shadow var(--duration-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

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

.form-input:focus {
  border-color: var(--caramel);
  background: rgba(140, 98, 64, 0.06);
  box-shadow: 0 0 0 3px rgba(140, 98, 64, 0.1);
}

.form-input.error {
  border-color: #b5432a;
  box-shadow: 0 0 0 3px rgba(181, 67, 42, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238C6240' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  font-size: 12px;
  color: #b5432a;
  display: none;
  margin-top: -4px;
}

.form-error.visible {
  display: block;
}

/* Palette choices */
.palette-choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.palette-choice {
  cursor: pointer;
}

.palette-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.palette-swatch {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.palette-swatch::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.palette-swatch.earthy::before {
  background: linear-gradient(135deg, var(--caramel), var(--dark-earth));
}

.palette-swatch.airy::before {
  background: linear-gradient(135deg, var(--pale-blue), var(--mist-blue));
}

.palette-swatch.hybrid::before {
  background: linear-gradient(135deg, var(--warm-beige), var(--mist-blue));
}

.palette-swatch.pinky::before {
  background: linear-gradient(135deg, var(--soft-pink), var(--dusty-pink));
}

.palette-swatch.matcha::before {
  background: linear-gradient(135deg, var(--matcha-light), var(--matcha-green));
}

.palette-choice input:checked+.palette-swatch {
  border-color: var(--caramel);
  background: rgba(140, 98, 64, 0.06);
  color: var(--dark-earth);
}

.palette-name {
  white-space: nowrap;
}

/* Form submit */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  background: var(--dark-earth);
  color: var(--soft-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 100px;
  align-self: flex-start;
  transition: background var(--duration-fast), transform var(--duration-fast),
    box-shadow var(--duration-fast);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(140, 98, 64, 0.35);
}

.form-submit:active {
  transform: translateY(0) scale(0.98);
}

.submit-arrow {
  transition: transform var(--duration-fast) var(--ease-out-quart);
}

.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--dark-earth);
  color: var(--soft-white);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out-quart),
    transform var(--duration-mid) var(--ease-out-quart);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast svg {
  color: var(--warm-beige);
  flex-shrink: 0;
}

/* Success Popup */
#success-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#success-popup.show {
  pointer-events: all;
}

.success-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 46, 24, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-quart);
}

#success-popup.show .success-popup-overlay {
  opacity: 1;
}

.success-popup-card {
  position: relative;
  background: var(--soft-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 32px 80px rgba(74, 46, 24, 0.2);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.4s var(--ease-out-quart),
    transform 0.4s var(--ease-out-quart);
}

#success-popup.show .success-popup-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.success-popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(140, 98, 64, 0.08);
  color: var(--caramel);
  margin-bottom: 24px;
}

.success-popup-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--dark-earth);
  margin-bottom: 12px;
}

.success-popup-msg {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.success-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  background: var(--dark-earth);
  color: var(--soft-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast),
    box-shadow var(--duration-fast);
}

.success-popup-btn:hover {
  background: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140, 98, 64, 0.3);
}

.success-popup-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-earth);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  color: rgba(242, 237, 232, 0.8);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-wrap {
  margin-bottom: 44px;
}

.footer-logo-svg {
  width: 110px;
  height: 110px;
  color: rgba(242, 237, 232, 0.8);
  transition: color var(--duration-fast), transform var(--duration-mid) var(--ease-out-quart);
}

.footer-logo-svg:hover {
  color: var(--warm-beige);
  transform: scale(1.05);
}

.footer-arc {
  fill: rgba(242, 237, 232, 0.7);
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(242, 237, 232, 0.65);
  transition: color var(--duration-fast);
}

.footer-link:hover {
  color: var(--warm-beige);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 237, 232, 0.55);
  transition: border-color var(--duration-fast), color var(--duration-fast),
    background var(--duration-fast);
}

.social-link:hover {
  border-color: var(--warm-beige);
  color: var(--warm-beige);
  background: rgba(212, 184, 150, 0.08);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(242, 237, 232, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(242, 237, 232, 0.4);
  letter-spacing: 0.03em;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(242, 237, 232, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-image-wrap {
    height: 56vw;
    min-height: 380px;
  }

  .hero-image-frame {
    inset: 16px 16px 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .scroll-indicator {
    display: none;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .philosophy-img-accent {
    right: 0;
  }

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

  .service-card:nth-child(2) {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .service-card.featured .service-card-top {
    grid-column: 1;
  }

  .service-card.featured .service-name {
    grid-column: 1;
  }

  .service-card.featured .service-desc {
    grid-column: 1;
    grid-row: 3;
  }

  .service-card.featured .service-features {
    grid-column: 2;
    grid-row: 2 / 4;
    margin-bottom: 0;
  }

  .service-card.featured .service-cta {
    grid-column: 1;
  }

  .inquire-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .inquire-info {
    max-width: 60ch;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
  }

  /* Header */
  .main-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .header-inner {
    padding: 16px 20px;
  }

  .logo-svg {
    width: 60px;
    height: 60px;
  }

  /* Hero */
  .hero-content {
    padding: 40px 20px 48px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Marquee */
  .marquee-track {
    animation-duration: 18s;
  }

  /* Philosophy */
  .philosophy-img-accent {
    position: relative;
    bottom: auto;
    right: auto;
    width: 60%;
    margin-top: -40px;
    margin-left: auto;
    border: 3px solid var(--soft-white);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(2) {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }

  .service-card.featured .service-features {
    grid-column: auto;
    grid-row: auto;
  }

  /* Testimonials */
  .testimonials-track {
    min-height: 320px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-nav {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 60px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .palette-choices {
    flex-direction: column;
  }

  .toast {
    font-size: 12px;
    padding: 12px 18px;
    max-width: calc(100vw - 40px);
    white-space: normal;
    text-align: center;
    flex-direction: column;
    border-radius: var(--radius-md);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-img {
    transform: none !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}