/*
Theme Name: Boaventura
Author: Danilo
Description: Convite privado com gestão de convidados, confirmação de presença e galeria protegida do Google Drive.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: boaventura
*/

:root {
	--night: #171512;
	--coffee: #3b2e22;
	--wine: #7a3b2e;
	--terracotta: #c15c3e;
	--sunset: #e8935a;
	--sun: #f9c877;
	--sand: #fce3b0;
	--cream: #fff8ed;
	--paper: #f6ebdc;
	--ink: #4a341e;
	--accent: #f3b86c;
	--page-gutter: clamp(1.25rem, 5vw, 5rem);
	--content: 1180px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-width: 320px;
	background: var(--night);
	color: var(--ink);
	font-family: "Inter", sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img, video, svg { display: block; max-width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.eyebrow {
	margin: 0;
	font-size: .69rem;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.display {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(3.15rem, 8.4vw, 7.7rem);
	font-weight: 300;
	letter-spacing: -.055em;
	line-height: .86;
}

.heading {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2.6rem, 5.6vw, 5.5rem);
	font-weight: 300;
	letter-spacing: -.045em;
	line-height: .98;
}

.body-copy {
	margin: 0;
	max-width: 39rem;
	font-size: clamp(.98rem, 1.3vw, 1.12rem);
	line-height: 1.75;
}

.section-inner { position: relative; z-index: 2; width: min(100%, var(--content)); margin-inline: auto; }
.site-shell { display: none; opacity: 0; }
.site-shell.is-visible { display: block; animation: site-in 900ms var(--ease) both; }
@keyframes site-in { from { opacity: 0; } to { opacity: 1; } }

/* Portão de acesso */
.gate {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	min-height: 100svh;
	padding: 5.5rem var(--page-gutter) 4rem;
	overflow: hidden;
	color: var(--paper);
	background: var(--night);
}

.gate-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(23,21,18,.2), rgba(23,21,18,.82)), url("https://i.ytimg.com/vi/GtdKeqP0BpE/maxresdefault.jpg") center / cover;
}

.gate-media iframe {
	position: absolute;
	top: 50%; left: 50%;
	width: 177.78vh; height: 56.25vw;
	min-width: 100%; min-height: 100%;
	border: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(1.02);
}

.gate-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 35%, transparent 0 10%, rgba(23,21,18,.12) 52%, rgba(23,21,18,.5) 100%), linear-gradient(180deg, rgba(23,21,18,.2), rgba(23,21,18,.78));
}

.gate-topline, .gate-footline {
	position: absolute;
	z-index: 3;
	right: var(--page-gutter); left: var(--page-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: .65rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.gate-topline { top: 2rem; }
.gate-footline { bottom: 1.7rem; color: rgba(246,235,220,.58); }
.admin-bar .gate-topline { top: calc(2rem + 32px); }

.gate-monogram {
	display: grid;
	place-items: center;
	width: 2.25rem; height: 2.25rem;
	border: 1px solid rgba(246,235,220,.48);
	border-radius: 50%;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.05rem;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
}

.gate-card {
	position: relative;
	z-index: 3;
	width: min(100%, 27rem);
	padding: clamp(2rem, 5vw, 3rem);
	border: 1px solid rgba(246,235,220,.18);
	border-radius: 1.3rem;
	background: rgba(20,15,10,.58);
	box-shadow: 0 1.7rem 5rem rgba(0,0,0,.24);
	text-align: center;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.gate-card .eyebrow { margin-bottom: 1.25rem; color: rgba(246,235,220,.64); }
.gate-title { margin: 0 0 .85rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem,7vw,3rem); font-weight: 300; letter-spacing: -.04em; line-height: .98; }
.gate-copy { margin: 0 auto 1.75rem; max-width: 19rem; color: rgba(246,235,220,.7); font-size: .84rem; line-height: 1.65; }
.token-form { display: grid; gap: .75rem; }

.token-input {
	width: 100%;
	min-height: 3.25rem;
	padding: .8rem 1rem;
	border: 1px solid rgba(246,235,220,.3);
	border-radius: 999px;
	outline: none;
	color: var(--paper);
	background: rgba(255,255,255,.07);
	text-align: center;
	text-transform: uppercase;
	transition: border-color 180ms ease, background 180ms ease;
}

.token-input::placeholder { color: rgba(246,235,220,.42); text-transform: lowercase; }
.token-input:focus { border-color: rgba(243,184,108,.75); background: rgba(255,255,255,.1); }

.primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: .8rem 1.4rem;
	border: 1px solid var(--accent);
	border-radius: 999px;
	color: var(--accent);
	background: transparent;
	cursor: pointer;
	font-size: .73rem;
	font-weight: 500;
	letter-spacing: .15em;
	text-transform: uppercase;
	transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.primary-button:hover:not(:disabled) { color: var(--night); background: var(--accent); transform: translateY(-2px); }
.primary-button:disabled { opacity: .55; cursor: default; }
.gate-error { display: none; margin: .2rem 0 0; color: #ffc2b8; font-size: .77rem; line-height: 1.45; }
.gate-error.is-visible { display: block; }

/* Navegação */
.day-nav {
	position: absolute;
	z-index: 10;
	top: 0; right: 0; left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem var(--page-gutter);
	color: #6d522d;
}

.admin-bar .day-nav { top: 32px; }
.wordmark { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 1rem; font-weight: 500; }
.day-nav ol { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.day-nav a { color: inherit; font-size: .63rem; font-weight: 500; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.day-nav a:hover { opacity: .62; }
.nav-logout { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font-size: .63rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav-logout:hover { opacity: .62; }

/* Seções do convite */
.hero, .editorial, .logistics, .dj-rsvp, .private-gallery, .night-footer { position: relative; overflow: hidden; padding: clamp(6rem,11vw,10rem) var(--page-gutter); }

.hero { display: grid; align-items: center; min-height: 100svh; padding-top: clamp(8rem,14vw,11rem); color: #5c4423; background: var(--cream); }
.hero::before { content: ""; position: absolute; top: -20vw; right: -13vw; width: 58vw; height: 58vw; border-radius: 50%; background: rgba(249,200,119,.34); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(23rem,1.1fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.hero-copy .eyebrow { margin-bottom: clamp(1.2rem,3vw,2.3rem); color: #9a7338; }
.hero-copy .display span { display: block; margin-left: clamp(1.8rem,6vw,5.5rem); color: #b36a40; font-style: italic; font-weight: 500; }
.hero-intro { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; align-items: start; margin-top: clamp(2.3rem,5vw,4rem); max-width: 31rem; }
.hero-intro::before { content: ""; width: 3rem; height: 1px; margin-top: .75rem; background: currentColor; opacity: .5; }
.hero-intro p { margin: 0; font-size: .88rem; line-height: 1.7; }

.day-scene { position: relative; min-height: clamp(28rem,58vw,46rem); margin: 0; border-radius: 48% 48% .6rem .6rem / 30% 30% .6rem .6rem; overflow: hidden; box-shadow: 0 2.2rem 5rem rgba(91,59,25,.15); background: #efb65c; }
.day-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-caption { position: absolute; z-index: 2; right: 1.2rem; bottom: 1rem; left: 1.2rem; display: flex; justify-content: space-between; color: rgba(255,248,237,.78); font-size: .58rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

.editorial { color: #5c4423; background: var(--sand); }
.editorial::after { content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 28rem; height: 28rem; border: 1px solid rgba(122,84,23,.2); border-radius: 50%; box-shadow: 0 0 0 3.5rem rgba(122,84,23,.04), 0 0 0 7rem rgba(122,84,23,.03); }
.editorial-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem,9vw,9rem); align-items: start; }
.editorial-aside { position: sticky; top: 2rem; }
.editorial-aside .eyebrow { color: #8a6423; }
.editorial-number { display: block; margin-top: 2rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(6rem,14vw,12rem); font-weight: 300; letter-spacing: -.08em; line-height: .7; opacity: .16; }
.editorial-text .heading { max-width: 12ch; }
.editorial-text .heading em { color: #a75e3b; font-weight: 500; }
.editorial-text .body-copy { margin-top: clamp(2rem,4vw,3.5rem); max-width: 34rem; }
.editorial-signature { display: flex; gap: 1rem; align-items: center; margin-top: 2.7rem; color: #8a6423; font-size: .67rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.editorial-signature::before { content: ""; width: 3.4rem; height: 1px; background: currentColor; }

.logistics { color: #4a3410; background: var(--sun); }
.logistics-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem,7vw,6rem); }
.logistics-head .eyebrow { margin-bottom: 1.2rem; color: #7a5417; }
.logistics-note { justify-self: end; max-width: 23rem; padding-bottom: .7rem; font-size: .84rem; line-height: 1.7; }
.logistics-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(74,52,16,.35); border-bottom: 1px solid rgba(74,52,16,.35); }
.logistics-card { min-height: 17rem; padding: 1.6rem clamp(1rem,3vw,2rem) 2rem; border-right: 1px solid rgba(74,52,16,.35); }
.logistics-card:last-child { border-right: 0; }
.card-index { color: rgba(74,52,16,.55); font-size: .66rem; letter-spacing: .15em; }
.card-title { margin: clamp(3rem,6vw,5.4rem) 0 .75rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; line-height: 1; }
.logistics-card p:last-child { margin: 0; max-width: 14rem; font-size: .8rem; line-height: 1.65; }

.dj-rsvp { min-height: 100svh; color: var(--paper); background: linear-gradient(145deg,var(--sunset),var(--terracotta) 58%,#a24736); }
.dj-rsvp::before { content: ""; position: absolute; top: -20rem; left: 18%; width: 48rem; height: 48rem; border-radius: 50%; background: rgba(255,218,162,.18); filter: blur(2px); }
.dj-grid { display: grid; grid-template-columns: minmax(20rem,.9fr) minmax(0,1.1fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.dj-collage { position: relative; min-height: clamp(31rem,58vw,43rem); }
.dj-photo { position: absolute; overflow: hidden; border: 1px solid rgba(246,235,220,.24); background: linear-gradient(180deg,transparent 35%,rgba(23,21,18,.46)), url("https://i.ytimg.com/vi/GtdKeqP0BpE/maxresdefault.jpg") center / cover; box-shadow: 0 2rem 4rem rgba(75,30,21,.24); }
.dj-photo:first-child { top: 0; right: 8%; width: 73%; height: 72%; border-radius: 50% 50% .3rem .3rem / 28% 28% .3rem .3rem; }
.dj-photo:last-child { right: 0; bottom: 0; width: 50%; height: 43%; background-position: 75% center; }
.dj-photo span { position: absolute; right: 1rem; bottom: .9rem; left: 1rem; color: rgba(246,235,220,.72); font-size: .55rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.dj-orbit { position: absolute; bottom: 8%; left: 0; display: grid; place-items: center; width: 9rem; height: 9rem; border: 1px solid rgba(246,235,220,.38); border-radius: 50%; font-family: "Fraunces",Georgia,serif; font-size: 2.2rem; font-style: italic; }
.dj-content .eyebrow { margin-bottom: 1.5rem; color: #f0d8be; }
.dj-content .heading { max-width: 10ch; font-style: italic; font-weight: 500; }
.dj-content .body-copy { margin-top: 2rem; max-width: 31rem; color: rgba(246,235,220,.78); }
.rsvp-panel { margin-top: clamp(2.5rem,5vw,4.5rem); padding-top: 2rem; border-top: 1px solid rgba(246,235,220,.32); }
.welcome-text { margin: 0 0 .5rem; font-family: "Fraunces",Georgia,serif; font-size: clamp(1.4rem,3vw,2rem); font-style: italic; font-weight: 500; }
.rsvp-text { margin: 0; max-width: 28rem; color: rgba(246,235,220,.72); font-size: .82rem; line-height: 1.6; }
.rsvp-panel .primary-button { margin-top: 1.5rem; padding-inline: 2rem; }

/* Galeria privada */
.gallery-preview-banner { position: fixed; z-index: 99999; right: 1rem; bottom: 1rem; left: 1rem; display: flex; gap: .65rem 1rem; align-items: center; justify-content: center; padding: .85rem 1rem; border: 1px solid rgba(243,184,108,.45); border-radius: .75rem; color: var(--paper); background: rgba(23,21,18,.94); box-shadow: 0 .8rem 2.5rem rgba(0,0,0,.28); font-size: .75rem; line-height: 1.45; backdrop-filter: blur(12px); }
.gallery-preview-banner strong { color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.gallery-preview-banner a { color: var(--accent); font-weight: 500; text-transform: lowercase; }
.private-gallery { color: var(--paper); background: #24201b; }
.private-gallery::before { content: ""; position: absolute; top: -18rem; right: -13rem; width: 42rem; height: 42rem; border: 1px solid rgba(243,184,108,.14); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(243,184,108,.025), 0 0 0 10rem rgba(243,184,108,.018); }
.gallery-head { display: grid; grid-template-columns: minmax(16rem,.8fr) minmax(16rem,1.2fr); gap: 1.5rem 5rem; align-items: end; margin-bottom: clamp(3rem,7vw,6rem); }
.gallery-head .eyebrow { grid-column: 1 / -1; color: var(--accent); }
.gallery-head .heading em { color: var(--accent); font-weight: 500; }
.gallery-head .body-copy { color: rgba(246,235,220,.68); }
.gallery-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-flow: dense; grid-auto-rows: clamp(9.5rem,16vw,14rem); gap: clamp(.5rem,1vw,.8rem); }
.gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(246,235,220,.12); background: #0e0d0b; }
.gallery-item:nth-child(8n+1), .gallery-item:nth-child(8n+8) { grid-row: span 2; }
.gallery-item:nth-child(8n+6) { grid-column: span 2; }
.gallery-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; color: var(--paper); background: #0e0d0b; cursor: zoom-in; }
.gallery-trigger::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(9,8,7,.7)); pointer-events: none; }
.gallery-trigger img, .gallery-trigger video { width: 100%; height: 100%; object-fit: cover; transition: filter 500ms var(--ease), transform 700ms var(--ease); }
.gallery-trigger:hover img, .gallery-trigger:hover video, .gallery-trigger:focus-visible img, .gallery-trigger:focus-visible video { filter: brightness(.78); transform: scale(1.045); }
.gallery-item figcaption { position: absolute; z-index: 2; right: .7rem; bottom: .65rem; left: .7rem; overflow: hidden; color: rgba(246,235,220,.78); font-size: .56rem; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.gallery-zoom { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(23,21,18,.35); opacity: 0; transform: translate(-50%,-42%); transition: opacity 300ms ease, transform 400ms var(--ease); backdrop-filter: blur(8px); }
.gallery-trigger:hover .gallery-zoom, .gallery-trigger:focus-visible .gallery-zoom { opacity: 1; transform: translate(-50%,-50%); }
.gallery-zoom svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.gallery-video-badge { position: absolute; z-index: 3; top: .7rem; left: .7rem; padding: .38rem .55rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(23,21,18,.62); font-size: .53rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }

body.gallery-is-open { overflow: hidden; }
.gallery-lightbox[hidden], .gallery-download[hidden], .gallery-arrow[hidden] { display: none; }
.gallery-lightbox { position: fixed; z-index: 200000; inset: 0; color: var(--paper); opacity: 0; transition: opacity 220ms ease; }
.gallery-lightbox.is-open { opacity: 1; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,7,6,.96); backdrop-filter: blur(18px); }
.gallery-lightbox-shell { position: relative; z-index: 2; display: grid; grid-template-columns: clamp(2.8rem,5vw,4.5rem) minmax(0,1fr) clamp(2.8rem,5vw,4.5rem); grid-template-rows: auto minmax(0,1fr); width: 100%; height: 100%; padding: clamp(.85rem,2vw,1.5rem); }
.gallery-lightbox-toolbar { grid-column: 1 / -1; display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-width: 0; padding: 0 0 clamp(.8rem,2vw,1.25rem); }
.gallery-lightbox-toolbar p { min-width: 0; margin: 0; overflow: hidden; color: rgba(246,235,220,.68); font-size: .64rem; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.gallery-lightbox-actions { display: flex; flex: 0 0 auto; gap: .65rem; align-items: center; }
.gallery-download { display: inline-flex; gap: .48rem; align-items: center; padding: .65rem .9rem; border: 1px solid rgba(246,235,220,.28); border-radius: 999px; color: var(--paper); font-size: .58rem; font-weight: 500; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color 200ms ease, background 200ms ease; }
.gallery-download:hover { color: var(--night); background: var(--accent); }
.gallery-download svg { width: .95rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.gallery-close { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; padding: 0 0 .15rem; border: 1px solid rgba(246,235,220,.28); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; font-family: Arial,sans-serif; font-size: 1.55rem; font-weight: 300; line-height: 1; }
.gallery-arrow { z-index: 3; align-self: center; display: grid; place-items: center; width: clamp(2.4rem,4vw,3.25rem); height: clamp(2.4rem,4vw,3.25rem); padding: 0; border: 1px solid rgba(246,235,220,.3); border-radius: 50%; color: var(--paper); background: rgba(23,21,18,.55); cursor: pointer; font-size: 1.15rem; transition: color 200ms ease, background 200ms ease, transform 200ms ease; backdrop-filter: blur(9px); }
.gallery-arrow:hover { color: var(--night); background: var(--accent); transform: scale(1.06); }
.gallery-arrow.is-previous { grid-column: 1; justify-self: start; }
.gallery-arrow.is-next { grid-column: 3; justify-self: end; }
.gallery-lightbox-stage { --gallery-drag: 0px; grid-column: 2; grid-row: 2; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.gallery-lightbox-stage.is-dragging { cursor: grabbing; }
.gallery-lightbox-stage img, .gallery-lightbox-stage video { grid-area: 1 / 1; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 1.5rem 5rem rgba(0,0,0,.3); transform: translateX(var(--gallery-drag)); transition: transform 240ms var(--ease); user-select: none; }
.gallery-lightbox-stage.is-dragging img { transition: none; }
.gallery-lightbox-stage video { cursor: auto; }

.night-footer { display: grid; align-items: end; min-height: 88svh; padding-bottom: clamp(3rem,7vw,6rem); color: #e7d3bb; background: linear-gradient(165deg,var(--wine),var(--coffee) 48%,var(--night) 88%); }
.night-sky { position: absolute; inset: 0; opacity: .72; }
.night-sky svg { width: 100%; height: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(3rem,8vw,8rem); align-items: end; }
.footer-copy .eyebrow { margin-bottom: 1.3rem; color: #c9af95; }
.footer-copy .heading { max-width: 10ch; color: var(--paper); font-style: italic; font-weight: 500; }
.footer-copy .body-copy { margin-top: 2rem; max-width: 34rem; color: #c9af95; }
.footer-end { display: grid; justify-items: end; gap: 1.2rem; color: rgba(231,211,187,.55); text-align: right; }
.light-strip { width: 1px; height: 6.5rem; background: linear-gradient(transparent,var(--accent)); box-shadow: 0 0 1.6rem rgba(243,184,108,.8); }
.footer-end p { margin: 0; font-size: .62rem; letter-spacing: .15em; line-height: 1.7; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
	.day-nav ol { display: flex; }
	.day-nav li:not(:last-child) { display: none; }
	.hero-grid, .editorial-layout, .logistics-head, .dj-grid, .gallery-head, .footer-grid { grid-template-columns: 1fr; }
	.hero-copy { padding-top: 2rem; }
	.day-scene { min-height: 32rem; }
	.editorial-aside { position: static; }
	.editorial-number { display: none; }
	.logistics-note { justify-self: start; }
	.dj-grid { display: flex; flex-direction: column-reverse; }
	.dj-collage { width: 100%; }
	.gallery-head .eyebrow { grid-column: auto; }
	.footer-end { justify-items: start; text-align: left; }
}

@media (max-width: 782px) {
	.admin-bar .gate-topline, .admin-bar .day-nav { top: 46px; }
}

@media (max-width: 620px) {
	.gallery-preview-banner { align-items: flex-start; flex-direction: column; }
	.gate-topline span:last-child, .gate-footline span:first-child { display: none; }
	.gate-topline, .gate-footline { justify-content: center; }
	.hero, .editorial, .logistics, .dj-rsvp, .private-gallery, .night-footer { padding-block: 6rem; }
	.hero { padding-top: 7.5rem; }
	.hero-grid { gap: 3.5rem; }
	.display { font-size: clamp(3.2rem,17vw,5rem); }
	.hero-copy .display span { margin-left: .8rem; }
	.day-scene { min-height: 28rem; }
	.logistics-grid { grid-template-columns: 1fr; }
	.logistics-card { min-height: 13rem; border-right: 0; border-bottom: 1px solid rgba(74,52,16,.35); }
	.logistics-card:last-child { border-bottom: 0; }
	.card-title { margin-top: 2.8rem; }
	.dj-collage { min-height: 29rem; }
	.dj-orbit { width: 7rem; height: 7rem; font-size: 1.7rem; }
	.gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: clamp(8.5rem,40vw,12rem); }
	.gallery-item:nth-child(8n+6) { grid-column: span 1; }
	.gallery-lightbox-shell { grid-template-columns: 2.55rem minmax(0,1fr) 2.55rem; padding: .7rem; }
	.gallery-lightbox-toolbar p { max-width: 44vw; }
	.gallery-download { width: 2.65rem; height: 2.65rem; padding: 0; justify-content: center; }
	.gallery-download span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
	.gallery-arrow { width: 2.35rem; height: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}
