/* ================================================== Tokens */
:root {
	--c-blue:        #2a6eae;
	--c-blue-deep:   #16356e;
	--c-sky:         #5abbfc;
	--c-gold:        #a8925a;
	--c-gold-soft:   #d4c7a0;
	--c-text:        #5c6578;
	--c-ink:         #16203a;
	--c-bg-tint:     #f0eadc;
	--c-paper:       #fbf8f2;
	--c-cream:       #f0eadc;
	--c-white:       #fffdf8;
	--font:          "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--font-display:  "Cormorant Garamond", "Times New Roman", serif;
	--container:     1180px;
	--container-sm:  860px;
	--shadow-1:      0 2px 10px rgba(22, 53, 110, .07);
	--shadow-2:      0 14px 34px rgba(22, 53, 110, .14);
	--ease-out:      cubic-bezier(.22, .8, .3, 1);
}

/* ================================================== Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--c-gold-soft); color: var(--c-ink); }
a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--c-blue-deep); outline-offset: 2px; border-radius: 2px;
}
h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.15;
	color: var(--c-blue-deep);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: var(--container-sm); }
.section { padding: 76px 0; }
@media (max-width: 700px) { .section { padding: 48px 0; } }
.section--tinted { background: var(--c-bg-tint); }

/* Section titles carry the gold star motif from the brand mark */
.section__title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; font-weight: 600; }
.section__title--plain { margin-bottom: 10px; }
.rule--tight { max-width: 220px; margin: 16px auto 36px; }
.section__title--left { text-align: left; }
.section__subtitle { text-align: center; color: var(--c-gold); font-size: 20px; margin: 0 0 4px; }
.rule {
	border: 0; height: 1px; max-width: 420px; margin: 34px auto;
	background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.rule--left {
	margin-left: 0; max-width: 88px;
	background: var(--c-gold);
}
.rte p { margin: 0 0 1.2em; }

/* Scroll reveal — never start hidden. JS may still add motion, but a missed
 * observer must not leave a blank hole in the page. */
.reveal { opacity: 1; transform: none; }
.reveal.in-view { opacity: 1; transform: none; }

/* ================================================== Social icons */
.social { display: flex; align-items: center; gap: 4px; }
.social__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	color: inherit; transition: background .2s, color .2s, transform .2s;
}
.social__link:hover { text-decoration: none; transform: translateY(-2px); }
.social__link svg { display: block; }

/* ================================================== Topbar */
.topbar { background: var(--c-blue); color: #fff; font-size: 15px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 48px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar__meta { display: flex; align-items: stretch; flex-wrap: wrap; }
.topbar__item {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 22px; border-left: 1px solid rgba(255,255,255,.28);
}
.topbar__item:last-child { border-right: 1px solid rgba(255,255,255,.28); }
.topbar__item svg { flex: none; opacity: .9; }
.topbar__item:hover { text-decoration: none; background: rgba(255,255,255,.08); }
.topbar__social a { margin: 0; }
.topbar__social .social__link:hover { background: rgba(255,255,255,.18); }
@media (max-width: 700px) {
	.topbar__item { padding: 8px 12px; }
	.topbar { font-size: 14px; }
}

/* ================================================== Header / nav */
.site-header {
	background: rgba(255,253,248,.95); position: sticky; top: 0; z-index: 50;
	box-shadow: 0 1px 4px rgba(22,32,58,.06);
	backdrop-filter: blur(10px);
	transition: box-shadow .25s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 3px 14px rgba(0,0,0,.12); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 72px; transition: min-height .25s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { min-height: 58px; }
.site-header.is-scrolled .site-branding img { max-height: 44px; }
.site-branding img { transition: max-height .25s var(--ease-out); }
.site-branding img { max-height: 56px; width: auto; }
.site-title { font-weight: 800; font-size: 20px; color: var(--c-blue-deep); }

.site-nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	position: relative; font-size: 16px; font-weight: 600; letter-spacing: .04em;
	text-transform: uppercase; color: var(--c-blue); padding-bottom: 4px;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
	background: var(--c-gold); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--ease-out);
}
.site-nav__list a:hover { color: var(--c-blue-deep); text-decoration: none; }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a.is-active { color: var(--c-blue-deep); }
.site-nav__list a.is-active::after { transform: scaleX(1); }

.site-header__right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 480px) { .site-header__right { gap: 10px; } .lang-switch__btn { padding: 6px 9px; font-size: 12px; } }

/* Language pill — globe + ΕΛ/EN segments. Both languages are always visible
 * and the current one is filled in, so the control states where you are
 * rather than only what it will do next. */
.lang-switch {
	display: inline-flex; align-items: center; gap: 2px;
	padding: 3px; padding-left: 10px;
	border: 1.5px solid rgba(46, 127, 194, .42);
	border-radius: 999px; background: #fff; line-height: 1;
	transition: border-color .2s, box-shadow .2s;
}
.lang-switch:hover { border-color: var(--c-blue); box-shadow: var(--shadow-1); }
.lang-switch__globe { display: flex; color: var(--c-blue); margin-right: 6px; }
.lang-switch__globe svg { display: block; }
.lang-switch__btn {
	-webkit-appearance: none; appearance: none; border: 0; background: none;
	cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
	letter-spacing: .06em; line-height: 1; color: var(--c-blue);
	padding: 7px 11px; border-radius: 999px;
	transition: background .2s, color .2s;
}
.lang-switch__btn:hover { color: var(--c-blue-deep); background: rgba(46, 127, 194, .10); }
/* The current segment is selected by the body class, not a JS class: the
 * emiyaki_lang cookie is applied to <body> at wp_body_open, so an EN visitor
 * never sees ΕΛ highlighted for a frame while main.js loads. */
body:not(.lang-en) .lang-switch__btn[data-lang-set="el"],
body.lang-en .lang-switch__btn[data-lang-set="en"] {
	background: var(--c-blue-deep); color: #fff; cursor: default;
	box-shadow: 0 1px 4px rgba(28, 57, 136, .28);
}
body:not(.lang-en) .lang-switch__btn[data-lang-set="el"]:hover,
body.lang-en .lang-switch__btn[data-lang-set="en"]:hover {
	background: var(--c-blue-deep); color: #fff;
}
.lang-switch__btn:focus-visible { outline: 2px solid var(--c-blue-deep); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lang-switch, .lang-switch__btn { transition: none; } }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	display: block; width: 24px; height: 2px; background: var(--c-blue-deep);
	position: relative; transition: transform .2s;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after  { top: 7px; }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.08);
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
	}
	.site-nav.is-open { max-height: 60vh; overflow-y: auto; }
	.site-nav__list { flex-direction: column; gap: 0; padding: 8px 0; }
	.site-nav__list li { padding-inline: 20px; }
	.site-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
	.site-nav__list li:last-child a { border-bottom: 0; }
	.site-nav__list a::after { content: none; }
}

/* ================================================== Hero — image / video / YouTube
 * The poster image is always the painted layer; video and YouTube fade in on
 * top of it once main.js decides the device should play them.
 */
.hero { position: relative; --hero-scrim: .45; }
.hero__frame { position: relative; overflow: hidden; background: var(--c-blue-deep); }
.hero__media { position: relative; }

.hero__img {
	width: 100%; height: auto; max-height: 92vh; object-fit: cover; object-position: 50% 18%;
	filter: blur(14px); transform: scale(1.07);
	transition: filter 1.3s var(--ease-out), transform 1.6s var(--ease-out);
}
.hero.is-revealed .hero__img { filter: blur(0); transform: scale(1); }

/* ---------------------------------------------------------------------------
   Layered Acropolis hero (v1.23.0)

   The sky is a CSS gradient — no image, sharp at any size. Over it: two
   procedurally generated cloud decks that tile exactly in x, and the monument
   cut-out. The decks drift at different speeds; that difference is the depth.
   --------------------------------------------------------------------------- */
.hero--layered {
	--hero-push: 18s;
	--hero-drift-near: 48s;
	--hero-drift-far: 96s;
	--hero-sky-top: #0f47a4;
	--hero-sky-mid: #2f7ccb;
	--hero-sky-low: #9ccbec;
}

.hero--layered .hero__layers { position: relative; overflow: hidden; }
.hero--layered .hero__layer { position: absolute; inset: 0; display: block; }

.hero__sky {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, var(--hero-sky-top) 0%, var(--hero-sky-mid) 46%, var(--hero-sky-low) 100%);
}

/* The monument is in flow so it keeps driving the height of the auto-height
   hero, exactly as the single ACF image did. */
.hero--layered .hero__layer--acro { position: relative; }
.hero--layered .hero__layer--acro .hero__plate { width: 100%; height: auto; }

/* Scaling from the top edge keeps the Erechtheion cornice in frame — the
   monument grows downward out of the crop instead of upward out of it. */
.hero--layered .hero__layer--acro { transform-origin: 50% 0; }

.hero--layered .hero__plate {
	display: block; width: 100%; height: 100%; max-height: none;
	object-fit: cover; object-position: 50% 100%;
	transform: none;
}

.hero--layered.hero--h-tall .hero__layers,
.hero--layered.hero--h-full .hero__layers { position: absolute; inset: 0; }
.hero--layered.hero--h-tall .hero__layer--acro,
.hero--layered.hero--h-full .hero__layer--acro { position: absolute; }
.hero--layered.hero--h-tall .hero__layer--acro .hero__plate,
.hero--layered.hero--h-full .hero__layer--acro .hero__plate { height: 100%; }

/* Each deck is its texture twice in a 200%-wide strip. The textures are
   periodic, so -50% wraps with nothing to conceal. */
.hero__clouds { position: absolute; inset: 0; width: 200%; display: flex; }
.hero__cloud { flex: 0 0 50%; height: 100%; display: block; }
.hero__cloud .hero__plate { object-position: 50% 50%; }

/* The blur-reveal is per plate, NOT on the stack: a filter on the shared
   ancestor rasterises everything into one layer and each drift frame would
   repaint the whole hero. Per plate also means the motion needs no JS. */
.hero--layered .hero__plate { filter: blur(14px); transition: filter 1.3s var(--ease-out); }
.hero--layered.is-revealed .hero__plate { filter: blur(0); }

@media (prefers-reduced-motion: no-preference) {
	.hero--layered .hero__layer--acro { animation: em-push var(--hero-push) ease-in-out infinite alternate; }
	.hero--layered .hero__layer--far .hero__clouds { animation: em-drift var(--hero-drift-far) linear infinite; }
	.hero--layered .hero__layer--near .hero__clouds { animation: em-drift var(--hero-drift-near) linear infinite; }
}

@keyframes em-push {
	from { transform: scale(1.02) translate3d(.35%, 0, 0); }
	to { transform: scale(1.09) translate3d(-.35%, 0, 0); }
}
/* Flip the sign to send the weather the other way. */
@keyframes em-drift {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.hero--layered.is-still .hero__layer,
.hero--layered.is-still .hero__clouds { animation-play-state: paused; }

/* Anchor the cut-out to the bottom on phones — the shared image-hero rule
   pulls it to 20% from the top, which crops the columns instead of the sky. */
@media (max-width: 900px) {
	.hero--layered .hero__layer--acro .hero__plate { object-position: 50% 100%; }
}
@media (min-width: 901px) {
	/* Desktop, image hero: let the photo keep its own ratio — no vertical crop */
	.hero--image.hero--h-auto .hero__img { max-height: none; object-fit: unset; }
}

/* Video heroes hold a stable 16:9 box so nothing shifts while the file loads */
.hero--video.hero--h-auto .hero__media,
.hero--youtube.hero--h-auto .hero__media { aspect-ratio: 16 / 9; }

/* Fixed-height variants: media covers the frame */
.hero--h-tall .hero__frame { height: clamp(430px, 74vh, 780px); }
.hero--h-full .hero__frame { height: calc(100svh - 120px); min-height: 460px; }
.hero--h-tall .hero__media,
.hero--h-full .hero__media { position: absolute; inset: 0; }
.hero--h-tall .hero__img, .hero--h-full .hero__img,
.hero--video.hero--h-auto .hero__img, .hero--youtube.hero--h-auto .hero__img {
	width: 100%; height: 100%; max-height: none; object-fit: cover;
}

/* Moving layers */
.hero__video, .hero__yt {
	position: absolute; inset: 0; opacity: 0;
	transition: opacity 1s var(--ease-out);
}
.hero.is-playing .hero__video, .hero.is-playing .hero__yt { opacity: 1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.hero__yt { overflow: hidden; pointer-events: none; }
/* Scale the 16:9 iframe until it covers the frame in both axes */
.hero__yt iframe {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
	transform: translate(-50%, -50%);
}

/* Scrim: light vignette up top for the sticky header, heavier base for the copy */
.hero__scrim {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(12,18,29,.40) 0%, rgba(12,18,29,0) 32%),
		linear-gradient(0deg,
			rgba(12,18,29,calc(var(--hero-scrim) + .30)) 0%,
			rgba(12,18,29,var(--hero-scrim)) 30%,
			rgba(12,18,29,0) 72%);
}

.hero__overlay { position: absolute; inset: auto 0 0 0; padding: 110px 0 56px; }
.hero__kicker {
	margin: 0 0 14px; color: var(--c-gold-soft); font-weight: 700;
	font-size: clamp(11px, 1vw, 13px); letter-spacing: .24em; text-transform: uppercase;
	opacity: 0; transform: translateY(18px);
	transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hero__title { margin: 0; font-size: clamp(26px, 4.2vw, 54px); color: #fff; }
.hero__line {
	display: block; color: #fff; font-weight: 800;
	text-shadow: 0 2px 22px rgba(6,12,24,.55);
	opacity: 0; transform: translateY(24px);
	transition: opacity .8s .08s var(--ease-out), transform .8s .08s var(--ease-out);
}
.hero__title::after {
	content: ""; display: block; width: 76px; height: 3px; margin-top: 20px; border-radius: 2px;
	background: linear-gradient(90deg, var(--c-gold), var(--c-gold-soft));
	transform: scaleX(0); transform-origin: left;
	transition: transform .9s .45s var(--ease-out);
}
.hero.is-revealed .hero__kicker,
.hero.is-revealed .hero__line,
.hero.is-revealed .hero__subtitle { opacity: 1; transform: none; }
.hero.is-revealed .hero__title::after { transform: scaleX(1); }
.hero__subtitle {
	margin: 18px 0 0; max-width: 48ch; color: #e9f2fb; font-weight: 600;
	font-size: clamp(15px, 1.5vw, 20px); text-shadow: 0 1px 14px rgba(6,12,24,.5);
	opacity: 0; transform: translateY(20px);
	transition: opacity .8s .22s var(--ease-out), transform .8s .22s var(--ease-out);
}
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { box-shadow: 0 10px 26px rgba(6,12,24,.35); }
/* .lang-panel forces display:block — keep the hero buttons pill-shaped */
.hero__actions .lang-panel.is-active { display: inline-block; }

/* Sound toggle — revealed by JS only once media is actually playing */
.hero__sound {
	position: absolute; right: 20px; bottom: 24px; z-index: 3;
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.42); border-radius: 50%; cursor: pointer;
	background: rgba(12,18,29,.42); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background .25s, transform .25s var(--ease-out), border-color .25s;
}
.hero__sound[hidden] { display: none; }
.hero__sound:hover { background: rgba(12,18,29,.68); border-color: var(--c-gold-soft); transform: translateY(-2px); }
.hero__sound .hero__sound-on { display: none; }
.hero__sound[aria-pressed="true"] .hero__sound-on { display: block; }
.hero__sound[aria-pressed="true"] .hero__sound-off { display: none; }

/* Scroll cue */
.hero__cue {
	position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
	width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px;
	opacity: 0; transition: opacity .8s .8s var(--ease-out), border-color .25s;
}
.hero.is-revealed .hero__cue { opacity: 1; }
.hero__cue:hover { border-color: var(--c-gold-soft); }
.hero__cue-dot {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px;
	background: #fff; transform: translateX(-50%);
	animation: hero-cue 1.9s var(--ease-out) infinite;
}
@keyframes hero-cue {
	0%, 100% { transform: translate(-50%, 0); opacity: 1; }
	60%      { transform: translate(-50%, 13px); opacity: .15; }
}
@media (max-width: 700px) { .hero__cue { display: none; } .hero__sound { right: 14px; bottom: 16px; width: 40px; height: 40px; } }

.hero::after { content: ""; display: block; height: 16px; background: linear-gradient(90deg, var(--c-gold), var(--c-gold-soft), var(--c-gold)); }

/* ================================================== Intro / services */
.intro { text-align: center; }
.intro__mark {
	display: block;
	margin: 0 auto 16px;
	width: min(128px, 40%);
	height: auto;
}
/* The profile section leads with the company mark, then Υπηρεσίες. */
.profile .intro__mark { margin-bottom: 16px; }
.intro__text { text-align: left; }
.intro__lead {
	text-align: center; color: var(--c-blue); font-weight: 400;
	font-size: 27px; line-height: 1.35; margin: 40px 0 8px;
}
.services-grid {
	list-style: none; margin: 36px 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.services-grid__item {
	display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 10px;
	background: var(--c-white); border: 1px solid #e4dccb; border-radius: 14px;
	padding: 18px 20px 16px; text-align: left;
	box-shadow: var(--shadow-1);
	transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.services-grid__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--c-gold-soft); }
.services-grid__item::before {
	content: ""; display: block; flex: 0 0 100%; width: 40px; max-width: 40px; height: 2px;
	margin: 0 0 12px; background: var(--c-gold);
	transition: width .3s var(--ease-out), max-width .3s var(--ease-out);
}
.services-grid__item:hover::before { width: 64px; max-width: 64px; }
.services-grid__icon {
	flex: none; display: flex; color: var(--c-gold); margin: 3px 0 0;
}
.services-grid__icon svg { display: block; }
.services-grid__title {
	flex: 1; min-width: 0;
	font-family: var(--font); font-size: 15px; font-weight: 600; margin: 0;
	color: var(--c-blue); letter-spacing: 0; line-height: 1.4;
}
.services-grid__note { flex: 1 0 100%; font-size: 13px; margin: 8px 0 0; }
.services-grid > .services-grid__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } }

/* Bilingual profile */
.anchor-alias { position: relative; top: -20px; }
.lang-toggle { display: flex; justify-content: center; gap: 8px; margin: 18px 0 34px; }
.lang-toggle__btn {
	border: 1px solid var(--c-blue); background: transparent; color: var(--c-blue);
	padding: 8px 24px; border-radius: 22px; font: inherit; font-size: 14px; font-weight: 600;
	cursor: pointer; transition: background .2s, color .2s;
}
.lang-toggle__btn:hover { background: rgba(46,127,194,.08); }
.lang-toggle__btn.is-active { background: var(--c-blue); color: #fff; }
.lang-panel { display: none; }
.lang-panel.is-active { display: block; animation: panel-in .35s var(--ease-out); }
span.lang-panel.is-active { display: inline; animation: none; }
body.lang-en [data-lang-hide="en"] { display: none; }
body.lang-en .lang-panel[data-lang-panel="el"] { display: none !important; }
body.lang-en .lang-panel[data-lang-panel="en"] { display: block; }
body.lang-en span.lang-panel[data-lang-panel="en"] { display: inline; }
p.lang-panel.is-active { animation: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang-panel.is-active { animation: none; } }

.profile__tagline {
	text-align: center; color: var(--c-gold); font-size: 17px; font-weight: 600;
	line-height: 1.6; max-width: 640px; margin: 0 auto;
}
.profile__subhead {
	text-align: left; color: var(--c-blue-deep); font-weight: 600;
	font-size: 28px; line-height: 1.2; margin: 44px 0 8px;
}
.profile__roles { display: grid; gap: 26px; margin-top: 26px; text-align: left; }
.role {
	border-left: 3px solid var(--c-gold); padding: 4px 0 4px 22px;
}
.role .rte { color: var(--c-blue); }
.profile .intro__text { color: var(--c-blue); }
.role__title { font-size: 18px; margin: 0 0 2px; color: var(--c-blue-deep); }
.role__period {
	margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--c-gold);
}
.intro-cta__head { color: #fff; font-size: 22px; margin: 0 0 16px; }

/* Closing CTA panel */
.intro-cta {
	margin-top: 44px; padding: 36px 40px 36px 48px; border-radius: 22px;
	background: var(--c-blue-deep);
	color: #fff; text-align: left; box-shadow: var(--shadow-2);
	position: relative; overflow: hidden;
}
.intro-cta::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
	background: var(--c-gold);
}
.intro-cta__text { color: #fff; }
.intro-cta__text p:last-child { margin-bottom: 0; }
.intro-cta .btn { display: block; width: max-content; max-width: 100%; margin: 28px auto 0; }
@media (max-width: 560px) { .intro-cta .btn { width: 100%; } }
.btn--gold { background: var(--c-gold); color: var(--c-blue-deep); }
.btn--gold:hover { background: #a3925c; color: #fff; }
.btn--outline {
	background: transparent; color: var(--c-blue-deep);
	border: 1.5px solid var(--c-gold);
	padding: 10px 28px;
}
.btn--outline:hover { background: var(--c-gold); color: var(--c-blue-deep); text-decoration: none; }
@media (max-width: 700px) { .intro-cta { padding: 32px 24px; } }

/* ================================================== Page hero (inner pages) */
.page-hero {
	background: linear-gradient(120deg, var(--c-blue-deep), var(--c-blue));
	color: #fff; padding: 56px 0 48px; text-align: center;
}
.page-hero__eyebrow {
	margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .18em;
	text-transform: uppercase; color: var(--c-gold-soft);
}
.page-hero__title { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; }

/* ================================================== Bio page */
.bio-page__grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.bio-page__main { max-width: 720px; }
.bio-page__subhead { font-size: 22px; margin: 44px 0 20px; }
.bio-page__studies { grid-template-columns: 1fr; }

.pullquote {
	margin: 0 0 34px; padding: 6px 0 6px 26px; border-left: 3px solid var(--c-gold);
	font-size: 22px; line-height: 1.5; font-weight: 600; color: var(--c-blue);
}
.rte--dropcap > p:first-of-type::first-letter {
	float: left; font-size: 58px; line-height: .9; font-weight: 800;
	color: var(--c-gold); padding: 4px 12px 0 0;
}

.bio-page__sidebar { position: sticky; top: 96px; display: grid; gap: 22px; }
.sidebar-card {
	background: #fff; border: 1px solid #eceef2; border-radius: 10px;
	border-top: 3px solid var(--c-gold); box-shadow: var(--shadow-1);
	padding: 22px;
}
.sidebar-card--photo { padding: 0; overflow: hidden; }
.sidebar-card--photo img { width: 100%; }
.sidebar-card__body { padding: 18px 22px; text-align: center; }
.sidebar-card__name { margin: 0; font-weight: 800; color: var(--c-blue-deep); font-size: 18px; }
.sidebar-card__role { margin: 4px 0 0; font-size: 13px; color: #8a94a3; }
.sidebar-card__title {
	margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--c-gold);
}
.sidebar-card__list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sidebar-card__list li { padding: 7px 0 7px 20px; position: relative; border-bottom: 1px solid #f0f1f4; }
.sidebar-card__list li:last-child { border-bottom: 0; }
.sidebar-card__list li::before { content: "\276F"; position: absolute; left: 0; color: var(--c-gold); font-size: 11px; top: 10px; }
.facts { margin: 0; }
.facts__row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #f0f1f4; font-size: 14px; }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: #8a94a3; }
.facts dd { margin: 0; font-weight: 600; color: var(--c-blue-deep); text-align: right; }

.sidebar-card--cta { background: var(--c-blue-deep); border-top-color: var(--c-gold); color: #fff; text-align: center; }
.sidebar-card--cta p { margin: 0 0 14px; font-size: 15px; }
.btn {
	display: inline-block; padding: 11px 26px; border-radius: 24px; font-weight: 700;
	transition: transform .2s var(--ease-out), box-shadow .2s;
	max-width: 100%; white-space: normal; text-align: center; line-height: 1.35;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn--light { background: #fff; color: var(--c-blue-deep); }
.sidebar-card__social { justify-content: center; margin-top: 16px; }
.sidebar-card--cta .social__link { color: #fff; }
.sidebar-card--cta .social__link:hover { background: rgba(255,255,255,.15); }

@media (max-width: 900px) {
	.bio-page__grid { grid-template-columns: 1fr; }
	.bio-page__sidebar { position: static; }
}

/* ================================================== News cards */
.news__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
	max-width: 1020px; margin-inline: auto;
}

/* One-line carousel (front page) */
.news-carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.news-carousel__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 8px 2px 18px;
	scrollbar-width: none; flex: 1; min-width: 0;
}
.news-carousel__track::-webkit-scrollbar { display: none; }
.news-carousel__track .news__item {
	flex: 0 0 340px; scroll-snap-align: start;
}
.news-carousel__track .card {
	flex: 0 0 300px; scroll-snap-align: start;
}

.news-carousel__btn {
	flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--c-blue); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(22, 53, 110, .22);
	transition: background .2s, opacity .2s, transform .2s var(--ease-out);
}
.news-carousel__btn:hover { background: var(--c-blue-deep); transform: translateY(-2px); }
.news-carousel__btn:disabled { opacity: .35; cursor: default; transform: none; background: var(--c-blue); }
.news-carousel__controls { display: none; }
@media (min-width: 761px) { .news-carousel__controls { display: none !important; } }
@media (max-width: 760px) {
	.news-carousel { display: block; }
	.news-carousel__track { padding-bottom: 14px; }
	.news-carousel__track .news__item { flex-basis: 86vw; }
	.news-carousel__track .card { flex-basis: 80vw; }
	.news-carousel__btn {
		position: static; width: 42px; height: 42px;
	}
	.news-carousel__controls {
		display: flex; justify-content: center; gap: 14px; margin-top: 14px;
	}
}
.news .section__title {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--c-blue-deep);
}
.news .section__subtitle {
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-gold);
	margin: 0 0 2px;
}
.news__item {
	position: relative; background: var(--c-white); border-radius: 12px;
	padding: 22px 22px 20px; border-top: 3px solid var(--c-gold);
	box-shadow: var(--shadow-1);
	transition: box-shadow .35s var(--ease-out);
}
.news__item:hover { box-shadow: var(--shadow-2); }
.news__title {
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	color: var(--c-blue-deep);
	margin: 0 0 10px;
}
.news__text {
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.55;
	color: var(--c-text);
}
.news__text p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .news__grid { grid-template-columns: 1fr; } }

/* ================================================== Blog grid / cards */
.blog__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.blog__head .section__title { margin: 0; }
.blog__all {
	font-family: var(--font); font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--c-blue);
	white-space: nowrap; padding-bottom: 4px;
}
.blog__all:hover { color: var(--c-gold); text-decoration: none; }
.blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog__more { text-align: center; margin: 36px 0 0; }
.card {
	background: var(--c-white); box-shadow: var(--shadow-1); border-radius: 12px; overflow: hidden;
	transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.card__media {
	display: block;
	height: 210px; overflow: hidden; background: var(--c-cream);
	min-height: 0;
}
.card__media img {
	width: 100% !important; height: 100% !important; max-width: none; max-height: none;
	object-fit: cover; object-position: 50% 20%;
	contain-intrinsic-size: 480px 360px !important;
	min-height: 0;
	transition: transform .5s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 16px; }
.card__title { font-family: var(--font); font-size: 15px; margin: 0 0 8px; font-weight: 600; letter-spacing: 0; }
.card__title a { color: var(--c-blue-deep); }
.card__date {
	display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em;
	text-transform: uppercase; color: var(--c-gold); border-top: 1px solid var(--c-gold-soft);
	padding-top: 6px; margin-top: 2px;
}
@media (max-width: 1000px) {
	.blog__grid { grid-template-columns: repeat(2, 1fr); }
	.blog__grid > .card:nth-child(n+5) { display: none; }
	.blog__head { flex-wrap: wrap; }
}
@media (max-width: 560px)  {
	.blog__grid { grid-template-columns: 1fr; }
	.blog__grid > .card:nth-child(n+3) { display: none; }
}

/* ================================================== Chambers */
.chambers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; }
.chambers__list li { padding-left: 26px; position: relative; color: var(--c-blue); }
.chambers__list li::before { content: "❯"; position: absolute; left: 0; color: var(--c-gold); transition: transform .2s var(--ease-out); }
.chambers__list li:hover::before { transform: translateX(4px); }
@media (max-width: 700px) { .chambers__list { grid-template-columns: 1fr; } }

/* ================================================== Contact — gold band with wave */
.contact {
	position: relative; background: var(--c-gold); color: #fff;
	margin-top: 58px; padding-top: 60px;
}
.contact::before {
	content: ""; position: absolute; left: 0; right: 0; top: -57px; height: 58px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 58' preserveAspectRatio='none'%3E%3Cpath d='M0 58 C 240 6 480 0 720 18 C 960 36 1200 50 1440 22 L 1440 58 Z' fill='%23a8925a'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.contact__title { color: #fff; text-align: center; font-size: 26px; margin: 0 0 40px; }
.contact__inner { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; max-width: 980px; margin-inline: auto; align-items: start; }
.contact__media img { border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.22); width: 100%; height: auto; }
.contact__media img:not(.contact__logo) {
	max-height: 560px; object-fit: cover; object-position: top;
	contain-intrinsic-size: 480px 640px;
}
.contact__media .contact__logo {
	width: 150px; margin: 28px auto 0; border-radius: 0; box-shadow: none;
}
/* Gravity Forms — theme-owned styling (GF theme CSS is disabled in functions.php) */
.contact__form .gform_wrapper { font: inherit; }
.contact__form .gform_wrapper form { margin: 0; }
.contact__form .gfield { margin: 0 0 22px; }
.contact__form .gfield_label,
.contact__form label {
	display: block; color: #fff !important; font-size: 15px !important; font-weight: 400; margin: 0 0 8px;
}
.contact__form .gfield_required { color: #ff5a4e !important; font-weight: 700; padding-left: 2px; }
.contact__form .ginput_container { width: 100%; }
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form input[type="number"],
.contact__form textarea {
	width: 100% !important; border: 1px solid rgba(255,255,255,.75) !important; border-radius: 26px !important;
	background: transparent !important; color: #fff !important; padding: 13px 20px !important;
	font: inherit !important; font-size: 15px !important;
	transition: border-color .2s, background .2s;
}
.contact__form textarea { border-radius: 18px !important; min-height: 130px; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus {
	outline: none; border-color: #fff; background: rgba(255,255,255,.08);
}
.contact__form ::placeholder { color: rgba(255,255,255,.7); }
.contact__form .gform_footer { margin-top: 26px; }
.contact__form input[type="submit"], .contact__form button[type="submit"] {
	background: #fff !important; color: var(--c-blue) !important; border: 0 !important; border-radius: 5px !important;
	padding: 12px 28px !important; font: inherit !important; font-size: 16px !important; font-weight: 600;
	cursor: pointer; width: 100% !important;
	transition: transform .2s var(--ease-out), box-shadow .2s;
}
.contact__form input[type="submit"]:hover, .contact__form button[type="submit"]:hover {
	transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
/* Validation + confirmation on the gold band */
.contact__form .gform_validation_errors {
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,90,78,.8);
	border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; color: #fff;
}
.contact__form .gform_validation_errors h2 { color: #fff; font-size: 15px; margin: 0; }
.contact__form .gfield_error input, .contact__form .gfield_error textarea { border-color: #ff5a4e; }
.contact__form .gfield_validation_message,
.contact__form .validation_message { color: #ffd9d6; font-size: 13px; margin-top: 6px; }
.contact__form .gform_confirmation_message { color: #fff; font-size: 17px; font-weight: 600; }
.contact__form .gform_ajax_spinner { margin-left: 10px; }
.contact__form .gform_required_legend { display: none !important; }
.contact__newsletter { margin-top: 32px; max-width: 340px; margin-left: auto; }
.contact__newsletter input[type="email"] { background: #fff; color: var(--c-text); border-radius: 24px; }
.contact__newsletter input[type="submit"] { background: var(--c-blue); color: #fff; margin-top: 10px; }
@media (max-width: 800px) { .contact__inner { grid-template-columns: 1fr; } .contact__newsletter { margin-left: 0; } }

/* ================================================== Single entry */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.post-layout__sidebar { position: sticky; top: 96px; display: grid; gap: 22px; }
@media (max-width: 900px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-layout__sidebar { position: static; }
}
.entry__back { display: inline-block; font-size: 14px; margin-bottom: 14px; }
.mini-posts { list-style: none; margin: 0; padding: 0; }
.mini-posts__item { border-bottom: 1px solid #f0f1f4; }
.mini-posts__item:last-child { border-bottom: 0; }
.mini-posts__link { display: flex; gap: 12px; padding: 11px 0; align-items: center; }
.mini-posts__link:hover { text-decoration: none; }
.mini-posts__link:hover .mini-posts__title { color: var(--c-blue); }
.mini-posts__thumb { flex: none; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; }
.mini-posts__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-posts__title {
	display: block; font-size: 14px; font-weight: 600; color: var(--c-blue-deep);
	line-height: 1.4; transition: color .2s;
}
.mini-posts__date { font-size: 12px; color: #8a94a3; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px; border-radius: 6px;
	border: 1px solid #dfe3ea; color: var(--c-blue-deep); font-size: 14px;
}
.pagination .page-numbers.current { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--c-blue); }
.entry__title { font-size: 30px; margin: 0 0 8px; }
.entry__date { color: #8a94a3; font-size: 14px; }
.entry__thumb { margin: 28px 0; }
.entry__thumb img { border-radius: 6px; box-shadow: var(--shadow-1); }
.entry__content img { border-radius: 6px; box-shadow: var(--shadow-1); }
.entry__content .wp-block-gallery, .entry__content .gallery { margin-block: 24px; }
.entry-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; font-size: 14px; }

/* ================================================== Footer */
.site-footer { background: var(--c-blue-deep); font-size: 15px; color: var(--c-gold-soft); }
.site-footer a { color: var(--c-gold-soft); }
.site-footer__inner {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 76px; flex-wrap: wrap; padding-block: 22px;
	border-top: 0;
}
.site-footer__credit { margin: 0; }
.site-footer__credit a { color: #fff; }
.site-footer__social .social__link {
	width: 34px; height: 34px; border-radius: 50%;
	background: transparent; color: #fff; margin-left: 8px;
}
.site-footer__social .social__link:hover { background: rgba(255,255,255,.12); }

/* Legal pages: TOC */
.legal__body h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: 110px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; margin: 24px 0 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a {
	display: block; padding: 7px 0 7px 14px; font-size: 14px; color: var(--c-text);
	border-left: 2px solid #e4e7ec; line-height: 1.45; transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--c-blue); text-decoration: none; }
.toc a.is-active { color: var(--c-blue-deep); border-left-color: var(--c-gold); font-weight: 600; }

.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; font-size: 13px; }

/* ================================================== Back to top */
.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 60;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--c-blue); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(28, 57, 136, .3);
	opacity: 0; transform: translateY(14px); pointer-events: none;
	transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-blue-deep); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ================================================== Post gallery */
.post-gallery {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px; margin: 32px 0 8px;
}
.post-gallery__item {
	display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 8px;
	position: relative; background: #eef1f6; cursor: zoom-in;
	box-shadow: var(--shadow-1);
}
.post-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.post-gallery__item::after {
	content: ""; position: absolute; inset: 0; background: rgba(28,57,136,0); transition: background .3s;
}
.post-gallery__item:hover img { transform: scale(1.08); }
.post-gallery__item:hover::after { background: rgba(28,57,136,.22); }
.post-gallery__item:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
@media (max-width: 560px) { .post-gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; } }

/* ================================================== Lightbox */
.entry__content img { cursor: zoom-in; }
.lightbox {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(12, 18, 29, .93);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .25s var(--ease-out);
}
/* The author display:flex would defeat the UA [hidden] rule and leave an
   invisible click-blocking overlay — force it. */
.lightbox[hidden] { display: none !important; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
	max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto;
	border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.5);
	transition: opacity .2s var(--ease-out);
}
.lightbox__img.is-loading { opacity: .35; }
.lightbox__btn {
	position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.12); color: #fff;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__btn:focus-visible { outline: 2px solid var(--c-gold-soft); outline-offset: 2px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
	position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .08em;
}
@media (max-width: 700px) {
	.lightbox__btn { width: 40px; height: 40px; }
	.lightbox__prev { left: 6px; } .lightbox__next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox__img { transition: none; } }

/* ================================================== Mobile refinements */
@media (max-width: 900px) {
	/* Hero: give the portrait real presence instead of a thin strip */
	.hero--layered .hero__layer--acro .hero__plate,
	.hero--image .hero__img {
		height: 46vh; min-height: 300px; max-height: 470px;
		object-fit: cover; object-position: 50% 20%;
	}
	.hero--h-full .hero__frame { height: calc(100svh - 104px); }
	/* 16:9 is a thin strip on a phone — give video heroes real height instead */
	.hero--video.hero--h-auto .hero__media,
	.hero--youtube.hero--h-auto .hero__media {
		aspect-ratio: auto; height: 52vh; min-height: 340px; max-height: 520px;
	}

	/* Menu: proper inset so items don't hug the screen edge */
	.site-nav .lang-panel { width: 100%; }
	.site-nav .site-nav__list { padding: 6px 24px 14px; }
	.site-nav .site-nav__list a { padding: 14px 0; font-size: 15px; }
	.site-header__right { gap: 12px; }
	.lang-switch { padding-left: 8px; }
	.lang-switch__btn { padding: 7px 10px; font-size: 12.5px; }
	.site-header.is-scrolled .site-header__inner { min-height: 62px; }
}

@media (max-width: 700px) {
	/* Rhythm: tighter sections, softer headings */
	.section { padding: 52px 0; }
	.section__title { font-size: 25px; }
	.section__subtitle { font-size: 17px; }
	.profile__subhead, .intro__lead { font-size: 22px; margin-top: 34px; }
	.rule { margin: 26px auto; }
	.rule--tight { margin: 14px auto 28px; }

	/* Topbar: stack cleanly instead of squeezing */
	.topbar__inner { justify-content: center; gap: 0; }
	.topbar__meta { justify-content: center; }
	.topbar__item { padding: 9px 14px; font-size: 13px; }
	.topbar__social { padding-bottom: 4px; }

	/* Hero */
	.hero__overlay { padding: 64px 0 30px; }
	.hero__title { font-size: 26px; }
	.hero__kicker { letter-spacing: .18em; margin-bottom: 10px; }
	.hero__title::after { margin-top: 14px; width: 56px; }
	.hero__subtitle { margin-top: 12px; }
	.hero__actions { margin-top: 20px; }
	.hero__actions .btn { padding: 11px 22px; }

	/* Carousels: arrows below the track, more room for the cards */
	.news-carousel { flex-wrap: wrap; justify-content: center; gap: 14px; }
	.news-carousel__track {
		order: -1; flex: 0 0 100%; width: 100%; padding-bottom: 6px;
	}
	.news-carousel__track .news__item { flex-basis: 88vw; }
	.news-carousel__track .card { flex-basis: 74vw; }
	.news__item { padding: 22px 20px 18px; }
	.news__title { font-size: 16px; }

	/* CTA panels */
	.intro-cta { padding: 28px 20px; }
	.intro-cta .btn { margin-top: 22px; padding: 13px 20px; }
	.intro-cta__head { font-size: 20px; }

	/* Cards */
	.card__media { height: 240px; }
	.services-grid { gap: 16px; }
	.services-grid__item { padding: 22px 18px 18px; }

	/* Contact / forms */
	.contact { padding-top: 44px; }
	.contact__title { font-size: 23px; margin-bottom: 28px; }
	.contact__inner { gap: 32px; }
	.contact__newsletter { max-width: none; }

	/* Post & bio layouts */
	.post-layout, .bio-page__grid { gap: 36px; }
	.page-hero { padding: 40px 0 34px; }
	.pullquote { font-size: 19px; padding-left: 18px; }
	.rte--dropcap > p:first-of-type::first-letter { font-size: 46px; }

	/* Footer stacks centred */
	.site-footer__inner { justify-content: center; text-align: center; gap: 10px; }
	.site-footer__legal { justify-content: center; }
	.site-footer__social { justify-content: center; }

	/* Back to top: smaller, out of the carousel arrows' way */
	.to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
	.topbar__item { padding: 8px 10px; font-size: 12px; }
	.site-branding img { max-height: 42px; }
	.lang-switch { padding-left: 7px; }
	.lang-switch__globe { margin-right: 4px; }
	.lang-switch__btn { padding: 7px 8px; font-size: 12px; letter-spacing: .03em; }
	.news-carousel__track .card { flex-basis: 82vw; }
}

/* Full-page captures & print never scroll, so the observer never fires. */
@media print {
	.reveal { opacity: 1 !important; transform: none !important; }
	.hero__video, .hero__yt, .hero__sound, .hero__cue, .to-top { display: none !important; }
}

/* ================================================== Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__img { filter: none; transform: none; transition: none; }
	.hero--layered .hero__plate { filter: none; transition: none; }
	.hero__line, .hero__kicker, .hero__subtitle { opacity: 1; transform: none; transition: none; }
	.hero__title::after { transform: none; transition: none; }
	.hero__cue { opacity: 1; transition: none; }
	.hero__cue-dot { animation: none; }
	.hero__video, .hero__yt { transition: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.news__item, .card, .card__media img, .services-grid__item { transition: none !important; transform: none !important; }
}

/* Kill WP 6.7 auto-sizes intrinsic box that inflates portrait thumbnails. */
img:is([sizes="auto" i], [sizes^="auto," i]) {
	contain-intrinsic-size: 480px 360px !important;
}
.card__media img:is([sizes="auto" i], [sizes^="auto," i]) {
	contain-intrinsic-size: 480px 210px !important;
}
