/* ==========================================================
   Wayan Surya & Made Aras — Wedding Invitation
   Font: American Typewriter · Assets: assets/img/svg
   ========================================================== */
@font-face {
    font-family: 'American Typewriter';
    src: url('../font/American%20Typewriter%20Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown: #5f3f30;
    --brown-deep: #3a2519;
    --tan: #9c8768;
    --tan-soft: #c9b79a;
    --green: #212922;
    --green-deep: #161c17;
    --cream: #f4ece0;
    --paper: #faf6f0;
    --ease: cubic-bezier(.2, .7, .15, 1);
    --ease-io: cubic-bezier(.76, 0, .18, 1);
    --col: 480px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock, html.lock body { overflow: hidden; height: 100%; }

body {
    font-family: 'American Typewriter', 'Courier New', serif;
    background: var(--green-deep);
    color: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.page {
    position: relative;
    max-width: var(--col);
    margin: 0 auto;
    background: var(--green);
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0, 0, 0, .55);
}

/* ---------- SVG as coloured mask ---------- */
.svg {
    display: block;
    background-color: currentColor;
    -webkit-mask: var(--src) center / contain no-repeat;
    mask: var(--src) center / contain no-repeat;
}
.svg-initial  { --src: url('../img/svg/initial.svg');      aspect-ratio: 49 / 47; }
.svg-gold     { --src: url('../img/svg/initial-gold.svg'); aspect-ratio: 61 / 59; }
.svg-last     { --src: url('../img/svg/initial-last.svg'); aspect-ratio: 93 / 89; }
.svg-names    { --src: url('../img/svg/name.svg');         aspect-ratio: 265 / 116; }
.svg-pria     { --src: url('../img/svg/name-pria.svg');    aspect-ratio: 176 / 108; }
.svg-wanita   { --src: url('../img/svg/name-wanita.svg');  aspect-ratio: 148 / 101; }

/* ---------- Reveal animations ---------- */
.rv {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; filter: none; }

/* handwriting wipe for the script names */
.sign {
    clip-path: inset(-4% 100% -4% 0);
    transition: clip-path 2.6s var(--ease-io);
    transition-delay: var(--d, 0s);
}
.sign.in { clip-path: inset(-4% -2% -4% 0); }

/* parallax / ken burns background layer */
.bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bg img {
    width: 100%; height: 120%;
    object-fit: cover;
    transform: translate3d(0, calc(var(--p, 0) * -8%), 0) scale(1.06);
    will-change: transform;
}
.bg.kb img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns {
    from { transform: translate3d(0, 0, 0) scale(1.06); }
    to   { transform: translate3d(-1.5%, -3%, 0) scale(1.2); }
}
.bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* film grain like the mock-ups */
.grain::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    opacity: .16; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* ==========================================================
   COVER (opening)
   ========================================================== */
.cover {
    position: fixed; inset: 0; z-index: 100;
    background: var(--green-deep);
    display: flex; justify-content: center;
    transition: transform 1.5s var(--ease-io), visibility 0s linear 1.5s;
}
.cover.open { transform: translateY(-101%); visibility: hidden; }
.cover-inner {
    position: relative; width: 100%; max-width: var(--col);
    display: flex; flex-direction: column; overflow: hidden;
}
.cover-photo { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cover-photo .bg img { height: 100%; transform: none; animation: coverzoom 14s ease-out both; object-position: 50% 40%; }
@keyframes coverzoom { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.cover-photo .shade { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.28) 100%); }
.cover .mono { position: absolute; top: 9%; left: 50%; width: 44px; margin-left: -22px; color: #fff; z-index: 3; }
.cover .names { position: absolute; left: 50%; top: 59%; width: min(84%, 340px); transform: translate(-50%, -50%); color: #f5efe6; z-index: 3; }
.cover .lead {
    position: absolute; left: 0; right: 0; bottom: 7%; z-index: 3;
    text-align: center; font-size: 13px; line-height: 1.5; padding: 0 12%; color: #fff;
}
.cover { --bar: clamp(120px, 19svh, 150px); --credit: 62px; }
/* photo starts full screen; the foot grows in afterwards and pushes the photo up */
.cover-foot { flex: 0 0 auto; height: 0; overflow: hidden; transition: height 1.5s var(--ease-io); }
.cover-foot.in { height: calc(var(--bar) + var(--credit)); }
.cover-foot-in { height: calc(var(--bar) + var(--credit)); transform: translateY(40%); opacity: 0; transition: transform 1.5s var(--ease-io), opacity 1s ease .2s; }
.cover-foot.in .cover-foot-in { transform: none; opacity: 1; }
.cover-bar { display: flex; height: var(--bar); }
.cover-to {
    flex: 0 0 63%; background: var(--brown);
    padding: 22px 24px 0 0; text-align: right;
    display: flex; flex-direction: column; align-items: flex-end;
}
.cover-to small { color: var(--tan-soft); font-size: 11px; letter-spacing: .04em; margin-bottom: 8px; opacity: .85; }
.cover-to strong {
    font-weight: normal; color: var(--tan-soft); font-size: 17px; line-height: 1.25;
    letter-spacing: .06em; text-transform: uppercase; word-break: break-word;
}
.cover-open {
    flex: 1; background: var(--tan); color: var(--brown-deep);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 18px 16px 16px; text-align: right; font-size: 12px; letter-spacing: .06em;
    text-transform: uppercase; line-height: 1.3; position: relative; overflow: hidden;
    transition: color .5s var(--ease);
}
.cover-open::before {
    content: ''; position: absolute; inset: 0; background: var(--brown); transform: translateY(101%);
    transition: transform .6s var(--ease); z-index: 0;
}
.cover-open:hover::before, .cover-open:focus-visible::before { transform: none; }
.cover-open:hover, .cover-open:focus-visible { color: var(--cream); }
.cover-open > * { position: relative; z-index: 1; }
.cover-open svg { width: 38px; height: 38px; align-self: flex-start; transition: transform .6s var(--ease); }
.cover-open:hover svg { transform: translate(5px, -5px); }
.cover-credit {
    flex: 0 0 auto; background: var(--green); color: var(--tan);
    height: var(--credit); display: flex; align-items: center; padding: 0 28px; gap: 56px; font-size: 11px; letter-spacing: .04em;
}

/* cover entrance sequence */
.cover .mono, .cover .lead { opacity: 0; }
.cover.ready .mono   { animation: fadeUp 1.4s var(--ease) .2s forwards; }
.cover.ready .lead   { animation: fadeUp 1.4s var(--ease) 2.2s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative; min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 9svh 24px 7svh;
}
.hero .shade { background: linear-gradient(180deg, rgba(20,12,6,.35), rgba(20,12,6,.55) 55%, rgba(14,10,6,.8)); }
.hero > .z { position: relative; z-index: 3; }
.mono-sm { width: 44px; color: #fff; }
.hero .stack { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }
.hero .num { font-size: 13px; letter-spacing: .12em; color: #f1e8da; }
.hero .names { width: min(84%, 340px); color: #f6f0e6; }
.hero .tag { font-size: 13px; letter-spacing: .14em; margin-bottom: 38px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-cue svg { width: 22px; height: 28px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(8px); opacity: .45; } }

/* ==========================================================
   PROFILE (Wayan / Made)
   ========================================================== */
.profile { --w: min(100vw, var(--col)); position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--w) * .127) 0 calc(var(--w) * .127); }
.profile .shade { background: linear-gradient(180deg, rgba(40,24,10,.25) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.92) 100%); }
/* photos are landscape: keep the subject centred in a portrait crop (less parallax overscan = no extra zoom) */
.profile .bg img { height: 108%; transform: translate3d(0, calc(var(--p, 0) * -3.5%), 0) scale(1.08); transform-origin: 50% 100%; object-position: 49% 50%; }
.profile.made .bg img { object-position: 24% 50%; }
.profile > .z { position: relative; z-index: 3; }
.profile .mono-sm { margin: 0 auto; }
.profile .info {
    margin-top: auto; padding: 0 calc(var(--w) * .05) calc(var(--w) * .122 + 46px) calc(var(--w) * .097);
    display: grid; grid-template-columns: calc(var(--w) * .407) 1fr; align-items: start; color: #f5eee3;
}
.profile .script { width: calc(var(--w) * .448); margin-top: calc(var(--w) * -.075); color: #fff; position: relative; z-index: 2; }
.profile.made .script { width: calc(var(--w) * .377); }
.profile .bio { font-size: calc(var(--w) * .0267); line-height: 1.24; }
.profile .bio .full { margin-bottom: calc(var(--w) * .11); display: block; white-space: nowrap; }
.profile .bio .arr { width: 1.05em; height: 1.05em; margin-bottom: .45em; opacity: .85; }
.profile .bio .where { display: block; margin-top: calc(var(--w) * .038); }
.split-btn {
    position: fixed; z-index: 80; left: 50%; bottom: calc(min(100vw, var(--col)) * .127);
    width: min(270px, calc(100vw - 64px)); height: 46px; background: rgba(95,63,48,.94);
    display: flex; align-items: center; color: var(--tan-soft); font-size: 14px; letter-spacing: .06em;
    text-transform: uppercase; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translate(-50%, 24px); pointer-events: none;
    transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s linear .8s;
}
.split-btn.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition-delay: 0s; }
.split-btn a { flex: 1; text-align: center; padding: 12px 0; transition: color .4s, background .4s; }
.split-btn a:hover { color: #fff; background: rgba(255,255,255,.07); }
.split-btn i { width: 1px; height: 22px; background: var(--tan-soft); opacity: .6; }

/* ==========================================================
   COUPLE slider
   ========================================================== */
/* overflow + isolation: keep the zooming slides inside this section (they used to bleed over the bride section) */
.couple { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; background: #14100c; overflow: hidden; isolation: isolate; }
.couple .slides { position: absolute; inset: 0; z-index: 0; }
.couple .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.couple .slide.on { opacity: 1; }
.couple .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.couple .slide.on img { animation: slowzoom 9s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.couple .shade { background: linear-gradient(180deg, rgba(10,8,5,.85) 0%, rgba(10,8,5,.1) 32%, rgba(10,8,5,0) 55%, rgba(10,8,5,.85) 100%); }
.couple > .z { position: relative; z-index: 3; width: 100%; }
.couple .names { width: min(80%, 330px); margin: 8svh auto 0; color: #f6f0e6; }
.couple .foot { position: absolute; left: 0; right: 0; bottom: 6svh; display: flex; flex-direction: column; align-items: center; gap: 28px; z-index: 3; }
.couple .tag { font-size: 13px; letter-spacing: .12em; }
.arrows { display: flex; gap: 20px; }
.arrows button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,236,224,.7);
    display: grid; place-items: center; transition: background .4s, color .4s, transform .4s var(--ease);
}
.arrows button:hover { background: var(--cream); color: var(--brown-deep); transform: scale(1.06); }
.arrows svg { width: 18px; height: 18px; }

/* ==========================================================
   DATE
   ========================================================== */
.date {
    position: relative; background: var(--green) url('../img/svg/bg-date.svg') center / cover;
    padding: 80px 24px 76px; text-align: center; color: var(--tan);
}
.date .day { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.date .big { font-size: clamp(36px, 10.5vw, 48px); letter-spacing: .02em; margin: 26px 0 34px; white-space: nowrap; }
.date .big span { display: inline-block; margin: 0 .3em; opacity: .85; }
.date .mono-gold { width: 56px; margin: 0 auto 38px; color: var(--tan); }
.date .time { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.date .time small { font-size: 11px; letter-spacing: .08em; }
.date .time b { font-weight: normal; font-size: clamp(26px, 8vw, 34px); letter-spacing: .02em; }
.date .note { margin-top: 26px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; }
.date .cal {
    display: inline-block; margin-top: 30px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
    transition: background-size .6s var(--ease), color .4s;
}
.date .cal:hover { background-size: 0 1px; background-position: right bottom; color: var(--tan-soft); }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery { background: var(--paper); color: var(--brown-deep); padding: 22px 20px 30px; }
.gallery .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
.g-item { display: block; text-align: left; width: 100%; }
.g-item .ph { aspect-ratio: 1; overflow: hidden; background: #e7ddd0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.08); }
.g-item .cap { display: flex; justify-content: space-between; gap: 4px; margin-top: 5px; font-size: 4px; letter-spacing: .02em; text-transform: uppercase; font-weight: bold; line-height: 1.2; }

.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(14,10,6,.94); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.lightbox.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: 94vw; max-height: 86svh; object-fit: contain; transform: scale(.96); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.lightbox.show img.loaded { transform: none; opacity: 1; }
.lb-btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; color: var(--cream); border: 1px solid rgba(244,236,224,.45); border-radius: 50%; transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--cream); color: var(--brown-deep); }
.lb-btn svg { width: 18px; height: 18px; }
.lb-close { top: 18px; right: 18px; }
.lb-dl { top: 18px; right: 74px; }
.lb-prev { left: 14px; top: 50%; margin-top: -23px; }
.lb-next { right: 14px; top: 50%; margin-top: -23px; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--tan-soft); }

/* ==========================================================
   LOCATION
   ========================================================== */
.location { position: relative; }
.video-poster { position: relative; height: 200px; overflow: hidden; display: block; width: 100%; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.6s var(--ease); }
div.video-poster:hover img { transform: none; }
.video-poster:hover img { transform: scale(1.07); }
.video-poster::after { content: ''; position: absolute; inset: 0; background: rgba(10,8,4,.25); }
.video-poster .play {
    position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border: 1px solid rgba(255,255,255,.85); border-radius: 50%; display: grid; place-items: center; color: #fff;
    transition: transform .5s var(--ease), background .4s;
}
.video-poster:hover .play { transform: scale(1.12); background: rgba(255,255,255,.14); }
.video-poster .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-poster .play::before {
    content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
    animation: ping 2.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
/* standalone video section (above Date): poster follows the 1920x900 prewedding frame */
.video-sec { position: relative; background: var(--green-deep); }
.video-sec .video-poster { height: auto; aspect-ratio: 32 / 15; }
.loc-body { background: var(--green) url('../img/svg/bg-date.svg') center / cover; text-align: center; padding: 28px 31px 36px; color: var(--tan); }
.loc-body .eyebrow { font-size: 13px; }
.loc-body .names { width: min(84%, 330px); margin: 34px auto 40px; color: var(--tan); }
.btn-map {
    display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px 0 26px;
    background: var(--tan); color: var(--brown); font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
    position: relative; overflow: hidden; transition: color .5s;
}
.btn-map::before { content: ''; position: absolute; inset: 0; background: var(--brown); transform: translateX(-101%); transition: transform .7s var(--ease); }
.btn-map:hover::before { transform: none; }
.btn-map:hover { color: var(--cream); }
.btn-map > * { position: relative; }
.btn-map svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn-map:hover svg { transform: translate(4px, -4px); }
.loc-body .addr { margin-top: 38px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.55; }

.vmodal { position: fixed; inset: 0; z-index: 210; background: rgba(8,6,3,.93); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s; }
.vmodal.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.vmodal .frame { position: relative; width: min(92vw, 860px); aspect-ratio: 16 / 9; background: #000; }
.vmodal iframe, #yt-player { display: block; width: 100%; height: 100%; border: 0; }
/* hides YouTube's paused "More videos" strip; tap to resume */
.yt-cover { position: absolute; inset: 0; z-index: 1; background: rgba(8,6,3,.96); display: grid; place-items: center; color: #fff; }
.yt-cover[hidden] { display: none; }
.yt-cover span { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; display: grid; place-items: center; transition: transform .5s var(--ease), background .4s; }
.yt-cover:hover span { transform: scale(1.1); background: rgba(255,255,255,.14); }
.yt-cover svg { width: 22px; height: 22px; margin-left: 3px; }
.vmodal .lb-close { z-index: 2; }

/* ==========================================================
   GIFT
   ========================================================== */
.gift {
    --w: min(100vw, var(--col));
    position: relative; height: calc(var(--w) * 1.478); min-height: 540px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 calc(var(--w) * .05) calc(var(--w) * .186) calc(var(--w) * .191); overflow: hidden;
}
.gift .shade { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 36%, rgba(8,5,2,.55) 62%, rgba(8,5,2,.94) 100%); }
/* portrait photo, enlarged so the couple sits in the upper half like the mock-up */
.gift .bg img { position: absolute; width: 145%; max-width: none; height: auto; left: -15.5%; top: -40.6%; transform: none; }
.gift .mono-last { position: absolute; z-index: 3; top: calc(var(--w) * .071); right: calc(var(--w) * .059); width: calc(var(--w) * .234); color: #fff; }
.gift .body { position: relative; z-index: 3; color: #f3ebdf; font-size: calc(var(--w) * .0267); line-height: 1.28; }
.gift .body > p { max-width: calc(var(--w) * .46); margin-bottom: calc(var(--w) * .117); }
.acc { display: flex; gap: calc(var(--w) * .033); margin-bottom: calc(var(--w) * .051); text-align: left; width: 100%; align-items: flex-start; }
.acc:last-child { margin-bottom: 0; }
.acc svg { width: 1em; height: 1em; margin-top: .15em; flex: 0 0 auto; opacity: .85; transition: transform .5s var(--ease); }
.acc:hover svg { transform: translate(3px, -3px); }
.acc span { display: block; }
.acc b { font-weight: bold; }

.footer { background: var(--green-deep); text-align: center; padding: 46px 24px 70px; color: var(--tan); font-size: 11px; letter-spacing: .08em; }
.footer .mono-gold { width: 40px; margin: 0 auto 18px; }

/* ---------- music + toast ---------- */
.music {
    position: fixed; z-index: 90; bottom: 18px; left: max(16px, calc(50% - var(--col) / 2 + 16px));
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--cream);
    background: rgba(33,41,34,.6); border: 1px solid rgba(244,236,224,.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transform: scale(.7); pointer-events: none; transition: opacity .8s var(--ease) 1.4s, transform .8s var(--ease) 1.4s;
}
.opened .music { opacity: 1; transform: none; pointer-events: auto; }
.music svg { width: 18px; height: 18px; }
.music .i-pause { display: none; }
.music.playing .i-play { display: none; }
.music.playing .i-pause { display: block; }
.music.playing::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(244,236,224,.35); animation: ping 3s ease-out infinite; }

.toast {
    position: fixed; z-index: 300; left: 50%; bottom: 76px; transform: translate(-50%, 16px);
    background: var(--brown); color: var(--cream); padding: 10px 20px; font-size: 12px; letter-spacing: .06em;
    opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- desktop backdrop ---------- */
@media (min-width: 560px) {
    body { background: radial-gradient(ellipse at 50% 0%, #2a3429, var(--green-deep) 70%) fixed; }
    .cover { background: rgba(10,14,11,.96); }
    .cover-inner { box-shadow: 0 0 80px rgba(0,0,0,.6); }
}
@media (max-height: 640px) {
    .cover .names { top: 56%; width: 70%; }
    .cover { --bar: 104px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .rv, .sign { opacity: 1; transform: none; filter: none; clip-path: none; }
}
