/* =====================================================
   SAVE THE DATE AI — "The Invitation Suite"
   Luxury wedding invitation aesthetic:
   ivory paper, Bellefair Hebrew display, gold script,
   hairline rules, arch (chuppah) photo masks.
===================================================== */

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

:root {
    color-scheme: only light;

    /* Paper & ink */
    --ivory:      #fbf8f3;
    --paper:      #ffffff;
    --blush:      #f7eef0;
    --blush-deep: #f1e2e5;
    --ink:        #2b2431;
    --ink-soft:   #756a7a;

    /* Accents */
    --rose:       #9b5e6a;
    --rose-deep:  #7a4756;
    --gold:       #c9956a;
    --gold-deep:  #b07f54;

    /* Hairlines */
    --hairline:      rgba(201, 149, 106, 0.38);
    --hairline-soft: rgba(201, 149, 106, 0.22);

    /* Semantic (photo guide) */
    --good: #5c8b5e;
    --bad:  #b5544d;

    /* Type */
    --font-display: 'Bellefair', 'Frank Ruhl Libre', serif;
    --font-serif:   'Frank Ruhl Libre', serif;
    --font-script:  'Great Vibes', cursive;
    --font-sans:    'Heebo', sans-serif;

    --radius:    20px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --shadow-sm:   0 2px 14px rgba(43, 36, 49, 0.06);
    --shadow:      0 10px 40px rgba(43, 36, 49, 0.09);
    --shadow-lg:   0 24px 70px rgba(43, 36, 49, 0.14);
    --shadow-rose: 0 10px 32px rgba(155, 94, 106, 0.30);

    --pad: 130px;
    --max-w: 1140px;

    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--ivory);
    color: var(--ink);
    direction: rtl;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; }

img, video { max-width: 100%; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* =====================================================
   SHARED: eyebrow, section header, ornament divider, buttons
===================================================== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold-deep);
    margin-bottom: 18px;
}

.section-header { text-align: center; margin-bottom: 72px; }

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.12;
    color: var(--ink);
}

.section-subtitle {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 480px;
    margin: 16px auto 0;
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.orn-line {
    display: block;
    width: 64px;
    height: 1px;
    background: var(--hairline);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--rose);
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 17px 48px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-rose);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(155, 94, 106, 0.42);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 100px;
    border: 1px solid var(--hairline);
    font-size: 16px;
    font-weight: 500;
    transition: color var(--transition), border-color var(--transition), transform var(--transition), background var(--transition);
}

.btn-ghost:hover {
    color: var(--rose);
    border-color: var(--rose);
    background: rgba(155, 94, 106, 0.05);
    transform: translateY(-2px);
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 24px 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(251, 248, 243, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--hairline-soft);
    box-shadow: 0 1px 24px rgba(43, 36, 49, 0.05);
    padding: 14px 0;
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 23px;
    color: var(--ink);
    letter-spacing: 0.5px;
}

.logo-ai { color: var(--gold-deep); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-contact-btn {
    background: transparent;
    border: 1px solid var(--hairline);
    color: var(--ink);
    padding: 9px 22px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.nav-contact-btn:hover {
    border-color: var(--rose);
    color: var(--rose);
    background: rgba(155, 94, 106, 0.06);
}

.nav-cta {
    background: var(--rose);
    color: #fff;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-rose);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
    background: var(--rose-deep);
    transform: translateY(-1px);
}

/* =====================================================
   HERO — editorial split, arch photo, giant script
===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background:
        radial-gradient(ellipse 60% 55% at 12% 20%, rgba(247, 238, 240, 0.9) 0%, rgba(247, 238, 240, 0) 70%),
        radial-gradient(ellipse 45% 45% at 88% 85%, rgba(237, 223, 200, 0.5) 0%, rgba(237, 223, 200, 0) 70%),
        var(--ivory);
    overflow: hidden;
}

.hero-ornament {
    position: absolute;
    left: -4vw;
    top: 4vh;
    font-family: var(--font-display);
    font-size: clamp(300px, 42vw, 640px);
    line-height: 1;
    color: rgba(201, 149, 106, 0.09);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
    width: 100%;
}

.hero-copy { text-align: right; }

.hero-eyebrow { letter-spacing: 5px; }

.hero-title { margin-bottom: 26px; }

.hero-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 5.4vw, 74px);
    line-height: 1.12;
    color: var(--ink);
}

.hero-line .w { display: inline-block; }

.hero-script {
    display: block;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(54px, 6.6vw, 96px);
    line-height: 1.1;
    color: var(--gold);
    margin-top: 4px;
    padding-left: 0.15em; /* keep the final flourish inside the box */
    text-align: right;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 460px;
    margin-bottom: 38px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-proof {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 0;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.hero-proof li { display: flex; align-items: center; }

.hero-proof li + li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 16px;
    flex-shrink: 0;
}

/* Arch photo — the signature */
.hero-visual {
    position: relative;
    justify-self: start;
}

.arch-frame {
    position: relative;
    width: min(400px, 100%);
    aspect-ratio: 4 / 5.3;
    border-radius: 999px 999px 20px 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--blush-deep);
}

.arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.12);
    will-change: transform;
}

/* offset hairline echo of the arch */
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -16px 18px 16px -18px;
    border: 1px solid var(--hairline);
    border-radius: 999px 999px 20px 20px;
    pointer-events: none;
    z-index: -1;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: 3px;
    animation: scrollBounce 2.6s ease-in-out infinite;
}

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

/* =====================================================
   HOW IT WORKS — hairline timeline
===================================================== */
.how-it-works {
    padding: var(--pad) 0;
    background: var(--paper);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
}

.journey {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
}

.journey-line {
    position: absolute;
    top: 7px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--hairline);
    transform-origin: 100% 50%;
}

.journey-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.journey-step {
    position: relative;
    padding-top: 40px;
    text-align: right;
}

.journey-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid var(--paper);
    box-shadow: 0 0 0 1px var(--hairline);
}

.journey-num {
    display: block;
    font-family: var(--font-display);
    font-size: 62px;
    line-height: 1;
    color: rgba(155, 94, 106, 0.20);
    margin-bottom: 10px;
}

.journey-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.journey-text {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.65;
}

.journey-cta {
    text-align: center;
    margin-top: 72px;
}

/* =====================================================
   PORTFOLIO CAROUSEL — gallery of invitations
===================================================== */
.examples {
    position: relative;
    padding: var(--pad) 0;
    background: linear-gradient(180deg, var(--blush) 0%, var(--ivory) 100%);
    overflow: hidden;
}

.carousel-wrapper { position: relative; }

/* RTL quirk: track must run LTR so translateX(-i*100%) works */
.carousel-container {
    overflow: hidden;
    direction: ltr;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.42, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    direction: rtl;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 84px 0;
    min-height: 300px;
}

.portfolio-piece {
    text-align: center;
    max-width: 100%;
}

.video-card {
    position: relative;
    overflow: hidden;
    background: #171219;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: 1px solid rgba(201, 149, 106, 0.55);
    border-radius: var(--radius);
    max-height: 66vh;
    max-width: min(480px, 85vw);
    width: 100%;
}

/* portrait videos: rectangular, native 9:16, no mask (videos must not look cropped) */
.video-card.portrait {
    aspect-ratio: 9 / 16;
    max-width: min(330px, 62vw);
    border-radius: var(--radius);
}

.video-card.landscape {
    aspect-ratio: 16 / 9;
    max-width: min(640px, 85vw);
    border-radius: var(--radius);
}

/* inner hairline ring, like an invitation mat */
.video-card::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
    transition: opacity var(--transition);
}

.video-card.playing::after { opacity: 0; }

.video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 18, 25, 0.18);
    transition: background var(--transition);
}

.video-card.playing .video-overlay { background: transparent; pointer-events: none; }
.video-card.playing .play-btn { opacity: 0; }

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, opacity 0.25s;
    filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
    opacity: 1; /* always visible — hover-reveal is invisible on touch */
}

.play-btn:hover { transform: scale(1.08); }

/* gallery placard below the frame */
.video-caption {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.video-couple-name {
    font-family: var(--font-display);
    font-size: 31px;
    line-height: 1.1;
    color: var(--ink);
}

/* Tier toggle: segmented control, VIP gets the gold treatment */
.tier-toggle {
    display: flex;
    justify-content: center;
    width: max-content;
    margin: 0 auto 48px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--hairline);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.tier-toggle-btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.7;
    padding: 9px 38px;
    border: none;
    border-radius: 100px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.tier-toggle-btn.vip { text-transform: uppercase; }

.tier-toggle-btn:hover { color: var(--ink); }

.tier-toggle-btn.active.vip {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201, 149, 106, 0.35);
}

.tier-toggle-btn.active.regular {
    background: var(--rose);
    color: #fff;
    box-shadow: var(--shadow-rose);
}

/* slides outside the active tier leave the flex flow entirely */
.carousel-slide.slide-hidden { display: none; }

/* clean cut (no slide animation) when switching tiers */
.carousel-track.no-transition { transition: none; }

/* Carousel nav — prev sits right and points right (outward), RTL */
.carousel-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
    z-index: 10;
    color: var(--ink);
}

.carousel-btn:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: var(--shadow-rose);
}

.carousel-btn-prev { right: 8px; }
.carousel-btn-next { left: 8px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 34px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 4px;
    border: 1px solid var(--gold-deep);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), width var(--transition);
}

.dot.active { background: var(--gold-deep); width: 28px; }

/* =====================================================
   TESTIMONIALS — skeleton, hidden until real quotes exist
   (section carries the `hidden` attribute in index.html;
   this guard makes sure no other rule can reveal it)
===================================================== */
.testimonials[hidden] { display: none !important; }

.testimonials {
    padding: var(--pad) 0;
    background: var(--ivory);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    max-width: 980px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 44px 30px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* inner hairline mat, like the pricing cards */
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--hairline-soft);
    border-radius: 13px;
    pointer-events: none;
}

.testimonial-accent {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 18px;
}

.testimonial-couple {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

/* =====================================================
   ORDER SECTION
===================================================== */
.order-section {
    padding: var(--pad) 0;
    background: var(--ivory);
}

.order-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- Photo guide ---------- */
.photo-guide {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius);
    padding: 44px 40px 36px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 64px;
}

.guide-head {
    text-align: center;
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hairline-soft);
}

.guide-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 31px;
    color: var(--ink);
    margin-bottom: 8px;
}

.guide-sub {
    font-size: 14.5px;
    color: var(--ink-soft);
    max-width: 420px;
    margin: 0 auto;
}

.photo-examples { margin-bottom: 30px; }

.examples-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.mark-good, .examples-good-title { color: var(--good); }
.mark-bad,  .examples-bad-title  { color: var(--bad); }

.examples-sheet-caption {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.examples-bad-title { margin-bottom: 16px; }

.examples-col {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.example-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.example-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: var(--blush);
}

.example-img-wrap.sheet-wrap { aspect-ratio: 3 / 2; }

.example-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.example-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    line-height: 0;
}

.example-label {
    font-size: 12px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.4;
}

.example-item.good .example-img-wrap { border: 1px solid rgba(92, 139, 94, 0.45); }
.example-item.bad  .example-img-wrap { border: 1px solid rgba(181, 84, 77, 0.40); }

.photo-tips-strip {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: start;
}

.tips-divider {
    width: 1px;
    background: var(--hairline-soft);
    align-self: stretch;
}

.tips-col-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.tips-col-good { color: var(--good); }
.tips-col-bad  { color: var(--bad); }

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.tip-check { color: var(--good); font-weight: 700; flex-shrink: 0; font-size: 14px; }
.tip-x     { color: var(--bad);  font-weight: 700; flex-shrink: 0; font-size: 14px; }

/* ---------- Form ---------- */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}

.field-hint-inline {
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-soft);
}

.required { color: var(--rose); }

.field-hint {
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    transition: border-color var(--transition), box-shadow var(--transition);
    direction: rtl;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(155, 94, 106, 0.10);
}

input[type="text"]:hover:not(:focus),
input[type="email"]:hover:not(:focus),
input[type="date"]:hover:not(:focus),
textarea:hover:not(:focus) {
    border-color: var(--gold);
}

input:disabled, textarea:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

textarea { resize: vertical; min-height: 96px; }

/* Radio + Checkbox */
.radio-group { display: flex; flex-direction: column; gap: 12px; }

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--ink);
    user-select: none;
    transition: color var(--transition);
}

.radio-label:hover,
.checkbox-label:hover { color: var(--rose); }

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] { display: none; }

.radio-custom,
.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--hairline);
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    position: relative;
    background: var(--paper);
}

.checkbox-custom { border-radius: 7px; }

.radio-label input:checked + .radio-custom,
.checkbox-label input:checked + .checkbox-custom {
    border-color: var(--rose);
    background: var(--rose);
    box-shadow: 0 2px 8px rgba(155, 94, 106, 0.3);
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.checkbox-option { margin-bottom: 8px; }

/* Style "other" text field */
.style-other-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
    opacity: 0;
    margin-top: 0;
}

.style-other-wrap.open {
    max-height: 80px;
    opacity: 1;
    margin-top: 12px;
}

/* File Upload with Thumbnails */
.file-upload-area {
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    background: rgba(255, 255, 255, 0.65);
    position: relative;
    min-height: 140px;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--rose);
    background: var(--blush);
}

.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    z-index: 2;
}

.file-upload-content p {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin: 12px 0 6px;
}

.file-upload-content span { font-size: 13px; color: var(--ink-soft); }

.thumbs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xs);
    overflow: visible;
    flex-shrink: 0;
}

.thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-xs);
    display: block;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.thumb-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rose);
    color: #fff;
    border: 2px solid #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background var(--transition), transform var(--transition);
    z-index: 10;
    font-weight: 700;
}

.thumb-remove:hover {
    background: var(--rose-deep);
    transform: scale(1.15);
}

/* "Add more photos" tile inside the thumbs grid */
.thumb-add {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xs);
    border: 1px dashed var(--gold);
    background: rgba(255, 255, 255, 0.65);
    color: var(--rose);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
    transition: border-color var(--transition), background var(--transition);
}

.thumb-add:hover {
    border-color: var(--rose);
    background: var(--blush);
}

.thumb-add-plus { font-size: 22px; line-height: 1; font-weight: 500; }
.thumb-add-text { font-size: 11px; color: var(--ink-soft); }

/* ---------- Pricing — invitation cards ---------- */
.purchase-section { margin-top: 12px; }

.pricing-intro { text-align: center; margin-bottom: 40px; }

.pricing-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 36px);
    color: var(--ink);
    margin-bottom: 8px;
}

.pricing-subheading { font-size: 15px; color: var(--ink-soft); }

.pricing-cards {
    display: flex;
    align-items: stretch;
    gap: 26px;
    margin-bottom: 44px;
}

.pricing-card {
    flex: 1;
    display: block;
    position: relative;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 46px 32px 34px;
    cursor: pointer;
    text-align: right;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    box-shadow: var(--shadow-sm);
}

/* inner hairline mat, like a printed invitation */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--hairline-soft);
    border-radius: 13px;
    pointer-events: none;
}

.pricing-card input { display: none; }

.pricing-card:hover {
    border-color: var(--rose);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pricing-card:has(input:checked) {
    border-color: var(--rose);
    box-shadow: 0 16px 48px rgba(155, 94, 106, 0.20);
}

.pricing-card.pricing-vip {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fdf6ef 0%, var(--paper) 55%);
    flex: 1.12;
}

.pricing-card.pricing-vip::before { border-color: rgba(201, 149, 106, 0.35); }

.pricing-card.pricing-vip:has(input:checked) { border-color: var(--rose-deep); }

.pricing-select-dot {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    background: var(--paper);
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    z-index: 2;
}

.pricing-card input:checked ~ .pricing-select-dot {
    border-color: var(--rose);
    background: var(--rose);
    box-shadow: 0 2px 8px rgba(155, 94, 106, 0.3);
}

.pricing-card input:checked ~ .pricing-select-dot::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 7px 22px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(201, 149, 106, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 6px;
}

.pricing-tagline {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 22px;
    min-height: 34px;
}

.pricing-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline-soft);
}

.pricing-price .price-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 400;
    color: var(--rose-deep);
    line-height: 1;
    margin-bottom: 6px;
}

.pricing-price .price-note {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--ink-soft);
}

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.pricing-features li {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-top: 8px;
}

.purchase-btn {
    display: flex;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--rose);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 18px 52px;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-rose);
}

.purchase-btn:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(155, 94, 106, 0.42);
}

.purchase-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success */
.form-success {
    text-align: center;
    padding: 80px 40px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--hairline-soft);
    box-shadow: var(--shadow-sm);
}

.success-icon { font-size: 72px; margin-bottom: 24px; }
.form-success h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin-bottom: 16px; }
.form-success p { font-size: 17px; color: var(--ink-soft); line-height: 1.75; }

/* =====================================================
   FAQ
===================================================== */
.faq-section {
    padding: var(--pad) 0;
    background: var(--paper);
    border-top: 1px solid var(--hairline-soft);
}

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--hairline-soft); }
.faq-item:first-child { border-top: 1px solid var(--hairline-soft); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    gap: 16px;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--rose); }

.faq-icon {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 300;
    color: var(--gold-deep);
    transition: transform var(--transition);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner { padding-bottom: 26px; }

.faq-answer p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 10px;
    max-width: 640px;
}

.faq-answer p:last-child { margin-bottom: 0; }

/* =====================================================
   ABOUT
===================================================== */
.about-section {
    position: relative;
    padding: var(--pad) 0;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--blush) 100%);
    overflow: hidden;
}

.about-ornament {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-script);
    font-size: clamp(120px, 17vw, 260px);
    line-height: 1;
    color: rgba(155, 94, 106, 0.06);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.about-text { display: flex; flex-direction: column; gap: 22px; }

.about-text p {
    font-size: 17.5px;
    color: var(--ink);
    line-height: 1.9;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    padding: 76px 0 32px;
}

.footer-content { text-align: center; margin-bottom: 52px; }

.footer-script {
    font-family: var(--font-script);
    font-size: 48px;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo span { color: var(--gold); }

.footer-tagline { font-size: 14px; margin-bottom: 34px; }

.footer-links { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* =====================================================
   CONTACT MODAL
===================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 36, 49, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.25);
    transform: translateY(24px);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(43, 36, 49, 0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink-soft);
    transition: background var(--transition), color var(--transition);
}

.modal-close:hover { background: rgba(155, 94, 106, 0.1); color: var(--rose); }

.modal-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.modal-form { display: flex; flex-direction: column; gap: 20px; }

.contact-success {
    text-align: center;
    padding: 24px 0 0;
    font-size: 16px;
    color: var(--good);
    font-weight: 600;
}

/* =====================================================
   THANK YOU PAGE
===================================================== */
.thankyou-section {
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
    background:
        radial-gradient(ellipse 55% 50% at 15% 15%, rgba(247, 238, 240, 0.9) 0%, rgba(247, 238, 240, 0) 70%),
        var(--ivory);
}

.thankyou-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 60px 52px;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--hairline-soft);
    border-radius: 13px;
    pointer-events: none;
}

.ty-script {
    font-family: var(--font-script);
    font-size: clamp(52px, 8vw, 76px);
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 6px;
}

.thankyou-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 5vw, 44px);
    color: var(--ink);
    margin-bottom: 14px;
}

.thankyou-subtitle {
    font-family: var(--font-sans);
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 42px;
}

.thankyou-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.tstep {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--blush);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.tstep-num {
    width: 34px;
    height: 34px;
    background: var(--paper);
    color: var(--rose-deep);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    flex-shrink: 0;
}

.tstep-text {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
}

.thankyou-back { margin-top: 40px; position: relative; z-index: 1; }

/* Notice shown when photos must be sent by email (?photos=email) */
.ty-photos-notice {
    background: var(--blush);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 28px 26px;
    margin: 0 0 36px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ty-notice-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: var(--paper);
    color: var(--rose-deep);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-notice-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    color: var(--ink);
    margin-bottom: 10px;
}

.ty-notice-text {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.ty-notice-text strong {
    color: var(--rose-deep);
    font-weight: 600;
    unicode-bidi: embed;
}

.ty-notice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .hero-inner { gap: 40px; }
}

@media (max-width: 900px) {
    :root { --pad: 92px; }

    .hero { padding: 130px 0 80px; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-copy { text-align: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-ctas { justify-content: center; }
    .hero-proof { justify-content: center; }
    .hero-script { text-align: center; }

    .hero-visual { justify-self: center; }
    .arch-frame { width: min(340px, 78vw); }

    .journey-steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }

    /* vertical timeline line on tablet: hide the horizontal rule */
    .journey-line { display: none; }
    .journey-dot { display: none; }
    .journey-step { padding-top: 0; }

    .photo-tips-strip { grid-template-columns: 1fr; }
    .tips-divider { display: none; }
}

@media (max-width: 640px) {
    :root { --pad: 68px; }

    .hero { min-height: auto; padding: 120px 0 84px; }
    .hero-line { font-size: clamp(34px, 9.4vw, 44px); }
    .hero-script { font-size: clamp(56px, 16vw, 76px); }
    .hero-subtitle { font-size: 16px; }
    .hero-ornament { font-size: 340px; opacity: 0.7; }
    .hero-scroll { display: none; }
    .btn-primary, .btn-ghost { padding: 15px 34px; font-size: 16px; }
    .hero-proof { font-size: 12.5px; }
    .hero-proof li + li::before { margin: 0 10px; }

    .journey-steps { grid-template-columns: 1fr; gap: 40px; }
    .journey-step { text-align: center; }
    .journey-num { font-size: 54px; }
    .journey-cta { margin-top: 52px; }

    .form-grid { grid-template-columns: 1fr; }
    .sheet-col { flex-direction: column; }

    .carousel-slide { padding: 10px 44px 0; }
    .video-caption { margin-top: 18px; }
    .video-couple-name { font-size: 26px; }

    .pricing-cards { flex-direction: column; }
    .pricing-card { padding: 40px 26px 30px; }
    .pricing-card:hover { transform: none; }
    .pricing-price .price-amount { font-size: 46px; }

    .photo-guide { padding: 32px 22px 26px; }
    .modal-box { padding: 38px 26px; }
    .footer-script { font-size: 40px; }

    .thankyou-card { padding: 48px 26px; }
    .ty-photos-notice { padding: 24px 18px; }
    .ty-notice-title { font-size: 21px; }
    .ty-notice-btn { width: 100%; }
}

@media (max-width: 480px) {
    .carousel-slide { padding: 8px 50px 0; }
    .carousel-btn { width: 42px; height: 42px; }
    .video-card.portrait { max-width: min(250px, 62vw); }
    .tier-toggle { margin-bottom: 36px; }
    .tier-toggle-btn { padding: 8px 30px; font-size: 12px; }

    .section-title { font-size: 34px; }

    .photo-tips-strip { padding-top: 20px; }
    .pricing-card { padding: 34px 20px 26px; }
    .pricing-price .price-amount { font-size: 42px; }

    /* navbar squeeze: logo + two buttons must fit one row */
    .logo-text { font-size: 16px; }
    .nav-contact-btn { padding: 7px 12px; font-size: 12px; }
    .nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* =====================================================
   FORCE LIGHT (Android Chrome force-dark defense)
===================================================== */
@media (prefers-color-scheme: dark) {
    html {
        color-scheme: only light !important;
        background: #fbf8f3 !important;
    }
    body {
        background: #fbf8f3 !important;
        color: #2b2431 !important;
    }
    .hero,
    .how-it-works,
    .examples,
    .order-section,
    .faq-section,
    .about-section,
    .thankyou-section {
        background-color: #fbf8f3 !important;
    }
    .how-it-works, .faq-section { background-color: #ffffff !important; }
    .navbar.scrolled {
        background: rgba(251, 248, 243, 0.97) !important;
    }
    input, textarea, select {
        background: #ffffff !important;
        color: #2b2431 !important;
        border-color: rgba(201, 149, 106, 0.38) !important;
    }
    .photo-guide,
    .form-success,
    .modal-box,
    .thankyou-card {
        background: #ffffff !important;
    }
    .ty-photos-notice {
        background: #f7eef0 !important;
        color: #2b2431 !important;
    }
    .pricing-card {
        background: #ffffff !important;
        color: #2b2431 !important;
    }
    .pricing-card.pricing-vip {
        background: linear-gradient(180deg, #fdf6ef 0%, #ffffff 55%) !important;
    }
}

/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-scroll { animation: none; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
