/*
Theme Name:   Faces of UAE
Theme URI:    https://facesofuae.com/
Description:  Standalone portrait-led theme for Faces of UAE. No page builder.
Author:       Yasir Saeed
Version:      2.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain:  facesofuae
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--fou-blue: #0018a8;
	--fou-blue-dark: #000b5c;
	--fou-navy: #0a0f2e;
	--fou-ink: #15161a;
	--fou-text: #2a2c33;
	--fou-muted: #5b6070;
	--fou-line: #e3e0d8;
	--fou-sand: #f6f4ef;
	--fou-gold: #d8b77a;
	--fou-on-dark: #c9cbd8;
	--fou-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fou-wrap: 1280px;
	--fou-gutter: 40px;
}

/* ==========================================================================
   Base
   ========================================================================== */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img, svg, video { max-width: 100%; height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
[id] { scroll-margin-top: 96px; }

html body.fou-site,
body.fou-site input,
body.fou-site textarea,
body.fou-site select,
body.fou-site button,
body.fou-site h1,
body.fou-site h2,
body.fou-site h3,
body.fou-site h4,
body.fou-site h5,
body.fou-site h6 {
	font-family: var(--fou-font);
}

html body.fou-site {
	background: #fff;
	color: var(--fou-text);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


body.fou-site a { color: var(--fou-blue); text-decoration: none; }
body.fou-site .fou-content a,
body.fou-site .fou-article a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.fou-site a:hover { color: var(--fou-blue-dark); }
body.fou-site :focus-visible { outline: 3px solid var(--fou-blue); outline-offset: 3px; border-radius: 4px; }

.fou-wrap {
	max-width: var(--fou-wrap);
	margin: 0 auto;
	padding: 0 var(--fou-gutter);
	box-sizing: border-box;
}

.fou-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.fou-skip {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--fou-navy); color: #fff !important;
	padding: 12px 18px; border-radius: 6px; font-weight: 600;
}
.fou-skip:focus { top: 16px; }

body.fou-site .fou-display {
	font-family: var(--fou-font);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
	color: var(--fou-ink);
	margin: 0;
	padding: 0;
}

body.fou-site .fou-h2 { font-size: 44px; }

body.fou-site .fou-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fou-blue);
	margin: 0;
	padding: 0;
	line-height: 1.4;
}
body.fou-site .fou-eyebrow--gold { color: var(--fou-gold); }

/* Buttons */
body.fou-site .fou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.fou-site .fou-btn--primary { background: var(--fou-blue); color: #fff; }
body.fou-site .fou-btn--primary:hover { background: var(--fou-blue-dark); color: #fff; }
body.fou-site .fou-btn--light { background: #fff; color: var(--fou-navy); }
body.fou-site .fou-btn--light:hover { background: #efe9dc; color: var(--fou-navy); }
body.fou-site .fou-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
body.fou-site .fou-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */

.fou-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid #eceae4;
}
body.admin-bar .fou-header { top: 32px; }

.fou-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 80px;
}
.fou-header__logo img { display: block; height: 44px; width: auto; }

.fou-nav { display: flex; align-items: center; gap: 26px; }

body.fou-site .fou-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 500;
	color: var(--fou-ink);
	cursor: pointer;
	list-style: none;
}
body.fou-site .fou-nav__link:hover { color: var(--fou-blue); }

body.fou-site .fou-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--fou-ink);
	cursor: pointer;
	list-style: none;
}
body.fou-site .fou-nav__icon:hover { background: var(--fou-sand); color: var(--fou-blue); }

.fou-header summary::-webkit-details-marker { display: none; }
.fou-header summary::marker { content: ""; }
.fou-header summary svg { transition: transform .15s ease; }


.fou-dropdown { position: relative; }
.fou-dropdown__panel {
	position: absolute;
	top: calc(100% + 18px);
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid #eceae4;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(10,15,46,.12);
	padding: 18px;
	z-index: 10;
}
.fou-dropdown__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(212px, 1fr));
	gap: 2px 12px;
}
body.fou-site .fou-dropdown__grid a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--fou-ink);
	font-size: 15px;
	font-weight: 500;
}
body.fou-site .fou-dropdown__grid a:hover { background: var(--fou-sand); color: var(--fou-blue); }
.fou-dropdown__grid a span { font-size: 12px; color: var(--fou-muted); font-weight: 600; }

.fou-search__panel { left: auto; right: -12px; transform: none; width: 420px; }
.fou-search__panel form { display: flex; gap: 8px; }
body.fou-site .fou-search__panel input[type=search],
body.fou-site .fou-mobile__search input[type=search] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #d9d6ce;
	border-radius: 999px;
	font-size: 16px;
	color: var(--fou-ink);
	background: #fff;
	box-sizing: border-box;
}

/* Menu icons */
.fou-ico { flex: none; display: block; }
body.fou-site .fou-nav__link { gap: 7px; }
.fou-nav__link > .fou-ico { width: 18px; height: 18px; color: var(--fou-muted); transition: color .15s ease; }
.fou-nav__link:hover > .fou-ico,
.fou-dropdown[open] > .fou-nav__link > .fou-ico { color: var(--fou-blue); }
.fou-chev { display: inline-flex; margin-left: -2px; }
.fou-chev .fou-ico { width: 16px; height: 16px; transition: transform .15s ease; }
.fou-dropdown[open] .fou-chev .fou-ico,
.fou-mobile__sectors[open] .fou-chev .fou-ico { transform: rotate(180deg); }
.fou-nav__cta .fou-ico { width: 18px; height: 18px; }
body.fou-site .fou-dropdown__grid a { justify-content: flex-start; gap: 10px; }
.fou-dropdown__grid a .fou-ico { width: 18px; height: 18px; color: var(--fou-blue); opacity: .85; }
.fou-dropdown__grid a b { font-weight: 500; flex: 1; }
.fou-mi { display: inline-flex; align-items: center; gap: 12px; }
.fou-mi .fou-ico { width: 22px; height: 22px; color: var(--fou-blue); }

.fou-mobile { display: none; }

/* ==========================================================================
   Home hero
   ========================================================================== */

.fou-hero { background: var(--fou-navy); color: #fff; overflow: hidden; }
.fou-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px;
	align-items: center;
	padding-top: 72px;
}
.fou-hero__copy { grid-column: span 6; padding-bottom: 72px; }
body.fou-site .fou-hero__title { font-size: 84px; color: #fff; margin-top: 20px; }
body.fou-site .fou-hero__lede {
	font-size: 20px;
	line-height: 1.55;
	color: var(--fou-on-dark);
	max-width: 520px;
	margin: 28px 0 36px;
	padding: 0;
}
.fou-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.fou-hero__art { grid-column: span 6; position: relative; align-self: end; display: block; }
.fou-hero__art img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
	background: #1b2046;
}
.fou-hero__cap {
	position: absolute;
	left: 24px;
	bottom: 24px;
	right: 24px;
	max-width: 380px;
	background: rgba(10,15,46,.88);
	backdrop-filter: blur(6px);
	padding: 14px 18px;
	border-radius: 6px;
	color: #fff;
}
.fou-hero__cap strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.fou-hero__cap span { display: block; font-size: 13px; color: var(--fou-on-dark); margin-top: 4px; line-height: 1.4; }

.fou-hero__strip {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	padding: 22px 0;
	border-top: 1px solid rgba(255,255,255,.14);
	font-size: 14px;
	color: var(--fou-on-dark);
}
.fou-hero__strip b { color: #fff; font-weight: 600; }

/* ==========================================================================
   Sections and cards
   ========================================================================== */

.fou-sec { padding: 96px 0; }
.fou-sec--tight { padding-top: 48px; }
.fou-sec--alt { background: var(--fou-sand); }

.fou-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}
body.fou-site .fou-sec__head p { margin: 10px 0 0; padding: 0; color: var(--fou-muted); font-size: 17px; max-width: 560px; }
body.fou-site .fou-more { font-weight: 600; font-size: 15px; white-space: nowrap; }

.fou-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

body.fou-site .fou-card { display: block; color: var(--fou-ink); text-decoration: none; }
body.fou-site .fou-card:hover { color: var(--fou-ink); }
.fou-card__ph {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 6px;
	background: #eceae4;
}
.fou-card__ph img,
.fou-ph-empty {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02); /* hides thin borders baked into some source photos */
	transition: transform .5s ease;
}
.fou-card:hover .fou-card__ph img { transform: scale(1.05); }
.fou-card__body { padding: 18px 2px 0; }
body.fou-site .fou-card__name {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--fou-ink);
	margin: 8px 0 6px;
	padding: 0;
}
.fou-card:hover .fou-card__name { color: var(--fou-blue); }
body.fou-site .fou-card__role { margin: 0; padding: 0; font-size: 15px; line-height: 1.45; color: var(--fou-muted); }

/* Pagination */
.fou-pagination { margin-top: 64px; }
.fou-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.fou-site .fou-pagination a,
body.fou-site .fou-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid #d9d6ce;
	color: var(--fou-ink);
	font-weight: 600;
	font-size: 15px;
	box-sizing: border-box;
}
body.fou-site .fou-pagination a:hover { border-color: var(--fou-blue); color: var(--fou-blue); }
body.fou-site .fou-pagination .current { background: var(--fou-blue); border-color: var(--fou-blue); color: #fff; }
body.fou-site .fou-pagination .dots { border-color: transparent; }

/* Quote band */
.fou-quote { background: var(--fou-sand); padding: 96px 0; }
.fou-quote__inner {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	max-width: 1040px;
	margin: 0 auto;
}
.fou-quote__face img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; }
body.fou-site .fou-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 36px;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--fou-ink);
}
.fou-quote__cite { margin-top: 22px; font-size: 15px; color: var(--fou-muted); }
body.fou-site .fou-quote__cite a { color: var(--fou-ink); }
.fou-quote__name { color: var(--fou-ink); }
.fou-quote__inner--text { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
body.fou-site a.fou-quote__edit {
	display: inline-block;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fou-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Sector chips */
.fou-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
body.fou-site .fou-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid #d9d6ce;
	border-radius: 999px;
	background: #fff;
	color: var(--fou-ink);
	font-size: 15px;
	font-weight: 500;
}
body.fou-site .fou-chip:hover { border-color: var(--fou-blue); color: var(--fou-blue); }
body.fou-site .fou-chip.is-current { background: var(--fou-blue); border-color: var(--fou-blue); color: #fff; }
.fou-chip__n { font-size: 12px; font-weight: 700; color: var(--fou-muted); }
.fou-chip.is-current .fou-chip__n { color: #d4d9ff; }

/* Nominate band */
.fou-cta { background: var(--fou-blue); color: #fff; padding: 88px 0; }
.fou-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
body.fou-site .fou-cta .fou-h2 { color: #fff; }
body.fou-site .fou-cta p { margin: 16px 0 0; padding: 0; font-size: 18px; color: #d4d9ff; max-width: 580px; line-height: 1.5; }

/* ==========================================================================
   Profile
   ========================================================================== */

.fou-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding-top: 28px;
	font-size: 14px;
	color: var(--fou-muted);
}
body.fou-site .fou-crumb a { color: var(--fou-muted); }
body.fou-site .fou-crumb a:hover { color: var(--fou-blue); }

.fou-phero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 56px;
	align-items: center;
	padding: 36px 0 72px;
}
.fou-phero__art { grid-column: span 6; }
.fou-phero__art { overflow: hidden; border-radius: 6px; }
.fou-hero__art { overflow: hidden; border-radius: 6px 6px 0 0; }
.fou-phero__art img,
.fou-hero__art img { transform: scale(1.02); }
.fou-phero__art img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 6px;
	background: #eceae4;
}
.fou-phero__copy { grid-column: span 6; }

body.fou-site .fou-tag {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	background: #eef0ff;
	color: var(--fou-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
body.fou-site .fou-phero__title { font-size: 68px; margin-top: 22px; }
body.fou-site .fou-phero__role { font-size: 20px; color: var(--fou-muted); margin: 16px 0 0; padding: 0; line-height: 1.4; }
body.fou-site .fou-phero__dek { font-size: 22px; line-height: 1.45; margin: 26px 0 0; padding: 0; color: var(--fou-ink); font-weight: 500; letter-spacing: -0.01em; }
.fou-phero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #eceae4;
	font-size: 14px;
	color: var(--fou-muted);
}
.fou-phero__meta b { color: var(--fou-ink); font-weight: 600; }

.fou-share { list-style: none; display: flex; gap: 10px; margin: 24px 0 0; padding: 0; }
body.fou-site .fou-share a,
body.fou-site .fou-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #d9d6ce;
	background: #fff;
	color: var(--fou-ink);
	cursor: pointer;
}
body.fou-site .fou-share a:hover,
body.fou-site .fou-share button:hover { border-color: var(--fou-blue); color: var(--fou-blue); }
body.fou-site .fou-share .is-copied { background: var(--fou-blue); border-color: var(--fou-blue); color: #fff; }

/* Article body */
.fou-article {
	max-width: 700px;
	margin: 0 auto;
	padding: 8px 0 24px;
	font-size: 19px;
	line-height: 1.7;
	color: var(--fou-text);
}
body.fou-site .fou-article p { margin: 0 0 28px; padding: 0; font-size: 19px; line-height: 1.7; }
body.fou-site .fou-article > p:first-of-type { font-size: 23px; line-height: 1.6; color: var(--fou-ink); font-weight: 500; letter-spacing: -0.01em; }
body.fou-site .fou-article h2,
body.fou-site .fou-article h3,
body.fou-site .fou-article h4 {
	color: var(--fou-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 48px 0 18px;
	padding: 0;
}
body.fou-site .fou-article h2 { font-size: 32px; }
body.fou-site .fou-article h3 { font-size: 26px; }
body.fou-site .fou-article h4 { font-size: 22px; }
body.fou-site .fou-article blockquote,
body.fou-site .fou-article .wp-block-pullquote {
	margin: 48px 0;
	padding: 0 0 0 28px;
	border: 0;
	border-left: 3px solid var(--fou-blue);
	text-align: left;
}
body.fou-site .fou-article blockquote p,
body.fou-site .fou-article .wp-block-pullquote p {
	font-size: 30px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--fou-ink);
	margin: 0;
}
body.fou-site .fou-article blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-style: normal; color: var(--fou-muted); }
body.fou-site .fou-article ul,
body.fou-site .fou-article ol { margin: 0 0 28px 1.2em; padding: 0; }
body.fou-site .fou-article li { margin-bottom: 8px; }
body.fou-site .fou-article figure { margin: 40px 0; }
body.fou-site .fou-article figure img { border-radius: 6px; }
body.fou-site .fou-article figcaption { font-size: 14px; color: var(--fou-muted); margin-top: 10px; }

.fou-endnote {
	margin-top: 16px;
	padding: 24px 0;
	border-top: 1px solid #eceae4;
	border-bottom: 1px solid #eceae4;
	font-size: 15px;
	line-height: 1.5;
	color: var(--fou-muted);
}
.fou-endnote b { display: block; color: var(--fou-ink); font-weight: 600; }

.fou-pn {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding-top: 64px;
}
body.fou-site .fou-pn__item {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--fou-line);
	border-radius: 10px;
	color: var(--fou-ink);
}
body.fou-site .fou-pn__item:hover { border-color: var(--fou-blue); color: var(--fou-ink); }
.fou-pn__item--next { flex-direction: row-reverse; text-align: right; }
.fou-pn__item img { width: 84px; height: 104px; object-fit: cover; border-radius: 6px; flex: none; }
.fou-pn small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fou-muted); font-weight: 700; }
.fou-pn strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.fou-pn__item span span { display: block; font-size: 14px; color: var(--fou-muted); margin-top: 3px; line-height: 1.4; }

/* ==========================================================================
   Sector page
   ========================================================================== */

.fou-sector-head { padding-bottom: 8px; }
body.fou-site .fou-sector-head .fou-eyebrow { margin-top: 40px; }
body.fou-site .fou-sector-head__title { font-size: 72px; margin-top: 12px; }
body.fou-site .fou-sector-head__count { margin: 14px 0 0; padding: 0; font-size: 18px; color: var(--fou-muted); }
.fou-sector-head__desc { max-width: 680px; margin-top: 16px; font-size: 18px; color: var(--fou-text); }

/* Search page */
.fou-searchbar { display: flex; gap: 8px; max-width: 560px; margin-top: 24px; }
body.fou-site .fou-searchbar input[type=search] {
	flex: 1; min-width: 0; height: 52px; padding: 0 20px;
	border: 1px solid #cfccc3; border-radius: 999px; font-size: 16px; color: var(--fou-ink); background: #fff;
}
body.fou-site .fou-empty { font-size: 18px; color: var(--fou-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.fou-footer { background: var(--fou-navy); color: var(--fou-on-dark); padding: 64px 0 40px; font-size: 15px; }
.fou-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,.14);
}
.fou-footer__mark { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
body.fou-site .fou-footer p { margin: 14px 0 0; padding: 0; max-width: 440px; line-height: 1.6; color: var(--fou-on-dark); }
body.fou-site .fou-footer__h { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; padding: 0; }
.fou-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.fou-site .fou-footer a { color: var(--fou-on-dark); }
body.fou-site .fou-footer a:hover { color: #fff; }
.fou-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 14px; }

/* ==========================================================================
   Pages (About, Apply for Invitation, others) and 404
   ========================================================================== */

.fou-page { padding: 64px 0 96px; }
.fou-page__inner { max-width: 760px; }
body.fou-site .fou-page__title {
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: var(--fou-ink);
	margin: 0 0 32px;
}
.fou-content { font-size: 18px; line-height: 1.7; color: var(--fou-text); }
.fou-content > * { margin-top: 0; margin-bottom: 0; }
.fou-content > * + * { margin-top: 22px; }
.fou-content strong { color: var(--fou-ink); font-weight: 700; }
.fou-content h2, .fou-content h3, .fou-content h4 {
	color: var(--fou-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 44px;
}
.fou-content h2 { font-size: 32px; }
.fou-content h3 { font-size: 26px; }
.fou-content h4 { font-size: 22px; }
.fou-content ul, .fou-content ol { padding-left: 1.2em; }
.fou-content li + li { margin-top: 8px; }
.fou-content blockquote { margin: 40px 0; padding-left: 24px; border-left: 3px solid var(--fou-blue); font-size: 24px; font-weight: 600; color: var(--fou-ink); }
.fou-content hr, .fou-content .wp-block-separator { border: 0; border-top: 1px solid #eceae4; margin: 40px 0; opacity: 1; background: none; height: 0; }
.fou-content .wp-block-separator.has-white-background-color { border-top-color: transparent; margin: 16px 0; }
.fou-content figure img { border-radius: 6px; }
.fou-content figcaption { font-size: 14px; color: var(--fou-muted); margin-top: 10px; }
.fou-content .is-resized img { border-radius: 0; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fou-404 { padding: 96px 0 120px; }
body.fou-site .fou-404 p { margin-top: 16px; font-size: 18px; color: var(--fou-muted); max-width: 560px; }
.fou-404 .fou-searchbar { margin-top: 28px; }

/* Gravity Forms (Apply for Invitation and future sign-up forms) */
body.fou-site .gform_wrapper { --gf-font-family: var(--fou-font); font-family: var(--fou-font); }
body.fou-site .gform_wrapper .gform_title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--fou-ink); }
body.fou-site .gform_wrapper .gfield_description,
body.fou-site .gform_wrapper .gform-field-label--type-sub { font-size: 13px; color: var(--fou-muted); }
body.fou-site .gform_wrapper .gform_confirmation_message { font-size: 18px; color: var(--fou-ink); }
body.fou-site .gform_wrapper.gravity-theme .gfield_label,
body.fou-site .gform_wrapper .gfield_label { font-size: 15px; font-weight: 600; color: var(--fou-ink); }
body.fou-site .gform_wrapper .gfield_required { color: var(--fou-muted); font-weight: 500; font-size: 13px; }
body.fou-site .gform_wrapper input[type=text],
body.fou-site .gform_wrapper input[type=email],
body.fou-site .gform_wrapper input[type=tel],
body.fou-site .gform_wrapper input[type=url],
body.fou-site .gform_wrapper textarea,
body.fou-site .gform_wrapper select {
	min-height: 48px;
	padding: 10px 14px !important;
	border: 1px solid #cfccc3 !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	color: var(--fou-ink);
	background: #fff;
	box-shadow: none !important;
}
body.fou-site .gform_wrapper input:focus,
body.fou-site .gform_wrapper textarea:focus { border-color: var(--fou-blue) !important; outline: 2px solid rgba(0,24,168,.2); }
body.fou-site .gform_wrapper .gform_button,
body.fou-site .gform_wrapper input[type=submit] {
	min-height: 52px !important;
	padding: 0 28px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: var(--fou-blue) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
body.fou-site .gform_wrapper .gform_button:hover { background: var(--fou-blue-dark) !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.fou-nav { gap: 20px; }
	body.fou-site .fou-hero__title { font-size: 68px; }
}

@media (max-width: 960px) {
	:root { --fou-gutter: 20px; }
	body.admin-bar .fou-header { top: 46px; }
	/* backdrop-filter would trap the fixed menu panel inside the header */
	.fou-header { backdrop-filter: none; background: #fff; }
	.fou-header__inner { height: 68px; }
	.fou-header__logo img { height: 38px; }
	.fou-nav { display: none; }

	.fou-mobile { display: block; }
	.fou-mobile__close { display: none; }
	.fou-mobile[open] .fou-mobile__open { display: none; }
	.fou-mobile[open] .fou-mobile__close { display: inline-flex; }
	.fou-mobile__panel {
		position: fixed;
		z-index: 200;
		left: 0;
		right: 0;
		top: 68px;
		bottom: 0;
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid #eceae4;
		padding: 16px 20px 40px;
		display: flex;
		flex-direction: column;
	}
	body.admin-bar .fou-mobile__panel { top: 114px; }
	.fou-mobile__search { margin-bottom: 8px; display: flex; }
	body.fou-site .fou-mobile__panel > a,
	body.fou-site .fou-mobile__sectors > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 56px;
		border-bottom: 1px solid #eceae4;
		font-size: 20px;
		font-weight: 600;
		color: var(--fou-ink);
		cursor: pointer;
		list-style: none;
	}
	.fou-mobile__sectors ul { list-style: none; margin: 0; padding: 8px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.fou-site .fou-mobile__sectors ul a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fou-text); font-size: 16px; }
	.fou-mobile__sectors ul a .fou-ico { width: 18px; height: 18px; color: var(--fou-blue); opacity: .85; }
	.fou-mobile__panel > .fou-btn .fou-ico { width: 20px; height: 20px; }
	body.fou-site .fou-mobile__panel > .fou-btn { margin-top: 24px; border-bottom: 0; color: #fff; justify-content: center; }

	.fou-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 44px; }
	.fou-hero__copy, .fou-hero__art { grid-column: auto; }
	.fou-hero__copy { padding-bottom: 36px; }
	body.fou-site .fou-hero__title { font-size: 50px; }
	body.fou-site .fou-hero__lede { font-size: 18px; margin: 20px 0 28px; }
	.fou-hero__art img { aspect-ratio: 1 / 1; }
	.fou-hero__strip { gap: 8px 24px; }

	.fou-sec { padding: 64px 0; }
	.fou-sec--tight { padding-top: 32px; }
	.fou-sec__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
	body.fou-site .fou-h2 { font-size: 34px; }
	.fou-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	body.fou-site .fou-card__name { font-size: 20px; }
	body.fou-site .fou-card__role { font-size: 14px; }

	.fou-quote { padding: 64px 0; }
	.fou-quote__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.fou-quote__face img { width: 72px; height: 72px; }
	body.fou-site .fou-quote__text { font-size: 26px; }

	.fou-cta { padding: 64px 0; }
	.fou-cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; }

	.fou-phero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px 0 48px; }
	.fou-phero__art, .fou-phero__copy { grid-column: auto; }
	body.fou-site .fou-phero__title { font-size: 44px; }
	body.fou-site .fou-phero__dek { font-size: 20px; }
	.fou-article { font-size: 18px; }
	body.fou-site .fou-article p { font-size: 18px; }
	body.fou-site .fou-article > p:first-of-type { font-size: 20px; }
	body.fou-site .fou-article blockquote p { font-size: 24px; }
	.fou-pn { grid-template-columns: minmax(0, 1fr); padding-top: 48px; gap: 12px; }
	.fou-pn__item--next { flex-direction: row; text-align: left; }

	body.fou-site .fou-sector-head__title { font-size: 48px; }

	.fou-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

	.fou-page { padding: 40px 0 64px; }
	body.fou-site .fou-page__title { font-size: 40px; margin-bottom: 24px; }
	.fou-content { font-size: 17px; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}

@media (max-width: 520px) {
	.fou-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	body.fou-site .fou-card__name { font-size: 24px; }
	body.fou-site .fou-hero__title { font-size: 44px; }
	.fou-hero__actions .fou-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.fou-card__ph img, .fou-header summary svg { transition: none; }
	.fou-card:hover .fou-card__ph img { transform: scale(1.02); }
}
