/* =========================================================
   Bernice & Ron — Wedding Site Styles
   ========================================================= */

/* Fonts: elegant serif for headings, clean sans for body */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

/* ---------------------------------------------------------
   Color palette
   The three wedding colors are --teal, --sand and --white.
   The other shades are lighter/darker versions of them.
   --------------------------------------------------------- */
:root {
    /* Wedding colors */
    --teal:        #18565d;   /* headings, buttons, links, hero, footer */
    --sand:        #eee0cb;   /* accents on teal: hero, RSVP band, footer */
    --white:       #ffffff;   /* page background, cards */

    /* Supporting shades
       #EEE0CB is used as the accent on teal (hero, RSVP band, footer).
       Everywhere else, the lighter --sand-light is used. */
    --teal-dark:   #113c41;   /* hover, gradients, footer */
    --teal-mid:    #699196;   /* focus outlines */
    --sand-light:  #fbf7f2;   /* section backgrounds, cards, form, lines */

    /* Text */
    --text:        #1e3134;
    --text-muted:  #4f5e5f;
    --border:      #e3d8c6;

    /* Type */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --container:   960px;
    --radius:      8px;
    --shadow:      0 6px 24px rgba(24, 86, 93, 0.08);
    --transition:  0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--teal);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h3 { font-size: 1.5rem; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--teal);
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-dark);
}

/* ---------------------------------------------------------
   TEMPORARY: hides the draft "------" dividers and <br>s.
   Delete this block once you remove them from index.php.
   --------------------------------------------------------- */
body > br,
main > br,
body > div:not([class]):not([id]),
main > div:not([class]):not([id]) {
    display: none;
}

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section,
.information {
    padding: 6rem 0;
    text-align: center;
}

/* Small uppercase label above headings */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

/* Decorative line under section headings */
.section h2::after,
.information h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, var(--teal), var(--sand-light));
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.button,
.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition),
                color var(--transition), transform var(--transition);
}

.button:hover,
.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover {
    color: var(--white);
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
}

.button:focus-visible,
.wpforms-container .wpforms-submit:focus-visible {
    outline: 3px solid var(--teal-mid);
    outline-offset: 3px;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(238, 224, 203, 0.16), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(42, 122, 130, 0.45), transparent 55%),
        linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-dark) 100%);
}

/* To use a photo instead, replace the background above with:
   background: linear-gradient(rgba(17,60,65,.55), rgba(24,86,93,.55)),
               url('images/hero.jpg') center / cover no-repeat;
*/

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

.hero .eyebrow {
    color: var(--sand);
}

.hero h1 {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1rem;
}

.wedding-date {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero .button {
    background: transparent;
    border-color: var(--white);
}

.hero .button:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--teal);
}

/* ---------------------------------------------------------
   RSVP + WPForms
   --------------------------------------------------------- */
.rsvp {
    background: var(--white);
}

.rsvp .wpforms-container {
    max-width: 560px;
    margin: 2.5rem auto 0 !important;
    padding: 2.5rem;
    text-align: left;
    background: var(--sand-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel {
    font-family: var(--font-body);
    font-weight: 500 !important;
    color: var(--teal) !important;
}

.wpforms-container .wpforms-field-label {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container select,
.wpforms-container textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    color: var(--text) !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 3px rgba(24, 86, 93, 0.15) !important;
    outline: none !important;
}

.wpforms-container input[type="radio"],
.wpforms-container input[type="checkbox"] {
    accent-color: var(--teal);
}

.wpforms-container .wpforms-submit-container {
    text-align: center;
    padding-top: 1rem !important;
}

.wpforms-container label.wpforms-error,
.wpforms-container em.wpforms-error {
    color: #b3413b !important;
    font-size: 0.85rem !important;
}

.wpforms-confirmation-container-full {
    background: var(--sand-light) !important;
    border: 1px solid var(--sand-light) !important;
    border-radius: var(--radius);
    color: var(--teal) !important;
    text-align: center;
}

/* ---------------------------------------------------------
   Wedding Details
   --------------------------------------------------------- */
.details {
    background: var(--sand-light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.detail-card {
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--sand-light);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

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

.detail-card h3 {
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal);
}

.detail-card p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--teal);
    margin: 0;
}

/* ---------------------------------------------------------
   Schedule / Timeline
   --------------------------------------------------------- */
.schedule {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 560px;
    margin: 3rem auto 0;
    padding-left: 2.5rem;
    text-align: left;
}

/* Vertical line */
.timeline::before {
    content: "";
    position: absolute;
    left: 0.6rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--teal), var(--sand-light));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Dot on the line */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -2.4rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--teal);
}

.timeline-item time {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
}

.timeline-item h3 {
    margin: 0.25rem 0;
}

.timeline-item p {
    color: var(--text-muted);
    margin: 0;
}

/* ---------------------------------------------------------
   Venue
   --------------------------------------------------------- */
.venue {
    background: var(--sand-light);
}

.venue h3 {
    font-size: 2rem;
    margin-top: 2rem;
}

.venue p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ---------------------------------------------------------
   Travel Information
   --------------------------------------------------------- */
.information {
    background: var(--white);
}

.information .container {
    max-width: 720px;
}

.information .eyebrow {
    margin-top: 2.5rem;
    color: var(--teal);
}

.information h2 + .eyebrow {
    margin-top: 3rem;
}

.information p:not(.eyebrow) {
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   Registry
   --------------------------------------------------------- */
.registry {
    background: var(--sand-light);
}

.registry p {
    max-width: 520px;
    margin: 1.5rem auto 2rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   Navigation (for when you re-enable the header)
   --------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--teal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
}

.nav-links a:hover {
    color: var(--teal);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--sand);
    background: var(--teal-dark);
}

.site-footer p {
    margin: 0.25rem 0;
}

.site-footer p:first-child {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
}

.site-footer p:last-child {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
}

/* ---------------------------------------------------------
   Under Construction Banner
   --------------------------------------------------------- */
/* .construction-banner {
    position: relative;
    z-index: 200;
    padding: 0.75rem 1.5rem;
    text-align: center;
    color: var(--white);
    background:
        repeating-linear-gradient(
            -45deg,
            var(--teal) 0 14px,
            #0d6418 14px 28px
        );
}

.construction-banner p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
} */

/* ---------------------------------------------------------
   Password Gate
   --------------------------------------------------------- */
.gate-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 20% 20%, rgba(238, 224, 203, 0.16), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(42, 122, 130, 0.45), transparent 55%),
        linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-dark) 100%);
}

.gate {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.gate-card {
    width: 100%;
    max-width: 440px;
    padding: 3rem 2.5rem;
    text-align: center;
    background: var(--sand-light);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(10, 38, 42, 0.35);
}

.gate-card h1 {
    font-size: clamp(2.5rem, 8vw, 3.25rem);
    margin-bottom: 0.25rem;
}

.gate-card .wedding-date {
    color: var(--teal);
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
}

.gate-instructions {
    color: var(--text-muted);
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gate-form input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.gate-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(24, 86, 93, 0.15);
    outline: none;
}

.gate-error {
    margin: 1rem 0 0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #b3413b;
    background: #fbeceb;
    border-radius: 6px;
}

/* Visually hidden but readable by screen readers */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------
   Venues (ceremony + reception)
   --------------------------------------------------------- */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8rem 2rem;           /* tall row gap leaves room for the art on phones */
    margin-top: 8rem;         /* room for the art popping out of the cards */
}

.venue-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.75rem 2.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--sand-light);
    box-shadow: var(--shadow);
}

/* Watercolor venue illustrations, tilted like stickers */
.venue-art {
    width: 90%;
    max-width: 360px;
    height: 220px;                    /* same height for both, so the text lines up */
    object-fit: contain;
    object-position: center bottom;
    margin: -6rem 0 1.25rem;
    transform: rotate(-4deg);
    filter: drop-shadow(0 10px 14px rgba(17, 60, 65, 0.18));
}

.venue-card:nth-child(2) .venue-art {
    transform: rotate(3deg);
}

.venue .venue-card .eyebrow {
    margin-bottom: 0.5rem;
    color: var(--teal);
}

.venue .venue-card h3 {
    font-size: 1.85rem;
    margin: 0 0 0.75rem;
}

.venue .venue-card p:not(.eyebrow) {
    margin-bottom: 1.75rem;
}

/* Keeps both buttons lined up at the bottom of the cards */
.venue-card .button {
    margin-top: auto;
}

/* ---------------------------------------------------------
   Travel FAQ
   --------------------------------------------------------- */
.travel {
    background: var(--white);
}

.faq {
    max-width: 720px;
    margin: 3rem auto 0;
    text-align: left;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 1.35rem 3rem 1.35rem 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--teal);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}

/* Hide the browser's default triangle */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--teal);
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--teal-mid);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Plus sign that turns into a minus when open */
.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 0.6rem;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--teal);
    transition: transform var(--transition), opacity var(--transition);
}

.faq-item summary::after {
    transform: rotate(90deg);
}

.faq-item[open] summary::after {
    opacity: 0;
}

.faq-answer {
    padding: 0 0 1.5rem;
    color: var(--text-muted);
}

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

/* Hotels, grouped by area */
.hotel-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 0.5rem 0 1.25rem;
}

.hotel-group {
    padding: 1.1rem 1.25rem;
    background: var(--sand-light);
    border-radius: var(--radius);
}

.hotel-group h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
}

.hotel-list,
.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hotel-list li,
.link-list li {
    padding: 0.3rem 0;
}

.hotel-list a,
.link-list a {
    font-weight: 400;
    text-decoration-color: rgba(24, 86, 93, 0.35);
    text-underline-offset: 3px;
}

.link-list span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .faq-item summary {
        font-size: 1.25rem;
    }
}

/* ---------------------------------------------------------
   Gifts
   --------------------------------------------------------- */
.gifts {
    background: var(--sand-light);
}

.gifts .container {
    max-width: 640px;
}

.gifts h2 {
    margin-bottom: 1.75rem;
}

.gifts p:not(.eyebrow) {
    color: var(--text-muted);
}

.gifts .button {
    margin-top: 1rem;
}

/* ---------------------------------------------------------
   "Don't forget to RSVP" band
   --------------------------------------------------------- */
.rsvp-reminder {
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(238, 224, 203, 0.16), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(42, 122, 130, 0.45), transparent 55%),
        linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-dark) 100%);
}

.rsvp-reminder h2 {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.rsvp-reminder p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Outline button on the dark background, like the hero */
.rsvp-reminder .button {
    background: transparent;
    border-color: var(--white);
}

.rsvp-reminder .button:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--teal);
}

@media (max-width: 640px) {
    .rsvp-reminder {
        padding: 4rem 0;
    }
}



/* ---------------------------------------------------------
   RSVP deadline
   --------------------------------------------------------- */
.rsvp-deadline {
    display: inline-block;
    margin: 0.25rem 0 0;
    padding: 0.45rem 1.25rem;
    font-size: 0.95rem;
    color: var(--teal);
    background: var(--sand-light);
    border-radius: 999px;
}

.rsvp-deadline strong {
    font-weight: 500;
}

.rsvp-reminder .rsvp-reminder-date {
    margin: 1.5rem 0 0;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
}



/* ---------------------------------------------------------
   Illustration stickers (palms in Travel FAQ, cherries in Gifts)
   --------------------------------------------------------- */
.sticker {
    height: auto;
    filter: drop-shadow(0 10px 14px rgba(17, 60, 65, 0.18));
}

.travel,
.gifts {
    position: relative;
    overflow: hidden;   /* keeps tilted art from causing sideways scrolling */
}

.travel-palms {
    position: absolute;
    left: 3%;
    top: 150px;
    width: clamp(150px, 16vw, 230px);
    transform: rotate(-7deg);
}

.gifts .container {
    position: relative;
}

.gifts-cherries {
    position: absolute;
    right: -190px;
    top: -50px;
    width: 170px;
    transform: rotate(11deg);
}

/* Narrower screens: move the stickers above the heading so they never cover text */
@media (max-width: 1100px) {
    .travel-palms,
    .gifts-cherries {
        position: static;
        display: block;
        margin: 0 auto 1.5rem;
    }

    .travel-palms {
        width: 170px;
    }

    .gifts-cherries {
        width: 120px;
    }
}



/* ---------------------------------------------------------
   Dress Code
   --------------------------------------------------------- */
.dress-code {
    background: var(--white);
}

.dress-code .container {
    max-width: 720px;
}

.dress-code-art {
    display: block;
    width: 190px;
    height: auto;
    margin: 0 auto 2rem;
}

.dress-code-guests {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin: 2.5rem 0 2.75rem;
}

.dress-code-guests .eyebrow {
    margin-bottom: 0.4rem;
}

.dress-code-text {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.3;
    color: var(--text);
}

.dress-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dress-swatch {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(24, 86, 93, 0.12);
}

/* Dress Code and Schedule are both white, so separate them with a fine line */
.schedule {
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    .dress-code-art {
        width: 150px;
    }

    .dress-swatches {
        gap: 0.75rem;
    }

    /* Shrinks slightly on the smallest phones so all five stay on one row */
    .dress-swatch {
        width: clamp(40px, calc((100vw - 6rem) / 5), 54px);
        height: clamp(40px, calc((100vw - 6rem) / 5), 54px);
    }
}



/* ---------------------------------------------------------
   Hero (editorial: big names, wide photo, details row)
   --------------------------------------------------------- */
.hero-editorial {
    padding: 4rem 1.5rem 4.5rem;
    background: var(--sand-light);
    border-bottom: 1px solid var(--border);
}

.hero-editorial-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.hero-editorial .eyebrow {
    margin: 0 0 0.25rem;
    text-align: center;
    letter-spacing: 0.3em;
}

.hero-editorial h1 {
    margin: 0 0 1.75rem;
    text-align: center;
    font-weight: 300;
    font-size: clamp(3.25rem, 11.5vw, 9.75rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--teal);
}

.hero-editorial-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.1 / 1;
    object-fit: cover;
}

.hero-editorial-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 2rem;
    margin-top: 1.1rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
}

.hero-editorial-details a {
    font-weight: 500;
    color: var(--teal);
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

/* ---------------------------------------------------------
   Our Story So Far
   --------------------------------------------------------- */
.story {
    padding-bottom: 6.5rem;
    text-align: left;
    background: var(--sand-light);
}

.story-header {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 3rem;
}

.story-header > div {
    flex: 1 1 420px;
}

.story-header h2 {
    margin: 0;
}

/* Section headings are centered elsewhere; this one sits left */
.story h2::after {
    margin-left: 0;
}

.story-header > p {
    flex: 1 1 360px;
    margin: 0;
    color: var(--text-muted);
}

.story-strip {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding: 0 1.5rem 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--teal-mid) transparent;
}

.story-strip:focus-visible {
    outline: 3px solid var(--teal-mid);
    outline-offset: 4px;
}

.story-strip img {
    flex: 0 0 auto;
    width: auto;
    height: 380px;
    border-radius: 6px;
    scroll-snap-align: start;
}

/* ---------------------------------------------------------
   Next stop band
   --------------------------------------------------------- */
.next-stop {
    display: flex;
    flex-wrap: wrap;
}

.next-stop img {
    flex: 2 1 560px;
    min-width: 0;
    height: 520px;
    object-fit: cover;
    object-position: center 45%;
}

.next-stop-text {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 3rem;
    color: var(--white);
    background: var(--teal);
}

.next-stop-text .eyebrow {
    color: var(--sand);
}

.next-stop-place {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.15;
}

@media (max-width: 640px) {
    .hero-editorial {
        padding: 2.5rem 1rem 3rem;
    }

    /* Taller crop on phones, keeping the two of you in frame */
    .hero-editorial-photo {
        aspect-ratio: 4 / 3;
        object-position: 30% center;
    }

    .hero-editorial-details {
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
    }

    .story-strip img {
        height: 300px;
    }

    .next-stop img {
        height: 340px;
    }

    .next-stop-text {
        padding: 2.5rem 1.5rem;
    }

    .next-stop-place {
        font-size: 2rem;
    }
}



/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 640px) {
    body {
        font-size: 1rem;
    }

    .section,
    .information {
        padding: 4rem 0;
    }

    .rsvp .wpforms-container {
        padding: 1.5rem;
    }

    .navbar {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        gap: 1rem;
    }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}


