/* ==========================================================================
   Avita Clinical Research — main stylesheet
   Tokens come from the Avita design system on the design canvas.
   ========================================================================== */

:root {
	--brand: #2BBFC4;
	--brand-vivid: #1FA8AD;
	--brand-muted: #E4F6F7;
	--brand-light: #3DD0D5;
	--accent: #4EB848;
	--accent-vivid: #3A9E34;
	--accent-light: #6DC267;
	--warning-light: #F0AA3A;

	--dark: #0D1919;
	--dark-2: #142020;
	--dark-3: #152A2B;
	--dark-4: #1C2E2E;
	--dark-line: #223A3A;
	--dark-line-strong: #385252;
	--dark-text: #8CAAAA;
	--dark-ink: #EDF4F4;
	--dark-faint: #5A7070;

	--surface: #FFFFFF;
	--surface-subtle: #F3FAFA;
	--surface-muted: #E5F3F4;
	--ink: #1A1A1A;
	--ink-2: #6D6E71;
	--ink-3: #9B9D9D;
	--border: #CCEAEB;
	--border-strong: #99D0D2;

	--radius-btn: 4px;
	--radius-card: 8px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
	--nav-h: 84px;
	--font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--brand); outline-offset: 2px;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.acr-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn); text-decoration: none; font-weight: 600; }
.acr-skip:focus { top: 12px; color: #fff; }
.acr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.acr-wrap { max-width: 1200px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }

/* ---------- Type helpers ---------- */
.acr-overline { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-vivid); }
.acr-overline--light { color: var(--brand-light); }
.acr-overline--green { color: var(--accent-light); }
.acr-h2 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.acr-h2--light { color: #fff; }
.acr-h3 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.acr-section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.acr-section-head .acr-h2 { margin-top: 14px; }
.acr-section-head .acr-h2:first-child { margin-top: 0; }
.acr-section-head p.acr-sub { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.acr-section--dark .acr-section-head p.acr-sub { color: var(--dark-text); }
.acr-muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.acr-btn-primary, .acr-btn-secondary, .acr-btn-primary-lg, .acr-btn-outline-dark, .acr-btn-accent, .acr-btn-dark {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px; border-radius: var(--radius-btn);
	font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
	border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.acr-btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.acr-btn-primary:hover { background: var(--brand-vivid); border-color: var(--brand-vivid); color: #fff; }
.acr-btn-secondary { background: transparent; color: var(--brand-vivid); border-color: var(--border-strong); }
.acr-btn-secondary:hover { background: var(--brand-muted); color: var(--brand-vivid); }
.acr-btn-primary-lg { height: 52px; padding: 0 32px; font-size: 16px; background: var(--brand); border-color: var(--brand); color: #fff; }
.acr-btn-primary-lg:hover { background: var(--brand-vivid); border-color: var(--brand-vivid); color: #fff; }
.acr-btn-outline-dark { height: 52px; padding: 0 32px; font-size: 16px; background: transparent; color: #fff; border-color: var(--dark-line-strong); }
.acr-btn-outline-dark:hover { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--dark-text); }
.acr-btn-accent { height: 48px; padding: 0 26px; background: var(--accent); border-color: var(--accent); color: #fff; }
.acr-btn-accent:hover { background: var(--accent-vivid); border-color: var(--accent-vivid); color: #fff; }
.acr-btn-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.acr-btn-dark:hover { background: #000; color: #fff; }
.acr-btn-md { height: 48px; padding: 0 26px; }
.acr-btn-block { width: 100%; height: 52px; font-size: 16px; }
.acr-btn-primary[disabled], .acr-btn-dark[disabled] { opacity: .6; cursor: wait; }
.acr-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.acr-learn-more { font-size: 14px; font-weight: 600; color: var(--brand-vivid); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.acr-learn-more:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.acr-section { padding: 112px 0; background: var(--surface); }
.acr-section--dark { background: var(--dark); }
.acr-section--subtle { background: var(--surface-subtle); }
.acr-section--tight { padding: 96px 0; }

/* ---------- Grids ---------- */
.acr-grid { display: grid; gap: 24px; }
.acr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.acr-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.acr-grid--gap32 { gap: 32px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.acr-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); transition: background-color 300ms ease, box-shadow 300ms ease; animation: acr-nav-enter 400ms ease-out; }
.admin-bar .acr-nav { top: 32px; }
.acr-nav.is-scrolled { background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
@keyframes acr-nav-enter { from { transform: translateY(-84px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.acr-nav__inner { display: flex; align-items: center; height: var(--nav-h); gap: 48px; }
.acr-nav__logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.acr-nav__logo img { height: 40px; width: auto; display: block; }
.acr-nav__links { display: flex; align-items: center; }

.acr-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.acr-menu > li { position: relative; }
.acr-menu > li > a { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; padding: 8px 0; transition: transform 200ms ease, color 200ms ease; }
.acr-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
.acr-menu > li > a:hover { color: var(--brand); transform: scale(1.04); }
.acr-menu > li > a:hover::after,
.acr-menu > li.current-menu-item > a::after,
.acr-menu > li.current-menu-ancestor > a::after,
.acr-menu > li.current-page-ancestor > a::after { transform: scaleX(1); }
.acr-menu > li.current-menu-item > a,
.acr-menu > li.current-menu-ancestor > a,
.acr-menu > li.current-page-ancestor > a { color: var(--brand); }

/* Dropdowns (hover and keyboard focus) */
.acr-menu .sub-menu {
	list-style: none; margin: 0; position: absolute; top: calc(100% + 8px); left: 50%;
	background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
	padding: 8px; min-width: 220px; z-index: 100;
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateX(-50%) translateY(-6px); transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}
.acr-menu > li.menu-item-has-children::after { content: ""; position: absolute; top: 100%; left: -20px; right: -20px; height: 12px; }
.acr-menu > li:hover > .sub-menu,
.acr-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.acr-menu .sub-menu a { display: block; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.acr-menu .sub-menu li:first-child a { border-left: 3px solid var(--brand); padding-left: 13px; }
.acr-menu .sub-menu a:hover { background: var(--surface-subtle); color: var(--brand); }
.acr-caret { width: 12px; height: 12px; transition: transform 150ms ease; }
.acr-menu > li:hover .acr-caret { transform: rotate(180deg); }

.acr-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 9999px; background: var(--brand); color: #fff; border: none; cursor: pointer; flex: 0 0 auto; margin-left: auto; }
.acr-burger:hover { background: var(--brand-vivid); }

/* Side menu */
.acr-side-overlay { position: fixed; inset: 0; background: rgba(13,25,25,0.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.acr-side { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: 320px; max-width: 85vw; background: #fff; box-shadow: -8px 0 24px rgba(0,0,0,0.16); z-index: 61; padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.admin-bar .acr-side { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) { .admin-bar .acr-side { top: 46px; height: calc(100vh - 46px); } }
body.acr-menu-open .acr-side-overlay { opacity: 1; pointer-events: auto; }
body.acr-menu-open .acr-side { transform: translateX(0); visibility: visible; }
.acr-side__head { display: flex; align-items: center; justify-content: space-between; }
.acr-side__close { width: 36px; height: 36px; border-radius: 9999px; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.acr-side ul { list-style: none; margin: 0; padding: 0; }
.acr-side a { display: block; padding: 14px 4px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--surface-subtle); }
.acr-side a:hover { color: var(--brand); }
.acr-side .sub-menu a { padding: 10px 4px 10px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.acr-search { display: flex; align-items: center; gap: 8px; background: var(--brand-muted); border-radius: 9999px; padding: 0 6px 0 18px; }
.acr-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 44px; font-size: 14px; font-family: inherit; color: var(--ink); }
.acr-search input:focus { outline: none; }
.acr-search:focus-within { box-shadow: 0 0 0 3px rgba(43,191,196,0.35); }
.acr-search button { border: 0; background: var(--brand); color: #fff; width: 34px; height: 34px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ==========================================================================
   Hero
   ========================================================================== */
.acr-hero { background: var(--dark); padding: 128px 0 104px; text-align: center; }
.acr-hero--photo { background-color: var(--dark); background-position: center; background-size: cover; background-repeat: no-repeat; }
.acr-hero__inner { max-width: 820px; margin: 0 auto; }
.acr-hero h1 { font-size: 48px; line-height: 52px; font-weight: 700; letter-spacing: -0.025em; color: #fff; margin-top: 14px; }
.acr-hero h1:first-child { margin-top: 0; }
.acr-hero__lead { margin: 28px auto 0; max-width: 620px; font-size: 18px; line-height: 28px; color: var(--dark-text); }
.acr-rotator { display: block; min-height: 104px; transition: opacity 400ms ease, transform 400ms ease; }
.acr-rotator.is-out { opacity: 0; transform: translateY(8px); }

/* ==========================================================================
   Stats bar (count-up)
   ========================================================================== */
.acr-stats { background: var(--dark); border-top: 1px solid var(--dark-line); padding: 56px 0; }
.acr-stats__row { display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; gap: 28px 0; }
.acr-stat { flex: 1 1 0; min-width: 150px; text-align: center; padding: 0 16px; border-right: 1px solid var(--dark-line); }
.acr-stat:last-child { border-right: 0; }
.acr-stat__num { font-size: 42px; font-weight: 700; color: var(--brand-light); letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; transition: text-shadow .3s ease; }
.acr-stat__num.is-counting { text-shadow: 0 0 20px rgba(61,208,213,0.4); }
.acr-stat__num.is-done { animation: acr-stat-pop 300ms ease 1; }
@keyframes acr-stat-pop { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
.acr-stat__label { margin-top: 8px; font-size: 13px; color: var(--dark-text); }
.acr-stat__bar { height: 2px; background: var(--brand-light); opacity: .5; width: 0; max-width: 80px; margin: 10px auto 0; border-radius: 9999px; }

/* ==========================================================================
   Logo marquee
   ========================================================================== */
.acr-logos { background: #fff; padding: 80px 0 88px; }
.acr-logos__title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 44px; }
.acr-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.acr-marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: acr-marquee 65s linear infinite; }
.acr-marquee:hover .acr-marquee__track, .acr-marquee:focus-within .acr-marquee__track { animation-play-state: paused; }
.acr-marquee img { height: 36px; width: auto; max-width: 140px; object-fit: contain; display: block; }
@keyframes acr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards & components
   ========================================================================== */
.acr-serve__bar { width: 40px; height: 3px; margin-bottom: 20px; background: var(--c); }
.acr-serve h3 { font-size: 18px; font-weight: 600; color: var(--c); margin-bottom: 12px; }
.acr-serve p { font-size: 15px; line-height: 22px; color: var(--dark-text); }

.acr-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; }
.acr-card--shadow { box-shadow: var(--shadow-sm); }
.acr-card--link { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.acr-card--link:hover { border-color: var(--border-strong); color: inherit; box-shadow: var(--shadow-sm); }
.acr-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.acr-card__meta { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.acr-icon-circle { width: 52px; height: 52px; border-radius: 9999px; background: var(--brand-muted); display: flex; align-items: center; justify-content: center; color: var(--brand-vivid); flex: 0 0 auto; }
.acr-icon-circle--lg { width: 64px; height: 64px; }
.acr-icon-circle--md { width: 48px; height: 48px; }
.acr-icon-circle--dark { width: 56px; height: 56px; background: var(--dark-3); color: var(--brand-light); }

/* Study cards */
.acr-study-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: border-color .15s ease; }
.acr-study-card:hover { border-color: var(--border-strong); }
.acr-study-card--list { padding: 28px; gap: 14px; box-shadow: var(--shadow-sm); }
.acr-study-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.acr-study-card--list h3 { font-size: 18px; }
.acr-study-card h3 a { text-decoration: none; }
.acr-study-card p { font-size: 14px; line-height: 21px; color: var(--ink-2); }
.acr-study-card .acr-learn-more { margin-top: auto; }
.acr-study-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acr-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.acr-pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--brand-vivid); background: var(--brand-muted); padding: 4px 10px; border-radius: 9999px; }
.acr-pill--muted { color: var(--ink-2); background: var(--surface-subtle); }
.acr-area-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); }
.acr-tag { font-size: 12px; color: var(--ink-2); background: var(--surface-muted); padding: 4px 10px; border-radius: var(--radius-btn); }
.acr-empty { text-align: center; padding: 40px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-card); color: var(--ink-2); background: #fff; }

/* Callout band */
.acr-band { margin-top: 40px; background: var(--brand-muted); border-radius: var(--radius-lg); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.acr-band p { font-size: 19px; font-weight: 600; color: var(--ink); }
.acr-band p.acr-band__text { font-size: 17px; line-height: 24px; font-weight: 400; max-width: 640px; }

/* Our Promise */
.acr-promise { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.acr-promise h3 { font-size: 15px; font-weight: 600; color: #fff; }
.acr-promise p { font-size: 13px; line-height: 19px; color: var(--dark-text); }

/* Locations */
.acr-loc { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.acr-loc__map { position: relative; height: 280px; background: #1e3535; }
.acr-loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.acr-loc__open { position: absolute; bottom: 12px; right: 12px; background: rgba(13,25,25,0.88); color: var(--c); font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 9999px; border: 1px solid rgba(43,191,196,0.3); display: flex; align-items: center; gap: 6px; text-decoration: none; z-index: 2; }
.acr-loc__open:hover { color: #fff; }
.acr-loc__body { padding: 32px; }
.acr-badge { display: inline-block; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9999px; padding: 4px 12px; }
.acr-loc h3 { margin-top: 12px; font-size: 20px; font-weight: 700; color: #fff; }
.acr-loc__addr { margin-top: 6px; font-size: 14px; color: var(--dark-text); }
.acr-loc hr { border: 0; border-top: 1px solid var(--dark-line); margin: 20px 0; }
.acr-dotline { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--dark-text); }
.acr-dotline::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--c); flex: 0 0 auto; }
.acr-loc__dir { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c); text-decoration: none; }
.acr-loc__dir:hover { color: #fff; }
.acr-center-cta { margin-top: 48px; text-align: center; }
.acr-center-cta p { font-size: 15px; color: var(--dark-text); margin-bottom: 16px; }

/* Split feature rows (Expanding Access) */
.acr-split-list { display: flex; flex-direction: column; gap: 32px; }
.acr-split { display: flex; align-items: stretch; background: var(--surface-subtle); border-radius: var(--radius-lg); overflow: hidden; flex-wrap: wrap; }
.acr-split__media { flex: 1 1 400px; min-height: 320px; background: var(--border); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--brand-vivid); }
.acr-split__media--alt { background-color: var(--brand-muted); }
.acr-split__media .acr-icon { width: 72px; height: 72px; opacity: .55; }
.acr-split__body { flex: 1 1 400px; padding: 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.acr-split__body p { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.acr-split--reverse .acr-split__media { order: 2; }
.acr-split--reverse .acr-split__body { order: 1; }

/* Email signup strip */
.acr-signup { background: var(--brand); padding: 80px 0; text-align: center; }
.acr-signup h2 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.acr-signup__form { margin: 40px auto 0; max-width: 980px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; justify-content: center; }
.acr-field { text-align: left; }
.acr-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.acr-field input, .acr-field select { height: 44px; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid transparent; font-size: 14px; font-family: inherit; width: 100%; background: #fff; color: var(--ink); }
.acr-field input::placeholder { color: var(--ink-3); }
.acr-signup .acr-msg { margin: 28px auto 0; max-width: 980px; }
.acr-signup .acr-msg.is-ok { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.4); }

/* Form messages */
.acr-msg { padding: 14px 18px; border-radius: var(--radius-card); font-size: 15px; font-weight: 600; border: 1px solid transparent; text-align: center; }
.acr-msg.is-ok { background: var(--brand-muted); color: var(--brand-vivid); border-color: var(--border); }
.acr-msg.is-error { background: #FBEAEA; color: #A32828; border-color: #F0C4C4; }
.acr-msg:empty { display: none; }

/* Light form (Sponsor Inquiry) */
.acr-form-grid { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.acr-form-grid .acr-full { grid-column: 1 / -1; }
.acr-field-light label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.acr-field-light label .acr-req { color: #C83232; }
.acr-field-light input, .acr-field-light select, .acr-field-light textarea { height: 44px; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid var(--border); font-size: 14px; font-family: inherit; width: 100%; background: #fff; color: var(--ink); }
.acr-field-light textarea { height: auto; padding: 12px 14px; resize: vertical; }
.acr-field-light input::placeholder, .acr-field-light textarea::placeholder { color: var(--ink-3); }
.acr-field-light input:focus, .acr-field-light select:focus, .acr-field-light textarea:focus { border-color: var(--border-strong); }
.acr-form-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.acr-form-foot p { font-size: 13px; color: var(--ink-3); text-align: center; }
.acr-inquiry .acr-msg { max-width: 780px; margin: 0 auto 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.acr-footer { background: var(--dark); padding: 80px 0 40px; }
.acr-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.acr-footer__logo img { height: 36px; width: auto; display: block; margin-bottom: 16px; }
.acr-footer__about { font-size: 14px; line-height: 21px; color: var(--dark-text); margin-bottom: 20px; max-width: 240px; }
.acr-social { display: flex; gap: 12px; }
.acr-social a { width: 36px; height: 36px; border-radius: 9999px; border: 1px solid var(--dark-line); display: flex; align-items: center; justify-content: center; color: var(--dark-text); text-decoration: none; }
.acr-social a:hover { color: var(--brand); border-color: var(--brand); }
.acr-footer h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.acr-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.acr-footer ul a { font-size: 14px; color: var(--dark-text); text-decoration: none; }
.acr-footer ul a:hover { color: var(--brand); }
.acr-footer__loc + .acr-footer__loc { margin-top: 14px; }
.acr-footer__loc strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark-ink); }
.acr-footer__loc span { display: block; font-size: 13px; color: var(--dark-text); margin-top: 4px; }
.acr-footer__loc a { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--brand); text-decoration: none; }
.acr-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; }
.acr-footer__bottom p, .acr-footer__bottom a { font-size: 13px; color: var(--dark-faint); text-decoration: none; }
.acr-footer__bottom a:hover { color: var(--dark-text); }
.acr-footer__legal { display: flex; gap: 24px; }

/* ==========================================================================
   For Sponsors
   ========================================================================== */
.acr-bigstat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.acr-bigstat__num { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.acr-bigstat__label { font-size: 15px; color: var(--ink-2); }
.acr-center-block { text-align: center; margin-top: 56px; }
.acr-center-block p { max-width: 620px; margin: 0 auto 24px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.acr-cap { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px; background: #fff; }
.acr-cap:hover { border-color: var(--border-strong); }
.acr-cap__head { display: flex; align-items: center; gap: 14px; }
.acr-cap__head h3 { font-size: 20px; font-weight: 600; }
.acr-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acr-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.acr-bullets li::before { content: ""; width: 5px; height: 5px; border-radius: 9999px; background: var(--border-strong); margin-top: 8px; flex: 0 0 auto; }
.acr-quote { max-width: 780px; margin: 0 auto; text-align: center; }
.acr-quote__bar { width: 40px; height: 3px; background: var(--brand-light); margin: 0 auto 28px; }
.acr-quote blockquote { margin: 0; font-size: 32px; line-height: 42px; font-weight: 600; letter-spacing: -0.015em; color: var(--brand-light); }
.acr-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 48px; }
.acr-chip-dark { display: flex; align-items: center; gap: 8px; background: var(--dark-3); border: 1px solid var(--dark-line); border-radius: 9999px; padding: 12px 20px; font-size: 14px; color: var(--dark-ink); }
.acr-chip-dark::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--accent-light); flex: 0 0 auto; }
.acr-site-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; }
.acr-site-card h3 { margin: 12px 0 4px; font-size: 24px; font-weight: 600; }
.acr-site-card p { font-size: 15px; line-height: 22px; color: var(--ink-2); }

/* ==========================================================================
   Enrolling Studies
   ========================================================================== */
.acr-filterbar { position: sticky; top: var(--nav-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0; }
.admin-bar .acr-filterbar { top: calc(var(--nav-h) + 32px); }
.acr-filterbar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acr-filterbar__label { font-size: 14px; font-weight: 600; white-space: nowrap; }
.acr-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.acr-filter-pill { height: 44px; padding: 0 20px; border-radius: 9999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.acr-filter-pill:hover { border-color: var(--brand); }
.acr-filter-pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
#studies { scroll-margin-top: calc(var(--nav-h) + 90px); }
.acr-studies { padding: 72px 0 112px; background: var(--surface-subtle); }
.acr-study-card[hidden] { display: none; }

.acr-faq-grid { max-width: 900px; margin: 0 auto; align-items: start; }
.acr-faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px 28px; }
.acr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.acr-faq summary::-webkit-details-marker { display: none; }
.acr-faq summary .acr-icon { color: var(--brand-vivid); flex: 0 0 auto; transition: transform .15s ease; }
.acr-faq[open] summary .acr-icon { transform: rotate(180deg); }
.acr-faq p { margin-top: 14px; font-size: 14px; line-height: 21px; color: var(--ink-2); }

/* Single study */
.acr-study-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.acr-study-aside { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.acr-study-aside h2 { font-size: 20px; font-weight: 700; }
.acr-study-aside dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.acr-study-aside dt { color: var(--ink-2); }
.acr-study-aside dd { margin: 0; font-weight: 600; }
.acr-contact-line { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--brand-vivid); text-decoration: none; word-break: break-word; }

/* ==========================================================================
   Our Team
   ========================================================================== */
.acr-pi { background: var(--dark-2); border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.acr-pi + .acr-pi { margin-top: 24px; }
.acr-pi__photo { width: 120px; height: 120px; border-radius: 9999px; border: 3px solid var(--brand); background: var(--dark-4); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--dark-text); font-size: 32px; font-weight: 700; flex: 0 0 auto; }
.acr-pi__photo img { width: 100%; height: 100%; object-fit: cover; }
.acr-pi__body { flex: 1 1 380px; min-width: 0; }
.acr-pi__badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--brand-vivid); padding: 6px 14px; border-radius: 9999px; margin-bottom: 16px; }
.acr-pi h2 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.acr-pi__cred { font-size: 14px; color: var(--dark-text); margin-bottom: 20px; }
.acr-pi__bio { font-size: 16px; line-height: 24px; color: var(--dark-ink); max-width: 640px; margin-bottom: 24px; }
.acr-pi__bio p + p { margin-top: 12px; }
.acr-pi__pills { display: flex; flex-wrap: wrap; gap: 12px; }
.acr-pi__pills span { font-size: 13px; color: var(--dark-ink); background: var(--dark-line); border: 1px solid var(--dark-line-strong); border-radius: 9999px; padding: 8px 16px; }
.acr-team-card { border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); overflow: hidden; background: #fff; }
.acr-team-card__photo { width: 100%; aspect-ratio: 3 / 2; background: var(--surface-muted); display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 40px; font-weight: 700; overflow: hidden; }
.acr-team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.acr-team-card__body { padding: 24px; }
.acr-team-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.acr-team-card__role { font-size: 14px; font-weight: 600; color: var(--brand-vivid); margin-bottom: 10px; }
.acr-team-card__bio { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.acr-team-card__bio p + p { margin-top: 8px; }
.acr-rows { max-width: 820px; margin: 0 auto; }
.acr-row { display: flex; align-items: flex-start; gap: 24px; padding: 28px 0; border-top: 1px solid var(--border); }
.acr-row:last-child { border-bottom: 1px solid var(--border); }
.acr-row h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.acr-row p { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.acr-cta-dark { text-align: center; max-width: 620px; margin: 0 auto; }
.acr-cta-dark h2 { font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-top: 14px; }
.acr-cta-dark h2:first-child { margin-top: 0; }
.acr-cta-dark p.acr-sub { margin-top: 20px; font-size: 16px; line-height: 24px; color: var(--dark-text); }
.acr-cta-dark .acr-actions { margin-top: 32px; }

/* ==========================================================================
   About Us
   ========================================================================== */
.acr-story { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: stretch; }
.acr-story h2 { font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 28px; }
.acr-story__text { font-size: 16px; line-height: 26px; color: var(--ink-2); }
.acr-story__text p + p { margin-top: 20px; }
.acr-story__photo { background: var(--surface-muted); border-radius: var(--radius-lg); min-height: 320px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--brand-vivid); }
.acr-story__photo .acr-icon { width: 72px; height: 72px; opacity: .45; }
.acr-timeline { position: relative; max-width: 640px; margin: 0 auto; list-style: none; padding: 0; }
.acr-timeline::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.acr-timeline li { position: relative; padding: 0 0 32px 32px; }
.acr-timeline li:last-child { padding-bottom: 0; }
.acr-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 9999px; background: var(--brand); border: 3px solid var(--surface-subtle); box-sizing: content-box; transform: translateX(-3px); }
.acr-timeline__year { font-size: 14px; font-weight: 700; color: var(--brand-vivid); margin-bottom: 4px; }
.acr-timeline__text { font-size: 16px; color: var(--ink); }
.acr-fda { border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 28px; background: #fff; }
.acr-fda:hover { border-color: var(--border-strong); }
.acr-fda__year { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.acr-fda h3 { font-size: 18px; font-weight: 600; color: var(--brand-vivid); margin-bottom: 6px; }
.acr-fda p { font-size: 14px; color: var(--ink-2); }
.acr-page-about .acr-logos { padding-top: 0; padding-bottom: 112px; }
.acr-page-about .acr-marquee__track { animation-duration: 42s; }

/* ==========================================================================
   Generic pages, blog, search, 404
   ========================================================================== */
.acr-page-hero { background: var(--dark); padding: 96px 0 80px; text-align: center; }
.acr-page-hero h1 { font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -0.025em; color: #fff; max-width: 860px; margin: 14px auto 0; }
.acr-page-hero h1:first-child { margin-top: 0; }
.acr-page-hero p { margin: 20px auto 0; max-width: 620px; font-size: 17px; line-height: 27px; color: var(--dark-text); }
.acr-content { padding: 80px 0 112px; }
.acr-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #333; }
.acr-prose--wide { max-width: 1072px; }
.acr-prose > * + * { margin-top: 1.1em; }
.acr-prose h2 { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.8em; }
.acr-prose h3 { font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--ink); margin-top: 1.6em; }
.acr-prose a { color: var(--brand-vivid); }
.acr-prose ul, .acr-prose ol { padding-left: 1.3em; }
.acr-prose li + li { margin-top: .4em; }
.acr-prose img { border-radius: var(--radius-card); }
.acr-prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.acr-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.acr-prose th, .acr-prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.alignwide { max-width: 1072px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

.acr-post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease; }
.acr-post-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.acr-post-card__img { aspect-ratio: 16 / 10; background: var(--surface-muted); overflow: hidden; display: block; }
.acr-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acr-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acr-post-card time { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.acr-post-card h2 { font-size: 19px; line-height: 26px; font-weight: 600; }
.acr-post-card h2 a { text-decoration: none; }
.acr-post-card p { font-size: 14px; line-height: 21px; color: var(--ink-2); }
.acr-post-card .acr-learn-more { margin-top: auto; }
.acr-pagination { margin-top: 56px; display: flex; justify-content: center; }
.acr-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.acr-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-btn); text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; }
.acr-pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.acr-post-meta { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-light); }
.acr-featured-img { max-width: 1072px; margin: -48px auto 48px; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.acr-featured-img img { display: block; width: 100%; height: auto; }
.acr-postnav { max-width: 760px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; font-weight: 600; font-size: 15px; }
.acr-postnav a { text-decoration: none; color: var(--brand-vivid); }
.acr-search-page { max-width: 560px; margin: 32px auto 0; }
.acr-search-page .acr-search { background: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.acr-nav__links { display: none; }
	.acr-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.acr-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.acr-footer__brand { grid-column: 1 / -1; }
	.acr-study-layout { grid-template-columns: 1fr; }
	.acr-study-aside { position: static; }
}

@media (max-width: 860px) {
	.acr-wrap { padding-left: 24px; padding-right: 24px; }
	.acr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acr-story { grid-template-columns: 1fr; }
	.acr-split__body { padding: 40px 32px; }
	.acr-band { padding: 28px 28px; }
}

@media (max-width: 782px) {
	.admin-bar .acr-nav { top: 46px; }
	.admin-bar .acr-filterbar { top: calc(var(--nav-h) + 46px); }
}
@media (max-width: 600px) {
	/* WordPress admin bar scrolls away on phones */
	.admin-bar .acr-nav { top: 0; }
	.admin-bar .acr-filterbar { top: var(--nav-h); }
}

@media (max-width: 700px) {
	:root { --nav-h: 72px; }
	.acr-nav__logo img { height: 34px; }
	.acr-section { padding: 72px 0; }
	.acr-section--tight { padding: 64px 0; }
	.acr-hero { padding: 88px 0 72px; }
	.acr-hero h1 { font-size: 34px; line-height: 40px; }
	.acr-rotator { min-height: 120px; }
	.acr-hero__lead { font-size: 16px; line-height: 25px; }
	.acr-page-hero { padding: 72px 0 56px; }
	.acr-page-hero h1 { font-size: 32px; line-height: 38px; }
	.acr-h2 { font-size: 28px; line-height: 34px; }
	.acr-section-head { margin-bottom: 40px; }
	.acr-actions .acr-btn-primary-lg, .acr-actions .acr-btn-outline-dark { width: 100%; }
	.acr-stats__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.acr-stat { border-right: none; padding: 0; }
	.acr-stat__num { font-size: 36px; }
	.acr-grid--2, .acr-grid--3, .acr-grid--4, .acr-grid--5, .acr-form-grid { grid-template-columns: 1fr; }
	.acr-grid--5 { gap: 36px; }
	.acr-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.acr-logos { padding: 56px 0 64px; }
	.acr-marquee img { height: 30px; }
	.acr-marquee__track { gap: 44px; }
	.acr-split__media { min-height: 220px; flex-basis: 100%; }
	.acr-split--reverse .acr-split__media { order: 0; }
	.acr-split__body { padding: 32px 24px; }
	.acr-band { padding: 24px; }
	.acr-band p { font-size: 17px; }
	.acr-quote blockquote { font-size: 24px; line-height: 32px; }
	.acr-pi { padding: 32px 24px; gap: 24px; }
	.acr-pi h2 { font-size: 28px; line-height: 34px; }
	.acr-filterbar { padding: 14px 0; }
	.acr-filterbar__label { display: none; }
	.acr-filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
	.acr-filters::-webkit-scrollbar { display: none; }
	.acr-studies { padding: 40px 0 72px; }
	.acr-loc__map { height: 220px; }
	.acr-loc__body, .acr-card, .acr-study-card, .acr-cap, .acr-site-card { padding: 24px; }
	.acr-signup { padding: 64px 0; }
	.acr-signup h2 { font-size: 24px; line-height: 30px; }
	.acr-signup__form > * { flex: 1 1 100% !important; }
	.acr-signup__form .acr-btn-dark { width: 100%; }
	.acr-featured-img { margin: -32px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.acr-nav { animation: none; }
	.acr-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; max-width: 1200px; margin: 0 auto; row-gap: 32px; }
	.acr-marquee__track [aria-hidden="true"] { display: none; }
	.acr-marquee { -webkit-mask-image: none; mask-image: none; }
	.acr-rotator, .acr-stat__num { transition: none; animation: none !important; }
}
