/* ==========================================================================
   SaveTheLove — Luxury Wedding Design System
   ========================================================================== */

@layer base, components, utilities;

/* --- Design Tokens --- */
@layer base {
  :root {
    /* Champagne & gold palette */
    --color-ivory: #FDF9F3;
    --color-cream: #F6F0E6;
    --color-champagne: #EDE4D4;
    --color-beige: #E2D5C3;
    --color-beige-dark: #C4B49A;
    --color-gold: #B8956B;
    --color-gold-light: #D9C08E;
    --color-gold-dark: #8F7048;
    --color-gold-shine: #F0E0C4;
    --color-charcoal: #1C1916;
    --color-charcoal-soft: #3A3530;
    --color-charcoal-muted: #6E665C;
    --color-white: #FFFFFF;
    --color-error: #A84844;
    --color-success: #4E7D5C;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Fluid type scale */
    --text-xs: clamp(0.6875rem, 0.66rem + 0.12vw, 0.75rem);
    --text-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
    --text-base: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
    --text-lg: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
    --text-xl: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem);
    --text-2xl: clamp(2rem, 1.5rem + 1.8vw, 3rem);
    --text-3xl: clamp(2.75rem, 2rem + 2.8vw, 4.25rem);
    --text-hero: clamp(3rem, 2.2rem + 3.5vw, 5.75rem);

    /* Spacing rhythm */
    --space-2xs: 0.375rem;
    --space-xs: 0.625rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Elevation */
    --shadow-soft: 0 2px 20px rgba(28, 25, 22, 0.04), 0 8px 32px rgba(28, 25, 22, 0.06);
    --shadow-medium: 0 4px 24px rgba(28, 25, 22, 0.06), 0 16px 48px rgba(28, 25, 22, 0.08);
    --shadow-large: 0 8px 32px rgba(28, 25, 22, 0.08), 0 24px 64px rgba(28, 25, 22, 0.12);
    --shadow-gold: 0 4px 24px rgba(184, 149, 107, 0.28), 0 1px 0 rgba(240, 224, 196, 0.4) inset;
    --shadow-inner-gold: inset 0 1px 0 rgba(255, 255, 255, 0.25);

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    /* Motion */
    --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-luxury);
    --transition-base: 0.45s var(--ease-luxury);
    --transition-slow: 0.7s var(--ease-out-expo);

    /* Layout */
    --header-height: 88px;
    --container-max: 1160px;
    --container-narrow: 720px;
    --section-padding: clamp(6.5rem, 11vw, 10.5rem);

    color-scheme: light;
  }

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
    hanging-punctuation: first last;
  }

  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-charcoal-soft);
    background-color: var(--color-ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
  }

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

  ul,
  ol {
    list-style: none;
  }

  input,
  textarea,
  select {
    font-family: inherit;
    font-size: inherit;
  }

  ::selection {
    background-color: var(--color-gold);
    color: var(--color-white);
  }

  :focus {
    outline: none;
  }

  :focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
  }
}

/* --- Utilities --- */
@layer utilities {
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4.5vw, 2.75rem);
  }

  .glass {
    background: color-mix(in srgb, var(--color-white) 78%, transparent);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid color-mix(in srgb, var(--color-gold-shine) 55%, transparent);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }

  .skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 0.875rem 1.75rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
    white-space: nowrap;
  }

  .skip-link:focus-visible {
    top: 1rem;
    outline: 2px solid var(--color-gold-light);
    outline-offset: 3px;
  }
}

/* --- Components --- */
@layer components {

  /* Typography — sections */
  .section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: var(--space-md);
  }

  .section__eyebrow::before,
  .section__eyebrow::after {
    content: '';
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
    opacity: 0.7;
  }

  .section__eyebrow::after {
    background: linear-gradient(90deg, var(--color-gold), transparent);
  }

  .section__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-charcoal);
    letter-spacing: -0.015em;
    text-wrap: balance;
    font-feature-settings: "kern" 1, "liga" 1;
  }

  .section__subtitle {
    font-size: var(--text-lg);
    color: var(--color-charcoal-muted);
    max-width: 34rem;
    margin-inline: auto;
    margin-top: var(--space-md);
    font-weight: 300;
    line-height: 1.8;
    text-wrap: pretty;
  }

  .section__divider {
    width: 4rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-md) auto 0;
    position: relative;
  }

  .section__divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 5px;
    background: var(--color-gold);
    border: 1px solid var(--color-ivory);
  }

  .section__divider--left {
    margin-inline: 0;
  }

  .section__header {
    text-align: center;
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.875rem 2.5rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    isolation: isolate;
  }

  .btn--primary {
    background: linear-gradient(145deg, var(--color-gold-light) 0%, var(--color-gold) 45%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
    border: 1px solid color-mix(in srgb, var(--color-gold-shine) 40%, transparent);
    text-shadow: 0 1px 1px rgba(28, 25, 22, 0.15);
  }

  .btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.65s var(--ease-out-expo);
    z-index: 0;
  }

  .btn--primary:hover:not(:disabled)::before {
    transform: translateX(120%);
  }

  .btn--primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(184, 149, 107, 0.38), var(--shadow-inner-gold);
  }

  .btn--primary:active:not(:disabled) {
    transform: translateY(-1px);
  }

  .btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.2);
  }

  .btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(217, 192, 142, 0.65);
    color: var(--color-gold-shine);
  }

  .btn--secondary {
    background: transparent;
    color: var(--color-charcoal-soft);
    border: 1px solid var(--color-beige-dark);
    margin-top: var(--space-sm);
  }

  .btn--secondary:hover:not(:disabled) {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
    background: color-mix(in srgb, var(--color-gold) 6%, transparent);
  }

  .btn--full { width: 100%; }

  .btn__text { position: relative; z-index: 1; }

  .btn__loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  .btn--loading .btn__text { opacity: 0; }
  .btn--loading .btn__loader { position: absolute; }

  @keyframes spin { to { transform: rotate(360deg); } }

  /* Header */
  .header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-bottom: 1px solid transparent;
  }

  .header--scrolled {
    background: color-mix(in srgb, var(--color-ivory) 88%, transparent);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--color-beige) 60%, transparent), var(--shadow-soft);
    border-bottom-color: color-mix(in srgb, var(--color-beige) 50%, transparent);
  }

  .header--scrolled .nav__logo-text,
  .header--scrolled .nav__link { color: var(--color-charcoal); }

  .header--scrolled .nav__toggle-bar { background: var(--color-charcoal); }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  .nav__logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    min-height: 44px;
  }

  .nav__logo-img {
    height: 34px;
    width: auto;
    transition: opacity var(--transition-fast);
  }

  .nav__logo-img--dark { display: none; }

  .header--scrolled .nav__logo-img--light { display: none; }
  .header--scrolled .nav__logo-img--dark { display: block; }

  .nav__logo-fallback {
    display: none;
    align-items: center;
    gap: 0.625rem;
  }

  .nav__logo-icon {
    font-size: 1.25rem;
    color: var(--color-gold);
    line-height: 1;
  }

  .nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.02em;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.8vw, 2.75rem);
  }

  .nav__link {
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-block: 0.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
  }

  .nav__link:hover::after,
  .nav__link--active::after { transform: scaleX(1); }

  .nav__link:hover,
  .nav__link--active { color: var(--color-gold-shine); }

  .header--scrolled .nav__link:hover,
  .header--scrolled .nav__link--active { color: var(--color-gold-dark); }

  .nav__link--accent {
    padding: 0.5rem 1.375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav__link--accent::after { display: none; }

  .nav__link--accent:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-gold-light);
  }

  .header--scrolled .nav__link--accent {
    border-color: color-mix(in srgb, var(--color-gold) 50%, transparent);
    color: var(--color-gold-dark);
    background: color-mix(in srgb, var(--color-gold) 5%, transparent);
  }

  .nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    z-index: 1001;
    border-radius: var(--radius-sm);
  }

  .nav__toggle:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
  }

  .nav__toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    margin-inline: auto;
    background: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-fast);
    transform-origin: center;
  }

  .nav__toggle--open .nav__toggle-bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav__toggle--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
  .nav__toggle--open .nav__toggle-bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

  /* Hero — Cinematic Landing */
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero__bg picture { position: absolute; inset: 0; }

  .hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transform: scale(1.08);
    animation: heroKenBurns 32s var(--ease-luxury) infinite alternate;
    will-change: transform;
  }

  @keyframes heroKenBurns {
    from { transform: scale(1.08); }
    to   { transform: scale(1.16); }
  }

  .hero__bg-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(160deg, rgba(28, 25, 22, 0.72) 0%, rgba(28, 25, 22, 0.28) 42%, rgba(28, 25, 22, 0.62) 100%),
      linear-gradient(0deg, rgba(28, 25, 22, 0.85) 0%, transparent 38%),
      radial-gradient(ellipse 90% 70% at 50% 45%, rgba(184, 149, 107, 0.08) 0%, transparent 65%);
  }

  .hero__bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 35%, rgba(12, 10, 8, 0.55) 100%);
    pointer-events: none;
  }

  .hero__bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: soft-light;
  }

  .hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: calc(var(--header-height) + 2.5rem) 8.5rem;
    max-width: 54rem;
    gap: clamp(2rem, 4.5vw, 3.25rem);
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  /* Entrance animations */
  .hero__animate {
    opacity: 0;
    transform: translateY(2rem);
    animation: heroEnter 1.1s var(--ease-out-expo) forwards;
    animation-delay: calc(0.15s + (var(--hero-i, 0) * 0.13s));
  }

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

  .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1.125rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--color-gold-shine);
  }

  .hero__eyebrow::before,
  .hero__eyebrow::after {
    content: '';
    width: clamp(2rem, 5vw, 3.5rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light));
    opacity: 0.85;
  }

  .hero__eyebrow::after {
    background: linear-gradient(90deg, var(--color-gold-light), transparent);
  }

  .hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 2.4rem + 4.2vw, 6.25rem);
    font-weight: 300;
    line-height: 1.04;
    color: var(--color-white);
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 4px 60px rgba(12, 10, 8, 0.45);
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
  }

  .hero__title em {
    font-style: italic;
    font-weight: 400;
    color: transparent;
    background: linear-gradient(135deg, var(--color-gold-shine) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    padding-inline: 0.05em;
  }

  .hero__subtitle {
    font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
    line-height: 1.9;
    text-wrap: pretty;
    letter-spacing: 0.01em;
  }

  /* CTA area */
  .hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
    width: 100%;
    max-width: 26rem;
  }

  .hero__glass-card {
    width: 100%;
    padding: clamp(1.5rem, 3vw, 1.875rem);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(28px) saturate(1.35);
    -webkit-backdrop-filter: blur(28px) saturate(1.35);
    box-shadow:
      0 24px 64px rgba(12, 10, 8, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
  }

  .hero__glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 32px 80px rgba(12, 10, 8, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 0 0 1px rgba(217, 192, 142, 0.15);
  }

  .hero__glass-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .hero__glass-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-gold-shine);
    background: rgba(184, 149, 107, 0.15);
    border: 1px solid rgba(217, 192, 142, 0.3);
    border-radius: var(--radius-full);
  }

  .hero__glass-label {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .hero__glass-sublabel {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
  }

  /* Hero buttons — scoped, do not affect global .btn */
  .hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 3.375rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
  }

  .hero__btn:focus-visible {
    outline: 2px solid var(--color-gold-shine);
    outline-offset: 3px;
  }

  .hero__btn--primary {
    background: linear-gradient(145deg, #E8D5B0 0%, var(--color-gold-light) 20%, var(--color-gold) 55%, var(--color-gold-dark) 100%);
    color: var(--color-charcoal);
    box-shadow: 0 8px 32px rgba(184, 149, 107, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
  }

  .hero__btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.35) 50%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.7s var(--ease-out-expo);
  }

  .hero__btn--primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 44px rgba(184, 149, 107, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .hero__btn--primary:hover::before { transform: translateX(130%); }

  .hero__btn--primary:active { transform: translateY(0) scale(1); }

  .hero__btn-arrow {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-expo);
  }

  .hero__btn--primary:hover .hero__btn-arrow { transform: translateX(3px); }

  .hero__btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.28);
    width: auto;
    padding-inline: 2.25rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero__btn--secondary:hover {
    color: var(--color-white);
    border-color: rgba(217, 192, 142, 0.55);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
  }

  /* Stats row */
  .hero__stats {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 36rem;
    padding-top: 0.5rem;
  }

  .hero__stat {
    flex: 1 1 6.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero__stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
    font-weight: 400;
    color: var(--color-gold-shine);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .hero__stat-label {
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
  }

  /* Scroll indicator */
  .hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.35s ease;
    min-height: 44px;
    min-width: 44px;
    justify-content: flex-end;
    padding-bottom: 0.25rem;
  }

  .hero__scroll:hover { color: var(--color-gold-shine); }

  .hero__scroll-ring {
    width: 1.625rem;
    height: 2.625rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-full);
    position: relative;
    margin-bottom: 0.25rem;
  }

  .hero__scroll-ring::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: var(--color-gold-light);
    border-radius: var(--radius-full);
    animation: heroScrollDot 2.2s var(--ease-luxury) infinite;
  }

  @keyframes heroScrollDot {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
  }

  .hero__scroll-text {
    font-size: 0.5625rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
  }

  .hero__scroll-line {
    width: 1px;
    height: 1.75rem;
    background: linear-gradient(180deg, var(--color-gold-light), transparent);
    opacity: 0.6;
  }

  /* Sections */
  .section {
    padding-block: var(--section-padding);
    position: relative;
  }

  /* About */
  .about { background: var(--color-ivory); }

  .about__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(3rem, 6.5vw, 6rem);
    align-items: center;
  }

  .about__visual { position: relative; }

  .about__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-large);
  }

  .about__image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
  }

  .about__image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
  }

  .about__visual:hover .about__image { transform: scale(1.03); }

  .about__image-accent {
    position: absolute;
    bottom: -1.25rem;
    right: -1.25rem;
    width: 7.5rem;
    height: 7.5rem;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.6;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  .about__lead {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
    text-wrap: pretty;
  }

  .about__lead strong {
    color: var(--color-gold-dark);
    font-weight: 500;
  }

  .about__text p {
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal-muted);
    line-height: 1.85;
  }

  .about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg) var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-beige) 70%, transparent);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: color-mix(in srgb, var(--color-gold) 25%, transparent);
  }

  .feature-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    padding: 0.625rem;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-gold) 8%, var(--color-cream));
    border: 1px solid color-mix(in srgb, var(--color-gold) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .feature-card__icon svg { width: 100%; height: 100%; }

  .feature-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
  }

  .feature-card__text {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-charcoal-muted);
  }

  /* Gallery */
  .gallery {
    background: var(--color-charcoal);
    color: var(--color-white);
  }

  .gallery .section__eyebrow { color: var(--color-gold-shine); }
  .gallery .section__eyebrow::before,
  .gallery .section__eyebrow::after { opacity: 0.5; }
  .gallery .section__title { color: var(--color-white); }
  .gallery .section__subtitle { color: rgba(255, 255, 255, 0.58); }
  .gallery .section__divider::after { border-color: var(--color-charcoal); }

  .gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
  }

  .gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .gallery__item--large { grid-row: span 2; }

  .gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform 1s var(--ease-out-expo);
    transform: scale(1.03) translateY(var(--parallax-y, 0));
    will-change: transform;
  }

  .gallery__item--large img {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .gallery__item:hover img {
    transform: scale(1.06) translateY(var(--parallax-y, 0));
  }

  .gallery__caption {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 3rem 1.75rem 1.5rem;
    background: linear-gradient(transparent, rgba(28, 25, 22, 0.88));
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold-shine);
    letter-spacing: 0.03em;
  }

  /* How it works */
  .how-it-works {
    background: var(--color-cream);
    overflow: hidden;
  }

  .how-it-works__bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--color-gold) 10%, transparent) 0%, transparent 68%);
    pointer-events: none;
  }

  .steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 52rem;
    margin-inline: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: var(--space-lg);
    align-items: start;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-beige) 60%, transparent);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
  }

  .step::before {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
    opacity: 0;
    transition: opacity var(--transition-base);
  }

  .step:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-medium);
    border-color: color-mix(in srgb, var(--color-gold) 20%, transparent);
  }

  .step:hover::before { opacity: 1; }

  .step__number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    opacity: 0.75;
    padding-top: 0.25rem;
  }

  .step__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
  }

  .step__text {
    font-size: var(--text-sm);
    color: var(--color-charcoal-muted);
    line-height: 1.8;
    text-wrap: pretty;
  }

  .step__visual { display: none; }

  /* Upload */
  .upload { background: var(--color-ivory); }

  .upload__wrapper {
    max-width: var(--container-narrow);
    margin-inline: auto;
  }

  .upload__form {
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-large);
  }

  .upload__dropzone {
    position: relative;
    border: 1.5px dashed color-mix(in srgb, var(--color-gold) 35%, var(--color-beige-dark));
    border-radius: var(--radius-lg);
    padding: clamp(2.75rem, 6vw, 4.5rem) 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    background: color-mix(in srgb, var(--color-cream) 50%, transparent);
  }

  .upload__dropzone:hover,
  .upload__dropzone--dragover {
    border-color: var(--color-gold);
    background: color-mix(in srgb, var(--color-gold) 5%, var(--color-cream));
    box-shadow: var(--shadow-gold);
  }

  .upload__dropzone--dragover { transform: scale(1.005); }

  .upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .upload__icon {
    width: 4rem;
    height: 4rem;
    margin-inline: auto;
    margin-bottom: var(--space-md);
    padding: 0.875rem;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-gold) 10%, var(--color-white));
    border: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .upload__icon img {
    width: 1.75rem;
    height: 1.75rem;
    filter: none;
    opacity: 0.85;
  }

  .upload__dropzone-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
  }

  .upload__dropzone-subtitle {
    font-size: var(--text-sm);
    color: var(--color-charcoal-muted);
    margin-bottom: var(--space-sm);
  }

  .upload__browse {
    color: var(--color-gold-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
  }

  .upload__hint {
    font-size: var(--text-xs);
    color: var(--color-charcoal-muted);
    letter-spacing: 0.04em;
    opacity: 0.85;
  }

  .upload__guest-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

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

  .form-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-charcoal-soft);
  }

  .form-input {
    padding: 0.9375rem 1.25rem;
    border: 1px solid color-mix(in srgb, var(--color-beige) 80%, transparent);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-charcoal);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 3rem;
  }

  .form-input:hover {
    border-color: var(--color-beige-dark);
  }

  .form-input:focus-visible {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-gold) 18%, transparent);
    outline: none;
  }

  .form-input::placeholder {
    color: var(--color-beige-dark);
    opacity: 0.8;
  }

  .form-textarea {
    resize: vertical;
    min-height: 5rem;
  }

  .upload__preview { margin-top: var(--space-lg); }

  .upload__preview-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
  }

  .upload__preview-count {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-gold-dark);
    margin-left: 0.375rem;
  }

  .upload__preview-list {
    display: grid;
    gap: 0.625rem;
    max-height: 20rem;
    overflow-y: auto;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-beige-dark) transparent;
  }

  .upload__preview-list::-webkit-scrollbar { width: 4px; }
  .upload__preview-list::-webkit-scrollbar-thumb {
    background: var(--color-beige-dark);
    border-radius: 4px;
  }

  .preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem;
    background: var(--color-cream);
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-beige) 50%, transparent);
    animation: fadeInUp 0.45s var(--ease-luxury);
  }

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

  .preview-item__thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-beige);
    border: 1px solid color-mix(in srgb, var(--color-beige-dark) 40%, transparent);
  }

  .preview-item__thumb--video {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    background: color-mix(in srgb, var(--color-gold) 8%, var(--color-cream));
  }

  .preview-item__thumb--video svg { width: 1.25rem; height: 1.25rem; }

  .preview-item__info { flex: 1; min-width: 0; }

  .preview-item__name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .preview-item__meta {
    font-size: var(--text-xs);
    color: var(--color-charcoal-muted);
    margin-top: 0.125rem;
  }

  .preview-item__status {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
  }

  .preview-item__remove {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--color-charcoal-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
  }

  .preview-item__remove:hover {
    background: color-mix(in srgb, var(--color-error) 10%, transparent);
    color: var(--color-error);
  }

  .preview-item__remove:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
  }

  .upload__progress { margin-top: var(--space-lg); }

  .upload__progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .upload__progress-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
  }

  .upload__progress-percent {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-gold-dark);
    font-variant-numeric: tabular-nums;
  }

  .upload__progress-bar {
    height: 5px;
    background: var(--color-champagne);
    border-radius: var(--radius-full);
    overflow: hidden;
  }

  .upload__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
    border-radius: var(--radius-full);
    transition: width 0.35s var(--ease-luxury);
  }

  .upload__progress-status {
    font-size: var(--text-sm);
    color: var(--color-charcoal-muted);
    margin-top: 0.75rem;
  }

  .upload__actions { margin-top: var(--space-lg); }

  .upload__result {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    text-align: center;
    line-height: 1.65;
  }

  .upload__result--success {
    background: color-mix(in srgb, var(--color-success) 10%, transparent);
    color: var(--color-success);
    border: 1px solid color-mix(in srgb, var(--color-success) 25%, transparent);
  }

  .upload__result--error {
    background: color-mix(in srgb, var(--color-error) 8%, transparent);
    color: var(--color-error);
    border: 1px solid color-mix(in srgb, var(--color-error) 20%, transparent);
  }

  .upload__result--info {
    background: color-mix(in srgb, var(--color-gold) 12%, transparent);
    color: var(--color-charcoal);
    border: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
    margin-bottom: var(--space-md);
  }

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

  .faq__list {
    max-width: 42rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .faq__item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-beige) 55%, transparent);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
  }

  .faq__item[open] {
    box-shadow: var(--shadow-medium);
    border-color: color-mix(in srgb, var(--color-gold) 22%, transparent);
  }

  .faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 1.375rem 1.75rem;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-charcoal);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-fast);
    min-height: 3.5rem;
  }

  .faq__question::-webkit-details-marker { display: none; }
  .faq__question:hover { color: var(--color-gold-dark); }

  .faq__icon {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
    border-radius: var(--radius-full);
  }

  .faq__icon::before,
  .faq__icon::after {
    content: '';
    position: absolute;
    background: var(--color-gold);
    transition: transform var(--transition-base), opacity var(--transition-fast);
  }

  .faq__icon::before {
    top: 50%;
    left: 25%;
    width: 50%;
    height: 1px;
    transform: translateY(-50%);
  }

  .faq__icon::after {
    top: 25%;
    left: 50%;
    width: 1px;
    height: 50%;
    transform: translateX(-50%);
  }

  .faq__item[open] .faq__icon::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
  }

  .faq__answer {
    padding: 0 1.75rem 1.375rem;
    animation: fadeInUp 0.4s var(--ease-luxury);
  }

  .faq__answer p {
    font-size: var(--text-sm);
    color: var(--color-charcoal-muted);
    line-height: 1.85;
    text-wrap: pretty;
  }

  /* Contact */
  .contact {
    background: var(--color-ivory);
    overflow: hidden;
  }

  .contact__bg {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 65%;
    height: 100%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--color-gold) 7%, transparent) 0%, transparent 68%);
    pointer-events: none;
  }

  .contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6.5vw, 6rem);
    align-items: start;
  }

  .contact__text {
    font-size: var(--text-base);
    color: var(--color-charcoal-muted);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
    line-height: 1.85;
    text-wrap: pretty;
  }

  .contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .contact__detail {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-charcoal-soft);
    min-height: 3.25rem;
  }

  .contact__detail a {
    transition: color var(--transition-fast);
    text-underline-offset: 3px;
  }

  .contact__detail a:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
  }

  .contact__detail-icon {
    width: 2.875rem;
    height: 2.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-full);
    color: var(--color-gold);
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent);
  }

  .contact__detail-icon svg { width: 1.125rem; height: 1.125rem; }

  .contact__form {
    padding: clamp(2rem, 4.5vw, 2.75rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-large);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .contact__form-note {
    font-size: var(--text-sm);
    text-align: center;
    padding: 0.875rem;
    border-radius: var(--radius-sm);
  }

  .contact__form-note--success {
    background: color-mix(in srgb, var(--color-success) 10%, transparent);
    color: var(--color-success);
  }

  .contact__form-note--error {
    background: color-mix(in srgb, var(--color-error) 10%, transparent);
    color: var(--color-error);
  }

  /* Footer */
  .footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.68);
    padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  }

  .footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    min-height: 44px;
  }

  .footer__tagline {
    font-size: var(--text-sm);
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    max-width: 18rem;
    line-height: 1.7;
  }

  .footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }

  .footer__nav a {
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
  }

  .footer__nav a:hover { color: var(--color-gold-shine); }

  .footer__social-label {
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-sm);
  }

  .footer__social-list { display: flex; gap: 0.75rem; }

  .footer__social-link {
    width: 2.875rem;
    height: 2.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.55);
    transition: border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
  }

  .footer__social-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-shine);
    transform: translateY(-2px);
  }

  .footer__social-link svg { width: 1.125rem; height: 1.125rem; }

  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
  }

  .footer__copyright,
  .footer__credit {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.02em;
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  }

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

  .reveal--delay-1 { transition-delay: 0.12s; }
  .reveal--delay-2 { transition-delay: 0.24s; }
  .reveal--delay-3 { transition-delay: 0.36s; }
  .reveal--delay-4 { transition-delay: 0.48s; }

  /* Responsive */
  @media (max-width: 1024px) {
    .about__grid,
    .contact__grid { grid-template-columns: 1fr; }

    .about__visual {
      max-width: 30rem;
      margin-inline: auto;
    }

    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item--large { grid-row: span 1; }

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

    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
  }

  @media (max-width: 768px) {
    :root { --header-height: 76px; }

    .nav__toggle { display: flex; }

    .nav__menu {
      position: fixed;
      inset: 0;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: var(--space-lg);
      background: color-mix(in srgb, var(--color-charcoal) 96%, transparent);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav__menu--open {
      opacity: 1;
      visibility: visible;
    }

    .nav__menu .nav__link {
      font-size: var(--text-sm);
      color: var(--color-white);
      letter-spacing: 0.14em;
    }

    .nav__menu .nav__link--accent { margin-top: var(--space-sm); }

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

    .step {
      grid-template-columns: 1fr;
      gap: var(--space-sm);
      text-align: center;
      padding: var(--space-lg);
    }

    .step::before {
      inset-inline: 0;
      inset-block-start: 0;
      width: 100%;
      height: 3px;
    }

    .step:hover { transform: translateY(-4px); }

    .step__number { font-size: var(--text-xl); }

    .upload__guest-info { grid-template-columns: 1fr; }

    .footer__top {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .footer__tagline { margin-inline: auto; }
    .footer__nav ul { align-items: center; }

    .footer__social {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer__bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .hero__cta {
      max-width: 100%;
    }

    .hero__glass-card-header {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }

    .hero__btn--secondary {
      width: 100%;
      max-width: 20rem;
    }

    .hero__stats { gap: 0.625rem; }

    .hero__stat {
      flex: 1 1 calc(50% - 0.625rem);
      padding: 0.875rem 1rem;
    }

    .hero__inner {
      padding-block: calc(var(--header-height) + 2rem) 7.5rem;
    }

    .section__eyebrow::before,
    .section__eyebrow::after { width: 1.25rem; }
  }

  @media (max-width: 480px) {
    .upload__form,
    .contact__form { padding: 1.5rem; }

    .feature-card { padding: var(--space-md); }

    .hero__stat { flex: 1 1 100%; }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

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

    .reveal { opacity: 1; transform: none; }
    .hero__bg-image { animation: none; }
    .hero__animate { opacity: 1; transform: none; animation: none; }
    .hero__scroll-ring::after { animation: none; }
    .gallery__item img { transform: none !important; }
    .about__visual:hover .about__image { transform: none; }
  }

  /* High contrast preference */
  @media (prefers-contrast: more) {
    .btn--primary { border: 2px solid var(--color-gold-dark); }
    .form-input { border-width: 2px; }
    .nav__link { color: var(--color-white); }
  }

  /* Print */
  @media print {
    .header,
    .hero__scroll,
    .upload__form,
    .contact__form,
    .nav__toggle { display: none; }

    .hero { min-height: auto; padding: 2rem; }
    .hero__bg-overlay,
    .hero__bg-vignette { background: none; }
    .hero__title,
    .hero__subtitle { color: var(--color-charcoal); text-shadow: none; }
    .hero__title em {
      color: var(--color-gold-dark);
      background: none;
      -webkit-background-clip: unset;
      background-clip: unset;
    }
  }
}

/* --- Packages (CMS) --- */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.package-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.package-card--highlight {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.package-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0;
}

.package-card__price {
  font-size: var(--text-2xl);
  color: var(--color-gold-dark);
  font-weight: 600;
}

.package-card__desc {
  color: var(--color-charcoal-muted);
  margin: 0;
}

.package-card__features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-charcoal-soft);
}

.package-card__features li + li {
  margin-top: 0.35rem;
}

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

.package-card__cta {
  margin-top: 1.25rem;
}

.order-page {
  min-height: 100vh;
  padding: 3rem 0 4rem;
  background: var(--color-ivory, #fdf9f3);
}

.order-page__inner {
  max-width: 960px;
}

.order-page__header {
  margin-bottom: 2rem;
}

.order-page__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-gold, #b8956b);
  text-decoration: none;
}

.order-page__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
}

.order-page__subtitle {
  color: var(--color-muted, #6e665c);
  margin: 0;
}

.order-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.order-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-muted, #6e665c);
}

.order-steps__item--active,
.order-steps__item--done {
  border-color: var(--color-gold, #b8956b);
  color: var(--color-charcoal, #1c1916);
}

.order-steps__num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 149, 107, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
}

.order-form,
.order-summary,
.order-success {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(28, 25, 22, 0.06);
}

.order-form__actions,
.order-summary .order-form__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.package-card--selectable {
  cursor: pointer;
  position: relative;
}

.package-card--selectable input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.package-card--selected {
  outline: 2px solid var(--color-gold, #b8956b);
  outline-offset: 2px;
}

.order-payment-options {
  display: grid;
  gap: 0.75rem;
}

.order-payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  cursor: pointer;
}

.order-payment-option--selected {
  border-color: var(--color-gold, #b8956b);
  background: rgba(184, 149, 107, 0.08);
}

.order-summary__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.order-summary__list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
}

.order-summary__list dt {
  font-weight: 600;
}

.order-summary__list dd {
  margin: 0;
}

.order-summary__note,
.order-success p {
  color: var(--color-muted, #6e665c);
}

.order-instructions {
  white-space: pre-wrap;
  background: #f8f4ee;
  padding: 1rem;
  border-radius: 12px;
  font-family: inherit;
}

.order-alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.order-alert--error {
  background: #fdeceb;
  color: #8f3b36;
}

.order-progress {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.order-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold, #b8956b), #d9c08e);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.order-progress__label {
  font-size: 0.9rem;
  color: var(--color-muted, #6e665c);
  margin: 0 0 1.25rem;
}

.order-preview {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(28, 25, 22, 0.06);
}

.order-preview__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.75rem;
}

.order-preview__subtitle {
  color: var(--color-muted, #6e665c);
  margin: 0 0 1.5rem;
}

.order-preview__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .order-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.order-preview__card {
  background: #faf7f2;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.order-preview__card--full {
  grid-column: 1 / -1;
}

.order-preview__card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted, #6e665c);
}

.order-preview__highlight {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.order-preview__price {
  font-size: 1.1rem;
  color: var(--color-gold, #b8956b);
  margin: 0.25rem 0 0;
}

.order-preview__list {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.order-preview__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.order-preview__list dt {
  font-weight: 500;
  color: var(--color-muted, #6e665c);
}

.order-preview__list dd {
  margin: 0;
  text-align: right;
}

.order-preview__features {
  margin: 0;
  padding-left: 1.25rem;
}

.order-preview__features li {
  margin-bottom: 0.35rem;
}

.btn--block-mobile {
  width: 100%;
}

@media (min-width: 480px) {
  .btn--block-mobile {
    width: auto;
  }

  .order-steps__label {
    display: inline;
  }
}

@media (max-width: 479px) {
  .order-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .order-steps__label {
    font-size: 0.75rem;
  }

  .order-summary__list div {
    grid-template-columns: 1fr;
  }

  .order-form__actions {
    flex-direction: column;
  }

  .order-form__actions .btn {
    width: 100%;
  }
}
