:root {
    --ink: #32191d;
    --navy: #100f20;
    --gold: #b48750;
    --champagne: #e7cba3;
    --fuchsia: #9a064b;
    --cream: #faf3e9;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #eae0dc;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
}
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
button,
a {
    font: inherit;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
.stage {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 16px;
}
.card-shell {
    position: relative;
    width: min(100%, 1500px);
    min-height: min(900px, calc(100svh - 32px));
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 18px 55px #311d262b;
    display: grid;
    grid-template-rows: minmax(185px, 28%) 1fr minmax(100px, 13%);
}
.marble {
    background-color: #f7eee0;
    background-image: radial-gradient(ellipse at 24% 76%, #e1b38f40 0%, transparent 40%),
        linear-gradient(
            113deg,
            transparent 8%,
            #b57e3c70 8.3%,
            transparent 8.8%,
            transparent 40%,
            #8b134656 40.4%,
            transparent 40.9%,
            transparent 80%,
            #a7783850 80.4%,
            transparent 81%
        ),
        linear-gradient(165deg, #fffcf6, #e8d9c8 58%, #fff5e7);
}
.masthead {
    position: relative;
    z-index: 1;
    padding: clamp(20px, 3vw, 42px) clamp(24px, 5vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
}
.masthead:before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(117deg, transparent 0 75px, #b77a3e29 76px 77px, transparent 80px 155px);
    pointer-events: none;
}
.brand {
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 0.84;
    color: #573821;
    text-shadow: 0 1px 0 #fff8;
}
.brand-small {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(15px, 2.2vw, 30px);
    letter-spacing: 0.2em;
}
.brand-large {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(44px, 7vw, 108px);
    font-weight: 600;
    letter-spacing: -0.055em;
}
.brand-house {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(32px, 5vw, 72px);
    letter-spacing: 0.07em;
}
.brand-tagline {
    margin-top: 14px;
    letter-spacing: 0.32em;
    font-size: clamp(8px, 0.95vw, 13px);
    font-weight: 600;
    white-space: nowrap;
}
.masthead-right {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 22px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.29em;
    white-space: nowrap;
}
.masthead-right i {
    height: 1px;
    width: 90px;
    background: var(--gold);
}
.fabric {
    position: absolute;
    left: 52%;
    top: -110px;
    width: 25%;
    height: 280px;
    transform: rotate(-23deg);
    background: repeating-linear-gradient(85deg, #090b19, #14213d 18%, #050917 25%, #20345b 35%, #080d20 44%);
    border-radius: 0 0 70% 50%;
    filter: drop-shadow(8px 12px 8px #15122355);
    opacity: 0.95;
}
.content-area {
    position: relative;
    display: grid;
    grid-template-columns: 57% 43%;
    min-height: 0;
    background: #19131a;
}
.story {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    background: #20131c;
}
.story-photo {
    position: absolute;
    inset: 0;
    background: url("assets/bg.webp") center 47% / cover no-repeat;
    transform: scale(1.08);
}
.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #110e16d9 0%, #17111d91 27%, transparent 75%),
        linear-gradient(0deg, #140e1690, transparent 45%);
}
.story-copy {
    position: absolute;
    left: clamp(24px, 6%, 90px);
    top: 23%;
    color: #ffefdf;
    text-shadow: 0 2px 15px #0009;
}
.eyebrow,
.gold-track,
.story-note {
    letter-spacing: 0.24em;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(14px, 1.5vw, 22px);
}
.story-copy h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(57px, 6.5vw, 102px);
    line-height: 0.84;
    letter-spacing: -0.045em;
    margin: 15px 0 25px;
}
.story-copy h1 em {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.15em;
}
.gold-track {
    color: #e4bd80;
    white-space: nowrap;
}
.story-note {
    font-size: clamp(12px, 1.1vw, 16px);
    line-height: 1.6;
    color: #ddb57c;
}
.contact-panel {
    position: relative;
    z-index: 2;
    align-self: center;
    margin: -38px clamp(18px, 4vw, 62px) -5px -22px;
    padding: clamp(24px, 2.6vw, 48px);
    background: linear-gradient(137deg, #fffaf1, #f4e8db 65%, #fffaf2);
    border: 1px solid #9b7247;
    outline: 5px solid #f7efdf;
    box-shadow: 0 12px 28px #0005;
    min-width: 0;
    text-align: center;
}
.contact-panel:before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #ad87504f;
    pointer-events: none;
}
.panel-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.panel-decoration img {
    display: block;
    width: 18px;
    height: auto;
    object-fit: contain;
}
.contact-panel h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: clamp(26px, 2.8vw, 44px);
    letter-spacing: 0.11em;
    margin: 10px 0 4px;
}
.flourish {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.flourish img {
    display: block;
    width: 14px;
    height: auto;
    object-fit: contain;
}
.flourish:before,
.flourish:after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    width: 56px;
    background: #bba27e;
}
.flourish:before {
    right: calc(50% + 15px);
}
.flourish:after {
    left: calc(50% + 15px);
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.action-tile {
    background: #fff9ee7a;
    border: 1px solid #b08b56;
    min-height: clamp(64px, 8vh, 93px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #3b2422;
    transition:
        background 0.2s,
        transform 0.2s;
    cursor: pointer;
}
.action-tile:hover,
.action-tile:focus-visible {
    background: #f1d9bf;
    transform: translateY(-2px);
}
svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.action-tile svg {
    color: #91662c;
    width: 26px;
    height: 26px;
}
.action-tile span {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 19px;
}
.primary-button,
.secondary-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    margin-top: 13px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(19px, 1.9vw, 26px);
    font-weight: 600;
}
.primary-button {
    color: white;
    background: linear-gradient(110deg, #83093e, #c10e63 55%, #910741);
    border: 1px solid #7a143b;
    box-shadow: 0 3px 6px #550d2b44;
}
.secondary-button {
    color: #442b2a;
    background: transparent;
    border: 1.5px solid #4d2e2c;
}
.primary-button:hover {
    filter: brightness(1.1);
}
.secondary-button:hover {
    background: #ead8c8;
}
.right-icon {
    position: absolute;
    right: 16px;
}
.panel-hint {
    font-size: 10px;
    letter-spacing: 0.02em;
    color: #735f57;
    margin: 11px 0 0;
}
.optional-person {
    margin: 0;
    font-size: 13px;
    color: #75584e;
}
.footer {
    position: relative;
    z-index: 1;
    background: #100e1c;
    background-image: linear-gradient(
            125deg,
            transparent 10%,
            #c2965630 10.3%,
            transparent 10.5%,
            transparent 65%,
            #8c124e48 65.4%,
            transparent 65.8%
        ),
        radial-gradient(ellipse at 95% 70%, #5b123454, transparent 65%);
    border-top: 2px solid #9f713f;
    color: #e8c69d;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 4%;
    gap: 20px;
}
.social-bar {
    display: flex;
    align-items: center;
    gap: 30px;
}
.footer-label,
.footer-slogan > span {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: 0.24em;
    font-size: clamp(12px, 1.25vw, 18px);
    white-space: nowrap;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-links a {
    border: 1px solid #cda86a;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.social-links a:hover {
    background: #6e3158;
}
.social-links svg {
    width: 19px;
    height: 19px;
}
.footer-slogan {
    border-left: 1px solid #a88966;
    padding-left: clamp(25px, 4vw, 65px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-slogan em {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-size: clamp(33px, 4vw, 58px);
    line-height: 1.12;
    color: #ecc38a;
}
.exchange-dialog {
    border: 1px solid #bc8c58;
    padding: 0;
    max-width: min(490px, calc(100% - 30px));
    width: 100%;
    background: #fff7ed;
    color: #32191d;
    box-shadow: 0 20px 60px #0008;
}
.exchange-dialog::backdrop {
    background: #0c0b1bbd;
    backdrop-filter: blur(5px);
}
.dialog-inner {
    position: relative;
    padding: 38px 30px;
}
.dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: 0;
    color: #3c2927;
}
.dialog-kicker {
    letter-spacing: 0.25em;
    color: #9a7049;
    font-size: 11px;
}
.exchange-dialog h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    margin: 8px 0;
}
.exchange-dialog p {
    line-height: 1.6;
}
.form-unconfigured {
    padding: 15px;
    background: #f3e7d9;
    border: 1px dashed #bca07c;
    font-size: 13px;
}
.exchange-dialog iframe {
    width: 100%;
    height: 490px;
    border: 0;
}
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    z-index: 20;
    background: #24171f;
    color: white;
    padding: 12px 20px;
    box-shadow: 0 7px 25px #0004;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
a[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #d91273;
    outline-offset: 3px;
}
@media (max-width: 1100px) {
    .card-shell {
        min-height: 760px;
    }
    .masthead {
        padding-inline: 30px;
    }
    .brand-large {
        font-size: 6vw;
    }
    .contact-panel {
        margin-right: 22px;
        padding: 25px;
    }
    .story-copy h1 {
        font-size: 72px;
    }
    .social-bar {
        gap: 15px;
    }
}
@media (max-width: 760px) {
    .stage {
        padding: 0;
        display: block;
    }
    .card-shell {
        width: 100%;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }
    .masthead {
        min-height: 175px;
        align-items: center;
        justify-content: center;
        padding: 24px 16px 32px;
    }
    .brand-large {
        font-size: clamp(45px, 12vw, 82px);
    }
    .brand-small {
        font-size: 18px;
    }
    .brand-house {
        font-size: 43px;
    }
    .brand-tagline {
        font-size: 8px;
        letter-spacing: 0.2em;
    }
    .masthead-right {
        position: absolute;
        right: 13px;
        top: 8px;
        padding: 0;
        font-size: 7px;
    }
    .masthead-right i,
    .masthead-right span:last-child {
        display: none;
    }
    .fabric {
        left: 78%;
        width: 35%;
        opacity: 0.7;
    }
    .content-area {
        display: flex;
        flex-direction: column;
    }
    .story {
        min-height: 300px;
    }
    .story-photo {
        background-position: center 51%;
    }
    .story-copy {
        top: 17%;
        left: 25px;
    }
    .story-copy h1 {
        font-size: 62px;
        margin: 8px 0 12px;
    }
    .eyebrow {
        font-size: 15px;
    }
    .gold-track {
        font-size: 16px;
        margin: 8px 0;
    }
    .story-note {
        font-size: 12px;
    }
    .contact-panel {
        margin: -28px 16px 25px;
        outline-width: 4px;
        padding: 24px 22px;
    }
    .contact-panel h2 {
        font-size: 34px;
    }
    .action-tile {
        min-height: 74px;
    }
    .footer {
        flex-direction: column;
        gap: 17px;
        padding: 27px 16px;
    }
    .social-bar {
        flex-direction: column;
        gap: 16px;
    }
    .footer-slogan {
        border: 0;
        border-top: 1px solid #ad8154;
        padding: 15px 0 0;
    }
    .footer-slogan em {
        font-size: 40px;
    }
}
@media (max-width: 370px) {
    .brand-large {
        font-size: 42px;
    }
    .brand-house {
        font-size: 37px;
    }
    .brand-tagline {
        font-size: 7px;
    }
    .contact-panel {
        margin-inline: 12px;
        padding: 22px 15px;
    }
    .story-copy h1 {
        font-size: 55px;
    }
    .footer-label {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Version 2: No separate masthead. Brand identity lives within the photo. */
.card-shell {
    grid-template-rows: minmax(0, 1fr) minmax(100px, 13%);
}
.story-identity {
    left: clamp(26px, 5vw, 80px);
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    max-width: min(78%, 540px);
    z-index: 2;
}
.brand-on-photo {
    color: #fff3e1;
    text-shadow:
        0 2px 13px #130c14,
        0 4px 32px #08070dbf;
    align-items: flex-start;
    gap: 3px;
}
.brand-on-photo .brand-small {
    font-size: clamp(21px, 2.6vw, 37px);
    letter-spacing: 0.27em;
    padding-left: 0.12em;
}
.brand-on-photo .brand-large {
    font-size: clamp(50px, 6.6vw, 100px);
    line-height: 0.88;
}
.brand-on-photo .brand-house {
    font-size: clamp(47px, 5.3vw, 77px);
    line-height: 0.9;
    letter-spacing: 0.12em;
}
.brand-on-photo .brand-tagline {
    font-size: clamp(9px, 1vw, 14px);
    margin-top: 19px;
    color: #edd19b;
    letter-spacing: 0.23em;
}
.brand-on-photo img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}
.story-overlay {
    background: linear-gradient(90deg, #110b18ed 0%, #17111dc7 38%, #17111d3b 85%),
        linear-gradient(0deg, #140e1690, transparent 45%);
}
@media (max-width: 760px) {
    .story {
        min-height: 330px;
    }
    .story-identity {
        left: 28px;
        right: 20px;
        top: 45%;
        max-width: calc(100% - 48px);
    }
    .brand-on-photo .brand-small {
        font-size: clamp(17px, 5vw, 26px);
    }
    .brand-on-photo .brand-large {
        font-size: clamp(46px, 12vw, 76px);
    }
    .brand-on-photo .brand-house {
        font-size: clamp(40px, 10vw, 66px);
    }
    .brand-on-photo .brand-tagline {
        font-size: clamp(8px, 2vw, 11px);
        letter-spacing: 0.14em;
        white-space: normal;
    }
}
@media (max-width: 370px) {
    .brand-on-photo .brand-large {
        font-size: 43px;
    }
    .brand-on-photo .brand-house {
        font-size: 38px;
    }
}

/* Version 3: Full-bleed page. Remove the beige exterior frame and card shadow. */
html,
body {
    min-height: 100%;
}
body {
    background: #100e1c;
}
.stage {
    width: 100%;
    min-height: 100svh;
    padding: 0;
    display: block;
}
.card-shell {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    box-shadow: none;
    margin: 0;
}
@media (min-width: 761px) {
    .card-shell {
        height: 100svh;
        min-height: 700px;
        grid-template-rows: minmax(0, 1fr) minmax(100px, 13%);
    }
    .content-area {
        min-height: 0;
    }
}
@media (max-width: 760px) {
    .card-shell {
        height: auto;
        min-height: 100svh;
    }
}
@media (max-width: 760px) {
    .story-identity {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        padding: 0 20px;
        top: 45%;
        transform: translateY(-50%);
    }

    .brand-on-photo {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .brand-on-photo .brand-small,
    .brand-on-photo .brand-large,
    .brand-on-photo .brand-house,
    .brand-on-photo .brand-tagline {
        text-align: center;
    }

    .brand-on-photo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .brand-on-photo img {
        width: 80%;
        max-width: 300px;
        height: auto;
    }
}

@media (min-width: 761px) {

    .content-area {
        position: relative;
        isolation: isolate;

        background-image:
            linear-gradient(
                90deg,
                rgba(17, 11, 24, 0.85) 0%,
                rgba(23, 17, 29, 0.45) 35%,
                rgba(23, 17, 29, 0.10) 70%,
                rgba(23, 17, 29, 0.20) 100%
            ),
            url("assets/bg.webp");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .story {
        position: relative;
        background: transparent;
        overflow: visible;
    }

    .story-photo,
    .story-overlay {
        display: none;
    }

    .story-identity {
        position: absolute;
        z-index: 1;
    }

    .contact-panel {
        position: relative;
        z-index: 2;
    }
}
.exchange-dialog {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90dvh;
}

.exchange-dialog iframe {
    display: block;
    width: 100%;
    height: 520px;
    min-height: 0;
    border: none;
    overflow: hidden;
    margin-top: 20px;
}

@media (max-width: 760px) {
    .exchange-dialog iframe {
        height: 560px;
        min-height: 0;
    }
}