/*
 * Editorial Joy v4
 * A reversible visual layer inspired by contemporary colourful wedding stationery.
 * Content, photography and application behaviour remain owned by the base theme.
 */

:root {
    --joy-paper: #fff9ef;
    --joy-cream: #f8eddf;
    --joy-ink: #252019;
    --joy-coral: #e7774f;
    --joy-orange: #c7602b;
    --joy-pink: #c7602b;
    --joy-rose: #e2a071;
    --joy-yellow: #efbd2f;
    --joy-lilac: #a18494;
    --joy-blue: #76566b;
    --joy-lime: #a8b94f;
    --joy-olive: #5d693c;
    --joy-display: 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
    --joy-body: 'DM Sans', Arial, sans-serif;
}

body {
    background: var(--joy-paper);
    color: var(--joy-ink);
    font-family: var(--joy-body);
    font-size: clamp(15px, .18vw + 14px, 17px);
    font-weight: 400;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

p,
li,
label,
input,
select,
textarea,
button { font-family: var(--joy-body); }

h1,
h2,
h3,
.monogram,
.footer-mark,
.number-style,
.countdown strong,
.schedule time,
.venue-copy small,
.stay-card-meta,
.rsvp-form-block-heading > span { font-family: var(--joy-display); }

.content-width { width: min(1180px, calc(100% - clamp(36px, 6vw, 92px))); }
.paper-section { background: var(--joy-paper); }

/* Header: cleaner type with a confident colour cue. */
.site-header {
    height: 70px;
    border-bottom: 0;
    background: rgba(255, 249, 239, .93);
    box-shadow: 0 8px 28px rgba(80, 52, 30, .07);
}

.site-header::after {
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--joy-coral) 0 22%, var(--joy-yellow) 22% 42%, var(--joy-orange) 42% 64%, var(--joy-lilac) 64% 82%, var(--joy-lime) 82%);
    opacity: 1;
}

.header-inner {
    grid-template-columns: minmax(110px, 1fr) auto minmax(180px, 1fr);
    width: min(1240px, calc(100% - 64px));
}

.monogram {
    color: var(--joy-ink);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -.05em;
}

.monogram i,
.footer-mark i { color: var(--joy-pink); }

.site-header nav {
    gap: clamp(24px, 3.4vw, 48px);
    font: 500 .74rem/1 var(--joy-body);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-header nav a::after { bottom: 13px; height: 3px; background: var(--joy-coral); }
.site-header nav a.active::before { display: none; }

.button,
.menu-toggle {
    border-radius: 999px;
    font-family: var(--joy-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.button-rust {
    border-color: var(--joy-pink);
    background: var(--joy-pink);
    box-shadow: 5px 5px 0 var(--joy-yellow);
}

.button-rust:hover {
    border-color: #a94c20;
    background: #a94c20;
    box-shadow: 3px 3px 0 var(--joy-yellow);
}

.menu-toggle,
.rsvp-cta-card .button-rust,
.submit-rsvp-large {
    border-color: var(--joy-orange);
    background: var(--joy-orange);
    color: #fff;
    box-shadow: 5px 5px 0 var(--joy-yellow);
}

.menu-toggle[aria-expanded="true"],
.rsvp-cta-card .button-rust:hover,
.submit-rsvp-large:hover {
    border-color: #a94c20;
    background: #a94c20;
    box-shadow: 3px 3px 0 var(--joy-yellow);
}

.button-olive { background: var(--joy-olive); }
.button-outline { border-color: var(--joy-olive); background: rgba(255,255,255,.56); color: var(--joy-olive); }

/* Hero: typography and architecture behave as one editorial cover. */
.hero {
    height: clamp(650px, 61vw, 800px);
    overflow: hidden;
    border-bottom: 0;
    background:
        radial-gradient(circle at 13% 18%, rgba(118,86,107,.16), transparent 23%),
        radial-gradient(circle at 89% 13%, rgba(239,189,47,.29), transparent 21%),
        radial-gradient(circle at 72% 73%, rgba(168,185,79,.14), transparent 26%),
        linear-gradient(122deg, #fffaf1 0 43%, #f3eddf 43% 72%, #fff5df 72%);
}

.hero::before {
    position: absolute;
    inset: -11% -3% auto;
    z-index: 1;
    display: block;
    height: 69%;
    background: url('../images/wildflower-scatter-loose-v7.png') center / 100% 100% no-repeat;
    content: '';
    opacity: .54;
    pointer-events: none;
}

.hero::after {
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 37%;
    background:
        linear-gradient(168deg, transparent 0 23%, rgba(239,189,47,.14) 23% 41%, transparent 41%),
        repeating-linear-gradient(90deg, rgba(118,86,107,.04) 0 22px, transparent 22px 44px);
    content: '';
}

.hero-inner {
    width: min(1380px, calc(100% - 40px));
    max-width: none;
}

.hero-inner::before,
.hero-inner::after { display: none; }

.hero-copy { position: relative; z-index: 4; height: 100%; }

.hero h1 {
    top: 7.5%;
    left: 4.2%;
    max-width: 760px;
    color: var(--joy-ink);
    font-size: clamp(5.4rem, 9.8vw, 9.35rem);
    font-weight: 500;
    letter-spacing: -.085em;
    line-height: .8;
    text-shadow: none;
}

.hero h1 i {
    color: var(--joy-orange);
    font-weight: 400;
    text-shadow: 7px 7px 0 rgba(239,189,47,.34);
}

.wedding-date,
.wedding-place {
    left: 4.6%;
    width: max-content;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--joy-body);
}

.wedding-date {
    top: 27.5%;
    padding: 5px 12px;
    background: var(--joy-yellow);
    font-size: clamp(.82rem, 1vw, .98rem);
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
    transform: rotate(-1.2deg);
}

.wedding-place {
    top: 34.5%;
    padding: 4px 11px;
    background: var(--joy-lime);
    color: #fff;
    font-size: clamp(.78rem, .95vw, .92rem);
    font-weight: 500;
    letter-spacing: .05em;
    transform: rotate(.8deg);
}

.hero-copy > .ornament-line { display: none; }

.countdown {
    top: 43.5%;
    left: 4.6%;
    z-index: 5;
    width: min(410px, 35%);
    height: 92px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.countdown > div {
    position: relative;
    margin-right: 7px;
    border: 0;
    border-radius: 48% 52% 46% 54% / 53% 44% 56% 47%;
    background: var(--joy-paper);
    box-shadow: 4px 5px 0 rgba(37,32,25,.12);
}

.countdown > div:nth-child(1) { background: #f8caa9; transform: rotate(-2deg); }
.countdown > div:nth-child(2) { background: #d8c4ce; transform: rotate(1.5deg); }
.countdown > div:nth-child(3) { background: #f5d76f; transform: rotate(-1deg); }
.countdown > div:nth-child(4) { margin-right: 0; background: #c5d376; transform: rotate(2deg); }

.countdown strong {
    color: var(--joy-ink) !important;
    font-size: clamp(1.42rem, 2.2vw, 1.9rem);
    font-weight: 500;
}

.countdown span {
    margin-top: 3px;
    color: var(--joy-ink);
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.hero-architecture {
    position: absolute;
    right: -2%;
    bottom: -2.3%;
    z-index: 3;
    width: min(84%, 1160px);
    height: 67%;
    margin: 0;
    pointer-events: none;
}

.hero-architecture img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: sepia(.24) saturate(1.08) hue-rotate(-8deg) drop-shadow(0 18px 28px rgba(82,55,32,.12)); }

/* Introduction: less boxed-in, more like layered printed matter. */
.intro {
    padding: clamp(82px, 9vw, 126px) 0;
    background:
        linear-gradient(90deg, var(--joy-pink) 0 12px, transparent 12px),
        radial-gradient(circle at 86% 12%, rgba(156,134,200,.24), transparent 24%),
        linear-gradient(135deg, #fff7ed, #fae9e5);
}

.intro::before {
    top: auto;
    right: auto;
    bottom: -190px;
    left: -120px;
    width: 420px;
    aspect-ratio: 3 / 2;
    background: url('../images/wildflower-scatter-warm-v6.png') left bottom / 720px auto no-repeat;
    opacity: .72;
    transform: rotate(8deg);
}

.intro::after {
    right: -10%;
    bottom: -48%;
    width: 48%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-linear-gradient(0deg, rgba(118,86,107,.075) 0 12px, transparent 12px 25px);
    opacity: 1;
    transform: rotate(-11deg);
}

.intro-inner {
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(64px, 9vw, 126px);
    width: min(1020px, calc(100% - 100px));
}

.intro-copy {
    position: relative;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 30px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.intro-copy::before {
    top: 4px;
    bottom: 6px;
    left: 0;
    width: 10px;
    border-radius: 0;
    background: linear-gradient(var(--joy-coral) 0 30%, var(--joy-yellow) 30% 52%, var(--joy-orange) 52% 77%, var(--joy-lilac) 77%);
}

.intro-copy::after { display: none; }
.intro-copy p { font-size: clamp(.92rem, 1.1vw, 1rem); line-height: 1.65; }
.intro-copy .intro-lead { font-family: var(--joy-display); font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.045em; line-height: 1.04; }
.intro-copy .script-copy { color: var(--joy-pink); font-family: var(--joy-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.botanical-divider { display: none; }

.portrait-placeholder {
    width: min(100%, 470px);
    max-width: none;
    aspect-ratio: 1.05;
    border: 3px solid var(--joy-pink);
    border-radius: 48% 52% 46% 54% / 42% 49% 51% 58%;
    background:
        repeating-linear-gradient(135deg, rgba(239,189,47,.15) 0 13px, transparent 13px 27px),
        rgba(255,255,255,.48);
    box-shadow: 14px 16px 0 var(--joy-lilac), -12px -11px 0 rgba(239,189,47,.75);
    transform: rotate(1.2deg);
}

.portrait-placeholder > span { font-family: var(--joy-body); font-size: .64rem; font-weight: 600; letter-spacing: .12em; }
.corner { color: var(--joy-pink); }

/* Programme: graphic event tickets replace the former beige illustrations. */
.schedule {
    border-top: 0;
    padding: clamp(72px, 8vw, 106px) 0 clamp(68px, 8vw, 104px);
    background:
        radial-gradient(circle at 8% 10%, rgba(239,189,47,.33), transparent 22%),
        linear-gradient(180deg, #fff9ef, #f8efdb);
}

.schedule::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 10px;
    background: repeating-linear-gradient(90deg, var(--joy-coral) 0 76px, var(--joy-orange) 76px 152px, var(--joy-yellow) 152px 228px, var(--joy-lilac) 228px 304px, var(--joy-lime) 304px 380px);
    content: '';
}

.schedule::after {
    top: -3%;
    right: -9%;
    width: 36%;
    aspect-ratio: 1;
    background: url('../images/wildflower-scatter-warm-v6.png') right top / 730px auto no-repeat;
    opacity: .54;
    transform: rotate(-12deg);
}

.section-title h2,
.venue-heading h2,
.atmosphere h2,
.accommodations-heading h2,
.rsvp h2 {
    font-family: var(--joy-display);
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    font-weight: 500;
    letter-spacing: -.07em;
    line-height: .9;
}

.schedule .section-title .ornament-line,
.atmosphere .ornament-line,
.rsvp .ornament-line {
    width: 94px;
    margin: 12px 0 20px;
}

.ornament-line::before { height: 4px; background: linear-gradient(90deg, var(--joy-orange) 0 35%, var(--joy-yellow) 35% 66%, var(--joy-lilac) 66%); }
.ornament-line span { display: none; }

.schedule-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    margin-top: 12px;
}

.schedule-row article,
.schedule-row article:nth-child(n) {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
    border: 1.5px solid rgba(37, 32, 25, .82);
    border-radius: 0;
    padding: 0 22px 24px;
    background: #fff7ec;
    box-shadow: 7px 8px 0 var(--event-color);
    text-align: left;
    transform: none;
}

.schedule-row article:nth-child(1) { --event-color: var(--joy-coral); transform: rotate(-1.1deg); }
.schedule-row article:nth-child(2) { --event-color: var(--joy-yellow); transform: translateY(26px) rotate(.8deg); }
.schedule-row article:nth-child(3) { --event-color: var(--joy-pink); transform: rotate(-.5deg); }
.schedule-row article:nth-child(4) { --event-color: var(--joy-lilac); transform: translateY(26px) rotate(1deg); }
.schedule-row article:hover { transform: translateY(-5px) rotate(0); box-shadow: 9px 10px 0 var(--event-color); }
.schedule-row article:nth-child(even):hover { transform: translateY(18px) rotate(0); }
.schedule-row article::before,
.schedule-row article::after,
.schedule-art::before,
.time-dot { display: none; }

.schedule-art {
    display: block;
    width: auto;
    height: auto;
    margin: -13px 0 22px -12px;
}

.schedule-art span {
    display: block;
    color: var(--event-color);
    font-family: var(--joy-display);
    font-size: clamp(5.5rem, 8vw, 7.8rem);
    font-weight: 500;
    letter-spacing: -.08em;
    line-height: .84;
}

.schedule time {
    min-height: 0;
    margin-bottom: 12px;
    color: var(--joy-ink);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1;
}

.schedule h3 { margin: 0 0 7px; font-family: var(--joy-display); font-size: clamp(1.3rem, 1.8vw, 1.58rem); line-height: 1.06; }
.schedule article p { font-family: var(--joy-body); font-size: .82rem; line-height: 1.5; }
.schedule-note { margin-top: 62px; color: var(--joy-pink); font-family: var(--joy-display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.wedding-party-sketch { display: none; }

/* Locations: real photography stays, framing becomes more celebratory. */
.venues {
    padding-top: clamp(76px, 8vw, 110px);
    background:
        radial-gradient(circle at 91% 7%, rgba(239,189,47,.17), transparent 21%),
        linear-gradient(132deg, #52603a, #35472f 65%, #2d3d2c);
}

.venues::before {
    top: -165px;
    right: -155px;
    width: 520px;
    aspect-ratio: 1.2;
    background: url('../images/wildflower-scatter-warm-v6.png') right top / 790px auto no-repeat;
    opacity: .82;
    transform: rotate(-5deg);
}

.venues::after { height: 10px; background: repeating-linear-gradient(90deg, var(--joy-orange) 0 72px, var(--joy-yellow) 72px 144px, var(--joy-lilac) 144px 216px, var(--joy-coral) 216px 288px, var(--joy-lime) 288px 360px); }
.venue-heading { max-width: 820px; margin-bottom: 30px; }
.venue-heading h2 { color: #fff9ef; }
.venue-heading p { font-family: var(--joy-body); font-size: .9rem; letter-spacing: .02em; }
.venue-cards { gap: clamp(24px, 3.6vw, 46px); }

.venue-card,
.venue-card:nth-child(2) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: var(--joy-paper);
    box-shadow: 9px 10px 0 var(--joy-coral), 0 22px 48px rgba(25,31,17,.22);
}

.venue-card:nth-child(2) { box-shadow: 9px 10px 0 var(--joy-lilac), 0 22px 48px rgba(25,31,17,.22); }
.venue-image { aspect-ratio: 16 / 9; }
.venue-card:first-child .venue-image img { object-position: center 58%; }
.venue-copy { min-height: 224px; padding: 22px 25px 24px; }
.venue-copy small { display: block; min-width: auto; min-height: auto; align-self: flex-start; place-items: initial; padding: 0; background: transparent !important; color: var(--joy-orange) !important; font-size: 1.2rem; text-align: left; }
.venue-copy h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.venue-copy p { font-family: var(--joy-body); font-size: .84rem; }
.panorama { height: clamp(250px, 26vw, 430px); margin-top: 54px; border-top: 12px solid var(--joy-yellow); }

/* Atmosphere: photographs remain untouched inside a bolder magazine layout. */
.atmosphere {
    padding: clamp(86px, 9vw, 128px) 0;
    background:
        linear-gradient(90deg, rgba(156,134,200,.15) 0 31%, transparent 31%),
        linear-gradient(180deg, #fff8ec, #faeee6);
}

.atmosphere::before {
    top: auto;
    right: 4%;
    bottom: 7%;
    left: auto;
    width: 34%;
    height: 32%;
    border-radius: 0;
    background: repeating-linear-gradient(-45deg, rgba(239,189,47,.2) 0 14px, transparent 14px 29px);
    transform: rotate(3deg);
}

.atmosphere::after { right: auto; bottom: -130px; left: -160px; width: 390px; border: 0; background: var(--joy-pink); opacity: .07; }
.atmosphere-grid { grid-template-columns: .72fr 1.35fr .9fr; gap: clamp(22px, 3vw, 42px); }

.atmosphere-copy {
    align-self: center;
    border: 0;
    border-radius: 0;
    padding: 36px 26px 38px;
    background: var(--joy-yellow);
    box-shadow: -8px 9px 0 var(--joy-orange);
    transform: rotate(-.45deg);
}

.atmosphere-copy h2 { font-size: clamp(3rem, 5vw, 4.7rem); }
.atmosphere-copy p { max-width: 310px; font-family: var(--joy-body); font-size: .86rem; }
.heart { color: var(--joy-pink); }

.editorial-frame {
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: 9px 10px 0 var(--joy-coral), 0 25px 52px rgba(84,54,31,.17);
}

.frame-detail { height: min(31vw, 410px); transform: rotate(-.75deg); }
.frame-garden { height: min(24vw, 320px); margin-left: -34px; box-shadow: 9px 10px 0 var(--joy-lilac), 0 24px 50px rgba(84,54,31,.16); transform: translateY(54px) rotate(1.2deg); }

/* Accommodation and call-to-action repeat the same graphic system. */
.accommodations {
    padding: clamp(86px, 9vw, 124px) 0;
    background: #fff9ef;
}

.accommodations::before {
    right: -30px;
    bottom: 6%;
    width: 260px;
    height: 64%;
    border-radius: 0;
    background: repeating-linear-gradient(0deg, rgba(199,96,43,.09) 0 17px, transparent 17px 34px, rgba(118,86,107,.07) 34px 51px, transparent 51px 68px);
    transform: rotate(4deg);
}

.section-kicker { color: var(--joy-pink); font-size: .69rem; font-weight: 600; letter-spacing: .18em; }
.accommodations-heading { margin-bottom: 42px; }
.accommodations-heading > p:last-child { font-family: var(--joy-body); font-size: .9rem; }
.stay-grid { gap: 20px; }

.stay-card,
.stay-card:nth-child(n) {
    min-height: 205px;
    border: 1.5px solid rgba(37, 32, 25, .82);
    border-radius: 0;
    padding: 25px 26px;
    background: rgba(255,255,255,.54);
    box-shadow: 5px 6px 0 var(--card-colour, var(--joy-yellow));
}

.stay-card:nth-child(4n+1) { --card-colour: var(--joy-coral); }
.stay-card:nth-child(4n+2) { --card-colour: var(--joy-pink); }
.stay-card:nth-child(4n+3) { --card-colour: var(--joy-lilac); }
.stay-card:nth-child(4n+4) { --card-colour: var(--joy-lime); }
.stay-card h3 { font-size: clamp(1.55rem, 2.25vw, 2rem); }
.stay-card p { font-family: var(--joy-body); font-size: .8rem; }
.stay-card-meta strong { border: 2px solid var(--card-colour); border-radius: 999px; padding: 6px 11px; background: var(--joy-paper); box-shadow: 3px 3px 0 var(--card-colour); color: var(--joy-ink); font-size: .74rem; font-weight: 700; }
.stay-card-meta strong .number-style { color: inherit; font-size: inherit; }
.stay-more > summary { border: 1.5px solid rgba(37, 32, 25, .82); border-radius: 0; background: repeating-linear-gradient(90deg, #f2c3a5 0 32px, #d8c4ce 32px 64px, #f6dc79 64px 96px, #c9d484 96px 128px); font-family: var(--joy-body); font-weight: 600; }
.stay-disclaimer { font-family: var(--joy-body); }

.rsvp {
    padding: clamp(86px, 9vw, 120px) 0;
    background:
        radial-gradient(circle at 8% 88%, rgba(239,189,47,.3), transparent 20%),
        linear-gradient(128deg, #f9e5e7, #fff2df);
}

.rsvp::before {
    display: block;
    top: -90px;
    left: -130px;
    width: 390px;
    height: 310px;
    background: url('../images/wildflower-scatter-warm-v6.png') left top / 700px auto no-repeat;
    opacity: .72;
}

.rsvp::after { display: none; }
.rsvp-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(44px, 6vw, 82px); align-items: center; }
.rsvp-copy h2 { max-width: 8.4ch; font-size: clamp(3.3rem, 4.5vw, 4.8rem); line-height: .92; }
.rsvp-copy p { font-family: var(--joy-body); font-size: .88rem; }
.rsvp-cta-card {
    border: 1.5px solid rgba(37, 32, 25, .82);
    border-radius: 0;
    padding: clamp(34px, 4vw, 52px);
    background: rgba(255,255,255,.64);
    box-shadow: 9px 10px 0 var(--joy-orange), -6px -6px 0 var(--joy-yellow);
}

.rsvp-cta-card::before { height: 12px; background: linear-gradient(90deg, var(--joy-coral) 0 23%, var(--joy-yellow) 23% 43%, var(--joy-pink) 43% 66%, var(--joy-lilac) 66% 84%, var(--joy-lime) 84%); }
.rsvp-cta-card h3 { font-family: var(--joy-display); font-size: clamp(2rem, 3.5vw, 3.1rem); }
.rsvp-cta-card p { font-family: var(--joy-body); }

/* RSVP page: same editorial language without compromising form clarity. */
.rsvp-page-hero {
    padding: clamp(72px, 8vw, 108px) 0 clamp(64px, 7vw, 90px);
    background:
        radial-gradient(circle at 82% 10%, rgba(156,134,200,.23), transparent 24%),
        linear-gradient(135deg, #fff8ed, #f9e6e3);
}

.rsvp-page-hero::before { height: 12px; background: linear-gradient(90deg, var(--joy-coral) 0 20%, var(--joy-yellow) 20% 40%, var(--joy-pink) 40% 62%, var(--joy-lilac) 62% 82%, var(--joy-lime) 82%); }
.rsvp-page-hero::after {
    top: -150px;
    right: -150px;
    left: auto;
    width: 470px;
    aspect-ratio: 1;
    background: url('../images/wildflower-scatter-warm-v6.png') right top / 760px auto no-repeat;
    opacity: .58;
    transform: rotate(-8deg);
}

.rsvp-page-hero .content-width,
.rsvp-page-content .content-width { width: min(1080px, calc(100% - 72px)); }
.rsvp-page-kicker,
.rsvp-back-link,
.rsvp-page-hero > .content-width > p:last-child { font-family: var(--joy-body); }
.rsvp-page-hero h1 { font-size: clamp(4.3rem, 8.4vw, 7.5rem); letter-spacing: -.08em; }
.rsvp-page-content { padding: 38px 0 88px; background: #fff9ef; }

.rsvp-full-form { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.rsvp-form-block {
    width: 100%;
    min-width: 0;
    border: 1.5px solid rgba(37, 32, 25, .82);
    border-radius: 0;
    padding: clamp(34px, 4.4vw, 54px);
    background: rgba(255,255,255,.66);
    box-shadow: 9px 10px 0 rgba(199,96,43,.18);
}

.rsvp-form-block:nth-of-type(2) { box-shadow: 9px 10px 0 rgba(156,134,200,.2); }
.rsvp-form-block:nth-of-type(3) { box-shadow: 9px 10px 0 rgba(239,189,47,.28); }
.rsvp-form-block::before { height: 10px; background: linear-gradient(90deg, var(--joy-coral) 0 24%, var(--joy-yellow) 24% 44%, var(--joy-pink) 44% 66%, var(--joy-lilac) 66% 84%, var(--joy-lime) 84%); }
.rsvp-form-block-heading > span {
    flex-basis: 58px;
    height: 58px;
    border: 2px solid var(--joy-ink);
    border-radius: 50%;
    background: var(--joy-yellow);
    color: var(--joy-ink);
    box-shadow: 5px 5px 0 var(--joy-pink);
    font-size: 1.25rem;
}

.rsvp-form-block-heading h2 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); letter-spacing: -.055em; }
.rsvp-form-block-heading,
.rsvp-form-block-heading > div,
.rsvp-fields-grid,
.dietary-person { min-width: 0; }
.rsvp-form-block-heading p,
.participant-fields-heading span,
.rsvp-privacy-note { font-family: var(--joy-body); }

.rsvp-full-form label,
.dietary-options legend { font-family: var(--joy-body); font-size: .88rem; font-weight: 600; }

.rsvp-full-form input[type="text"],
.rsvp-full-form input[type="email"],
.rsvp-full-form input[type="tel"],
.rsvp-full-form input[type="number"],
.rsvp-full-form select,
.rsvp-full-form textarea {
    border: 2px solid rgba(37,32,25,.18);
    border-radius: 0;
    background: #fffdf9;
    font-family: var(--joy-body);
    font-size: 16px;
}

.rsvp-full-form input:focus,
.rsvp-full-form select:focus,
.rsvp-full-form textarea:focus { border-color: var(--joy-pink); box-shadow: 0 0 0 3px rgba(199,96,43,.13); }
.attendance-choice span { border: 2px solid rgba(37,32,25,.18); border-radius: 0; font-family: var(--joy-body); }
.attendance-choice input:checked + span { border-color: var(--joy-ink); background: var(--joy-yellow); color: var(--joy-ink); box-shadow: 6px 6px 0 var(--joy-pink); }
.participant-fields-heading { border-left: 7px solid var(--joy-lilac); border-radius: 0; background: rgba(156,134,200,.08); }
.participant-fields-heading strong { font-family: var(--joy-display); font-size: 1.55rem; }
.dietary-person { border: 2px solid rgba(37,32,25,.2); border-radius: 0; background: rgba(255,249,239,.7); box-shadow: 6px 7px 0 rgba(239,189,47,.18); }
.dietary-person > header strong { font-family: var(--joy-display); font-size: 1.5rem; }
.dietary-options label { border-radius: 0; background: #fffdf9; }
.submit-rsvp-large { min-height: 58px; border-radius: 999px; box-shadow: 7px 7px 0 var(--joy-yellow); font-family: var(--joy-body); font-size: .95rem; }

.site-footer { background: linear-gradient(100deg, #a94c20, #c7602b 52%, #8f77bc); font-family: var(--joy-body); }

@media (max-width: 1024px) {
    .hero { height: clamp(630px, 70vw, 730px); }
    .hero h1 { font-size: clamp(5rem, 10vw, 7rem); }
    .hero-architecture { right: -9%; width: 88%; height: 62%; }
    .countdown { width: 38%; }
    .schedule-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
    .schedule-row article:nth-child(n) { min-height: 280px; transform: none; }
    .schedule-note { margin-top: 38px; }
    .atmosphere-grid { grid-template-columns: .82fr 1.18fr; }
    .atmosphere-copy { grid-column: 1 / -1; max-width: 520px; }
    .frame-garden { margin-left: -24px; }
}

@media (max-width: 900px) {
    .rsvp-grid { grid-template-columns: 1fr; gap: 34px; }
    .rsvp-copy p { max-width: 420px; }
    .rsvp-cta-card { width: 100%; max-width: 680px; }
}

@media (max-width: 700px) {
    body { font-size: 15px; }
    .content-width,
    .schedule .content-width,
    .venues .content-width,
    .atmosphere .content-width,
    .accommodations .content-width,
    .rsvp .content-width,
    .rsvp-page-hero .content-width,
    .rsvp-page-content .content-width { width: min(100% - 32px, 560px); }

    .site-header { height: 60px; }
    .header-inner { width: calc(100% - 30px); grid-template-columns: 1fr auto; }
    .site-header nav { top: 60px; padding: 18px 18px 22px; background: rgba(255,249,239,.99); font-size: .8rem; }
    .site-header nav a { font-family: var(--joy-display); font-size: 1.55rem; font-weight: 500; letter-spacing: -.025em; text-transform: none; }
    .site-header nav .nav-rsvp { border: 2px solid var(--joy-pink); border-radius: 999px; color: var(--joy-pink); font-family: var(--joy-body); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
    .menu-toggle { min-width: 76px; min-height: 40px; padding: 7px 14px; }

    .hero {
        height: clamp(730px, 188vw, 820px);
        background:
            radial-gradient(circle at 18% 13%, rgba(118,86,107,.14), transparent 23%),
            radial-gradient(circle at 82% 12%, rgba(239,189,47,.27), transparent 24%),
            linear-gradient(152deg, #fffaf1 0 55%, #f2eddf 55%);
    }

    .hero::before {
        inset: 0 0 auto;
        height: 48%;
        background-image: url('../images/wildflower-scatter-mobile-v9.png');
        background-position: center -42px;
        background-size: 100% auto;
        opacity: .42;
    }
    .hero::after { height: 45%; }
    .hero-inner { width: calc(100% - 30px); padding-top: 86px; }
    .hero h1,
    .hero .wedding-date,
    .hero .wedding-place {
        position: relative;
        top: auto;
        left: auto;
    }
    .hero h1 { max-width: 100%; font-size: clamp(3.75rem, 17.2vw, 5.25rem); line-height: .82; }
    .wedding-date { margin-top: 22px; padding: 5px 9px; font-size: .72rem; }
    .wedding-place { margin-top: 7px; padding: 4px 9px; font-size: .69rem; }
    .countdown { position: relative; top: auto; left: auto; width: 100%; max-width: 380px; height: 78px; margin-top: 19px; }
    .countdown > div { margin-right: 5px; padding-inline: 2px; }
    .countdown strong { font-size: 1.35rem; }
    .countdown span { font-size: .43rem; }
    .hero-architecture { right: -14%; bottom: 0; width: 126%; height: 51%; }
    .hero-architecture img { object-position: center bottom; }

    .intro { padding: 72px 0 82px; }
    .intro::before { bottom: -100px; left: -190px; width: 360px; }
    .intro-inner { grid-template-columns: 1fr; width: min(100% - 38px, 540px); gap: 56px; }
    .intro-copy { padding-left: clamp(8px, 3vw, 18px); }
    .intro-copy .intro-lead { font-size: clamp(2rem, 10vw, 2.75rem); }
    .intro-copy p { font-size: .91rem; }
    .portrait-placeholder { width: min(82vw, 340px); aspect-ratio: 1; justify-self: center; box-shadow: 9px 10px 0 var(--joy-lilac), -8px -8px 0 rgba(239,189,47,.75); }

    .schedule { padding: 68px 0 74px; }
    .schedule::after { right: -55%; width: 100%; opacity: .44; }
    .section-title h2,
    .venue-heading h2,
    .atmosphere h2,
    .accommodations-heading h2,
    .rsvp h2 { font-size: clamp(2.9rem, 14vw, 4.1rem); }
    .schedule-row { grid-template-columns: 1fr; gap: 22px; margin-top: 5px; }
    .schedule-row article,
    .schedule-row article:nth-child(n) {
        display: grid;
        grid-template-columns: 82px 1fr;
        grid-template-rows: auto auto auto;
        min-height: 0;
        align-items: start;
        column-gap: 17px;
        padding: 20px 20px 22px;
        transform: none;
    }
    .schedule-art { grid-row: 1 / 5; margin: 0; align-self: center; }
    .schedule-art span { font-size: 4.4rem; }
    .schedule time { grid-column: 2; margin: 0 0 7px; font-size: 1.65rem; }
    .schedule h3 { grid-column: 2; font-size: 1.42rem; }
    .schedule article p { grid-column: 2; }
    .schedule-note { margin-top: 38px; font-size: 1.35rem; }

    .venues { padding-top: 72px; }
    .venues::before { top: -110px; right: -230px; width: 430px; }
    .venue-heading { max-width: 86%; }
    .venue-heading p { font-size: .82rem; }
    .venue-cards { gap: 34px; }
    .venue-card,
    .venue-card:nth-child(2) { box-shadow: 8px 9px 0 var(--joy-coral), 0 20px 40px rgba(25,31,17,.2); }
    .venue-card:nth-child(2) { box-shadow: 8px 9px 0 var(--joy-lilac), 0 20px 40px rgba(25,31,17,.2); }
    .venue-copy { min-height: 0; padding: 20px 19px 22px; }
    .venue-copy h3 { font-size: 2rem; }
    .panorama { height: min(58vw, 250px); margin-top: 44px; border-top-width: 9px; }

    .atmosphere { padding: 76px 0 92px; }
    .atmosphere-grid { grid-template-columns: 1fr; gap: 28px; }
    .atmosphere-copy { grid-column: auto; max-width: 92%; padding: 29px 24px 32px; box-shadow: -8px 9px 0 var(--joy-pink); }
    .atmosphere-copy h2 { font-size: 3.45rem; }
    .frame-detail { height: min(76vw, 350px); }
    .frame-garden { width: 88%; height: min(62vw, 290px); margin: -10px 0 0 auto; box-shadow: 7px 8px 0 var(--joy-lilac), 0 20px 40px rgba(84,54,31,.15); transform: rotate(1deg); }

    .accommodations { padding: 72px 0 80px; }
    .accommodations-heading { margin-bottom: 30px; }
    .stay-card,
    .stay-card:nth-child(n) { min-height: 180px; padding: 21px 19px; }
    .stay-card h3 { font-size: 1.72rem; }
    .stay-more > summary { padding: 16px 12px; font-size: .72rem; }

    .rsvp { padding: 76px 0 88px; }
    .rsvp::before { top: -80px; left: -180px; width: 330px; opacity: .58; }
    .rsvp-grid { grid-template-columns: 1fr; gap: 34px; }
    .rsvp-cta-card { padding: 30px 24px 34px; box-shadow: 9px 10px 0 var(--joy-pink), -6px -6px 0 var(--joy-yellow); }

    .rsvp-page-hero { padding: 54px 0 56px; }
    .rsvp-page-hero::after { display: none; }
    .rsvp-page-hero h1 { font-size: clamp(3.25rem, 15vw, 4.65rem); }
    .rsvp-page-content { padding: 24px 0 64px; }
    .rsvp-form-block { padding: 28px 20px 32px; box-shadow: 6px 7px 0 rgba(199,96,43,.16); }
    .rsvp-form-block-heading { align-items: flex-start; gap: 14px; }
    .rsvp-form-block-heading > span { flex-basis: 48px; height: 48px; box-shadow: 4px 4px 0 var(--joy-pink); }
    .rsvp-form-block-heading h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
    .rsvp-form-block-heading p { font-size: .8rem; }
    .participant-fields-heading strong { font-size: 1.35rem; }
    .dietary-person > header strong { font-size: 1.35rem; }
}

@media (max-width: 380px) {
    .hero { height: 715px; }
    .hero h1 { font-size: 3.6rem; }
    .countdown span { letter-spacing: .045em; }
    .schedule-row article,
    .schedule-row article:nth-child(n) { grid-template-columns: 68px 1fr; column-gap: 12px; padding-inline: 15px; }
    .schedule-art span { font-size: 3.7rem; }
    .schedule time { font-size: 1.48rem; }
    .schedule h3 { font-size: 1.28rem; }
    .venue-heading { max-width: 91%; }
    .rsvp-page-content .content-width { width: min(100% - 24px, 560px); }
    .rsvp-page-kicker { font-size: .67rem; letter-spacing: .075em; }
    .rsvp-form-block { padding-inline: 16px; }
    .rsvp-form-block-heading { gap: 10px; }
    .rsvp-form-block-heading > span { flex-basis: 42px; height: 42px; font-size: 1.08rem; }
    .rsvp-form-block-heading h2 { font-size: clamp(1.68rem, 8.5vw, 2rem); letter-spacing: -.06em; }
}

@media (max-width: 340px) {
    .hero h1 {
        font-size: 3.1rem;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-row article,
    .schedule-row article:hover { transform: none !important; }
}
