/* =========================================================
   Fr. CRCE — Divi child theme (v3.0)
   Source of truth: the "Fr. CRCE" design system.
   Tokens → base → buttons → utility bar & header → footer → homepage components.
   Token names, values, radii, shadows and component rules are the design system's, unmodified.
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens: light theme (default) ---------- */
:root {
	--brand: #2A6AC0;
	--brand-strong: #1D4F94;
	--brand-deep: #1B2B45;
	--on-brand: #FFFFFF;
	--on-deep: #FFFFFF;
	--on-deep-muted: #C9D6E8;
	--accent: #E3A92B;
	--on-accent: #0A1F44;
	--surface: #FFFFFF;
	--surface-alt: #F5F8FC;
	--tint: #E8F1FB;
	--ink: #14202F;
	--ink-muted: #52627A;
	--border: #DCE5F0;
	--focus: #2A6AC0;

	--font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
	--space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;

	--radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.08), 0 1px 3px rgba(10, 31, 68, 0.06);
	--shadow-md: 0 8px 24px rgba(10, 31, 68, 0.12);
	--shadow-lg: 0 20px 48px rgba(10, 31, 68, 0.18);

	--header-h: 84px;
	--util-h: 44px;

	/* design-system tokens added for the school components */
	--space-5: 20px; --space-10: 40px; --space-20: 80px; --space-32: 128px;
	--radius-xl: 24px;
	--border-strong: #9FB3CE;
	--focus-ring: rgba(42, 106, 192, 0.3);
	--success: #0A6A86; --success-bg: #E2F2F7;
	--warning: #8A5A00; --warning-bg: #FDF3DC;
	--danger: #B3261E; --danger-bg: #FDECEA;
	--scrim: rgba(11, 23, 42, 0.55);
	--glass: rgba(255, 255, 255, 0.72);
	--glass-border: rgba(255, 255, 255, 0.6);
	--glass-deep: rgba(15, 26, 43, 0.72);
	--shadow-glass: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 12px 40px rgba(10, 31, 68, 0.16);
	--shadow-dock: 0 8px 32px rgba(10, 31, 68, 0.24), 0 2px 8px rgba(10, 31, 68, 0.12);
	--blur-chrome: 20px; --blur-sheet: 32px;
	--duration-press: 100ms; --duration-hover: 150ms; --duration-fade: 200ms; --duration-enter: 300ms; --duration-spring: 450ms;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-spring: linear(0, 0.02 3%, 0.07 6%, 0.16 10%, 0.26 14%, 0.39 19%, 0.53 25%, 0.66 32%, 0.77 40%, 0.87 50%, 0.93 62%, 0.97 75%, 0.99 88%, 1);
	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--z-dock: 40; --z-header: 50; --z-menu: 55; --z-drawer: 60; --z-modal: 70; --z-toast: 80;
}

/* Dark theme tokens (design system). Activate with <html data-theme="dark">. */
:root[data-theme="dark"] {
	--brand: #7FB2F0; --brand-strong: #B3D2F7; --brand-deep: #243B5C; --on-brand: #0F1A2B;
	--surface: #0F1A2B; --surface-alt: #15233A; --tint: #1E3454; --ink: #EAF0F8; --ink-muted: #A8B6CB;
	--border: #2F4768; --focus: #9CC4F8;
	--border-strong: #4A6590; --glass: rgba(15, 26, 43, 0.72); --glass-border: rgba(255, 255, 255, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .et_pb_module_header { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); padding-bottom: 0; line-height: 1.25; }
body, input, textarea, select, button { font-family: var(--font-sans); }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fr-util :focus-visible, .fr-ftr :focus-visible, .fr-place :focus-visible { outline-color: var(--accent); }
::selection { background: var(--brand); color: var(--on-brand); }
.fr-sr { position: absolute; left: -9999px; }
.fr-icon { flex: none; }
.fr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.fr-mt { margin-top: var(--space-6); }

.fr-eyebrow { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.fr-rule { display: block; width: 48px; height: 4px; background: var(--accent); border-radius: 2px; margin: var(--space-4) 0 var(--space-6); }

/* ---------- Buttons ---------- */
.fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-md); border: 2px solid transparent; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform var(--duration-press) var(--ease-out), background-color var(--duration-hover) var(--ease-out), color var(--duration-hover) var(--ease-out), border-color var(--duration-hover) var(--ease-out), box-shadow var(--duration-hover) var(--ease-out); touch-action: manipulation; }
.fr-btn svg { width: 18px; height: 18px; }
.fr-btn:active { transform: scale(0.97); }
.fr-btn--primary { background: var(--brand); color: var(--on-brand); }
.fr-btn--primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.fr-btn--accent { background: var(--accent); color: var(--on-accent); }
.fr-btn--accent:hover { box-shadow: 0 0 0 4px rgba(227, 169, 43, 0.35); color: var(--on-accent); }
.fr-btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.fr-btn--outline:hover { background: var(--tint); color: var(--brand); }
.fr-btn--light { border-color: var(--on-deep); color: var(--on-deep); background: transparent; }
.fr-btn--light:hover { background: var(--on-deep); color: var(--brand-deep); }
.fr-btn--sm { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.fr-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Footer (SiteFooter) ---------- */
#main-footer.fr-ftr { background: var(--brand-deep); color: var(--on-deep-muted); }
.fr-ftr a { text-decoration: none; }
.fr-ftr a:hover { color: var(--on-deep); text-decoration: underline; }
.fr-news-sign { border-bottom: 1px solid rgba(197, 212, 238, 0.25); }
.fr-news-sign__in { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); padding-top: var(--space-12); padding-bottom: var(--space-12); }
.fr-news-sign h3 { color: var(--on-deep); font-size: 24px; line-height: 32px; margin: 0; }
.fr-news-sign p { font-size: 15px; margin: 4px 0 0; }
.fr-signup { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.fr-field { height: 48px; min-width: 200px; padding: 0 var(--space-4); border-radius: var(--radius-md); border: 2px solid var(--on-deep-muted); background: transparent; color: var(--on-deep); font-family: var(--font-sans); font-size: 15px; }
.fr-field::placeholder { color: var(--on-deep-muted); }
.fr-signup__msg { flex-basis: 100%; margin: 0 !important; font-size: 13px !important; min-height: 20px; color: var(--on-deep); }
.fr-ftr__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-12); padding-top: var(--space-16); padding-bottom: var(--space-16); }
.fr-ftr h4 { font-family: var(--font-sans); font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-4); font-weight: 600; }
.fr-ftr ul { list-style: none; margin: 0; padding: 0; }
.fr-ftr li { margin: 0 0 var(--space-2); font-size: 14px; line-height: 22px; padding: 0; }
.fr-ftr__name { font-family: var(--font-display); font-size: 24px; line-height: 30px; color: var(--on-deep); font-weight: 600; }
.fr-ftr__soc { font-size: 13px; color: var(--on-deep-muted); margin-bottom: var(--space-4); }
.fr-ftr address { font-style: normal; font-size: 14px; line-height: 22px; }
.fr-ftr__bottom { border-top: 1px solid rgba(197, 212, 238, 0.25); }
.fr-ftr__bottom-in { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); padding-bottom: var(--space-6); font-size: 13px; }
.fr-ftr__bottom-in ul { display: flex; gap: var(--space-6); }
.fr-ftr__bottom-in li { margin: 0; font-size: 13px; }

/* ---------- Divi resets for design-system pages ---------- */
.fr-home #main-content .container { width: 100%; max-width: none; padding: 0; }
.fr-home #main-content .container::before { display: none; }
.fr-home #left-area { width: 100%; padding: 0; float: none; }
.fr-home .et_pb_section { padding: 0; background: transparent; }
.fr-home .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 auto !important; }
.fr-home .et_pb_row::after, .fr-home .et_pb_row::before { display: none !important; }
.fr-home .et_pb_column { margin: 0 !important; width: 100% !important; float: none; }
.fr-home .et_pb_module { margin: 0 !important; }
.fr-home .et_pb_text_inner { font-family: var(--font-sans); }
.fr-home .et_pb_text ul, .fr-home .et_pb_text ol { padding: 0; margin: 0; list-style: none; }
.fr-home .et_pb_text li { list-style: none; padding: 0; }
.fr-home .et_pb_text a { text-decoration: none; }
.fr-home .et_pb_text p { padding-bottom: 0; }
.fr-home .et_pb_text h1, .fr-home .et_pb_text h2, .fr-home .et_pb_text h3, .fr-home .et_pb_text h4 { padding: 0; }

/* ---------- Page sections ---------- */
.fr-sec, .fr-home .et_pb_section.fr-sec { padding: var(--space-24) 0; }
.fr-sec--alt { background: var(--surface-alt) !important; }
.fr-sec-head { max-width: 720px; margin-bottom: var(--space-12); }
.fr-sec-head h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; margin: var(--space-2) 0 0; }
.fr-sec-head p { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.fr-sec-head .fr-rule { margin-bottom: var(--space-4); }
.fr-sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); margin-bottom: var(--space-12); }
.fr-sec-head-row .fr-sec-head { margin-bottom: 0; }
.fr-go { margin-top: auto; padding-top: var(--space-2); font-size: 14px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 6px; }
.fr-go svg { width: 14px; height: 14px; }

/* hero */
.fr-hero { background: var(--tint) !important; color: var(--ink); position: relative; overflow: hidden; }
.fr-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); align-items: center; padding-top: 88px; padding-bottom: 152px; }
.fr-hero h1 { font-size: 50px; line-height: 58px; letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-6); }
.fr-lead { font-size: 17px; line-height: 28px; color: var(--ink-muted); max-width: 540px; margin: 0 0 var(--space-8); }
.fr-hero__art { position: relative; }
.fr-hero__art svg { width: 100%; height: auto; display: block; }
.fr-hero__art .a-brand { fill: var(--brand); }
.fr-hero__art .a-tint { fill: var(--surface); stroke: var(--border); }
.fr-hero__art .a-accent { fill: var(--accent); }
.fr-hero__art .a-deep { fill: var(--brand-deep); }
.fr-hero__art .a-line { fill: none; stroke: var(--brand); opacity: 0.35; stroke-width: 1; }
.fr-hero__art .a-line--deep { stroke: var(--brand-deep); }
.fr-hero__art .a-dot { fill: var(--brand); opacity: 0.45; }
.fr-hero__badge { position: absolute; left: -8px; bottom: 24px; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-6); box-shadow: var(--shadow-lg); display: flex; gap: var(--space-4); align-items: center; }
.fr-hero__badge b { font-family: var(--font-display); font-size: 30px; line-height: 34px; color: var(--brand); }
.fr-hero__badge span { font-size: 13px; line-height: 18px; color: var(--ink-muted); max-width: 150px; }

/* quick links overlapping the hero */
.fr-quickrow { position: relative; z-index: 2; margin-top: -72px; }
.fr-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.fr-qcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); text-decoration: none; color: var(--ink); transition: transform 0.15s, border-color 0.15s; }
.fr-qcard:hover { transform: translateY(-3px); border-color: var(--brand); }
.fr-qico { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--space-2); }
.fr-qico svg { width: 22px; height: 22px; }
.fr-qh { display: block; font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); }
.fr-qp { display: block; font-size: 14px; line-height: 22px; color: var(--ink-muted); }

/* recognition */
.fr-recog { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fr-recog > div { padding: var(--space-8) var(--space-6); border-right: 1px solid var(--border); }
.fr-recog > div:last-child { border-right: 0; }
.fr-recog b { display: block; font-family: var(--font-display); font-size: 38px; line-height: 44px; font-weight: 600; color: var(--brand); }
.fr-recog strong { display: block; margin-top: var(--space-1); font-size: 15px; color: var(--ink); }
.fr-recog span { display: block; margin-top: var(--space-2); font-size: 14px; line-height: 22px; color: var(--ink-muted); }

/* about */
.fr-about { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
.fr-about h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; margin: var(--space-2) 0 0; }
.fr-about p { font-size: 17px; line-height: 28px; color: var(--ink-muted); margin-bottom: var(--space-4) !important; }
.fr-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.fr-pillar { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-6); background: var(--surface); display: flex; gap: var(--space-3); align-items: center; font-weight: 600; font-size: 15px; line-height: 22px; }
.fr-pillar i { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); }
.fr-pillar:nth-child(4n+2) i, .fr-pillar:nth-child(4n+3) i { background: var(--accent); }

/* notice board */
.fr-news { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-8); }
.fr-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); }
.fr-panel h3 { font-size: 24px; line-height: 32px; margin: 0 0 var(--space-4); }
.fr-item { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.fr-item:first-child { border-top: 0; }
.fr-tag { flex: none; display: inline-block; min-width: 112px; text-align: center; padding: 3px 10px; border-radius: var(--radius-sm); background: var(--tint); color: var(--brand-strong); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }
.fr-item a { font-size: 15px; line-height: 24px; font-weight: 500; color: var(--ink); }
.fr-item a:hover { color: var(--brand); text-decoration: underline; }
.fr-item small { display: block; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.fr-ev { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.fr-panel .fr-ev:first-of-type { border-top: 0; }
.fr-badge { flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--brand-deep); color: var(--on-deep); display: grid; place-items: center; text-align: center; font-size: 11px; line-height: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.fr-ev h4 { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; margin: 0; }
.fr-ev h4 a { color: var(--ink); }
.fr-ev h4 a:hover { color: var(--brand); }
.fr-ev p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.fr-pill { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 12px; line-height: 18px; font-weight: 600; }
.fr-empty { color: var(--ink-muted); margin: 0; }

/* placements band */
.fr-place, .fr-home .et_pb_section.fr-place { background: var(--brand-deep) !important; color: var(--on-deep); padding: var(--space-24) 0; }
.fr-place .fr-eyebrow { color: var(--accent); }
.fr-place h2 { color: var(--on-deep); font-size: 36px; line-height: 44px; letter-spacing: -0.02em; margin: var(--space-2) 0 0; }
.fr-place .fr-lead { color: var(--on-deep-muted); font-size: 18px; max-width: 440px; margin: var(--space-4) 0 var(--space-8); }
.fr-place__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-16); align-items: center; }
.fr-place__grid.is-single { grid-template-columns: 1fr; }
.fr-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--on-deep-muted); border: 1px solid var(--on-deep-muted); border-radius: var(--radius-lg); overflow: hidden; }
.fr-logos > div { background: var(--brand-deep); padding: var(--space-8) var(--space-4); text-align: center; font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--on-deep); }
.fr-contact-line { font-size: 14px; color: var(--on-deep-muted); margin-top: var(--space-6) !important; }
.fr-contact-line a { color: var(--on-deep); text-decoration: underline !important; }

/* life at Fr. CRCE */
.fr-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: var(--space-4); }
.fr-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: var(--space-4) var(--space-6); display: flex; align-items: flex-end; font-weight: 600; font-size: 16px; line-height: 22px; color: var(--on-deep); }
.fr-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fr-tile span { position: relative; }
.fr-tile.t1 { grid-column: span 2; grid-row: span 2; background: var(--brand-deep); }
.fr-tile.t2 { background: var(--brand); color: var(--on-brand); }
.fr-tile.t3 { background: var(--tint); color: var(--brand-strong); }
.fr-tile.t4 { grid-row: span 2; background: var(--brand-strong); color: var(--on-brand); }
.fr-tile.t5 { grid-row: span 2; background: var(--accent); color: var(--on-accent); }
.fr-tile.t6 { grid-column: span 2; background: var(--brand-deep); }
.fr-tile .fg { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.35; }
.fr-tile .fd { fill: currentColor; opacity: 0.35; }
.fr-alumni { margin-top: var(--space-12); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); padding: var(--space-6) var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fr-alumni p { font-size: 14px; line-height: 22px; color: var(--ink-muted); max-width: 220px; margin: 0; }
.fr-home .et_pb_text ul.fr-alumni__list { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); }
.fr-alumni li { font-family: var(--font-display); font-size: 18px; line-height: 28px; font-weight: 600; color: var(--brand-strong); }

/* admissions contact */
.fr-cta { background: var(--tint) !important; }
.fr-cta__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: center; padding-top: var(--space-16); padding-bottom: var(--space-16); }
.fr-cta h2 { font-size: 30px; line-height: 38px; letter-spacing: -0.02em; margin: var(--space-2) 0 var(--space-3); }
.fr-cta p { font-size: 16px; color: var(--ink-muted); margin-bottom: var(--space-6) !important; }
.fr-box { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-8); border: 1px solid var(--border); }
.fr-box h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin: 0 0 var(--space-3); font-weight: 600; }
.fr-box ul { list-style: none; margin: 0; padding: 0; }
.fr-box li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-top: 1px solid var(--border); font-size: 15px; }
.fr-box li:first-child { border-top: 0; }
.fr-box li span { color: var(--ink-muted); }

/* ---------- Responsive (design-system breakpoints: 1024px and 640px) ---------- */
@media (max-width: 1024px) {
	.fr-util__r { display: none; }
	.fr-hero__grid, .fr-about, .fr-news, .fr-place__grid, .fr-cta__grid { grid-template-columns: 1fr; }
	.fr-hero__art { max-width: 480px; }
	.fr-quick, .fr-depts, .fr-recog { grid-template-columns: 1fr 1fr; }
	.fr-recog > div:nth-child(2) { border-right: 0; }
	.fr-recog > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
	.fr-bento { grid-template-columns: 1fr 1fr; }
	.fr-tile.t1, .fr-tile.t6 { grid-column: span 2; }
	.fr-ftr__cols { grid-template-columns: 1fr 1fr; }
	.fr-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.fr-hero h1 { font-size: 40px; line-height: 44px; }
	.fr-sec-head h2, .fr-about h2, .fr-place h2 { font-size: 32px; line-height: 38px; }
	.fr-quick, .fr-depts, .fr-recog, .fr-pillars { grid-template-columns: 1fr; }
	.fr-recog > div { border-right: 0; border-bottom: 1px solid var(--border); }
	.fr-recog > div:last-child { border-bottom: 0; }
	.fr-hero__grid { padding-top: 56px; padding-bottom: 128px; }
	.fr-ftr__cols { grid-template-columns: 1fr; }
	.fr-news-sign__in { flex-direction: column; align-items: flex-start; }
	.fr-sec-head-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.fr-qcard:hover, .fr-dept:hover { transform: none; }
}

/* Footer: beat Divi's global link and input colours */
.fr-ftr a { color: var(--on-deep-muted); }
.fr-ftr a:hover { color: var(--on-deep); }
.fr-ftr .fr-field { background: transparent; color: var(--on-deep); border: 2px solid var(--on-deep-muted); box-shadow: none; }
.fr-ftr .fr-field:focus { border-color: var(--accent); }
.fr-ftr .fr-btn--accent, .fr-ftr .fr-btn--accent:hover { color: var(--on-accent); text-decoration: none; }
.fr-ftr .fr-field { padding: 0 var(--space-4); }

/* ---------- Shared helpers ---------- */
.fr-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fr-eyebrow--gold { color: var(--accent); }
.fr-eyebrow--c { display: block; text-align: center; }
.fr-skip { position: absolute; left: var(--space-4); top: -80px; z-index: 100000; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--brand-deep); color: var(--on-deep); font-weight: 600; text-decoration: none; transition: top var(--duration-hover) var(--ease-out); }
.fr-skip:focus { top: var(--space-4); }
.fr-sec--tint, .fr-home .et_pb_section.fr-sec--tint { background: var(--tint) !important; }
.fr-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-6) !important; padding: 0 !important; list-style: none !important; }
.fr-chips li, .fr-home .et_pb_text .fr-chips li { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-size: 13px; line-height: 20px; font-weight: 500; }
.fr-sec--alt .fr-chips li { background: var(--surface); }

/* ---------- Departments (ProgramLevels style: art tile, number, name, one line, verb link) ---------- */
.fr-depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.fr-dept { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform var(--duration-hover) var(--ease-out), box-shadow var(--duration-hover) var(--ease-out), border-color var(--duration-hover) var(--ease-out); }
.fr-dept:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.fr-dept:active { transform: scale(0.99); transition-duration: var(--duration-press); }
.fr-dept__tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c1, var(--brand-deep)); }
.fr-dept__tile::before, .fr-dept__tile::after { content: ""; position: absolute; transition: transform var(--duration-enter) var(--ease-spring); }
.fr-dept:hover .fr-dept__tile::before { transform: scale(1.06); }
.fr-dept__tile b { position: absolute; left: 20px; bottom: 12px; font: 600 40px/44px var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--c3, #fff); letter-spacing: -0.02em; opacity: 0.9; }
.fr-dept__body { display: flex; flex: 1; flex-direction: column; padding: var(--space-6); }
.fr-dh { display: block; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--space-2); }
.fr-dp { display: block; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.fr-dept .fr-go { padding-top: var(--space-4); }
.fr-dept:hover .fr-go svg { transform: translateX(3px); }
.fr-go svg { transition: transform var(--duration-hover) var(--ease-out); }
[class*="__tile"].v1 { --c1: var(--brand-deep); --c3: #fff; } [class*="__tile"].v1::before { right: -36px; top: -36px; width: 170px; height: 170px; border-radius: 50%; background: var(--accent); } [class*="__tile"].v1::after { inset: 0; background: repeating-radial-gradient(circle at 100% 0, transparent 0 36px, rgba(255, 255, 255, 0.14) 36px 38px); }
[class*="__tile"].v2 { --c1: var(--brand); --c3: #fff; } [class*="__tile"].v2::before { left: 50%; bottom: 0; width: 150px; height: 130px; transform: translateX(-50%); border-radius: 75px 75px 0 0; background: var(--tint); } [class*="__tile"].v2::after { inset: 0; background: radial-gradient(rgba(255, 255, 255, 0.28) 1.6px, transparent 1.8px) 0 0 / 20px 20px; }
[class*="__tile"].v3 { --c1: var(--tint); --c3: var(--brand-strong); } [class*="__tile"].v3::before { inset: 0; background: linear-gradient(rgba(42, 106, 192, 0.22) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(42, 106, 192, 0.22) 1px, transparent 1px) 0 0 / 32px 32px; } [class*="__tile"].v3::after { right: 28px; top: 24px; width: 80px; height: 80px; border-radius: var(--radius-md); background: var(--brand-deep); }
[class*="__tile"].v4 { --c1: var(--brand-strong); --c3: #fff; } [class*="__tile"].v4::before { inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px); } [class*="__tile"].v4::after { left: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--accent); }
[class*="__tile"].v5 { --c1: var(--brand-deep); --c3: #fff; } [class*="__tile"].v5::before { inset: 0; background: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 32px 32px; } [class*="__tile"].v5::after { right: 24px; bottom: 24px; width: 110px; height: 110px; border-radius: 60px 60px 0 60px; background: var(--brand); }
[class*="__tile"].v6 { --c1: var(--tint); --c3: var(--brand-strong); } [class*="__tile"].v6::before { left: 0; right: 0; bottom: 0; height: 55%; background: repeating-linear-gradient(90deg, var(--brand) 0 44px, var(--brand-strong) 44px 88px); } [class*="__tile"].v6::after { right: 30px; top: 22px; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1024px) { .fr-depts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fr-depts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fr-dept:hover .fr-dept__tile::before, .fr-dept:hover .fr-go svg { transform: none; } }
