/*
Theme Name: East Meets West
Theme URI: https://47817eastmeetswest.org/
Author: Rotary Club of Newport Beach
Author URI: https://rotaryglobalserviceclub.org/
Description: East Meets West, a One Million Drops program of Rotary pairing clubs of the Western and Eastern Hemispheres. Colors taken from the "Where East Meets West" flyer. Pages are created automatically when the theme is activated. Settings: Appearance, Customize, East Meets West.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: eastmeetswest
*/

/* ------------------------------------------------------------------ *
 * Colors from the flyer: twilight sky, sunset, Pacific water, leaf.
 * ------------------------------------------------------------------ */
:root {
	--night: #171a57;
	--violet: #4a3fa3;
	--sunset: #f2913a;
	--rose: #e25d7b;
	--pacific: #1560d6;
	--wave: #33b2ec;
	--leaf: #7fbf3a;
	--cream: #fff5e6;

	--ground: #f6f5ff;
	--ground-2: #eeecff;
	--card: #ffffff;
	--ink: #1b1d47;
	--muted: #585d8a;
	--line: #e1def4;
	--east: #d9711c;
	--east-soft: #fff0e0;
	--west: #1560d6;
	--west-soft: #e6f0ff;
	--both: #4a3fa3;
	--both-soft: #efedff;
	--focus: #f2913a;

	--sky: linear-gradient(160deg, #171a57 0%, #3a3496 45%, #6a4ab0 70%, #e25d7b 92%, #f2913a 100%);
	--sea: linear-gradient(180deg, #1560d6 0%, #0e3f9e 100%);
	--dawn: linear-gradient(90deg, #f2913a 0%, #e25d7b 30%, #6a4ab0 62%, #1560d6 100%);

	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--body: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 14px;
	--wrap: 1180px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ground: #0f1136;
		--ground-2: #151845;
		--card: #1a1e50;
		--ink: #eef0ff;
		--muted: #adb1dc;
		--line: #2c3170;
		--east: #ffa95a;
		--east-soft: #3a2a2a;
		--west: #6fb0ff;
		--west-soft: #16295a;
		--both: #b3a8ff;
		--both-soft: #262566;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ground: #0f1136;
	--ground-2: #151845;
	--card: #1a1e50;
	--ink: #eef0ff;
	--muted: #adb1dc;
	--line: #2c3170;
	--east: #ffa95a;
	--east-soft: #3a2a2a;
	--west: #6fb0ff;
	--west-soft: #16295a;
	--both: #b3a8ff;
	--both-soft: #262566;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--west); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 6px;
}
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
p { margin: 0; }

.emw-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.emw-skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; z-index: 50; }
.emw-skip:focus { left: 8px; }

.emw-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--east);
	margin-bottom: 10px;
}
.emw-eyebrow--light { color: #ffc27f; }
.emw-h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; margin-bottom: 18px; }
.emw-h3 { font-family: var(--body); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.emw-lead { font-size: 19px; color: var(--muted); max-width: 64ch; margin-bottom: 28px; }
.emw-prose { max-width: 66ch; display: grid; gap: 16px; }
.emw-small { font-size: 14px; color: var(--muted); }
.emw-link { font-weight: 700; color: var(--west); text-underline-offset: 3px; }

/* Buttons */
.emw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.emw-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 12px 22px; border-radius: 999px;
	font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
	border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.emw-btn:hover { transform: translateY(-1px); }
.emw-btn--sun { background: linear-gradient(90deg, #f2913a, #e25d7b); color: #fff; box-shadow: 0 6px 18px rgba(226, 93, 123, .35); }
.emw-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.emw-btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.emw-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; white-space: nowrap; }
.emw-btn--block { width: 100%; }

/* ------------------------------------------------------------------ *
 * Top bar with the club logo (always white so the Rotary colors stay true)
 * ------------------------------------------------------------------ */
.emw-topbar { background: #fff; border-bottom: 1px solid #e8e6f5; }
.emw-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.emw-club img { height: 84px; width: auto; max-width: 100%; }
.emw-topbar__chairs { font-size: 14px; color: #3c3f6b; text-align: right; }
.emw-topbar__chairs b { color: #1b1d47; }
.emw-topbar__chairs span { color: #d9711c; font-weight: 700; padding-inline: 4px; }

/* Main header */
.emw-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 3px solid transparent; border-image: var(--dawn) 1; }
.emw-header__in { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.emw-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.emw-brand__words { display: grid; line-height: 1.1; }
.emw-brand__words b { font-family: var(--display); font-size: 24px; font-weight: 700; white-space: nowrap; }
.emw-brand__words b i { font-weight: 500; color: #ffc27f; }
.emw-brand__words span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #c9c6f2; }
.emw-drop--sm { width: 30px; height: 38px; }
.emw-drop--md { width: 48px; height: 60px; }
.emw-drop--lg { width: 64px; height: 80px; }
.emw-nav { display: flex; align-items: center; gap: 18px; }
.emw-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.emw-nav__list a { color: #e8e6ff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 9px; border-radius: 8px; white-space: nowrap; }
.emw-nav__list a:hover, .emw-nav__list a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.emw-menu-btn { display: none; background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 8px 16px; font: 700 15px var(--body); }

/* ------------------------------------------------------------------ *
 * Hero: the flyer on a twilight sky
 * ------------------------------------------------------------------ */
.emw-hero { background: var(--sky); color: #fff; padding-block: 32px 56px; }
.emw-flyer { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(8, 10, 50, .5); border: 1px solid rgba(255, 255, 255, .25); }
.emw-flyer img { width: 100%; }
.emw-hero__text { max-width: 820px; margin: 36px auto 0; text-align: center; }
.emw-hero__title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.015em; }
.emw-hero__title .w { color: #8fd0ff; font-style: italic; }
.emw-hero__title .e { color: #ffc27f; font-style: italic; }
.emw-hero__lead { font-size: 19px; color: #ecebff; margin-top: 18px; }
.emw-hero .emw-actions { justify-content: center; }

/* Clocks and numbers */
.emw-meridian { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 28px; }
.emw-meridian__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.emw-clock { display: grid; gap: 2px; }
.emw-clock--w { text-align: right; }
.emw-clock__side { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.emw-clock--w .emw-clock__side { color: var(--west); }
.emw-clock--e .emw-clock__side { color: var(--east); }
.emw-clock__time { font-size: clamp(22px, 3vw, 32px); font-weight: 800; font-variant-numeric: tabular-nums; }
.emw-clock__place { color: var(--muted); font-size: 15px; }
.emw-meridian__mid { display: grid; justify-items: center; gap: 4px; font-family: var(--display); font-style: italic; color: var(--muted); }
.emw-stats { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.emw-stats b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--west); font-variant-numeric: tabular-nums; }
.emw-stats li:last-child b { color: var(--east); }
.emw-stats span { font-size: 15px; color: var(--muted); }
.emw-source { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ------------------------------------------------------------------ *
 * Sections
 * ------------------------------------------------------------------ */
.emw-section { padding-block: 72px; }
.emw-section--tight { padding-block: 36px 0; }
.emw-section + .emw-section { border-top: 1px solid var(--line); }

.emw-pagehead { background: var(--sky); color: #fff; padding-block: 56px 60px; }
.emw-pagehead .emw-eyebrow { color: #ffc27f; }
.emw-pagehead__title { font-family: var(--display); font-size: clamp(34px, 5vw, 58px); font-weight: 700; }
.emw-pagehead .emw-lead { color: #e7e5ff; margin: 16px 0 0; }

.emw-story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.emw-pull { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--ink); border-left: 4px solid; border-image: var(--dawn) 1; padding-left: 18px; }

/* Chairs */
.emw-chairs { background: var(--ground-2); }
.emw-chairs__grid { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 24px; align-items: center; margin-top: 12px; }
.emw-chair { background: var(--card); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; align-content: start; height: 100%; }
.emw-chair h3 { font-family: var(--display); font-size: 26px; font-weight: 700; }
.emw-chair__role { color: var(--muted); font-size: 15px; }
.emw-chair--e { box-shadow: inset 0 5px 0 var(--sunset); }
.emw-chair--w { box-shadow: inset 0 5px 0 var(--pacific); }
.emw-chairs__bridge img { width: 100%; border-radius: 20px; background: #fff; }
.emw-model { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emw-model li { color: var(--muted); }
.emw-model b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

.emw-tag { display: inline-block; width: fit-content; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.emw-tag--e { background: var(--east-soft); color: var(--east); }
.emw-tag--w { background: var(--west-soft); color: var(--west); }

/* Steps: a real sequence, so numbered */
.emw-steps__list { list-style: none; counter-reset: s; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.emw-steps__list li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; display: grid; gap: 8px; align-content: start; }
.emw-steps__list li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--dawn); }
.emw-steps__list li:nth-child(1)::before { background: #f2913a; }
.emw-steps__list li:nth-child(2)::before { background: #e25d7b; }
.emw-steps__list li:nth-child(3)::before { background: #8a4fb4; }
.emw-steps__list li:nth-child(4)::before { background: #4a3fa3; }
.emw-steps__list li:nth-child(5)::before { background: #1560d6; }
.emw-steps__list h3 { font-size: 18px; font-weight: 800; }
.emw-steps__list p { font-size: 15px; color: var(--muted); }

/* Categories */
.emw-cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.emw-cat { background: var(--card); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; border-top: 5px solid var(--c, var(--violet)); }
.emw-cat h3 { font-size: 18px; font-weight: 800; }
.emw-cat p { font-size: 15px; color: var(--muted); }
.emw-cat__n { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--c, var(--violet)); line-height: 1; }
.emw-cat__eg { font-size: 13px !important; font-style: italic; }
.emw-cat--peace { --c: #1f9bd7; }
.emw-cat--disease { --c: #d6336c; }
.emw-cat--water { --c: #1560d6; }
.emw-cat--mothers { --c: #b34fb4; }
.emw-cat--education { --c: #e08b1a; }
.emw-cat--economy { --c: #1f9e8a; }
.emw-cat--environment { --c: #5fa52d; }
.emw-cat--add { border: 2px dashed var(--line); border-top-width: 2px; background: transparent; }

/* Showcase */
.emw-show__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.emw-proj { background: var(--card); border-radius: var(--r); overflow: hidden; display: grid; align-content: start; border: 1px solid var(--line); }
.emw-proj--lead { grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; }
.emw-proj__img { margin: 0; position: relative; }
.emw-proj__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.emw-proj__img figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 6px; }
.emw-proj__body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.emw-proj h3 { font-family: var(--display); font-size: 24px; font-weight: 700; }
.emw-proj__meta { font-size: 14px; color: var(--muted); }
.emw-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--both-soft); color: var(--both); margin-right: 6px; }
.emw-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emw-pair div { padding: 10px 12px; border-radius: 10px; }
.emw-pair__e { background: var(--east-soft); }
.emw-pair__w { background: var(--west-soft); }
.emw-pair dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.emw-pair__e dt { color: var(--east); }
.emw-pair__w dt { color: var(--west); }
.emw-pair dd { margin: 2px 0 0; font-size: 14px; }
.emw-more { margin-top: 28px; }

/* Seeking a partner */
.emw-seek { background: var(--ground-2); }
.emw-seek__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.emw-seek__item a { display: grid; gap: 6px; height: 100%; background: var(--card); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .15s ease; }
.emw-seek__item a:hover { transform: translateY(-2px); }
.emw-seek__item b { font-size: 17px; }
.emw-seek__item span:last-child { font-size: 14px; color: var(--muted); }

/* Pillars on a sea band */
.emw-pillars { background: var(--sea); color: #fff; }
.emw-pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.emw-pillars p { color: #dde8ff; }
.emw-pillars .emw-h2 { color: #fff; }
.emw-pillars__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.emw-pillars__list li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; }
.emw-pillars__list h3 { font-size: 18px; font-weight: 800; color: #fff; }
.emw-pillars__list p { font-size: 15px; }
.emw-r2r { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 8px; }
.emw-r2r li { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.emw-r2r b { min-width: 104px; color: #9fdcff; }
.emw-r2r li:first-child b { color: #b7e27a; }
.emw-r2r span { color: #e9efff; }

/* Doors */
.emw-doors__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.emw-doors__list a { display: grid; gap: 6px; height: 100%; padding: 26px; border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); }
.emw-doors__list b { font-family: var(--display); font-size: 24px; }
.emw-doors__list span { color: var(--muted); }
.emw-doors__list a:hover { border-color: var(--sunset); }

/* Notes, groups, pills, sites */
.emw-note { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 10px; margin-bottom: 36px; max-width: 900px; }
.emw-groups { columns: 3 280px; column-gap: 28px; }
.emw-groups__area { break-inside: avoid; margin-bottom: 28px; }
.emw-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.emw-groups li { padding: 8px 12px; background: var(--card); border-radius: 10px; border-left: 4px solid var(--violet); display: grid; }
.emw-groups li small { color: var(--muted); font-size: 13px; }
.emw-pills { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.emw-pills li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.emw-pills--feat li { background: var(--east-soft); border-color: transparent; color: var(--ink); font-weight: 700; }
.emw-filter { display: grid; gap: 6px; max-width: 420px; margin-bottom: 20px; }
.emw-filter label { font-weight: 700; }
.emw-filter input, .emw-form input[type="text"], .emw-form input[type="email"], .emw-form select, .emw-form textarea {
	width: 100%; font: 16px var(--body); color: var(--ink); background: var(--card);
	border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.emw-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.emw-sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.emw-sites__cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.emw-h3 small { font-size: 14px; color: var(--muted); font-weight: 600; }
.emw-site { display: flex; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.emw-site a { display: grid; flex: 1; text-decoration: none; color: var(--ink); min-width: 0; }
.emw-site__name { font-weight: 800; }
.emw-site__dom { color: var(--west); font-size: 14px; overflow-wrap: anywhere; }
.emw-site__line { color: var(--muted); font-size: 14px; }
.emw-hemi { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.emw-hemi--w { background: var(--west-soft); color: var(--west); }
.emw-hemi--e { background: var(--east-soft); color: var(--east); }
.emw-hemi--g { background: var(--both-soft); color: var(--both); }

/* Submit */
.emw-submit { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.emw-check { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.emw-submit__card { background: var(--card); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; border: 1px solid var(--line); position: sticky; top: 100px; }
.emw-submit__card h3 { font-family: var(--display); font-size: 26px; }

/* Contact */
.emw-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: start; }
.emw-addr { font-weight: 700; }
.emw-mail { user-select: all; }
.emw-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.emw-form label, .emw-form legend { font-weight: 700; font-size: 15px; display: block; margin-bottom: 4px; }
.emw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.emw-form__side { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.emw-form__side legend { width: 100%; }
.emw-form__side label { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.emw-hp { position: absolute; left: -9999px; }
.emw-alert { padding: 12px 14px; border-radius: 10px; background: #fde7ea; color: #8a1f35; font-weight: 600; }
.emw-alert--ok { background: #e4f6e0; color: #2b6a14; }

/* Call to action */
.emw-cta { background: var(--sky); color: #fff; padding-block: 72px; text-align: center; }
.emw-cta h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); }
.emw-cta p { color: #ecebff; max-width: 60ch; margin: 14px auto 0; font-size: 18px; }
.emw-cta .emw-actions { justify-content: center; }

/* Editor content */
.emw-entry h2 { font-family: var(--display); font-size: 30px; margin-top: 10px; }
.emw-entry img { border-radius: var(--r); }

/* Footer */
.emw-footer { background: var(--night); color: #d9d7ff; padding-top: 56px; }
.emw-footer a { color: #fff; }
.emw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.emw-footer__grid p { font-size: 15px; margin-top: 12px; }
.emw-footer__h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #ffc27f; margin-bottom: 12px; }
.emw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.emw-footer ul a { text-decoration: none; }
.emw-footer ul a:hover { text-decoration: underline; }
.emw-footer__club img { background: #fff; border-radius: 12px; padding: 12px; width: 100%; max-width: 340px; }
.emw-footer__base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-block: 18px; font-size: 13px; color: #aeb0dc; }

/* ------------------------------------------------------------------ *
 * Narrow screens
 * ------------------------------------------------------------------ */
@media (max-width: 1320px) {
	.emw-brand__words span { display: none; }
}
@media (max-width: 1180px) {
	.emw-steps__list { grid-template-columns: repeat(3, 1fr); }
	.emw-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.emw-footer__grid { grid-template-columns: 1fr 1fr; }
	.emw-menu-btn { display: inline-flex; }
	.emw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; }
	.emw-nav.is-open { display: flex; }
	.emw-nav__list { flex-direction: column; }
	.emw-header__in { position: relative; }
}
@media (max-width: 820px) {
	body { font-size: 16px; }
	.emw-section { padding-block: 52px; }
	.emw-topbar__chairs { display: none; }
	.emw-club img { height: auto; width: 100%; max-width: 300px; }
	.emw-story__grid, .emw-pillars__grid, .emw-submit, .emw-contact, .emw-sites, .emw-show__list { grid-template-columns: 1fr; }
	.emw-proj--lead { grid-template-columns: 1fr; }
	.emw-chairs__grid { grid-template-columns: 1fr; }
	.emw-chairs__bridge { display: none; }
	.emw-model, .emw-doors__list, .emw-seek__list { grid-template-columns: 1fr; }
	.emw-stats { grid-template-columns: 1fr 1fr; }
	.emw-steps__list { grid-template-columns: 1fr; }
	.emw-submit__card { position: static; }
}
@media (max-width: 520px) {
	.emw-cats__grid, .emw-pillars__list, .emw-form__row, .emw-pair, .emw-footer__grid { grid-template-columns: 1fr; }
	.emw-meridian__grid { grid-template-columns: 1fr 1fr; }
	.emw-meridian__mid { display: none; }
	.emw-clock__time { font-size: 20px; }
	.emw-clock--w { text-align: left; }
	.emw-brand__words span { display: none; }
	.emw-hero { padding-top: 16px; }
	.emw-flyer { border-radius: 14px; }
}
