/* Eva Wambutu — Traditional Brides page. Builds on studio.css. */

.ew-br-center { text-align: center; }
.ew-br-center .ew-st-kicker { justify-content: center; }
.ew-br-center .ew-st-kicker::before { content: ""; width: 3.5rem; height: 1px; background: currentColor; opacity: .6; }

/* ---------- 1. Opening ---------- */
.ew-br-hero {
	max-width: var(--st-max); margin: 0 auto;
	padding: clamp(2rem, 5vw, 4.5rem) var(--st-pad) clamp(4rem, 9vw, 7rem);
	display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.ew-br-hero__art { position: relative; padding: 0 12% 10% 0; }
.ew-br-arch {
	margin: 0; position: relative; z-index: 1;
	border: var(--ew-frame-width) solid var(--ew-frame);
	border-radius: 999px 999px 0 0;
	padding: 4.5%; background: var(--ew-mat);
	box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .55);
}
.ew-br-arch__w { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ew-stone); }
@media (min-width: 900px) { .ew-br-arch__w { aspect-ratio: auto; height: min(76svh, 780px); } }
.ew-br-arch__w img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ew-br-hero__small { position: absolute; right: 0; bottom: 0; width: 36%; z-index: 2; translate: 0 var(--py, 0px); }
.ew-br-hero__small .ew-st-frame__w { aspect-ratio: 1; }
.ew-br-ring { /* A fine ring behind the arch, like a halo. */
	position: absolute; z-index: 0; top: -4%; left: -8%; width: 70%; aspect-ratio: 1;
	border: 1px solid var(--ew-ink); border-radius: 50%; opacity: .25;
	animation: ew-br-spin 60s linear infinite;
}
.ew-br-ring::after { content: "✦"; position: absolute; top: -.6em; left: 50%; translate: -50% 0; font-size: 1.1rem; background: var(--ew-paper); padding: 0 .3em; opacity: 1; }
@keyframes ew-br-spin { to { transform: rotate(360deg); } }
.ew-br-hero__title {
	font-size: clamp(2.4rem, 11.4vw, 5.6rem); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; margin: 0 0 2.2rem;
}
.ew-br-hero__title span { display: block; }
@media (min-width: 900px) { .ew-br-hero__title { font-size: min(5.4vw, 6.4rem); } }
.ew-br-hero__title em { display: block; font-style: italic; text-transform: none; letter-spacing: -.04em; padding-left: .7em; }

.ew-br-marquee { transform: rotate(1.2deg); }

/* ---------- 4. Timeline ---------- */
.ew-br-steps { max-width: 1100px; margin: 0 auto; padding: 0 var(--st-pad) var(--st-space); }
.ew-br-steps__list { list-style: none; margin: 0; padding: 0; position: relative; }
.ew-br-steps__list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ew-ink); opacity: .35; }
.ew-br-steps__list li {
	display: grid; grid-template-columns: 1fr 5rem 1fr; align-items: center; gap: 0;
	padding: clamp(1.4rem, 3vw, 2.4rem) 0;
}
.ew-br-steps__n {
	grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1;
	width: 4.6rem; height: 4.6rem; border-radius: 50%; display: grid; place-items: center;
	background: var(--ew-paper); border: 1px solid var(--ew-ink);
	font-style: italic; font-size: 1.7rem; transition: background .4s, color .4s;
}
.ew-br-steps__list li:hover .ew-br-steps__n { background: var(--ew-ink); color: var(--ew-paper); }
.ew-br-steps__body { grid-row: 1; padding: 0 clamp(1.2rem, 3vw, 2.8rem); }
.ew-br-steps__list li:nth-child(odd) .ew-br-steps__body { grid-column: 1; text-align: right; }
.ew-br-steps__list li:nth-child(even) .ew-br-steps__body { grid-column: 3; }
.ew-br-steps__body h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.05; margin: 0 0 .5rem; }
.ew-br-steps__body p { font-size: 1.12rem; line-height: 1.6; color: var(--ew-muted); margin: 0; }
.ew-br-steps__list li:nth-child(odd) .ew-br-steps__body p { margin-left: auto; }
.ew-br-steps__body p { max-width: 30ch; }

/* ---------- 5. Gallery ---------- */
.ew-br-gallery { background: var(--ew-mat); padding: var(--st-space) max(var(--st-pad), calc((100% - var(--st-max)) / 2 + var(--st-pad))); }
.ew-br-gallery__note { max-width: 30ch; color: var(--ew-muted); font-size: 1.15rem; margin: 0; }
.ew-br-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.8rem); align-items: start; }
.ew-br-gallery__item { margin: 0; }
.ew-br-gallery__item:nth-child(3n+2) { margin-top: clamp(2rem, 6vw, 5rem); }
.ew-br-gallery__item .ew-st-frame { background: var(--ew-paper); }
.ew-br-gallery__item .ew-st-frame__w { aspect-ratio: 3 / 4; }
.ew-br-gallery .is-arch, .ew-br-gallery .is-arch .ew-st-frame__w { border-radius: 999px 999px 0 0; }
.ew-br-gallery__item figcaption { font-family: var(--ew-sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ew-muted); margin-top: 1rem; }
.ew-br-soon {
	display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 0, 0, .035) 14px 15px),
		#e9e6e0;
}
.ew-br-soon__mark { font-size: 1.2rem; }
.ew-br-soon__label { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-style: italic; }
.ew-br-soon__sub { font-family: var(--ew-sans); font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ew-muted); }

/* ---------- 6. Consultation ---------- */
.ew-br-book { max-width: var(--st-max); margin: 0 auto; padding: var(--st-space) var(--st-pad); }
.ew-br-book__lead { color: var(--ew-muted); font-size: 1.2rem; margin: 1rem auto 0; max-width: 40ch; }
.ew-br-book__card {
	border: var(--ew-frame-width) solid var(--ew-frame); background: var(--ew-paper);
	padding: clamp(1.5rem, 4.5vw, 4rem); box-shadow: var(--ew-wall-shadow);
	outline: 1px solid var(--ew-line); outline-offset: 12px;
}
.ew-br-book__card .ew-bk { padding-bottom: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 899px) {
	.ew-br-hero { grid-template-columns: 1fr; }
	.ew-br-hero__text { order: -1; }
	.ew-br-hero__art { padding: 0 14% 12% 6%; }
	.ew-br-gallery__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
	.ew-br-gallery__item { scroll-snap-align: start; }
	.ew-br-gallery__item:nth-child(3n+2) { margin-top: 0; }
	.ew-br-gallery .ew-st-head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
	.ew-br-steps__list::before { left: 2.3rem; }
	.ew-br-steps__list li { grid-template-columns: 4.6rem 1fr; gap: 1.2rem; align-items: start; }
	.ew-br-steps__n { grid-column: 1; }
	.ew-br-steps__list li:nth-child(n) .ew-br-steps__body { grid-column: 2; text-align: left; padding: .6rem 0 0; }
	.ew-br-steps__list li:nth-child(odd) .ew-br-steps__body p { margin-left: 0; }
	.ew-br-book__card { outline: 0; padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ew-br-ring { animation: none; }
	.ew-br-hero__small { translate: none; }
}
.ew-br-book__card .ew-bk__side h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.ew-br-book__card .ew-bk__side { top: 120px; }
