.b13t-shell {
    position: relative;
    z-index: 1;
    width: var(--b13t-shell);
    margin-inline: auto;
}

.b13t-section {
    position: relative;
    padding-block: var(--b13t-section-space);
}

.b13t-hero,
.b13t-couple,
.b13t-schedule,
.b13t-timeline,
.b13t-party,
.b13t-rsvp {
    overflow: clip;
}

.b13t-heading {
    max-width: 760px;
    margin-bottom: clamp(36px, 5vw, 68px);
}

.b13t-heading h2 {
    max-width: 15ch;
}

.b13t .b13t-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--b13t-bronze);
    font-family: var(--b13t-font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.5;
    text-transform: uppercase;
}

.b13t-eyebrow::after {
    width: 44px;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0.58;
}

.b13t-atmosphere {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.b13t-atmosphere::after {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='%68ttp%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.2'/%3E%3C/svg%3E");
    content: "";
    mix-blend-mode: multiply;
    opacity: 0.36;
}

.b13t-atmosphere__layer {
    position: absolute;
    inset: -14% 0;
    width: 100%;
    max-width: none;
    height: 128%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.b13t-atmosphere__layer--one { opacity: 0.62; }
.b13t-atmosphere__layer--two { opacity: 0.34; transform: scale(-1); }

.b13t-atmosphere__orb {
    position: absolute;
    top: 42%;
    right: clamp(-180px, -10vw, -110px);
    width: min(38vw, 520px);
    height: auto;
    filter: sepia(1) saturate(0.38) hue-rotate(338deg);
    mix-blend-mode: multiply;
    opacity: 0.035;
}

.b13t-loader {
    position: fixed;
    z-index: 1400;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--b13t-paper);
    background-color: var(--b13t-ink);
    background-image: radial-gradient(100% 80% at 50% 0%, #3e2b45 0%, #140f14 62%);
}

.b13t-js.b13t-loading .b13t-loader,
.b13t-js.b13t-loaded .b13t-loader { display: flex; }
.b13t-js.b13t-loaded .b13t-loader { animation: b13t-loader-out 450ms ease forwards; }

.b13t-loader__seal {
    text-align: center;
    animation: b13t-loader-seal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.b13t-loader__eyebrow {
    margin-bottom: 14px;
    color: #ab9aa0;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.b13t-loader__names {
    margin-bottom: 6px;
    font-family: var(--b13t-font-display);
    font-size: clamp(2rem, 9vw, 2.9rem);
    letter-spacing: 0.02em;
    line-height: 1;
}

.b13t-loader__names span,
.b13t-hero h1 span {
    color: var(--b13t-gold-light);
    font-family: var(--b13t-font-editorial);
    font-style: italic;
    font-weight: 300;
}

.b13t-loader__date {
    margin-bottom: 26px;
    color: #d7c9c8;
    font-family: var(--b13t-font-editorial);
    font-size: 1.05rem;
    font-style: italic;
}

.b13t-loader__track {
    display: block;
    width: 132px;
    height: 1px;
    margin-inline: auto;
    overflow: hidden;
    background: rgba(230, 198, 162, 0.28);
}

.b13t-loader__track span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--b13t-gold-light);
    animation: b13t-loader-bar 1.1s cubic-bezier(0.35, 0.9, 0.25, 1) infinite;
}

.b13t-header {
    position: fixed;
    z-index: 600;
    top: var(--demo-banner-height, 0px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(84px, auto) 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: var(--b13t-header-height);
    padding: 8px max(20px, calc((100vw - 1340px) / 2));
    border-bottom: 1px solid rgba(20, 15, 20, 0.1);
    background: rgba(248, 241, 236, 0.94);
    backdrop-filter: blur(12px);
    transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease;
}

.b13t-js .b13t-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
}

.b13t-js.b13t-nav-visible .b13t-header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.b13t-header__brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--b13t-ink);
    font-family: var(--b13t-font-display);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-decoration: none;
    white-space: nowrap;
}

.b13t-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.b13t-navigation a,
.b13t-header__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--b13t-muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 220ms ease, background-color 220ms ease;
}

.b13t-navigation a:hover,
.b13t-navigation a[aria-current="location"] { color: var(--b13t-ink); }

.b13t-header__cta {
    justify-content: center;
    min-width: 124px;
    padding-inline: 22px;
    color: var(--b13t-paper);
    background: var(--b13t-ink);
    white-space: nowrap;
}

.b13t-header__cta:hover { color: var(--b13t-paper); background: var(--b13t-plum); }

.b13t-hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    color: var(--b13t-paper);
}

.b13t-hero__media {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background: radial-gradient(100% 90% at 50% 8%, #4a3050 0%, #241a28 48%, #100b10 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%);
}

.b13t-hero__media picture,
.b13t-hero__image {
    width: 100%;
    max-width: none;
    height: 100%;
}

.b13t-hero__image {
    object-fit: cover;
    animation: b13t-ken-burns 24s ease-out both;
}

.b13t-hero__fallback-garland {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(82vw, 760px);
    max-height: 88%;
    object-fit: contain;
    opacity: 0.16;
    transform: translate(-50%, -50%);
}

.b13t-hero__veil,
.b13t-hero__grain {
    position: absolute;
    inset: 0;
}

.b13t-hero__veil {
    background: linear-gradient(180deg, rgba(16, 11, 16, 0.52) 0%, rgba(16, 11, 16, 0.16) 32%, rgba(16, 11, 16, 0.38) 64%, rgba(16, 11, 16, 0.84) 100%);
}

.b13t-hero__grain {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='%68ttp%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.16;
}

.b13t-hero__vertical-date {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    border-left: 1px solid rgba(248, 241, 236, 0.16);
}

.b13t-hero__vertical-date span {
    color: rgba(248, 241, 236, 0.8);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
}

.b13t-hero__content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-width: 0;
    padding: 22px 60px 116px 20px;
}

.b13t-hero__masthead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    color: rgba(248, 241, 236, 0.86);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 2;
    text-transform: uppercase;
}

.b13t-hero__copy {
    width: 100%;
    max-width: 1340px;
    margin-inline: auto;
}

.b13t-hero__greeting {
    margin-bottom: 12px;
    color: rgba(248, 241, 236, 0.92);
    font-family: var(--b13t-font-editorial);
    font-size: clamp(1.05rem, 4.4vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
}

.b13t-hero h1 {
    margin: 0;
    color: var(--b13t-paper);
    font-size: clamp(2.9rem, 10vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 0.98;
}

.b13t-hero__rule {
    height: 1px;
    margin-block: 20px;
    background: rgba(248, 241, 236, 0.4);
    transform-origin: left;
}

.b13t-hero__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.b13t-hero__facts {
    color: rgba(248, 241, 236, 0.94);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 2.1;
    text-transform: uppercase;
}

.b13t-hero__facts p { margin-bottom: 0; }

.b13t-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.b13t-hero__button {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px;
    border: 1px solid rgba(248, 241, 236, 0.5);
    color: var(--b13t-paper);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 220ms ease, background-color 220ms ease;
}

.b13t-hero__button:hover { color: var(--b13t-paper); background: rgba(248, 241, 236, 0.14); }

.b13t-hero__button--primary {
    flex: 1 1 200px;
    color: var(--b13t-ink);
    background: var(--b13t-paper);
}

.b13t-hero__button--primary:hover { color: var(--b13t-ink); background: var(--b13t-gold-light); }

.b13t-js.b13t-motion .b13t-hero [data-b13t-reveal] {
    animation: b13t-hero-mask 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.b13t-js.b13t-motion .b13t-hero h1 { animation-delay: 100ms; }
.b13t-js.b13t-motion .b13t-hero__details { animation-delay: 220ms; }

.b13t-deco {
    position: absolute;
    z-index: 0;
    max-width: min(34vw, 440px);
    height: auto;
    pointer-events: none;
    opacity: 0.12;
}

.b13t-deco--couple { right: -5%; bottom: 2%; }
.b13t-deco--schedule { left: -2%; top: 8%; width: clamp(96px, 9vw, 128px); }
.b13t-deco--timeline { right: -4%; top: 4%; width: clamp(112px, 11vw, 160px); }
.b13t-deco--registry { right: 2%; top: 5%; }

.b13t-js.b13t-motion [data-b13t-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.b13t-js.b13t-motion [data-b13t-reveal].is-revealed {
    opacity: 1;
    transform: none;
}
