/* Version 3 — Midnight Confection (dark editorial luxury) */
:root {
  --black: #0f0a08;
  --black-soft: #1a1210;
  --gold: #d4a853;
  --gold-bright: #e8c882;
  --gold-muted: rgba(212, 168, 83, 0.28);
  --cream: #f5efe6;
  --cream-dark: #e8dfd4;
  --brown-footer: #0a0706;
  --text: #f5efe6;
  --text-muted: #a89888;
  --white: #ffffff;
  --accent-rose: #c67b5c;
  --accent-rose-soft: rgba(198, 123, 92, 0.12);
  --radius: 14px;
  --radius-pill: 999px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --shadow-soft: 0 28px 72px rgba(0, 0, 0, 0.45);
  --ratio-hero: 4 / 5;
  --ratio-tile: 1 / 1;
  --ratio-testimonial: 5 / 6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

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

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 10, 8, 0.88);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(212, 168, 83, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  padding: 0.2rem 0 0.35rem;
  transition: transform 0.25s ease;
}

.logo::after {
  display: none;
}

.logo:hover,
.logo:focus-visible {
  transform: translateY(-1px);
}

.logo:hover::after,
.logo:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.logo-image {
  height: clamp(1.75rem, 4vw, 2.15rem);
  width: auto;
  max-width: min(10.5rem, 44vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: none;
  transition: opacity 0.2s ease;
}

.logo:hover .logo-image,
.logo:focus-visible .logo-image {
  opacity: 0.85;
}

.logo-image--footer {
  height: 1.85rem;
}

.logo-footer {
  align-self: start;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border-bottom: none;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--black);
  background: var(--cream-dark);
}

.nav a.is-active {
  color: var(--black);
  background: rgba(196, 160, 82, 0.15);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(26, 18, 16, 0.08);
    box-shadow: 0 20px 48px rgba(26, 18, 16, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 99;
  }

  .nav a {
    display: block;
    padding: 0.9rem 0.5rem;
    font-size: 0.82rem;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  }

  .nav a.is-active {
    border-bottom-color: rgba(212, 175, 55, 0.35);
  }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.65rem 1.15rem;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 10px 32px rgba(26, 18, 16, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--black-soft);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(26, 18, 16, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: rgba(26, 18, 16, 0.2);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--cream-dark);
  border-color: var(--black);
}

.btn-dark {
  background: var(--accent-rose);
  color: var(--white);
  border-color: var(--accent-rose);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #a05f4d;
  border-color: #a05f4d;
}

.btn-wide {
  min-width: min(420px, 100%);
}

.btn-lg {
  font-size: 0.78rem;
  padding: 1.05rem 1.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  display: flex;
  align-items: center;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(196, 160, 82, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(183, 110, 89, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image);
  background-size: cover;
  background-position: center right;
  opacity: 0.07;
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

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

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual-frame {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: var(--ratio-hero);
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(26, 18, 16, 0.04);
  background: var(--black);
  isolation: isolate;
}

.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 35%,
    transparent 65%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border-radius: inherit;
}

.hero-visual-frame .hero-video,
.hero-visual-frame .hero-photo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-photo-fallback {
  display: none;
  z-index: 0;
}

.hero-visual-frame .hero-video {
  z-index: 1;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero-visual-frame {
    width: min(100%, 18.5rem);
    margin-inline: auto;
  }

  .hero-content {
    max-width: none;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-rose);
  background: var(--accent-rose-soft);
  border-radius: var(--radius-pill);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw + 1rem, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-rose);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text);
}

.trust-bar li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(26, 18, 16, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 18, 16, 0.04);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(196, 160, 82, 0.12);
  color: var(--gold);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--white);
}

.section-pad-bottom {
  padding-bottom: 6rem;
}

.section-dark {
  background: linear-gradient(165deg, #f5f0ea 0%, var(--cream) 100%);
  color: var(--text);
}

.section-dark .section-title-light {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.section-darker {
  background: var(--black);
  color: var(--white);
}

.section-social {
  padding-bottom: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.5vw + 1rem, 2.75rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 0.75rem;
  color: var(--black);
  letter-spacing: -0.02em;
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-subtitle-muted {
  color: rgba(250, 249, 246, 0.55);
}

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

/* Grids */
.grid-cards {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

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

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

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

@media (max-width: 1100px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .grid-4,
  .grid-3,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: center;
  }
}

/* Cards — occasions */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 18, 16, 0.06);
  border: 1px solid rgba(26, 18, 16, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 18, 16, 0.1);
}

.card-occasion {
  padding-bottom: 1.5rem;
}

.card-occasion-media {
  position: relative;
  aspect-ratio: var(--ratio-tile);
  overflow: hidden;
  background: #0a0a0a;
}

.card-occasion-media img,
.card-occasion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}

.card-occasion-video {
  z-index: 0;
}

.card-occasion:hover .card-occasion-media img,
.card-occasion:hover .card-occasion-media .card-occasion-video {
  transform: scale(1.03);
}

.card-occasion-media .card-occasion-badge {
  z-index: 3;
}

.card-occasion-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-muted);
  box-shadow: var(--shadow-soft);
}

.card-occasion-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 50%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.card-occasion h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 1.25rem 0.4rem;
  color: var(--text);
  text-transform: capitalize;
}

.card-occasion p {
  margin: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Product cards */
.card-product {
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.card-product-popular {
  border: 2px solid var(--gold);
  box-shadow: 0 16px 48px rgba(196, 160, 82, 0.18);
}

.product-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: var(--accent-rose);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.card-product-media {
  position: relative;
  flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: var(--ratio-tile);
  background: #0a0a0a;
}

.card-product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18) 100%);
}

.card-product-media .card-media-fallback,
.card-product-media .card-product-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.card-product-media .card-media-fallback {
  z-index: 0;
}

.card-product-media .card-product-video {
  z-index: 1;
  transition: transform 0.55s ease;
}

.card-product:hover .card-product-media .card-product-video,
.card-product:hover .card-product-media .card-media-fallback {
  transform: scale(1.02);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.78);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.product-badge-soft {
  background: rgba(249, 247, 242, 0.92);
  color: var(--black-soft);
  border-color: rgba(42, 38, 31, 0.08);
}

.card-product h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 1.15rem 0.85rem 0.2rem;
}

.grid-6 .card-product h3 {
  font-size: 1.05rem;
}

.grid-6 .product-tagline,
.grid-6 .product-price,
.grid-6 .product-sample {
  font-size: 0.82rem;
  margin-left: 0.85rem;
  margin-right: 0.85rem;
}

.grid-6 .product-actions {
  margin: 0.85rem 0.75rem 1.1rem;
  gap: 0.4rem;
}

.grid-6 .product-link {
  font-size: 0.62rem;
  padding: 0.5rem 0.65rem;
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
}

.product-tagline {
  margin: 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-price {
  margin: 0.85rem 1rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.product-price strong {
  color: var(--gold);
  font-weight: 700;
}

.product-sample {
  margin: 0.35rem 1rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product-sample strong {
  color: var(--text);
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 1rem 1.35rem;
}

.product-link {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(42, 38, 31, 0.2);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.product-link:hover,
.product-link:focus-visible {
  border-color: var(--gold);
  color: var(--black-soft);
}

.product-link--primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.product-link--primary:hover,
.product-link--primary:focus-visible {
  background: var(--black-soft);
  border-color: var(--black-soft);
}

.styles-note a {
  color: #7a5f18;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.styles-note a:hover,
.styles-note a:focus-visible {
  color: var(--black-soft);
}

/* Why section features */
.grid-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 0 0.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: none;
  background: rgba(196, 160, 82, 0.12);
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-icon-sm {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}

.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--black);
  text-transform: none;
}

.feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .grid-features {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  position: relative;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 0;
  border-top: 2px dashed rgba(201, 162, 39, 0.35);
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

.timeline-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--black-soft);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
}

.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold);
  margin-bottom: 0.85rem;
  background: var(--cream);
}

.timeline-step h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.timeline-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    align-items: start;
  }

  .timeline-num {
    margin: 0;
    grid-row: 1 / span 2;
  }

  .timeline-icon {
    grid-column: 2;
  }

  .timeline-step h3 {
    grid-column: 2;
  }

  .timeline-step p {
    grid-column: 2;
  }
}

/* Logo cloud & testimonials */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.logo-pill {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  filter: none;
  opacity: 1;
  background: rgba(255, 255, 255, 0.04);
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.testimonial-visual-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: var(--ratio-testimonial);
  box-shadow: var(--shadow-soft);
  background: #0a0a0a;
}

.testimonial-photo-fallback,
.testimonial-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.testimonial-photo-fallback {
  z-index: 0;
}

.testimonial-video {
  z-index: 1;
}

@media (min-width: 901px) {
  .testimonial-visual-media {
    min-height: 18rem;
  }
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.75rem 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  position: relative;
  backdrop-filter: blur(8px);
}

.quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
}

.testimonial p {
  margin: 1.25rem 0 1rem;
  color: rgba(250, 249, 246, 0.82);
  font-size: 0.95rem;
}

.testimonial footer cite {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-bright);
  display: block;
}

.testimonial footer span {
  font-size: 0.8rem;
  color: rgba(250, 249, 246, 0.5);
}

@media (max-width: 900px) {
  .testimonial-wrap {
    grid-template-columns: 1fr;
  }
}

/* Planning CTA (inside social section) */
.planning-cta {
  margin-top: 4rem;
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.planning-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2vw + 1rem, 2.2rem);
  color: var(--white);
  margin: 0 0 1.25rem;
  max-width: 520px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(250, 249, 246, 0.78);
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  background: rgba(212, 175, 55, 0.2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    no-repeat center;
}

/* Photo gallery */
.section-gallery {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 55%, var(--cream) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  padding-bottom: 5.5rem;
}

.section-gallery .section-subtitle a {
  color: #7a5f18;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gallery-trigger {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(42, 38, 31, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 44px rgba(42, 38, 31, 0.14);
  transform: translateY(-3px);
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.gallery-cta {
  text-align: center;
  margin-top: 2.75rem;
}

.gallery-lightbox {
  position: relative;
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(94vw, 920px);
  width: 100%;
  background: var(--black-soft);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.gallery-lightbox-toolbar {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  margin: 0;
}

.gallery-lightbox-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--gold-bright);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  background: rgba(212, 175, 55, 0.2);
  color: var(--white);
}

.gallery-lightbox-figure {
  margin: 0;
}

.gallery-lightbox-img {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  background: #0a0a0a;
}

.gallery-lightbox-caption {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(250, 249, 246, 0.78);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Accordion */
.accordion {
  margin-top: 2rem;
  border-top: 1px solid rgba(42, 38, 31, 0.12);
}

.accordion-item {
  border-bottom: 1px solid rgba(42, 38, 31, 0.12);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s;
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 0 1.15rem;
}

.accordion-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #1a1612;
  color: rgba(250, 249, 246, 0.82);
  padding: 0;
  border-top: 3px solid var(--gold);
}

.footer-cta-strip {
  background: linear-gradient(90deg, var(--brown-footer) 0%, #1f1a14 50%, var(--brown-footer) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 1.35rem 0;
}

.footer-cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-cta-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 249, 246, 0.88);
  max-width: 36rem;
}

.footer-main {
  background: var(--brown-footer);
  padding: 3rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)) 1.25fr;
  gap: 2rem 1.75rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo-footer {
  align-self: flex-start;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(250, 249, 246, 0.62);
  max-width: 18rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(250, 249, 246, 0.72);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-block .footer-office {
  margin-bottom: 1.15rem;
}

.footer-contact-block .footer-office:last-of-type {
  margin-bottom: 0.75rem;
}

.footer-office-name {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(250, 249, 246, 0.92);
}

.footer-address {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(250, 249, 246, 0.55);
}

.footer-office-links {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-office-links a,
.footer-site-link a {
  color: var(--gold);
  font-weight: 500;
}

.footer-office-links a:hover,
.footer-site-link a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-site-link {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

.footer-bottom {
  background: #14110e;
  padding: 1.15rem 0 1.35rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
}

.footer-legal {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(250, 249, 246, 0.42);
}

.footer-legal-meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(250, 249, 246, 0.42);
}

.footer-legal-meta a {
  color: rgba(212, 175, 55, 0.75);
}

.footer-legal-meta a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-legal-meta span {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
  }

  .footer-tagline {
    flex: 1;
    min-width: 14rem;
    max-width: none;
  }

  .footer-contact-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .footer-site-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-block {
    grid-template-columns: 1fr;
  }

  .footer-cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .card-occasion-video,
  .card-product-video,
  .testimonial-video {
    display: none;
  }

  .hero-photo-fallback {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-product:hover .card-product-media .card-media-fallback {
    transform: none;
  }
}

@media (max-width: 860px) {
  .planning-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.inquiry-open {
  overflow: hidden;
}

/* Page inquiry section (end of page) */
.section-inquiry {
  background: linear-gradient(135deg, var(--black) 0%, #2a1f1c 50%, #3d2b26 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  border-top: none;
  position: relative;
}

.section-inquiry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent-rose), var(--gold));
}

.inquiry-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.inquiry-section-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.inquiry-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.45rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.inquiry-section-lead {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(250, 249, 246, 0.72);
  max-width: 34rem;
}

.inquiry-section-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.inquiry-section-meta li {
  display: grid;
  gap: 0.2rem;
}

.inquiry-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
}

.inquiry-section-meta a,
.inquiry-section-meta span:last-child {
  font-size: 0.92rem;
  color: rgba(250, 249, 246, 0.9);
}

.inquiry-section-meta a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.inquiry-section-card {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.inquiry-section-card .inquiry-form {
  padding: 1.5rem 1.5rem 1.6rem;
}

.inquiry-section-card.is-success .inquiry-form {
  display: none;
}

.inquiry-success--page {
  padding: 2rem 1.5rem 2.25rem;
  text-align: left;
}

.inquiry-section-card.is-success .inquiry-success--page:not([hidden]) {
  display: block;
}

@media (max-width: 900px) {
  .inquiry-section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Floating inquiry form */
.inquiry-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  pointer-events: none;
}

.inquiry-widget > * {
  pointer-events: auto;
}

.inquiry-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.inquiry-backdrop:not([hidden]) {
  opacity: 1;
}

.inquiry-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-rose) 0%, #9a5a4a 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.inquiry-fab:hover,
.inquiry-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 24px rgba(212, 175, 55, 0.22);
  color: var(--white);
}

.inquiry-widget.is-open .inquiry-fab {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.inquiry-fab-icon {
  flex-shrink: 0;
}

.inquiry-panel {
  position: relative;
  z-index: 91;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 6rem));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: translateY(1rem) scale(0.96);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.inquiry-widget.is-open .inquiry-panel:not([hidden]) {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.inquiry-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 0.85rem;
  background: linear-gradient(180deg, #1a1612 0%, #2a2118 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: sticky;
  top: 0;
  z-index: 1;
}

.inquiry-panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.25;
}

.inquiry-panel-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgba(250, 249, 246, 0.65);
}

.inquiry-panel-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.inquiry-panel-close:hover,
.inquiry-panel-close:focus-visible {
  background: rgba(212, 175, 55, 0.15);
  color: var(--white);
}

.inquiry-form,
.inquiry-success {
  padding: 1.1rem 1.15rem 1.25rem;
}

.inquiry-field {
  margin-bottom: 0.9rem;
}

.inquiry-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.inquiry-required {
  color: #9a7220;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(42, 38, 31, 0.18);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inquiry-field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: rgba(92, 87, 77, 0.55);
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.inquiry-field input:invalid:not(:placeholder-shown),
.inquiry-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(180, 60, 50, 0.55);
}

.inquiry-form-note {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.inquiry-form-note a {
  color: #7a5f18;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.inquiry-success {
  text-align: center;
}

.inquiry-success-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
}

.inquiry-success-text {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.inquiry-success-text a {
  color: #7a5f18;
  font-weight: 600;
  text-decoration: underline;
}

.inquiry-panel.is-success .inquiry-form {
  display: none;
}

.inquiry-panel.is-success .inquiry-success:not([hidden]) {
  display: block;
}

@media (max-width: 480px) {
  .inquiry-widget {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .inquiry-fab-label {
    display: none;
  }

  .inquiry-fab {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* --- Mobile-first polish (phones & small tablets) --- */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container,
  .container-narrow {
    width: min(1140px, 100% - 1.25rem);
  }

  .site-header {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-pad-bottom {
    padding-bottom: 3.5rem;
  }

  .section-gallery {
    padding-bottom: 3.5rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 1.75rem) 0 2.75rem;
    background-position: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .section-subtitle {
    margin-bottom: 2rem;
    font-size: 0.92rem;
    padding-inline: 0.25rem;
  }

  .grid-6 .product-actions,
  .product-actions {
    flex-direction: column;
    margin-inline: 0.85rem;
  }

  .grid-6 .product-link,
  .product-link {
    flex: 1 1 auto;
    width: 100%;
    min-height: 44px;
    font-size: 0.72rem;
    padding: 0.7rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 44px;
    font-size: 0.76rem;
  }

  .btn-wide,
  .section-cta-row .btn,
  .gallery-cta .btn,
  .planning-cta-inner .btn,
  .footer-cta-strip .btn {
    width: 100%;
    justify-content: center;
  }

  .accordion-trigger {
    font-size: 0.92rem;
    padding: 1rem 0;
    min-height: 44px;
  }

  .inquiry-field input,
  .inquiry-field textarea {
    font-size: 16px;
  }

  .inquiry-section-card .inquiry-form {
    padding: 1.15rem 1rem 1.25rem;
  }

  .inquiry-section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .planning-cta {
    margin-top: 2.5rem;
    padding: 2.5rem 0 3rem;
  }

  .cta-copy h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  }

  .logo-image {
    max-width: min(10rem, 42vw);
  }

  .gallery-lightbox {
    max-width: calc(100vw - 1rem);
    margin: auto env(safe-area-inset-right, 0px) auto env(safe-area-inset-left, 0px);
  }

  .gallery-lightbox-img {
    max-height: min(70dvh, 640px);
  }
}

@media (max-width: 380px) {
  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .product-ribbon {
    font-size: 0.58rem;
    padding: 0.4rem 0.9rem;
  }
}

/* V2 extras */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 1rem;
}

.nav-cta-mobile {
  display: none;
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-cta-mobile {
    display: inline-flex;
  }

  .nav a {
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

.section-gallery {
  background: var(--cream);
}

.section-gallery .section-title::after,
.section-light .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, var(--gold), var(--accent-rose));
  border-radius: 2px;
}

.grid-features .feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 20px rgba(26, 18, 16, 0.05);
  border: 1px solid rgba(26, 18, 16, 0.04);
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  border: 1px solid rgba(26, 18, 16, 0.06) !important;
  box-shadow: 0 2px 12px rgba(26, 18, 16, 0.03);
}

.accordion {
  border-top: none;
}

.planning-cta {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2.5rem !important;
  margin-top: 3rem;
  border-top: none !important;
}

.cta-copy h2 {
  color: var(--white);
}

.checklist li {
  color: rgba(255, 255, 255, 0.8);
}

.card-product {
  text-align: left;
}

.card-product h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}

.product-price strong {
  color: var(--accent-rose);
}

.styles-note a {
  color: var(--accent-rose);
  font-weight: 600;
}

.site-footer {
  border-top: 4px solid var(--gold);
}

.header-version-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--cream-dark);
  border: 1px solid rgba(26, 18, 16, 0.08);
  border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.header-version-pill:hover {
  color: var(--black);
  border-color: var(--gold);
  background: rgba(196, 160, 82, 0.1);
}

@media (max-width: 900px) {
  .header-version-pill {
    display: none;
  }
}

@media (max-width: 720px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

/* ── Version 3 overrides: Midnight Confection ── */

:root {
  --banner-h: 2.15rem;
}

html {
  scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 0.5rem);
}

.version-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: linear-gradient(90deg, rgba(212, 168, 83, 0.14), rgba(198, 123, 92, 0.08));
  border-bottom: 1px solid rgba(212, 168, 83, 0.22);
  padding: 0.45rem max(1rem, env(safe-area-inset-right)) 0.45rem max(1rem, env(safe-area-inset-left));
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245, 239, 230, 0.82);
  line-height: 1.4;
}

.version-banner-short {
  display: none;
}

.version-banner a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
}

.version-banner a:hover {
  text-decoration: underline;
}

.theme-v3 .nav a {
  color: var(--text-muted);
}

.theme-v3 .nav a:hover,
.theme-v3 .nav a:focus-visible,
.theme-v3 .nav a.is-active {
  color: var(--gold-bright);
}

.theme-v3 .logo-image {
  filter: brightness(1.15);
}

.header-version-pills {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.header-version-pill,
.header-version-pills .version-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.header-version-pills .version-pill:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.15);
}

.theme-v3 .hero {
  min-height: min(94vh, 920px);
  padding-top: calc(var(--banner-h) + var(--header-h) + 1.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 80% 10%, rgba(212, 168, 83, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(198, 123, 92, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #0f0a08 0%, #1a1210 45%, #0f0a08 100%);
}

.theme-v3 .hero::before {
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent, black 40%, black 70%, transparent);
}

.theme-v3 .hero-title {
  color: var(--cream);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.06;
}

.theme-v3 .hero-title em {
  color: var(--gold-bright);
  font-style: italic;
}

.theme-v3 .hero-lead {
  color: var(--text-muted);
}

.theme-v3 .hero-eyebrow {
  color: var(--gold);
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(212, 168, 83, 0.08);
}

.theme-v3 .hero-visual-frame {
  border-color: rgba(212, 168, 83, 0.35);
  box-shadow: var(--shadow-soft), 0 0 60px rgba(212, 168, 83, 0.12);
}

.theme-v3 .trust-bar li {
  color: var(--text-muted);
  background: rgba(26, 18, 16, 0.85);
  border-color: rgba(212, 168, 83, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.theme-v3 .trust-icon {
  color: var(--gold);
}

.theme-v3 .section-light {
  background: var(--black-soft);
}

.theme-v3 .section-dark {
  background: linear-gradient(180deg, var(--black) 0%, #120c0a 100%);
  color: var(--cream);
}

.theme-v3 .section-dark .section-title-light {
  color: var(--cream);
}

.theme-v3 .section-title {
  color: var(--cream);
}

.theme-v3 .section-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.theme-v3 .section-gallery {
  background: var(--black);
  border-top: 1px solid rgba(212, 168, 83, 0.15);
}

.theme-v3 .card,
.theme-v3 .card-product {
  background: rgba(26, 18, 16, 0.85);
  border: 1px solid rgba(212, 168, 83, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.theme-v3 .card:hover,
.theme-v3 .card-product:hover {
  border-color: rgba(212, 168, 83, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 32px rgba(212, 168, 83, 0.08);
}

.theme-v3 .card-product h3 {
  color: var(--cream);
}

.theme-v3 .product-tagline,
.theme-v3 .product-sample {
  color: var(--text-muted);
}

.theme-v3 .product-price {
  color: var(--cream);
}

.theme-v3 .product-link {
  border-color: rgba(212, 168, 83, 0.25);
  color: var(--cream);
}

.theme-v3 .product-link:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.theme-v3 .product-link--primary {
  background: linear-gradient(135deg, var(--gold), #b8893a);
  border-color: transparent;
  color: var(--black);
}

.theme-v3 .product-link--primary:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
}

.theme-v3 .card-product-popular {
  border-color: rgba(212, 168, 83, 0.45);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.12);
}

.theme-v3 .product-ribbon {
  background: linear-gradient(135deg, var(--gold), #b8893a);
  color: var(--black);
}

/* Product horizontal rail */
.product-rail-wrap {
  position: relative;
  margin: 0 -0.5rem;
}

.product-rail.grid-6 {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 0.5rem 0.5rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 168, 83, 0.4) transparent;
}

.product-rail .card-product {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
}

.product-rail-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.35);
  background: rgba(15, 10, 8, 0.92);
  color: var(--gold-bright);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, border-color 0.2s;
}

.product-rail-btn::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid currentColor;
  border-top: none;
  border-right: none;
  margin: 0.85rem auto;
}

.product-rail-btn--prev {
  left: -0.25rem;
}

.product-rail-btn--prev::before {
  transform: rotate(45deg);
  margin-left: 1rem;
}

.product-rail-btn--next {
  right: -0.25rem;
}

.product-rail-btn--next::before {
  transform: rotate(-135deg);
  margin-right: 1rem;
}

.product-rail-btn:hover {
  background: rgba(212, 168, 83, 0.15);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .product-rail-btn {
    display: none;
  }
}

.theme-v3 .grid-features .feature {
  background: rgba(26, 18, 16, 0.9);
  border: 1px solid rgba(212, 168, 83, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.theme-v3 .grid-features .feature h3 {
  color: var(--cream);
}

.theme-v3 .feature p {
  color: var(--text-muted);
}

.theme-v3 .timeline-icon {
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.3);
  color: var(--gold);
}

.theme-v3 .timeline-step h3 {
  color: var(--cream);
}

.theme-v3 .timeline-step p {
  color: var(--text-muted);
}

/* Logo marquee */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-cloud-track {
  display: flex;
  gap: 0.85rem;
  animation: logo-marquee 32s linear infinite;
  width: max-content;
}

@keyframes logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.theme-v3 .accordion {
  border-top-color: rgba(212, 168, 83, 0.15);
}

.theme-v3 .accordion-item {
  background: rgba(26, 18, 16, 0.9);
  border: 1px solid rgba(212, 168, 83, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.theme-v3 .accordion-trigger {
  color: var(--cream);
}

.theme-v3 .accordion-panel p {
  color: var(--text-muted);
}

.theme-v3 .accordion-panel a {
  color: var(--gold-bright);
}

.theme-v3 .section-inquiry {
  background: linear-gradient(180deg, #120c0a 0%, var(--black) 100%);
}

.theme-v3 .inquiry-section-title {
  color: var(--cream);
}

.theme-v3 .inquiry-section-lead,
.theme-v3 .inquiry-section-meta {
  color: var(--text-muted);
}

.theme-v3 .inquiry-section-card {
  background: rgba(26, 18, 16, 0.9);
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.theme-v3 .inquiry-success-title {
  color: var(--cream);
}

.theme-v3 .inquiry-form-note a,
.theme-v3 .inquiry-success-text a {
  color: var(--gold-bright);
}

.theme-v3 .inquiry-field label {
  color: var(--text-muted);
}

.theme-v3 .inquiry-field input,
.theme-v3 .inquiry-field textarea {
  background: rgba(15, 10, 8, 0.8);
  border-color: rgba(212, 168, 83, 0.2);
  color: var(--cream);
}

.theme-v3 .inquiry-field input:focus,
.theme-v3 .inquiry-field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.theme-v3 .gallery-trigger {
  border-color: rgba(212, 168, 83, 0.15);
}

.theme-v3 .gallery-item figcaption {
  color: var(--text-muted);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(26, 18, 16, 0.94);
  border: 1px solid rgba(212, 168, 83, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  white-space: nowrap;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sticky-cta strong {
  color: var(--cream);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.theme-v3 .btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8893a);
  color: var(--black);
  border: none;
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.25);
}

.theme-v3 .btn-primary:hover,
.theme-v3 .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
  box-shadow: 0 12px 36px rgba(212, 168, 83, 0.35);
}

.theme-v3 .btn-outline {
  border-color: rgba(212, 168, 83, 0.4);
  color: var(--cream);
  background: transparent;
}

.theme-v3 .btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.theme-v3 .btn-dark {
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: var(--gold-bright);
}

.theme-v3 .styles-note a {
  color: var(--gold-bright);
}

@media (max-width: 900px) {
  .header-version-pills {
    display: none;
  }

  .sticky-cta {
    display: none !important;
  }
}

.theme-v3 .nav-toggle span {
  background: var(--cream);
}

.theme-v3 .nav.is-open {
  background: rgba(15, 10, 8, 0.97);
  border-top: 1px solid rgba(212, 168, 83, 0.15);
}

.theme-v3 .inquiry-fab {
  background: linear-gradient(135deg, var(--gold), #b8893a);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.3);
}

.theme-v3 .inquiry-panel {
  background: var(--black-soft);
  border-color: rgba(212, 168, 83, 0.25);
}

.theme-v3 .inquiry-panel-title {
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .logo-cloud-track {
    animation: none;
  }
}

/* ── Version 3 mobile-friendly polish ── */

@media (max-width: 900px) {
  .version-banner {
    position: relative;
    z-index: 1;
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  .version-banner-full {
    display: none;
  }

  .version-banner-short {
    display: inline;
  }

  .theme-v3 .site-header {
    top: 0;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 0.75rem);
  }

  .theme-v3 .nav {
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .theme-v3 .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .theme-v3 .nav-cta-mobile {
    min-height: 48px;
    margin-top: 0.75rem;
  }

  .theme-v3 .nav-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .theme-v3 .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 1rem) 0 2.5rem;
  }

  .theme-v3 .hero-grid {
    gap: 1.75rem;
  }

  .theme-v3 .hero-visual {
    order: -1;
  }

  .theme-v3 .hero-visual-frame {
    width: min(100%, 16.5rem);
    margin-inline: auto;
  }

  .theme-v3 .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    text-align: center;
  }

  .theme-v3 .hero-lead,
  .theme-v3 .hero-eyebrow {
    text-align: center;
  }

  .theme-v3 .hero-eyebrow {
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }

  .theme-v3 .hero-content {
    max-width: none;
    text-align: center;
  }

  .theme-v3 .hero-actions {
    justify-content: center;
  }

  .theme-v3 .trust-bar {
    gap: 0.65rem;
  }

  .theme-v3 .trust-bar li {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .product-rail.grid-6 {
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
    scroll-padding-inline: 1rem;
    gap: 1rem;
  }

  .product-rail .card-product {
    flex: 0 0 min(272px, 86vw);
  }

  .theme-v3 .grid-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .theme-v3 .grid-features .feature {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.35rem 1rem;
    padding: 1.15rem 1.1rem;
  }

  .theme-v3 .grid-features .feature .feature-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
  }

  .theme-v3 .grid-features .feature h3 {
    margin: 0;
    align-self: end;
  }

  .theme-v3 .grid-features .feature p {
    grid-column: 2;
    margin: 0;
  }

  .theme-v3 .testimonial-wrap {
    gap: 1.5rem;
  }

  .theme-v3 .testimonial-visual {
    order: -1;
  }

  .theme-v3 .planning-cta {
    padding: 1.75rem 1.25rem !important;
    margin-top: 2rem;
  }

  .theme-v3 .planning-cta-inner .btn {
    width: 100%;
  }

  .theme-v3 .section {
    padding: 3rem 0;
  }

  .theme-v3 .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
    padding-inline: 0.25rem;
  }

  .theme-v3 .inquiry-section-grid {
    gap: 1.5rem;
  }

  .theme-v3 .inquiry-section-copy {
    text-align: center;
  }

  .theme-v3 .inquiry-section-meta {
    align-items: center;
    text-align: center;
  }

  .theme-v3 .inquiry-section-meta li {
    justify-items: center;
  }

  .theme-v3 .footer-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    line-height: 1.6;
  }

  .theme-v3 main {
    padding-bottom: 4.5rem;
  }

  .theme-v3 .inquiry-widget {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .theme-v3 .inquiry-panel {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
    max-height: min(88dvh, calc(100dvh - var(--header-h) - 1.5rem));
    border-radius: var(--radius);
  }

  .theme-v3 .inquiry-fab {
    min-width: 48px;
    min-height: 48px;
  }

  .theme-v3 .gallery-trigger {
    min-height: 44px;
  }

  .theme-v3 .accordion-trigger {
    padding: 1rem 0.85rem;
    min-height: 48px;
  }

  .theme-v3 .accordion-item {
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
  }

  .theme-v3 .logo-marquee {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .theme-v3 .hero-actions .btn {
    width: 100%;
  }

  .theme-v3 .product-actions {
    flex-direction: column;
  }

  .theme-v3 .product-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .theme-v3 .timeline-step {
    padding: 0 0.25rem;
  }

  .theme-v3 .gallery-grid {
    gap: 0.75rem;
  }

  .theme-v3 .section-subtitle,
  .theme-v3 .styles-note {
    font-size: 0.88rem;
    padding-inline: 0.15rem;
  }

  .theme-v3 .inquiry-section-card .inquiry-form {
    padding: 1.1rem 0.9rem 1.2rem;
  }

  .theme-v3 .inquiry-field input,
  .theme-v3 .inquiry-field textarea {
    font-size: 16px;
    min-height: 44px;
  }

  .theme-v3 .inquiry-submit {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .version-banner-short {
    font-size: 0.68rem;
  }

  .theme-v3 .hero-title {
    font-size: 1.7rem;
  }

  .product-rail .card-product {
    flex: 0 0 88vw;
  }
}
