:root {
    --bg: #f4ead7;
    --paper: #f7eedc;
    --paper-soft: #fbf4e7;
    --bronze: #a8854b;
    --bronze-deep: #8f703d;
    --olive-brown: #9b7a41;
    --ink: #4d3926;
    --muted: #7d6448;
    --line: rgba(110, 83, 48, 0.24);
    --shadow: 0 24px 60px rgba(83, 58, 29, 0.08);
}

@font-face {
    font-family: "Petit Formal Script Local";
    src: url("/static/fonts/PetitFormalScript-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    color: var(--ink);
    background:
        radial-gradient(circle at top center, rgba(255, 248, 235, 0.78), transparent 22%),
        linear-gradient(180deg, #f8f2e5 0%, #f2e6d3 100%);
}

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

button,
input,
textarea {
    font: inherit;
}

a {
    color: var(--bronze-deep);
}

.page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.panel {
    width: 100%;
    position: relative;
}

.reveal {
    opacity: 1;
    will-change: transform, opacity;
    transition:
        opacity 2.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 2.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    transform: none;
}

body.reveal-ready .reveal:not(.is-visible) {
    opacity: 0;
}

body.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

body.reveal-ready .reveal-fade {
    transform: translate3d(0, 0, 0);
}

body.reveal-ready .reveal-fade-up {
    transform: translate3d(0, 48px, 0);
}

body.reveal-ready .reveal-slide-left {
    transform: translate3d(-56px, 0, 0);
}

body.reveal-ready .reveal-slide-right {
    transform: translate3d(56px, 0, 0);
}

body.reveal-ready .reveal-scale {
    transform: scale(0.92);
}

/* Keep full section backgrounds fixed in place so reveal animations
   don't open visual gaps between adjacent panels. */
body.reveal-ready .panel.reveal:not(.is-visible) {
    opacity: 1;
}

body.reveal-ready .panel.reveal-fade,
body.reveal-ready .panel.reveal-fade-up,
body.reveal-ready .panel.reveal-slide-left,
body.reveal-ready .panel.reveal-slide-right,
body.reveal-ready .panel.reveal-scale {
    transform: none;
}

.content-shell {
    padding: 58px 24px;
}

.two-column,
.single-column {
    width: min(860px, 100%);
    margin: 0 auto;
}

.compact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    gap: 22px;
    align-items: start;
}

.narrow-column {
    max-width: 760px;
}

.centered-column {
    text-align: center;
}

.copy-block h2,
.single-column h2,
.form-heading h2,
.countdown-panel h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
    line-height: 1.02;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    max-width: 100%;
}

.copy-block p,
.single-column > p,
.countdown-copy {
    font-size: 1.58rem;
    line-height: 1.46;
    font-weight: 600;
}

.section-kicker {
    margin: 0 0 16px;
    font-size: 1.14rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze);
    font-weight: 700;
}

.full-bleed {
    min-height: 88vh;
}

.hero-panel {
    background: #1f1814;
}

.hero-image-wrap {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.44) saturate(0.85);
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 15, 12, 0.3), rgba(21, 15, 12, 0.52));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px;
    text-align: center;
    color: #f5ead8;
}

.hero-overline,
.hero-overlay h1,
.hero-date {
    margin: 0;
}

.hero-overline {
    font-family: "Petit Formal Script Local", cursive;
    font-size: clamp(5.4rem, 11vw, 9rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}

.hero-overlay h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.8rem, 6.6vw, 5.8rem);
    line-height: 1;
    color: #efe0c3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.hero-date {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.7rem, 4vw, 4rem);
    letter-spacing: 0.03em;
    font-weight: 600;
}

.invitation-section {
    background: var(--olive-brown);
    color: #f8eed9;
}

.invitation-section .section-kicker,
.invitation-section h2,
.invitation-section p {
    color: inherit;
}

.calendar-block,
.media-block {
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calendar-block {
    width: min(100%, 360px);
    max-width: 360px;
    height: 100%;
    justify-self: start;
}

.calendar-block img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: auto;
}

.invitation-section .compact-grid {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.invitation-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-divider-section {
    padding: 44px 24px;
    background: #5d4a34;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.calendar-divider-frame {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.calendar-divider-frame img {
    display: block;
    width: min(550px, 52vw);
    max-width: 550px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.script-line {
    margin-top: 26px;
    font-family: "Luxurious Script", cursive;
    font-size: 2.4rem;
    color: #f7e8cb;
}

.info-section {
    background: var(--paper-soft);
    color: var(--bronze-deep);
}

.info-section .copy-block h2,
.program-section h2,
.wishes-section h2,
.form-panel h2,
.countdown-panel h2 {
    color: var(--bronze-deep);
}

.right-photo,
.left-photo {
    width: min(100%, 240px);
    max-width: 240px;
}

.right-photo {
    justify-self: end;
    margin-right: -20px;
}

.left-photo {
    justify-self: start;
}

.right-photo img,
.left-photo img {
    aspect-ratio: 0.88;
}

.ceremony-section .compact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 28px;
    align-items: stretch;
}

.ceremony-section .copy-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 12px;
}

.ceremony-section .copy-block h2 {
    max-width: 100%;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.ceremony-section .right-photo {
    width: min(100%, 320px);
    max-width: 320px;
    height: 100%;
    margin-right: 0;
}

.ceremony-section .right-photo img {
    height: 100%;
    min-height: 420px;
    aspect-ratio: auto;
}

.ceremony-section .details-list {
    margin-top: 18px;
}

.location-section .compact-grid {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.location-section .copy-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-section .details-list li {
    font-size: 1.42rem;
}

.location-section .left-photo {
    width: min(100%, 360px);
    max-width: 360px;
    height: 100%;
}

.location-section .left-photo img {
    height: 100%;
    min-height: 420px;
    aspect-ratio: auto;
}

.location-section .details-list {
    margin-top: 18px;
}

.details-list,
.timeline-list,
.wish-list {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.details-list li,
.timeline-list li,
.wish-list li:not(.wish-separator) {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.5rem;
    font-weight: 600;
}

.details-list li:last-child,
.timeline-list li:last-child,
.wish-list li:not(.wish-separator):last-child {
    border-bottom: 0;
}

.wish-list li:not(.wish-separator) {
    border-bottom: 0;
    padding-bottom: 8px;
}

.wish-separator {
    position: relative;
    list-style: none;
    height: 68px;
    margin: -2px 0 6px;
    padding: 0;
}

.wish-separator::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 4px;
    width: 320px;
    height: 54px;
    transform: translateX(-50%);
    background: url("/static/images/separator.png") center center / contain no-repeat;
}

.details-list span,
.timeline-list span {
    display: block;
    margin-bottom: 4px;
    font-size: 1.16rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.details-list strong,
.timeline-list strong {
    font-weight: 700;
    color: var(--ink);
}

.timeline-list li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    border-bottom: 0;
    padding: 18px 0;
}

.timeline-list {
    position: relative;
    padding-left: 0;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 130px;
    width: 1px;
    background: var(--line);
}

.timeline-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: center;
}

.timeline-list .timeline-time {
    margin-bottom: 0;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    color: var(--bronze-deep);
    font-weight: 700;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.timeline-copy {
    display: flex;
    align-items: center;
    font-size: 1.84rem;
    font-weight: 600;
    line-height: 1.35;
    padding-left: 16px;
}

.program-section {
    background: linear-gradient(180deg, #f7efdf, #f3e6d1);
}

.wishes-section {
    background: #efe2ca;
}

.form-panel {
    background: #f8efde;
}

.form-heading {
    width: min(760px, 100%);
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: start;
}

.success-banner {
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: rgba(168, 133, 75, 0.1);
    font-size: 1.32rem;
    font-weight: 600;
}

.guest-form {
    width: min(760px, 100%);
    margin: 0 auto;
}

.guest-list {
    display: grid;
    gap: 16px;
}

.guest-row {
    padding: 24px;
    background: rgba(255, 251, 243, 0.82);
    border: 1px solid rgba(166, 136, 75, 0.18);
}

.guest-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.line-field,
.stacked-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line-field span,
.stacked-field span,
.inline-label {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.line-field input,
.stacked-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(166, 136, 75, 0.28);
    background: rgba(255, 254, 249, 0.96);
    color: var(--ink);
    outline: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.stacked-field {
    margin-top: 18px;
}

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

.guest-note-field {
    margin-top: 14px;
}

.guest-note-field textarea {
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.inline-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}

.selection-summary {
    margin: 8px 0 0;
    font-size: 1.3rem;
    color: var(--muted);
    font-weight: 600;
}

.guest-buttons {
    display: flex;
    gap: 16px;
    margin-top: 22px;
}

.guest-buttons > button {
    flex: 1 1 0;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}

.primary-button,
.secondary-button,
.danger-button,
.select-trigger,
.modal-close {
    border: 1px solid rgba(166, 136, 75, 0.36);
    background: rgba(255, 251, 243, 0.95);
    color: var(--bronze-deep);
    cursor: pointer;
}

.primary-button,
.secondary-button,
.danger-button,
.select-trigger {
    min-height: 52px;
    padding: 11px 18px;
    font-size: 1.24rem;
    font-weight: 700;
}

.primary-button {
    background: var(--bronze-deep);
    color: #fff6ea;
}

.secondary-button {
    background: #7b4b3b;
    color: #fff3ea;
    border-color: rgba(123, 75, 59, 0.5);
}

.danger-button {
    background: rgba(255, 251, 243, 0.95);
    color: var(--bronze-deep);
    border-color: rgba(166, 136, 75, 0.36);
}

.submit-button {
    width: min(320px, 100%);
}

.countdown-panel {
    background: #eadac0;
}

.countdown-copy {
    margin-top: 16px;
    font-size: 2.2rem;
    color: var(--ink);
    font-weight: 700;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 30;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 31, 20, 0.36);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: 86vh;
    overflow: auto;
    padding: 28px;
    background: #fbf5ea;
    box-shadow: var(--shadow);
}

.small-dialog {
    width: min(440px, 100%);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.modal h3 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--bronze-deep);
}

.modal-close {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
}

.drink-options,
.radio-options {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.drink-options {
    grid-template-columns: 1fr 1fr;
}

.drink-option,
.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(166, 136, 75, 0.18);
    background: rgba(255,255,255,0.6);
    font-size: 1.24rem;
}

.custom-option {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr minmax(160px, 220px);
}

#custom-drink-input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(166, 136, 75, 0.28);
    background: #fffdfa;
}

.modal-actions {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 24px;
}

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

    .invitation-section .compact-grid,
    .ceremony-section .compact-grid,
    .location-section .compact-grid {
        grid-template-columns: 1fr;
    }

    .location-section .copy-block {
        order: 1;
    }

    .location-section .left-photo {
        order: 2;
    }

    .calendar-block,
    .right-photo,
    .left-photo {
        justify-self: center;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .ceremony-section .right-photo {
        justify-self: center;
        width: min(100%, 320px);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .invitation-grid .calendar-block {
        order: 2;
        margin-top: 4px;
    }
}

@media (max-width: 760px) {
    .content-shell {
        padding: 34px 20px;
    }

    .hero-image-wrap {
        min-height: 76vh;
    }

    .hero-overline {
        font-size: clamp(3.6rem, 14vw, 5.4rem);
    }

    .hero-overlay h1 {
        font-size: clamp(2.7rem, 10vw, 3.8rem);
    }

    .invitation-section {
        background: var(--paper-soft);
        padding-top: 0;
        padding-bottom: 18px;
        color: var(--bronze-deep);
    }

    .invitation-section .compact-grid {
        gap: 14px;
    }

    .invitation-section h2,
    .invitation-section p {
        color: var(--bronze-deep);
    }

    .invitation-section .script-line {
        color: var(--bronze-deep);
    }

    .invitation-copy {
        padding-top: 22px;
    }

    .invitation-grid .calendar-block {
        margin-top: 0;
        margin-bottom: 0;
    }

    .calendar-divider-section {
        padding: 28px 20px;
    }

    .calendar-divider-frame img {
        width: min(340px, 82vw);
        max-width: 340px;
    }

    .guest-top-row,
    .inline-row,
    .form-heading,
    .drink-options {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .timeline-list li {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 16px;
    }

    .timeline-list::before {
        left: 101px;
    }

    .timeline-list .timeline-time {
        font-size: 1.8rem;
    }

    .timeline-icon {
        width: 30px;
        height: 30px;
    }

    .timeline-copy {
        font-size: 1.56rem;
        padding-left: 12px;
    }

    .guest-buttons {
        gap: 12px;
    }

    .form-actions {
        flex-direction: column;
    }

    .custom-option {
        grid-template-columns: auto 1fr;
    }

    #custom-drink-input {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-fade,
    .reveal-fade-up,
    .reveal-slide-left,
    .reveal-slide-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.copy-block,
.single-column,
.guest-form,
.form-heading {
    overflow-wrap: normal;
    word-break: normal;
}

.submissions-body {
    background:
        radial-gradient(circle at top center, rgba(255, 248, 235, 0.74), transparent 22%),
        linear-gradient(180deg, #f7efe1 0%, #efe0c9 100%);
}

.photo-body {
    background:
        radial-gradient(circle at top center, rgba(255, 248, 235, 0.78), transparent 18%),
        linear-gradient(180deg, #f8f1e4 0%, #efe0c7 56%, #e7d0ae 100%);
}

.photo-page {
    padding: 24px 0 48px;
}

.photo-hero {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    border: 1px solid rgba(143, 112, 61, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 249, 238, 0.96), rgba(242, 228, 202, 0.88));
    box-shadow: var(--shadow);
}

.photo-hero-inner {
    padding: 54px 48px 46px;
    text-align: center;
}

.photo-hero h1 {
    margin: 8px 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.1rem, 6vw, 5rem);
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--bronze-deep);
}

.photo-hero-copy {
    margin: 14px auto 0;
    width: min(560px, 100%);
    font-size: 1.42rem;
    line-height: 1.45;
    color: var(--ink);
}

.photo-upload-section {
    width: min(860px, calc(100% - 40px));
    margin: 20px auto 0;
    padding: 0;
    background: transparent;
}

.photo-upload-column {
    width: 100%;
}

.photo-upload-card {
    padding: 34px;
    border: 1px solid rgba(143, 112, 61, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(248, 240, 228, 0.88));
    box-shadow: var(--shadow);
}

.photo-upload-card-header {
    text-align: center;
}

.photo-upload-card-header .section-kicker {
    margin-bottom: 10px;
}

.photo-upload-form {
    margin-top: 14px;
}

.photo-dropzone {
    display: grid;
    gap: 12px;
    justify-items: center;
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 52px 32px;
    border: 3px dashed rgba(143, 112, 61, 0.5);
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(255, 250, 241, 0.96), transparent 60%),
        linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(244, 233, 213, 0.9));
    text-align: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.photo-dropzone.is-dragover {
    border-color: rgba(143, 112, 61, 0.86);
    background:
        linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(239, 222, 191, 0.95));
    transform: translateY(-2px);
}

.photo-dropzone-eyebrow {
    font-size: 1.04rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.photo-dropzone-title {
    width: min(320px, 100%);
    font-size: 2.55rem;
    color: var(--bronze-deep);
    font-weight: 700;
    line-height: 1.05;
}

.photo-dropzone-copy {
    width: min(320px, 100%);
    font-size: 1.24rem;
    line-height: 1.4;
    color: var(--ink);
}

.photo-ready-note {
    width: min(360px, 100%);
    font-size: 1.06rem;
    line-height: 1.42;
    color: var(--muted);
}

.photo-ready-note.is-ready {
    color: var(--bronze-deep);
    font-weight: 700;
}

.photo-choose-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border: 1px solid rgba(143, 112, 61, 0.24);
    background: linear-gradient(180deg, rgba(150, 118, 62, 0.96), rgba(122, 90, 42, 0.96));
    color: #fff7ec;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(122, 90, 42, 0.18);
}

.photo-dropzone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.photo-success-banner {
    margin: 0 0 18px;
}

.photo-actions {
    margin-top: 24px;
}

.photo-actions .submit-button {
    width: min(360px, 100%);
    max-width: 360px;
}

.submissions-page {
    padding-bottom: 48px;
}

.submissions-hero {
    width: min(1040px, calc(100% - 40px));
    margin: 28px auto 0;
    border: 1px solid rgba(143, 112, 61, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 248, 235, 0.94), rgba(241, 226, 198, 0.88));
    box-shadow: var(--shadow);
}

.submissions-hero-inner {
    padding: 56px 48px;
    text-align: center;
}

.submissions-hero h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--bronze-deep);
}

.submissions-hero-copy {
    width: min(640px, 100%);
    margin: 18px auto 0;
    font-size: 1.5rem;
    line-height: 1.45;
    color: var(--ink);
}

.submissions-stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.submissions-stat {
    min-width: 160px;
    padding: 16px 20px;
    border: 1px solid rgba(143, 112, 61, 0.22);
    background: rgba(255, 252, 246, 0.72);
}

.submissions-stat span {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.submissions-stat strong {
    font-size: 2rem;
    color: var(--bronze-deep);
}

.submissions-section {
    width: min(1040px, calc(100% - 40px));
    margin: 18px auto 0;
    padding: 0;
    background: transparent;
}

.submissions-column {
    width: 100%;
}

.submission-list {
    display: grid;
    gap: 18px;
}

.submission-summary-card {
    margin-bottom: 18px;
}

.submission-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.submission-summary-item,
.submission-other-drinks {
    padding: 16px 18px;
    border: 1px solid rgba(143, 112, 61, 0.14);
    background: rgba(250, 245, 236, 0.9);
}

.submission-summary-item span,
.submission-other-drinks span {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.submission-summary-item strong {
    font-size: 2rem;
    color: var(--bronze-deep);
}

.submission-other-drinks {
    margin-top: 12px;
}

.submission-other-drinks p,
.submission-summary-empty {
    margin: 0;
    font-size: 1.26rem;
    line-height: 1.45;
    color: var(--ink);
}

.submission-card {
    padding: 30px;
    border: 1px solid rgba(143, 112, 61, 0.18);
    background: rgba(255, 251, 244, 0.88);
    box-shadow: var(--shadow);
}

.submission-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(143, 112, 61, 0.16);
}

.submission-card-header h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    color: var(--bronze-deep);
}

.submission-card-header span {
    font-size: 1.1rem;
    color: var(--muted);
}

.submission-guests {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.submission-guest {
    padding: 20px;
    border: 1px solid rgba(143, 112, 61, 0.14);
    background: rgba(250, 245, 236, 0.9);
}

.submission-guest-title h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--ink);
}

.submission-guest-title p {
    margin: 6px 0 0;
    font-size: 1.2rem;
    color: var(--muted);
}

.submission-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.submission-meta-block {
    padding: 14px 16px;
    background: rgba(255, 252, 247, 0.86);
}

.submission-meta-block span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.submission-meta-block p {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.45;
    color: var(--ink);
}

.submission-empty {
    padding: 36px;
    text-align: center;
    border: 1px solid rgba(143, 112, 61, 0.18);
    background: rgba(255, 251, 244, 0.9);
    font-size: 1.5rem;
    color: var(--bronze-deep);
    box-shadow: var(--shadow);
}

@media (max-width: 760px) {
    .photo-hero,
    .photo-upload-section,
    .submissions-hero,
    .submissions-section {
        width: calc(100% - 18px);
    }

    .photo-hero-inner,
    .photo-upload-card,
    .submissions-hero-inner,
    .submission-card {
        padding: 22px 18px;
    }

    .photo-dropzone {
        padding: 36px 18px;
        width: 100%;
    }

    .photo-dropzone-title {
        font-size: 2.05rem;
    }

    .photo-hero-inner {
        padding: 30px 20px 28px;
    }

    .photo-hero-copy {
        width: min(320px, 100%);
        font-size: 1.2rem;
    }

    .photo-actions .submit-button {
        width: 100%;
        max-width: none;
    }

    .submissions-stats,
    .submission-meta,
    .submission-card-header {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .submissions-stat {
        min-width: 0;
    }
}
