:root {
    --navy: #20394e;
    --ink: #293f4d;
    --paper: #f5f0e7;
    --burgundy: #813d41;
    --gold: #b99c64;
    --muted: #76766c;
    --line: #d8d0c2;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --script: "Italianno", cursive;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.8;
}
body.is-locked {
    overflow-x: hidden;
}
button,
input,
select {
    font: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
}
figure,
p {
    margin: 0;
}
h1,
h2,
h3 {
    margin: 0;
    font-weight: 400;
    font-family: var(--serif);
    line-height: 1.05;
}
h2 {
    font-size: clamp(45px, 5.4vw, 76px);
    letter-spacing: -0.035em;
}
h2 i {
    font-weight: 400;
}
h3 {
    font-size: 28px;
}
p {
    text-wrap: pretty;
}
[hidden] {
    display: none !important;
}
::selection {
    background: #d8c7a8;
    color: var(--navy);
}
.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
}
.script {
    font-family: var(--script);
    font-weight: 400;
    line-height: 1;
}
.section-script {
    display: block;
    font-size: clamp(42px, 4.5vw, 66px);
    color: var(--burgundy);
    margin-bottom: 12px;
}
/* Paper and lace are extracted from the supplied invitation PDF. */
.paper-section {
    background: none;
}
.paper-card {
    background: var(--paper) url("/img/stationery/paper-texture.webp") repeat;
    border: 4px double #b9ad94;
    color: var(--ink);
}
h1[tabindex="-1"]:focus {
    outline: none;
}
.section-marker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-bottom: 80px;
}
.section-marker > span:first-child {
    color: var(--burgundy);
}
.section-marker > span:last-child {
    font-size: 23px;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
}
.button {
    border: 1px solid var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 16px 24px;
    font-size: 10px;
    letter-spacing: 0.12em;
    font-weight: 600;
    background: var(--navy);
    color: var(--paper);
    transition:
        background 0.25s,
        transform 0.25s;
}
.button:hover {
    background: #304f67;
    transform: translateY(-2px);
}
.button.outline {
    color: var(--navy);
    background: transparent;
}
.button.outline:hover {
    background: var(--navy);
    color: var(--paper);
}
.text-link {
    display: inline-flex;
    gap: 28px;
    border-bottom: 1px solid currentColor;
    padding: 9px 0;
    font: 600 9px var(--sans);
    letter-spacing: 0.14em;
    background: none;
    color: inherit;
}
.text-link.light {
    color: #e4cfac;
}
.reveal {
    opacity: 1;
    transform: none;
}
.motion-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}
.skip-link {
    position: fixed;
    top: -80px;
    z-index: 100;
    padding: 12px;
    background: var(--paper);
}
.skip-link:focus {
    top: 4px;
}
.no-js {
    position: fixed;
    inset: 120px 5% auto;
    z-index: 60;
    background: var(--paper);
    padding: 32px;
    border: 1px solid var(--gold);
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .motion-ready .reveal {
        opacity: 1;
        transform: none;
    }
}
