/* === Design tokens — sampled from the live Wix render =============== */
:root {
    --wine: #6a1f32;
    --wine-deep: #5a1a2a;
    --olive: #475b41;
    --olive-deep: #3a4d35;
    --cream: #fffbf2;
    --cream-soft: #fff8e8;
    --pink: #ffe6ee;
    --pink-deep: #fbd9e3;
    --taupe: #e6dede;
    --pale-green: #ecf3d8;
    --gold: #c89a5b;
    --gold-deep: #b3884a;
    --ink: #2b2118;
    --ink-soft: #4b5537;

    --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    --sans: "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
    --script: "Pinyon Script", "Holy River", "Allura", cursive;

    --w: min(1180px, 92vw);
    --w-narrow: min(880px, 92vw);
    --radius: 8px;
    --shadow: 0 18px 48px rgba(74, 26, 38, 0.1);
}

/* === Reset ========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
}

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--wine);
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3.4rem, 9vw, 7.25rem);
    letter-spacing: -0.04em;
    line-height: 1;
}
h2 {
    font-size: clamp(2.2rem, 4.7vw, 4.2rem);
    text-align: center;
}
h3 {
    font-size: clamp(1.6rem, 2.7vw, 2.65rem);
}
p {
    margin: 0 0 1em;
}

/* === Reveal animation (driven by IntersectionObserver in app.js) ==== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: transform, opacity;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.in-view,
    [data-parallax] {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
}

/* === Header ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 251, 242, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid rgba(106, 31, 50, 0.06);
}
.site-header__brand img {
    height: 38px;
    width: auto;
}
.site-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.site-header__nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
}
.lang-picker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wine);
}
.lang-picker a,
.lang-picker span {
    padding: 6px 9px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.lang-picker .active {
    background: var(--wine);
    color: var(--cream);
}
.lang-picker a:hover {
    background: rgba(106, 31, 50, 0.08);
}

/* === Buttons ======================================================== */
.btn {
    display: inline-block;
    padding: 14px 38px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--gold-deep);
    transform: translateY(-1px);
}
.btn--nav {
    padding: 9px 24px;
    font-size: 0.78rem;
}

/* === Hero =========================================================== */
.hero {
    background: var(--cream);
    padding: clamp(8px, 1.5vw, 20px) 0 clamp(40px, 6vw, 80px);
    text-align: center;
}
.hero__inner {
    width: var(--w);
    margin: 0 auto;
}
.hero h1 {
    margin: 8px 0 36px;
    text-align: center;
    text-transform: uppercase;
}
.hero__photo-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    margin: 24px auto 32px;
    box-shadow: var(--shadow);
}
.hero__photo {
    width: 100%;
    aspect-ratio: 1426 / 708;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.2s ease-out;
}
.hero__photo.in-view {
    transform: scale(1);
}
.hero__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero__row > span {
    flex: 1 1 240px;
}
.hero__row > span:first-child {
    text-align: left;
}
.hero__row > span:last-child {
    text-align: right;
}
.hero__tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    color: var(--wine);
    margin-top: 32px;
}

/* === Ceremony block ================================================ */
.ceremony {
    position: relative;
    background: var(--pink);
    padding: clamp(56px, 9vw, 140px) 0 clamp(56px, 9vw, 140px);
    overflow: hidden;
}
.ceremony__inner {
    width: var(--w);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 56px);
    align-items: start;
}
/* Olive vertical band sits behind the right column */
.ceremony__band {
    position: absolute;
    top: -64px;
    bottom: -64px;
    left: 12%;
    right: 12%;
    background: var(--olive);
    border-radius: 2px;
    z-index: 0;
}
.ceremony__photo-wrap {
    position: relative;
    z-index: 2;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: -32px;
    margin-bottom: -32px;
    box-shadow: var(--shadow);
}
.ceremony__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.ceremony__cards {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 22px;
}
.card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 40px) clamp(28px, 3.4vw, 56px);
    text-align: center;
    box-shadow: 0 8px 30px rgba(74, 26, 38, 0.08);
}
.card__kicker {
    display: block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 12px;
}
.card__title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: var(--wine);
    margin: 4px 0 10px;
    line-height: 1.15;
}
.card__subtitle {
    font-family: var(--serif);
    font-style: italic;
    color: var(--wine);
    margin: 0;
}
.card h3 {
    text-align: center;
    margin-bottom: 18px;
}
.card__details {
    display: grid;
    gap: 18px;
    margin-bottom: 6px;
}
.card__details strong {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--wine);
    margin-bottom: 4px;
}
.card__details p {
    margin: 0;
    color: var(--ink-soft);
    font-weight: 600;
}
.card .btn {
    margin-top: 14px;
}
.card__hl {
    color: var(--wine);
    font-weight: 700;
}

/* === Travel ========================================================= */
.travel {
    background: var(--cream);
    padding: clamp(56px, 8vw, 120px) 0;
}
.travel__inner {
    width: var(--w);
    margin: 0 auto;
}
.travel h2 {
    margin-bottom: clamp(36px, 5vw, 64px);
    font-style: italic;
}
.travel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.travel__col h3 {
    font-style: italic;
    text-align: center;
    margin-bottom: 18px;
    color: var(--wine);
}
.travel__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.travel__col li {
    margin-bottom: 12px;
    color: var(--ink-soft);
    font-weight: 600;
}
.travel__col li strong {
    display: block;
    color: var(--wine);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.travel__venue {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.travel__venue img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.info-card {
    background: var(--taupe);
    border-radius: var(--radius);
    padding: clamp(28px, 3.5vw, 48px);
    margin-bottom: 24px;
    position: relative;
    display: flow-root;
}
.info-card h3 {
    margin: 0 0 18px;
    font-style: normal;
    text-align: left;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.1;
}
.info-card p {
    margin: 0 0 14px;
}
.info-card p:last-child {
    margin-bottom: 0;
}
.info-card a.info-card__link {
    position: relative;
    float: right;
    margin: 4px 0 8px clamp(20px, 3vw, 56px);
    margin-right: clamp(20px, 3vw, 36px);
    background: #ece58c;
    color: var(--wine);
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(20px, 1.6vw, 26px);
    font-weight: 400;
    padding: 6px 26px;
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.info-card a.info-card__link:hover {
    text-decoration: underline;
}
.info-card a.info-card__link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20px;
    width: 26px;
    height: 32px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 32"><path d="M3 2 L3 24 L9.5 18.5 L13.5 30 L16.5 28.8 L12.5 17.5 L22 17.5 Z" fill="%236a1f32"/></svg>')
        center / contain no-repeat;
    pointer-events: none;
}

/* === Dress code ===================================================== */
.dress {
    position: relative;
    background: var(--pale-green);
    padding: clamp(72px, 11vw, 160px) 0 clamp(72px, 11vw, 160px);
    overflow: hidden;
}
.dress__inner {
    position: relative;
    width: var(--w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: center;
}
.dress__tag {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-self: center;
}
.dress__tag-img {
    display: block;
    width: 100%;
    height: auto;
}
.dress__title {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    font-family: var(--script);
    font-weight: 400;
    font-size: clamp(3rem, 6.5vw, 5.4rem);
    color: var(--olive);
    line-height: 0.92;
    letter-spacing: 0;
    margin: 0;
    text-align: center;
    z-index: 1;
}
.dress__date {
    position: absolute;
    top: 84%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-family: var(--sans);
    font-size: clamp(0.62rem, 0.8vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--olive);
    margin: 0;
    text-align: center;
    z-index: 1;
}
.dress__card-wrap {
    position: relative;
    padding-top: clamp(120px, 18vw, 220px);
}
.dress__dogs {
    position: absolute;
    bottom: calc(100% - clamp(160px, 22vw, 260px));
    left: 50%;
    width: clamp(260px, 42%, 460px);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}
.dress__card {
    background: var(--cream);
    border-radius: clamp(64px, 14vw, 130px) clamp(64px, 14vw, 130px) 8px 8px;
    padding: clamp(36px, 4.5vw, 64px) clamp(28px, 3.5vw, 56px)
        clamp(28px, 3.5vw, 44px);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}
.dress__card .dress__headline,
.dress__card .dress__body {
    color: var(--wine);
}
.dress__headline {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.4vw, 1.4rem);
    margin: 0 0 8px;
    line-height: 1.5;
}
.dress__headline em {
    font-family: var(--script);
    font-style: normal;
    font-size: 1.7em;
    color: var(--wine);
    line-height: 0.7;
    vertical-align: -0.1em;
    margin-right: 0.06em;
}
.dress__body {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    margin: 0;
    line-height: 1.55;
}

/* === Gift =========================================================== */
.gift {
    position: relative;
    padding: clamp(56px, 9vw, 140px) 0;
    background: #d9c8b6;
    overflow: hidden;
}
.gift__bg {
    position: absolute;
    inset: -10% 0;
    background: url("/static/images/fabric.jpg") center/cover no-repeat;
    z-index: 0;
}
.gift__inner {
    position: relative;
    z-index: 1;
    width: var(--w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: center;
}
.gift__photo-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    max-width: 420px;
    margin: 0 auto;
}
.gift__photo {
    width: 100%;
    aspect-ratio: 742 / 1546;
    object-fit: cover;
}
.gift__card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: clamp(36px, 4.5vw, 72px) clamp(32px, 4vw, 64px);
    text-align: center;
    box-shadow: var(--shadow);
}
.gift__card h2 {
    margin-bottom: 24px;
}
.gift__body {
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.65;
}
.gift__body em {
    color: var(--wine);
    font-style: italic;
    font-weight: 700;
}
.gift__iban {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin: 18px 0 14px;
    color: var(--wine);
    letter-spacing: 0.04em;
}
.gift__revolut {
    display: inline-block;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    color: var(--wine);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    letter-spacing: 0.02em;
}

/* === Footer ========================================================= */
.site-footer {
    background: var(--wine);
    color: var(--cream);
    padding: clamp(56px, 8vw, 110px) 0 36px;
    text-align: center;
}
.site-footer__inner {
    width: var(--w);
    margin: 0 auto;
}
.site-footer h2 {
    color: var(--cream);
    font-style: italic;
    margin-bottom: 32px;
}
.site-footer .btn {
    margin-bottom: 32px;
}
.site-footer__detail {
    letter-spacing: 0.08em;
    font-size: 0.92rem;
    margin: 0 0 6px;
    font-weight: 600;
}
.site-footer__call {
    margin-top: 40px;
    font-style: italic;
    font-family: var(--serif);
    font-size: 1.2rem;
}
.site-footer__call span {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    margin-top: 6px;
}
.site-footer__credit {
    margin-top: 56px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* === Responsive ===================================================== */
@media (max-width: 920px) {
    .ceremony__inner {
        grid-template-columns: 1fr;
    }
    .ceremony__band {
        left: 4%;
        right: 4%;
    }
    .ceremony__photo-wrap {
        margin-top: 0;
        margin-bottom: 0;
    }
    .travel__grid {
        grid-template-columns: 1fr;
    }
    .travel__venue {
        order: 3;
    }
    .dress__inner,
    .gift__inner {
        grid-template-columns: 1fr;
    }
    .dress__tag {
        max-width: 360px;
        margin: 0 auto;
    }
    .gift__photo-wrap {
        max-width: 320px;
    }
    .hero__row > span,
    .hero__row > span:first-child,
    .hero__row > span:last-child {
        text-align: center;
    }
    .site-header {
        padding: 12px 18px;
    }
    .site-header__nav {
        gap: 12px;
    }
}
