/*
 * Template "Olive Botanical" (Pernikahan): olive green on warm beige, hand-drawn botanical line art,
 * pressed-herbarium paper sheets with tape and tiny handwritten specimen labels.
 * Colors come from the color variant: --inv-primary, --inv-accent, --inv-background, --inv-text,
 * --inv-leaf (line art), --inv-fill (soft leaf fills), --inv-paper (sheets), --inv-soft (tinted sections).
 * Every class of this template starts with "ob-".
 */

:root {
    --inv-primary: #5a6134;
    --inv-accent: #a8864a;
    --inv-background: #f3eee0;
    --inv-text: #33341f;
    --inv-leaf: #636b3a;
    --inv-fill: #c5c89b;
    --inv-paper: #fbf8ee;
    --inv-soft: #e9e4cf;
    --inv-radius: 12px;

    --ob-serif: 'EB Garamond', 'Times New Roman', Georgia, serif;
    --ob-caps: 'Marcellus', 'EB Garamond', Georgia, serif;
    --ob-script: 'Pinyon Script', 'Brush Script MT', cursive;
    --ob-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
    --ob-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

    /* derived tones */
    --ob-muted: color-mix(in srgb, var(--inv-text) 82%, var(--inv-background));
    --ob-ink: color-mix(in srgb, var(--inv-accent) 50%, var(--inv-text));
    --ob-line: color-mix(in srgb, var(--inv-leaf) 55%, transparent);
    --ob-hair: color-mix(in srgb, var(--inv-leaf) 28%, transparent);
    --ob-shadow: 0 1px 0 color-mix(in srgb, var(--inv-leaf) 14%, transparent), 0 16px 34px -24px color-mix(in srgb, var(--inv-text) 65%, transparent);
    --ob-column: 460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.ob-body {
    margin: 0;
    background: var(--inv-background);
    color: var(--inv-text);
    font-family: var(--ob-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ob-body img { max-width: 100%; }
.ob-body h1, .ob-body h2, .ob-body h3, .ob-body p, .ob-body figure { margin: 0; }

/* ---------- line art (also inside <use>) ---------- */

.ob-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ob-l { fill: none; stroke: var(--inv-leaf); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ob-vein { stroke-opacity: .55; stroke-width: .8; }
.ob-leafshape { fill: var(--inv-fill); fill-opacity: .55; stroke: var(--inv-leaf); stroke-width: 1.05; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ob-soft .ob-leafshape { fill-opacity: .3; stroke-opacity: .7; }
.ob-soft .ob-l { stroke-opacity: .7; }
.ob-fruit { fill: color-mix(in srgb, var(--inv-primary) 45%, var(--inv-fill)); fill-opacity: .8; stroke: var(--inv-leaf); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ob-petal { fill: var(--inv-paper); stroke: var(--inv-leaf); stroke-width: .95; vector-effect: non-scaling-stroke; }
.ob-heart { fill: var(--inv-accent); stroke: var(--inv-leaf); stroke-width: .8; vector-effect: non-scaling-stroke; }

/* ---------- wide screens: the column on beige paper with faint pressed leaves ---------- */

.ob-backdrop { display: none; }
@media (max-width: 559px) { :root { --ob-column: 100vw; } }

.ob-page {
    position: relative;
    max-width: var(--ob-column);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 5.5rem; /* room for the bottom menu and the music button */
    background: var(--inv-background);
    overflow-x: clip;
}

@media (min-width: 560px) {
    .ob-backdrop {
        display: block; position: fixed; inset: 0; z-index: 0;
        background:
            radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--inv-fill) 40%, transparent), transparent 42%),
            radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--inv-fill) 35%, transparent), transparent 42%),
            var(--inv-soft);
    }
    /* a tiled sketch of sprigs, tinted with the line color through a mask */
    .ob-backdrop::before {
        content: ''; position: absolute; inset: 0; opacity: .22;
        background: var(--inv-leaf);
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M20 150C40 120 60 100 92 82'/%3E%3Cpath d='M38 128c-2-10 4-18 13-20c1 10-5 18-13 20Z'/%3E%3Cpath d='M44 122c9-5 18-3 23 4c-8 5-18 4-23-4Z'/%3E%3Cpath d='M58 108c-1-10 5-17 14-18c0 10-6 17-14 18Z'/%3E%3Cpath d='M66 101c9-4 18-1 22 6c-8 4-18 2-22-6Z'/%3E%3Cpath d='M92 82c3-8 10-12 18-11c-2 8-10 13-18 11Z'/%3E%3Ccircle cx='52' cy='136' r='3.4'/%3E%3Cpath d='M130 40v46'/%3E%3Ccircle cx='130' cy='34' r='5'/%3E%3Cpath d='M130 28c-3-6 3-9 0-12M124 34c-6-2-6 4-11 1M136 34c6-2 6 4 11 1M126 39c-5 4-1 8-6 10M134 39c5 4 1 8 6 10'/%3E%3Cpath d='M130 70c-6-4-12-3-15 1M130 62c6-4 12-3 15 1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M20 150C40 120 60 100 92 82'/%3E%3Cpath d='M38 128c-2-10 4-18 13-20c1 10-5 18-13 20Z'/%3E%3Cpath d='M44 122c9-5 18-3 23 4c-8 5-18 4-23-4Z'/%3E%3Cpath d='M58 108c-1-10 5-17 14-18c0 10-6 17-14 18Z'/%3E%3Cpath d='M66 101c9-4 18-1 22 6c-8 4-18 2-22-6Z'/%3E%3Cpath d='M92 82c3-8 10-12 18-11c-2 8-10 13-18 11Z'/%3E%3Ccircle cx='52' cy='136' r='3.4'/%3E%3Cpath d='M130 40v46'/%3E%3Ccircle cx='130' cy='34' r='5'/%3E%3Cpath d='M130 28c-3-6 3-9 0-12M124 34c-6-2-6 4-11 1M136 34c6-2 6 4 11 1M126 39c-5 4-1 8-6 10M134 39c5 4 1 8 6 10'/%3E%3Cpath d='M130 70c-6-4-12-3-15 1M130 62c6-4 12-3 15 1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
    }
    .ob-page { box-shadow: 0 0 0 1px var(--ob-hair), 0 30px 80px -30px rgb(0 0 0 / .3); }
}

.ob-preview {
    position: fixed; top: .5rem; left: 50%; z-index: 45; transform: translateX(-50%);
    padding: .35rem .85rem; border-radius: 999px; pointer-events: none;
    background: var(--inv-text); color: var(--inv-background);
    font: 500 .7rem/1.3 var(--ob-serif); letter-spacing: .02em; white-space: nowrap; opacity: .92;
}

/* ---------- shared pieces ---------- */

.ob-label {
    font-family: var(--ob-caps);
    font-size: .74rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ob-ink);
}

.ob-rule { display: inline-block; width: 1.9rem; height: 1px; background: var(--ob-line); vertical-align: middle; }

/* the handwritten specimen label */
.ob-tag {
    display: inline-block;
    font: 600 .98rem/1.1 var(--ob-hand);
    color: var(--inv-leaf);
    letter-spacing: .01em;
}

.ob-head { margin-bottom: 2rem; }
.ob-title {
    margin: .25rem 0 .1rem !important;
    font-family: var(--ob-script);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--inv-primary);
}
.ob-divider { display: block; width: 12rem; height: auto; margin: 0 auto; overflow: visible; }
.ob-note { margin-top: .35rem !important; font: 500 1.08rem/1.2 var(--ob-hand); color: var(--ob-muted); transform: rotate(-1.5deg); }

.ob-intro { max-width: 22rem; margin: -.6rem auto 1.6rem !important; color: var(--ob-muted); font-size: 1.04rem; line-height: 1.65; }

/* a pressed-herbarium paper sheet, held by a strip of tape */
.ob-sheet {
    position: relative;
    padding: 1.7rem 1.25rem 1.4rem;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgb(255 255 255 / .35), transparent 30%),
        var(--inv-paper);
    border: 1px solid var(--ob-hair);
    box-shadow: var(--ob-shadow);
}
.ob-sheet::after {
    /* a thin inner margin line like a herbarium mount */
    content: ''; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--inv-leaf) 16%, transparent); border-radius: 2px; pointer-events: none;
}
.ob-tape {
    position: absolute; top: -.7rem; left: 50%; z-index: 2; width: 5.2rem; height: 1.45rem;
    transform: translateX(-50%) rotate(-3deg);
    background: color-mix(in srgb, var(--inv-fill) 55%, rgb(255 255 255 / .5));
    opacity: .85;
    clip-path: polygon(0 8%, 4% 0, 9% 10%, 14% 0, 20% 8%, 100% 0, 96% 50%, 100% 100%, 90% 92%, 84% 100%, 78% 92%, 0 100%, 3% 50%);
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}

.ob-pill {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
    padding: .5rem 1.05rem; border-radius: 999px;
    color: var(--inv-primary); text-decoration: none;
    background: color-mix(in srgb, var(--inv-paper) 70%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 50%, transparent);
    font: 500 .9rem/1 var(--ob-serif); letter-spacing: .03em;
    transition: background .25s ease, color .25s ease;
}
.ob-pill:hover { background: var(--inv-primary); color: #fff; }

/* arch frame with a thin line around it */
.ob-arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 8px 8px; }
.ob-arch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ob-arch::before {
    content: ''; position: absolute; inset: -8px; border-radius: 999px 999px 12px 12px;
    border: 1px solid var(--ob-line); pointer-events: none;
}

/* ---------- corners ---------- */

.ob-corners { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ob-corner { position: absolute; width: clamp(130px, 42%, 190px); aspect-ratio: 200 / 260; }
.ob-corner svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ob-corner[class*="--tl"] { top: -14px; left: -18px; transform: scaleY(-1); }
.ob-corner[class*="--tr"] { top: -14px; right: -18px; transform: scale(-1, -1); }
.ob-corner[class*="--bl"] { bottom: -14px; left: -18px; }
.ob-corner[class*="--br"] { bottom: -14px; right: -18px; transform: scaleX(-1); }
.ob-corner[class$="-sm"] { width: clamp(80px, 25%, 114px); opacity: .65; }

/* the base of the branch is its bottom-left corner: it sways from there */
.ob-sway { transform-origin: 4% 99%; }
html.inv-anim .ob-sway { will-change: transform; animation: ob-sway 7.5s ease-in-out infinite alternate; }
html.inv-anim .ob-corner:nth-child(2) .ob-sway { animation-duration: 9s; animation-delay: -3s; }
html.inv-anim .ob-corner:nth-child(3) .ob-sway { animation-duration: 6.4s; animation-delay: -1.5s; }
html.inv-anim .ob-corner:nth-child(4) .ob-sway { animation-duration: 8.2s; animation-delay: -4.5s; }
@keyframes ob-sway {
    from { transform: rotate(-2.2deg); }
    to { transform: rotate(2.6deg); }
}

/* ---------- cover ---------- */

.ob-cover {
    position: fixed; top: 0; bottom: 0; left: 50%; z-index: 30;
    width: min(100%, var(--ob-column));
    transform: translateX(-50%);
    overflow-x: hidden; overflow-y: auto;
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--inv-paper) 95%, transparent), transparent 60%),
        radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--inv-soft) 85%, transparent), transparent 55%),
        var(--inv-background);
}
.ob-cover--leave { transition: opacity .8s ease, transform .9s cubic-bezier(.6, 0, .3, 1); }
.ob-cover--gone { opacity: 0; transform: translate(-50%, -5%); }

.ob-cover__frame { position: absolute; inset: 14px; z-index: 1; border: 1px solid var(--ob-line); border-radius: 2px; pointer-events: none; }
.ob-cover__frame::after { content: ''; position: absolute; inset: 4px; border: 1px solid var(--ob-hair); }

.ob-cover__inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100%; padding: 2.4rem 2rem 2.2rem; text-align: center;
}

/* monogram in an olive wreath */
.ob-mono { position: relative; display: grid; place-items: center; width: 5.6rem; height: 5.6rem; margin-bottom: .6rem; }
.ob-mono__wreath { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ob-mono__letters { position: relative; font: 400 1.35rem/1 var(--ob-caps); color: var(--inv-primary); letter-spacing: .04em; }
.ob-mono__letters span + span::before { content: '·'; margin: 0 .22rem; color: var(--inv-accent); }

.ob-cover__title { margin-bottom: 1.05rem !important; }

.ob-cover__photo { height: clamp(150px, 29vh, 260px); width: auto; margin-bottom: .4rem !important; }

.ob-cover__names {
    margin: .8rem 0 .3rem !important;
    font-family: var(--ob-script); font-weight: 400;
    font-size: clamp(2.5rem, 11.5vw, 3.2rem); line-height: 1.2;
    color: var(--inv-primary);
}
.ob-amp { color: var(--ob-ink); font-size: .75em; }

.ob-cover__date {
    display: flex; align-items: center; gap: .7rem;
    font: 400 .78rem/1.4 var(--ob-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted);
}

.ob-cover__quote { max-width: 19rem; margin-top: .8rem !important; font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--ob-muted); }

.ob-cover__guest {
    position: relative; min-width: 14.5rem; max-width: 100%; margin: 1.15rem 0 1.15rem;
    padding: .8rem 1.4rem .75rem; border-radius: 3px;
    background: color-mix(in srgb, var(--inv-paper) 85%, transparent);
    border: 1px solid var(--ob-line);
    box-shadow: 0 10px 24px -20px rgb(0 0 0 / .5);
}
.ob-cover__to { font: 400 .72rem/1.4 var(--ob-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted); }
.ob-cover__guestname { display: block; margin: .2rem 0 .1rem; font-size: 1.35rem; font-weight: 600; line-height: 1.3; color: var(--inv-text); overflow-wrap: anywhere; }
.ob-cover__sorry { font-style: italic; font-size: .8rem; color: var(--ob-muted); }

.ob-open { gap: .6rem; }

/* ---------- buttons of the shared components ---------- */

.ob-body .inv-button {
    padding: .8rem 1.45rem; border-radius: 999px;
    font: 400 .78rem/1.2 var(--ob-caps); letter-spacing: .14em; text-transform: uppercase;
    background: var(--inv-primary); color: #fff;
    box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--inv-primary) 90%, transparent);
}
.ob-body .inv-button--outline {
    background: color-mix(in srgb, var(--inv-paper) 60%, transparent); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 60%, transparent);
}

/* ---------- hero (first screen after opening): the photo as a pressed plate ---------- */

.ob-hero {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: clamp(560px, 100vh, 840px); min-height: clamp(560px, 100svh, 840px);
    padding: 3.5rem 1.6rem 3.5rem; text-align: center; overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 30%, var(--inv-paper), transparent 70%),
        var(--inv-background);
}
.ob-hero > :not(.ob-corners) { position: relative; z-index: 1; }
.ob-hero__plate {
    position: relative; width: min(78%, 17.5rem); padding: .75rem .75rem 2.6rem;
    background: var(--inv-paper); border: 1px solid var(--ob-hair); box-shadow: var(--ob-shadow);
    transform: rotate(-1.6deg);
}
.ob-hero__plate::before {
    content: ''; position: absolute; top: -.7rem; left: 50%; width: 5rem; height: 1.4rem;
    transform: translateX(-50%) rotate(2deg); opacity: .85;
    background: color-mix(in srgb, var(--inv-fill) 55%, rgb(255 255 255 / .5));
    clip-path: polygon(0 8%, 5% 0, 10% 10%, 100% 0, 96% 50%, 100% 100%, 88% 92%, 0 100%, 3% 50%);
}
.ob-hero__photo { display: block; aspect-ratio: 4 / 5; background: var(--x-photo, none) center 30% / cover no-repeat, var(--inv-soft); }
.ob-hero__photo--empty { display: grid; place-items: center; }
.ob-hero__photo--empty svg { width: 40%; height: 80%; }
.ob-hero__tag { position: absolute; left: 0; right: 0; bottom: .65rem; }
.ob-hero__text { margin-top: 1.8rem; }
.ob-hero__names {
    margin: .3rem 0 .5rem !important;
    font-family: var(--ob-script); font-size: clamp(2.7rem, 12.5vw, 3.4rem); line-height: 1.2; color: var(--inv-primary);
}
.ob-hero__names span { color: var(--ob-ink); font-size: .75em; }
.ob-hero__date {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    font: 400 .78rem/1.4 var(--ob-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-text);
}

/* ---------- sections ---------- */

.ob-section { position: relative; padding: 4.5rem 1.5rem; text-align: center; overflow: hidden; }
.ob-section > :not(.ob-corners) { position: relative; z-index: 1; }
.ob-section--soft { background: var(--inv-soft); }

/* opening */
.ob-sprig { display: block; width: 7.5rem; height: auto; margin: 0 auto 1.1rem; overflow: visible; }
.ob-arabic { margin-bottom: 1rem !important; font-family: 'Amiri', serif; font-size: 1.6rem; line-height: 2; color: var(--inv-primary); }
.ob-opening__greeting { margin-bottom: .9rem !important; font-style: italic; font-size: 1.28rem; font-weight: 500; color: var(--inv-primary); }
.ob-opening__message { max-width: 24rem; margin: 0 auto !important; color: var(--ob-muted); line-height: 1.75; }

.ob-quote { margin: 2.6rem 0 0 !important; padding: 2rem 1.3rem 1.6rem 4.6rem; text-align: left; }
.ob-quote__spec { position: absolute; left: .7rem; top: 50%; width: 3.4rem; height: 8.5rem; transform: translateY(-50%) rotate(-6deg); overflow: visible; }
.ob-quote blockquote { margin: 0; font-style: italic; font-size: 1.08rem; line-height: 1.7; }
.ob-quote figcaption { margin-top: .8rem; font: 600 1.1rem/1.2 var(--ob-hand); color: var(--inv-leaf); }

/* couple: zig-zag, the groom left, the bride right */
.ob-person { display: grid; justify-items: start; text-align: left; }
.ob-person--right { justify-items: end; text-align: right; }
.ob-person__top { display: flex; align-items: flex-end; gap: .6rem; margin-bottom: 1.1rem; }
.ob-person--right .ob-person__top { flex-direction: row-reverse; }
.ob-person__photo {
    position: relative; flex: none; width: 10.5rem; aspect-ratio: 1; border-radius: 50%;
    padding: 6px; background: var(--inv-paper);
    box-shadow: 0 0 0 1px var(--ob-line), 0 16px 26px -16px color-mix(in srgb, var(--inv-text) 70%, transparent);
}
.ob-person__photo img, .ob-person__initial { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ob-person__initial {
    display: grid !important; place-items: center;
    background: linear-gradient(160deg, var(--inv-fill), var(--inv-leaf));
    font: 400 4rem/1 var(--ob-script); color: #fff;
}
.ob-person__specimen { display: grid; justify-items: center; gap: .1rem; padding-bottom: .4rem; }
.ob-person__specimen svg { width: 2.8rem; height: 7rem; overflow: visible; }
.ob-person--left .ob-person__specimen svg { transform: rotate(8deg); }
.ob-person--right .ob-person__specimen svg { transform: rotate(-8deg); }
.ob-person__specimen .ob-tag { max-width: 6.5rem; font-size: .92rem; text-align: center; transform: rotate(-3deg); }
.ob-person__role { font: 400 .7rem/1.4 var(--ob-caps); letter-spacing: .28em; text-transform: uppercase; color: var(--ob-ink); }
.ob-person__nick { margin: .05rem 0 0 !important; font: 400 2.6rem/1.3 var(--ob-script); color: var(--inv-primary); }
.ob-person__name { font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; line-height: 1.35; }
.ob-person__parents { margin-top: .5rem !important; color: var(--ob-muted); font-size: 1.02rem; line-height: 1.55; }
.ob-person__parents strong { color: var(--inv-text); font-weight: 600; }

.ob-couple__and { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.9rem 0 1.6rem; }
.ob-couple__and span:not(.ob-rule) { font: italic 400 2.9rem/1 var(--ob-serif); color: var(--ob-ink); }
.ob-couple__and .ob-rule { width: 3.5rem; }

/* countdown: the wedding month on a taped paper sheet, then four compact label boxes with accent numbers */
.ob-countdown__paper { position: relative; width: min(100%, 21rem); margin: 0 auto 1.6rem; }
.ob-countdown__paper .ob-tape { top: -.75rem; left: 24%; transform: translateX(-50%) rotate(-6deg); }
.ob-countdown .inv-cal.ob-cal {
    --inv-cal-bg: var(--inv-paper);
    --inv-cal-text: var(--inv-text);
    --inv-cal-mark: var(--inv-accent);
    position: relative; width: 100%; padding: 1.3rem 1.1rem 1rem; border-radius: 4px;
    border: 1px solid var(--ob-hair); box-shadow: var(--ob-shadow);
}
.ob-countdown .inv-cal.ob-cal::after { content: ''; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--inv-leaf) 16%, transparent); border-radius: 2px; pointer-events: none; }
.ob-countdown .ob-cal .inv-cal__head { border-bottom-color: var(--ob-line); }
.ob-countdown .ob-cal .inv-cal__month { font: 400 2.3rem/1.1 var(--ob-script); color: var(--inv-primary); }
.ob-countdown .ob-cal .inv-cal__year { font: 400 .85rem/1 var(--ob-caps); letter-spacing: .22em; opacity: 1; color: var(--ob-ink); }
.ob-countdown .ob-cal .inv-cal__dow { font: 400 .62rem/1 var(--ob-caps); letter-spacing: .14em; opacity: .75; }
.ob-countdown .ob-cal .inv-cal__day { height: 1.95rem; font-size: 1.02rem; }
.ob-countdown .ob-cal .inv-cal__day--mark { font-weight: 600; }
.ob-countdown .ob-cal .inv-cal__note { font-style: italic; color: var(--ob-muted); border-top-color: var(--ob-line); }

.ob-countdown__date svg, .ob-event__body svg, .ob-live__icon svg {
    fill: none; stroke: var(--inv-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ob-countdown .inv-countdown { gap: .45rem; }
.ob-countdown .inv-countdown__item {
    position: relative; display: grid; place-content: center; width: 4.1rem; min-width: 0; height: 4.3rem; padding: 0;
    border-radius: 6px; background: var(--inv-primary); color: #fff;
    box-shadow: 0 12px 22px -14px color-mix(in srgb, var(--inv-primary) 90%, transparent);
}
.ob-countdown .inv-countdown__item::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgb(255 255 255 / .18); border-radius: 4px; pointer-events: none; }
.ob-countdown .inv-countdown__value { font: 600 1.65rem/1 var(--ob-serif); color: color-mix(in srgb, var(--inv-accent) 45%, #fff); }
.ob-countdown .inv-countdown__label { margin-top: .3rem; font: 400 .58rem/1 var(--ob-caps); letter-spacing: .18em; text-transform: uppercase; opacity: .85; color: #fff; }
.ob-countdown .inv-countdown__done { font-style: italic; color: var(--ob-muted); }
.ob-countdown .inv-countdown__actions { margin-top: 1.6rem; gap: .6rem; }
.ob-countdown .inv-countdown__actions .inv-button { padding: .65rem 1rem; font-size: .68rem; letter-spacing: .1em; }

/* events: over the cover photo with a paper veil; rounded cards with an olive header band */
.ob-events { background-color: var(--inv-background); }
.ob-events > .ob-events__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(180deg, var(--inv-background) 0%, color-mix(in srgb, var(--inv-background) 76%, transparent) 22%, color-mix(in srgb, var(--inv-background) 64%, transparent) 72%, var(--inv-background) 100%),
        var(--x-photo) center 30% / cover no-repeat;
}
.ob-collage { position: relative; height: 10.5rem; margin: -1.5rem -1.5rem 2rem !important; }
.ob-collage__band {
    position: absolute; left: 0; right: 12%; top: 2.6rem; height: 5.2rem;
    background: color-mix(in srgb, var(--inv-fill) 70%, var(--inv-background)); border-radius: 0 999px 999px 0;
}
.ob-collage img {
    position: absolute; width: 52%; height: 7.6rem; object-fit: cover;
    border: 4px solid var(--inv-paper); box-shadow: 0 14px 26px -16px rgb(0 0 0 / .55);
}
.ob-collage__a { left: 6%; top: 2.4rem; border-radius: 0 0 3.2rem 0; transform: rotate(-2deg); }
.ob-collage__b { right: 5%; top: 0; border-radius: 3.2rem 0 0 0; transform: rotate(2.5deg); }

.ob-events__list { display: grid; gap: 2.2rem; }
.ob-event {
    position: relative; overflow: hidden; border-radius: 2.4rem 2.4rem 1.4rem 1.4rem;
    background: color-mix(in srgb, var(--inv-paper) 92%, transparent);
    border: 1px solid var(--ob-hair); box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--inv-text) 80%, transparent);
}
.ob-event__band {
    position: relative; padding: 1.2rem 1rem 2.9rem; color: #fff;
    background: linear-gradient(160deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 72%, var(--inv-text)));
}
.ob-event__sprig { display: block; width: 4.6rem; height: auto; margin: 0 auto .1rem; overflow: visible; filter: brightness(0) invert(1); opacity: .75; }
.ob-event__name { font: 400 2.35rem/1.25 var(--ob-script); color: #fff; }
.ob-event__photo {
    position: relative; z-index: 1; width: 6.4rem; height: 6.4rem; margin: -2.3rem auto 0; border-radius: 50%;
    background: var(--x-photo) center 30% / cover no-repeat, var(--inv-soft);
    box-shadow: 0 0 0 4px var(--inv-paper), 0 0 0 5px var(--ob-line), 0 12px 20px -12px rgb(0 0 0 / .5);
}
.ob-event__body { display: grid; justify-items: center; gap: .5rem; padding: 1rem 1.3rem 1.8rem; }
.ob-event__time { display: inline-flex; align-items: center; gap: .45rem; font: 600 1.32rem/1.2 var(--ob-serif); color: color-mix(in srgb, var(--inv-accent) 80%, var(--inv-text)); }
.ob-event__time svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; }
.ob-event__date { font-weight: 600; font-size: 1.1rem; }
.ob-event__place {
    display: grid; justify-items: center; gap: .15rem; width: 100%; margin-top: .4rem; padding: 1rem .9rem;
    border: 1.5px dashed var(--ob-line); border-radius: 1.2rem;
}
.ob-event__place svg { width: 1.4rem; height: 1.4rem; margin-bottom: .2rem; }
.ob-event__venue { display: block; font-weight: 600; font-size: 1.12rem; line-height: 1.35; }
.ob-event__address { display: block; color: var(--ob-muted); font-size: 1rem; line-height: 1.5; }
.ob-event__dress { display: inline-flex; align-items: center; gap: .45rem; color: var(--ob-muted); font-style: italic; }
.ob-event__dress svg { width: 1.15rem; height: 1.15rem; flex: none; }
.ob-event .inv-maps { margin-top: .5rem; text-align: center; }
.ob-event__no { position: absolute; right: 1.4rem; bottom: .55rem; z-index: 1; font-size: .95rem; transform: rotate(-4deg); opacity: .85; }

/* love story: a compact zig-zag along a thin stem; sides alternate */
.ob-timeline { position: relative; display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.ob-timeline::before {
    content: ''; position: absolute; top: .6rem; bottom: .6rem; left: 50%; width: 0;
    border-left: 1.5px solid var(--ob-line);
}
.ob-moment { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.ob-moment__text { grid-column: 1; grid-row: 1; text-align: right; }
.ob-moment__num { grid-column: 2; grid-row: 1; }
.ob-moment__side { grid-column: 3; grid-row: 1; display: grid; justify-items: start; gap: .55rem; text-align: left; }
.ob-moment--flip .ob-moment__text { grid-column: 3; text-align: left; }
.ob-moment--flip .ob-moment__side { grid-column: 1; justify-items: end; text-align: right; }
.ob-moment__num {
    display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--inv-soft); box-shadow: inset 0 0 0 1px var(--ob-line), 0 0 0 4px var(--inv-soft);
    font: 400 .78rem/1 var(--ob-caps); letter-spacing: .04em; color: var(--ob-ink);
}
.ob-moment__title {
    padding-bottom: .4rem; font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--inv-primary);
    border-bottom: 1.5px dotted var(--ob-line);
}
.ob-moment__story { margin-top: .5rem !important; color: var(--ob-muted); font-size: .98rem; line-height: 1.55; }
.ob-moment__date { margin-top: .05rem !important; font: 600 1.35rem/1.15 var(--ob-hand); color: color-mix(in srgb, var(--inv-accent) 80%, var(--inv-text)); }
.ob-moment__photo {
    display: block; width: min(100%, 8.4rem); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
    border: 4px solid var(--inv-paper); box-shadow: 0 0 0 1px var(--ob-line), 0 12px 20px -12px rgb(0 0 0 / .5);
}
.ob-moment__specimen { display: grid; place-items: center; background: var(--inv-paper); }
.ob-moment__specimen svg { width: 2.6rem; height: 6rem; transform: rotate(-12deg); overflow: visible; }

/* gallery: photos mounted like plates; the first and every seventh span both columns */
.ob-gallery .inv-gallery { gap: .6rem; }
.ob-gallery .inv-gallery__item {
    border-radius: 3px; padding: 5px; background: var(--inv-paper);
    box-shadow: 0 0 0 1px var(--ob-hair), 0 12px 22px -16px rgb(0 0 0 / .45);
}
.ob-gallery .inv-gallery__item img, .ob-gallery .inv-gallery__item video { border-radius: 1px; }
.ob-gallery .inv-gallery__item:nth-child(5n + 1),
.ob-gallery .inv-gallery__item:nth-child(5n + 2):last-child,
.ob-gallery .inv-gallery__item:nth-child(5n + 4):last-child { grid-column: span 2; aspect-ratio: 16 / 10; }

/* live streaming */
.ob-live__icon {
    display: grid; place-items: center; width: 3.3rem; height: 3.3rem; margin: 0 auto .7rem; border-radius: 50%;
    background: color-mix(in srgb, var(--inv-fill) 35%, transparent); box-shadow: inset 0 0 0 1px var(--ob-hair);
}
.ob-live__icon svg { width: 1.7rem; height: 1.7rem; }
.ob-live__platform { font: 400 2.1rem/1.3 var(--ob-script); color: var(--inv-primary); }
.ob-live__text { margin: .4rem 0 .6rem !important; color: var(--ob-muted); line-height: 1.6; }
.ob-live__note { margin-bottom: 1.1rem !important; font: 600 1.1rem/1.3 var(--ob-hand); color: var(--inv-leaf); }
.ob-live__card .inv-button { position: relative; z-index: 1; margin-top: .4rem; }

/* gift: every account is a compact olive bank card, two per row (an odd last card spans both) */
.ob-gift .inv-gift { display: grid; gap: 1.1rem; }
.ob-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.ob-gift .inv-gift__accounts > .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ob-gift .inv-gift__account + .inv-gift__account { margin-top: 0; }
.ob-gift .inv-gift__account:not(.inv-gift__address) {
    position: relative; overflow: hidden; min-width: 0; min-height: 9.5rem;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.95rem .8rem .8rem; border-radius: 16px; text-align: left; color: #fff;
    background:
        radial-gradient(circle at 108% -12%, rgb(255 255 255 / .22), transparent 45%),
        radial-gradient(circle at -10% 115%, rgb(255 255 255 / .1), transparent 40%),
        linear-gradient(135deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 55%, #15170c));
    box-shadow: 0 16px 28px -18px color-mix(in srgb, var(--inv-primary) 90%, #000), inset 0 0 0 1px rgb(255 255 255 / .14);
}
/* the chip */
.ob-gift .inv-gift__account:not(.inv-gift__address)::before {
    content: ''; position: absolute; top: .85rem; left: .8rem; width: 2.25rem; height: 1.7rem; border-radius: .34rem;
    background:
        linear-gradient(90deg, transparent 31%, rgb(0 0 0 / .2) 31% 34%, transparent 34% 66%, rgb(0 0 0 / .2) 66% 69%, transparent 69%),
        linear-gradient(0deg, transparent 46%, rgb(0 0 0 / .2) 46% 54%, transparent 54%),
        linear-gradient(135deg, #f3e2b4, #cdae72 55%, #94763f);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
/* a line-art olive sprig as a watermark */
.ob-gift .inv-gift__account:not(.inv-gift__address)::after {
    content: ''; position: absolute; right: -.8rem; bottom: -1rem; width: 6.4rem; height: 6.4rem; pointer-events: none; opacity: .22;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M8 96C30 62 55 40 94 8'/%3E%3Cpath d='M22 76c-4-12 2-22 13-26c2 12-3 22-13 26Z'/%3E%3Cpath d='M28 70c11-6 22-4 28 4c-10 7-21 5-28-4Z'/%3E%3Cpath d='M44 56c-3-12 3-21 14-24c1 12-4 21-14 24Z'/%3E%3Cpath d='M50 51c11-5 21-2 26 6c-10 6-21 3-26-6Z'/%3E%3Cpath d='M66 34c-2-10 4-18 13-20c0 10-5 18-13 20Z'/%3E%3Cpath d='M94 8c-8 1-14 6-15 13c8-1 14-6 15-13Z'/%3E%3Cellipse cx='38' cy='76' rx='4' ry='3'/%3E%3Cellipse cx='62' cy='60' rx='3.6' ry='2.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.ob-gift .inv-gift__account > * { position: relative; z-index: 1; }
.ob-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__bank {
    position: absolute; top: .95rem; right: .7rem; left: 3.35rem; margin: 0; text-align: right;
    font: 400 .66rem/1.5rem var(--ob-caps); letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ob-gift .inv-gift__logo { height: 1.5rem; padding: .18rem .45rem; border-radius: .35rem; }
.ob-gift .inv-gift__logo img { max-width: 4.6rem; }
.ob-gift .inv-gift__number {
    margin: 0 0 .25rem; font: 500 .98rem/1.3 var(--ob-mono); letter-spacing: .06em;
    text-shadow: 0 1px 2px rgb(0 0 0 / .25); overflow-wrap: anywhere;
}
.ob-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__holder {
    margin: 0 0 .65rem; font: 400 .62rem/1.4 var(--ob-caps); letter-spacing: .12em; text-transform: uppercase; opacity: .95;
    overflow-wrap: anywhere;
}
.ob-gift .inv-gift__account:not(.inv-gift__address) .inv-button--outline {
    align-self: flex-start; padding: .35rem .7rem; font-size: .64rem; letter-spacing: .08em;
    background: rgb(255 255 255 / .14); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7);
}
/* the gift address: a plain paper card */
.ob-gift .inv-gift__address {
    position: relative; padding: 1.5rem 1.3rem; border-radius: 4px; text-align: center;
    background: var(--inv-paper); border: 1px dashed var(--ob-line); box-shadow: var(--ob-shadow);
}
.ob-gift .inv-gift__address .inv-gift__bank { font: 400 .74rem/1.4 var(--ob-caps); letter-spacing: .28em; text-transform: uppercase; color: var(--ob-ink); }
.ob-gift .inv-gift__address .inv-gift__holder { margin: .5rem 0 .2rem; font-weight: 600; font-size: 1.15rem; }
.ob-gift .inv-gift__address p:not([class]) { margin-bottom: 1rem; color: var(--ob-muted); line-height: 1.6; }

/* forms (rsvp, wishes) */
.ob-form { text-align: left; }
.ob-form > :not(.ob-tape) { position: relative; z-index: 1; }
.ob-form .inv-form { gap: .95rem; }
.ob-form .inv-form label, .ob-form .inv-form__choices legend { font: 500 .95rem/1.4 var(--ob-serif); color: var(--ob-muted); }
.ob-form .inv-form input:not([type=radio]):not([type=checkbox]), .ob-form .inv-form select, .ob-form .inv-form textarea {
    padding: .72rem .9rem; border-radius: 6px; background: #fff; color: #2b2c1d;
    border: 1px solid color-mix(in srgb, var(--inv-primary) 30%, transparent);
    font: 400 1.02rem/1.4 var(--ob-serif); transition: border-color .2s ease, box-shadow .2s ease;
}
.ob-form .inv-form input:focus, .ob-form .inv-form select:focus, .ob-form .inv-form textarea:focus {
    outline: none; border-color: var(--inv-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-primary) 18%, transparent);
}
.ob-form .inv-form__choices label {
    padding: .45rem .85rem; border-radius: 999px; background: #fff; color: var(--inv-text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 28%, transparent);
}
.ob-form .inv-form > .inv-button { width: 100%; margin-top: .2rem; }
.ob-form .inv-rsvp__deadline { margin-bottom: .9rem !important; font-style: italic; color: var(--ob-muted); text-align: center; }
.ob-form .inv-form__notice { font-size: .95rem; color: var(--inv-text); }

/* wishes: three compact label cards per page */
.ob-form .inv-wishes__list { margin-top: 1.3rem; gap: .55rem; }
.ob-form .inv-wishes:not(.inv-wishes--paged) { --inv-wishes-height: 20rem; }
.ob-form .inv-wish {
    padding: .65rem .85rem; border-radius: 3px; background: var(--inv-background);
    border: 1px solid var(--ob-hair); border-left: 3px solid var(--inv-fill);
}
.ob-form .inv-wish__name { font: 600 1.12rem/1.2 var(--ob-hand); color: var(--inv-leaf); }
.ob-form .inv-wish__message { font-size: .96rem; line-height: 1.45; }
.ob-form .inv-wish__time { font-size: .76rem; font-style: italic; color: var(--ob-muted); opacity: 1; }
.ob-form .inv-wishes__empty { font-style: italic; text-align: center; }
.ob-form .inv-wishes__pager { gap: .9rem; margin-top: 1rem; }
.ob-form .inv-wishes__page-button {
    display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0 0 .12rem;
    font: 400 1.3rem/1 var(--ob-serif); color: var(--inv-primary);
    background: var(--inv-background); border: 1px solid var(--ob-line);
    transition: background .2s ease, color .2s ease;
}
.ob-form .inv-wishes__page-button:not(:disabled):hover { background: var(--inv-primary); color: #fff; }
.ob-form .inv-wishes__page { font: 400 .76rem/1 var(--ob-caps); letter-spacing: .18em; color: var(--ob-muted); opacity: 1; }

/* closing: a full-bleed photo under a dark olive gradient, the words over it */
.ob-closing { position: relative; text-align: center; overflow: hidden; }
.ob-closing--photo { display: grid; align-items: end; min-height: 40rem; padding: 6rem 1.5rem 7.5rem; color: #fff; background: #1d1f12; }
.ob-closing > .ob-closing__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ob-closing__bg img { position: absolute; left: 0; top: -48px; width: 100%; height: calc(100% + 96px); max-width: none; object-fit: cover; object-position: center 30%; }
.ob-closing__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(20 22 12 / .05) 0%, rgb(20 22 12 / .2) 32%, color-mix(in srgb, var(--inv-primary) 35%, rgb(16 18 10 / .86)) 64%, rgb(16 18 10 / .94) 100%);
}
.ob-closing > .ob-closing__body { position: relative; z-index: 1; display: grid; justify-items: center; }
.ob-closing__thanks { font: 400 1.45rem/1.2 var(--ob-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); }
.ob-closing__divider { width: 10rem; margin: .7rem auto .3rem !important; }
.ob-closing__names { margin: .2rem 0 .7rem !important; font: 400 3rem/1.3 var(--ob-script); color: var(--inv-primary); }
.ob-closing__names span { color: var(--ob-ink); font-size: .7em; }
.ob-closing__message { max-width: 23rem; margin: 0 auto 1rem !important; line-height: 1.75; color: var(--ob-muted); }
.ob-closing__sign { font: 400 .78rem/1.4 var(--ob-caps); letter-spacing: .24em; text-transform: uppercase; }
.ob-closing--photo .ob-closing__thanks, .ob-closing--photo .ob-closing__sign { color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / .4); }
.ob-closing--photo .ob-closing__names { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.ob-closing--photo .ob-closing__names span { color: color-mix(in srgb, var(--inv-accent) 55%, #fff); }
.ob-closing--photo .ob-closing__message { color: rgb(255 255 255 / .9); }
.ob-closing--photo .ob-closing__divider { filter: brightness(0) invert(1); opacity: .85; }
/* the divider draws itself open from the middle once the words are revealed (it starts as a short piece: a fully
   clipped element is never reported as visible, so it would never be revealed) */
html.inv-anim .ob-closing__divider[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 40% 0 40%); }
html.inv-anim .ob-closing__divider[data-reveal].is-revealed { clip-path: inset(0 0 0 0); }

/* ---------- shared bits: check-in, branding, menu, music, back to top ---------- */

.ob-page .inv-checkin { position: relative; margin: 2rem auto; color: #24261a; }
.ob-page .inv-branding { padding: 1.4rem 1rem 1rem; font-size: .8rem; letter-spacing: .03em; color: var(--ob-muted); opacity: 1; }
.ob-body:has(.inv-nav) .inv-branding { padding-bottom: 1rem; }

.ob-body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-paper) 92%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 80%, transparent);
    --inv-nav-active: var(--inv-primary);
    max-width: min(calc(100vw - 1.5rem), calc(var(--ob-column) - 1.5rem));
    border-color: var(--ob-line);
    font-family: var(--ob-serif);
}
.ob-body .inv-nav__item { font-size: .66rem; }

.ob-body .inv-music__space { display: none; }
.ob-body .inv-music { right: max(1rem, calc(50vw - var(--ob-column) / 2 + 1rem)); }
.ob-body .inv-music__button { background: var(--inv-primary); box-shadow: 0 0 0 2px var(--inv-paper), 0 0 0 3px var(--ob-line), 0 8px 18px -8px rgb(0 0 0 / .4); }
.ob-body .inv-autoscroll { font-family: var(--ob-serif); }
.ob-body .inv-to-top {
    left: max(1rem, calc(50vw - var(--ob-column) / 2 + 1rem));
    background: var(--inv-paper); color: var(--inv-primary); box-shadow: 0 0 0 1px var(--ob-line), 0 6px 14px -6px rgb(0 0 0 / .3);
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ob-sway, html.inv-anim .ob-sway { animation: none !important; }
    .ob-cover--leave { transition: opacity .3s ease; }
    .ob-cover--gone { transform: translateX(-50%); }
}

/* ---------- fit: the page end and the cover on every phone ---------- */

/* the page ends close under the closing words (the menu covers the last ~90px) */
.ob-closing--photo { padding-bottom: 2.6rem; }

/* the cover blocks share the screen height; the photo and the branches follow it */
.ob-cover__inner { justify-content: space-evenly; }
.ob-cover__photo { height: min(260px, 30svh); }
.ob-cover .ob-corner { width: min(clamp(130px, 42%, 190px), 24svh); }
.ob-cover .ob-corner[class$="-sm"] { width: min(clamp(80px, 25%, 114px), 14svh); }

@media (max-height: 760px) {
    .ob-cover__inner { padding: 2rem 1.8rem 1.8rem; }
    .ob-mono { width: 4.5rem; height: 4.5rem; margin-bottom: .35rem; }
    .ob-mono__letters { font-size: 1.15rem; }
    .ob-cover__title { margin-bottom: .7rem !important; }
    .ob-cover__photo { height: 23svh; }
    .ob-cover__names { margin: .45rem 0 .15rem !important; font-size: clamp(2.3rem, 10.5vw, 2.8rem); }
    .ob-cover__quote { margin-top: .5rem !important; font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
    .ob-cover__guest { margin: .8rem 0 .9rem; padding-block: .6rem .55rem; }
    .ob-cover__sorry { font-size: .74rem; }
}
@media (max-height: 660px) {
    .ob-cover__inner { padding: 1.7rem 1.6rem 1.5rem; }
    .ob-mono { width: 3.7rem; height: 3.7rem; margin-bottom: .2rem; }
    .ob-mono__letters { font-size: 1rem; }
    .ob-cover__title { margin-bottom: .5rem !important; }
    .ob-cover__photo { height: 19svh; }
    .ob-cover__names { font-size: 2.15rem; }
    .ob-cover__quote { font-size: .88rem; -webkit-line-clamp: 6; }
    .ob-cover__guest { margin: .6rem 0 .7rem; padding-block: .5rem .45rem; }
    .ob-cover__guestname { font-size: 1.2rem; }
    .ob-cover__sorry { display: none; }
}
