/* ==========================================================================
   A. Prodromou & Co Ltd — front page template
   Palette and type derived from the firm's existing identity:
   gold #b6912e / ink #0c0c0c, serif display + neo-grotesque body.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
	color-scheme: light;

	/* Drives nav-link padding and the underline inset together */
	--nav-pad: .5625rem;

	/* Brand */
	--gold:        #b6912e;
	--gold-lift:   #dec875;
	--gold-deep:   #8e7120;
	--gold-wash:   #fbf7ec;
	--gold-line:   rgba(182, 145, 46, .28);

	/* Ground and ink */
	--paper:       #ffffff;
	--surface:     #f8f7f4;
	--surface-2:   #f2f0eb;
	--ink:         #0c0c0c;
	--ink-80:      rgba(12, 12, 12, .80);
	--ink-60:      rgba(12, 12, 12, .60);
	--ink-45:      rgba(12, 12, 12, .45);
	--rule:        #e4e2dd;
	--rule-soft:   #eeece7;

	/* Type */
	--display: "Newsreader", "PT Serif", Georgia, "Times New Roman", serif;
	--body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	/* Scale — 8pt base */
	--s1: .5rem;   --s2: 1rem;    --s3: 1.5rem;  --s4: 2rem;
	--s5: 3rem;    --s6: 4rem;    --s7: 6rem;    --s8: 8rem;

	--shell: 1240px;
	--gutter: clamp(1.25rem, 5vw, 4rem);
	--radius: 2px;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--shadow: 0 1px 2px rgba(12,12,12,.04), 0 12px 32px -18px rgba(12,12,12,.22);
	--shadow-lift: 0 2px 4px rgba(12,12,12,.05), 0 24px 48px -20px rgba(12,12,12,.28);
}

:root[data-theme="dark"] {
	color-scheme: dark;

	--gold:        #cfaa45;
	--gold-lift:   #e6d38d;
	--gold-deep:   #9c7d2b;
	--gold-wash:   #17140c;
	--gold-line:   rgba(207, 170, 69, .30);

	--paper:       #0d0c0a;
	--surface:     #141310;
	--surface-2:   #1c1a15;
	--ink:         #f2efe7;
	--ink-80:      rgba(242, 239, 231, .80);
	--ink-60:      rgba(242, 239, 231, .58);
	--ink-45:      rgba(242, 239, 231, .42);
	--rule:        #2c2921;
	--rule-soft:   #232019;

	--shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -18px rgba(0,0,0,.8);
	--shadow-lift: 0 2px 4px rgba(0,0,0,.45), 0 24px 48px -20px rgba(0,0,0,.9);
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-80);
	font-family: var(--body);
	font-size: 1rem;
	line-height: 1.7;
	font-feature-settings: "cv05" 1, "ss01" 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* height:auto is load-bearing — the width/height attributes on every <img> are
   presentational hints, and an explicit height would beat aspect-ratio. */
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 400;
	color: var(--ink);
	margin: 0;
	letter-spacing: -.012em;
	text-wrap: balance;
}

p { margin: 0 0 var(--s3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 1px;
}

::selection { background: var(--gold); color: #fff; }

/* --- 3. Layout primitives ------------------------------------------------ */

.shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, var(--s8)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--s6)); }
.section--wash { background: var(--surface); }
.section--gold { background: var(--gold-wash); }
.section--ink { background: var(--ink); }

:root[data-theme="dark"] .section--ink { background: var(--surface-2); }

.section--ink,
.section--ink p { color: rgba(255, 255, 255, .78); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
:root[data-theme="dark"] .section--ink,
:root[data-theme="dark"] .section--ink p { color: var(--ink-80); }
:root[data-theme="dark"] .section--ink h1,
:root[data-theme="dark"] .section--ink h2,
:root[data-theme="dark"] .section--ink h3 { color: var(--ink); }

/* The editorial split: narrow label rail + wide content */
.split {
	display: grid;
	gap: var(--s4) var(--s6);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62rem) {
	.split { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s5) var(--s7); }
	.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.prose { max-width: 68ch; }
.prose > * + h3 { margin-top: var(--s5); }

/* --- 4. Signature: the ledger label -------------------------------------- */
/* A mono reference tag over a gold hairline. The firm's world is figures and
   references, so section labels are typeset like ledger lines. */

.ledger {
	display: block;
	font-family: var(--mono);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 var(--s2);
	padding-top: var(--s2);
	border-top: 1px solid var(--gold-line);
}

.ledger--plain { border-top: 0; padding-top: 0; }

/* --- 5. Type roles ------------------------------------------------------- */

.display-xl { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.022em; }
.display-l  { font-size: clamp(2rem, 4.4vw, 3.25rem);   line-height: 1.08; letter-spacing: -.018em; }
.display-m  { font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.2; }
.display-s  { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.35; }

.lede {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.62;
	color: var(--ink-80);
}

.meta {
	font-family: var(--mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-45);
}

.pull {
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.375rem, 2.6vw, 1.875rem);
	line-height: 1.4;
	color: var(--ink);
	border-left: 2px solid var(--gold);
	padding-left: var(--s3);
	margin: var(--s5) 0;
	max-width: 46ch;
}
.pull cite {
	display: block;
	font: 500 .75rem/1 var(--mono);
	font-style: normal;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: var(--s2);
}

/* --- 6. Buttons ---------------------------------------------------------- */
/* Kept near-square (1px) — the firm's existing button shape. */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	font-family: var(--body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.0625rem 1.875rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease),
	            border-color .25s var(--ease), transform .25s var(--ease);
}

/* Only the header buttons refuse to wrap. In the page body a long label
   ("Discuss bank account opening") must be free to break, or it overflows
   a 375px screen. */
.head-tools .btn { white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--gold  { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
:root[data-theme="dark"] .btn--gold { color: #14110a; }
:root[data-theme="dark"] .btn--gold:hover { background: var(--gold-lift); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Portal leaves the site, so it reads as a utility rather than a marketing
   CTA: outlined, with an out-of-site arrow instead of a forward one. */
.btn--portal { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--portal:hover { border-color: var(--gold); color: var(--gold); }
.site-header.is-over .btn--portal { color: #fff; border-color: rgba(255, 255, 255, .34); }
.site-header.is-over .btn--portal:hover { color: var(--gold-lift); border-color: var(--gold-lift); }

.btn .ext { transition: transform .3s var(--ease); }
.btn:hover .ext { transform: translate(2px, -2px); }

.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Text link with a gold underline that draws in */
.tlink {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	padding-bottom: 3px;
	background-image: linear-gradient(var(--gold), var(--gold));
	background-size: 0% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .32s var(--ease);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1px; }
.tlink .arw { transition: transform .3s var(--ease); }
.tlink:hover .arw { transform: translateX(3px); }

/* --- 7. Header ----------------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 200;
	transition: background-color .35s var(--ease), border-color .35s var(--ease),
	            box-shadow .35s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header .shell {
	display: flex;
	align-items: center;
	/* No gap: the wordmark's auto margin does the separating, and 24px of
	   flex gap is the difference between the row fitting and spilling into
	   the gutter once Portal and Contact both show. */
	gap: 0;
	min-height: 5.25rem;
}

.site-header.is-solid {
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom-color: var(--rule);
}

/* Wordmark — set in type so it inverts cleanly and stays crisp */
.wordmark {
	text-decoration: none;
	display: block;
	margin-right: auto;
	line-height: 1;
	flex-shrink: 0;
}
.wordmark b {
	display: block;
	font-family: var(--body);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -.028em;
	color: var(--gold);
}
.wordmark b i { font-style: normal; }
.wordmark span {
	display: block;
	font-family: var(--mono);
	font-size: .5625rem;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--ink-45);
	margin-top: .3125rem;
}
.site-header.is-over .wordmark b { color: #fff; }
.site-header.is-over .wordmark span { color: rgba(255,255,255,.62); }

/* Primary nav */
.nav { display: none; }

@media (min-width: 70rem) {
	.nav { display: flex; align-items: center; gap: 0; }
}

.nav > li { position: relative; list-style: none; }
.nav { margin: 0; padding: 0; }

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .045em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-80);
	padding: .625rem var(--nav-pad);
	border-radius: var(--radius);
	transition: color .22s var(--ease);
	white-space: nowrap;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: var(--nav-pad); right: var(--nav-pad); bottom: .25rem;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); }
.nav-link:hover::after, .nav > li:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--gold); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.site-header.is-over .nav-link { color: rgba(255,255,255,.85); }
.site-header.is-over .nav-link:hover,
.site-header.is-over .nav-link[aria-current="page"] { color: var(--gold-lift); }
.site-header.is-over .nav-link::after { background: var(--gold-lift); }

.caret { width: .5rem; height: .5rem; transition: transform .28s var(--ease); flex-shrink: 0; }
.nav > li:hover .caret, .nav > li:focus-within .caret { transform: rotate(180deg); }

/* Dropdown */
.subnav {
	position: absolute;
	top: 100%; left: 0;
	min-width: 15rem;
	margin: 0; padding: .5rem 0;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-bottom: 2px solid var(--gold);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.nav > li:hover > .subnav,
.nav > li:focus-within > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }

.subnav a {
	display: block;
	padding: .625rem 1.125rem;
	font-size: .8125rem;
	color: var(--ink-80);
	text-decoration: none;
	transition: background-color .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.subnav a:hover, .subnav a:focus-visible { background: var(--gold-wash); color: var(--gold); padding-left: 1.375rem; }
.subnav a[aria-current="page"] { color: var(--gold); }

/* Header utilities */
.head-tools { display: flex; align-items: center; gap: .5rem; margin-left: .75rem; flex-shrink: 0; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.5rem; height: 2.5rem;
	background: transparent;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink-80);
	cursor: pointer;
	transition: border-color .22s var(--ease), color .22s var(--ease), background-color .22s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.site-header.is-over .icon-btn { border-color: rgba(255,255,255,.3); color: #fff; }
.site-header.is-over .icon-btn:hover { border-color: var(--gold-lift); color: var(--gold-lift); }

.head-portal, .head-cta { display: none; }
/* Portal appears as soon as there is room; the marketing CTA waits until the
   nav has stopped competing for width. */
@media (min-width: 48rem) { .head-portal { display: inline-flex; padding: .8125rem 1rem; } }
@media (min-width: 82rem) { .head-cta { display: inline-flex; padding: .8125rem 1rem; } }

.burst { display: inline-grid; }
@media (min-width: 70rem) { .burst { display: none; } }

/* --- 8. Mobile panel ----------------------------------------------------- */

.panel {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: var(--paper);
	padding: 5.25rem var(--gutter) var(--s5);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-1rem);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
body.is-locked { overflow: hidden; }

.panel-close { position: absolute; top: 1.375rem; right: var(--gutter); }

.panel-actions { display: grid; margin-bottom: var(--s4); }
.panel-actions .btn { justify-content: center; }

.panel ul { list-style: none; margin: 0; padding: 0; }
.panel > ul > li { border-bottom: 1px solid var(--rule-soft); }
.panel > ul > li > a,
.panel > ul > li > span {
	display: block;
	font-family: var(--display);
	font-size: 1.5rem;
	color: var(--ink);
	text-decoration: none;
	padding: .875rem 0;
}
.panel > ul > li > span { color: var(--gold); font-size: 1.125rem; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; padding-bottom: .25rem; }
.panel ul ul { padding: 0 0 .875rem; }
.panel ul ul a {
	display: block;
	padding: .4375rem 0 .4375rem 1rem;
	border-left: 1px solid var(--rule);
	font-size: .9375rem;
	color: var(--ink-60);
	text-decoration: none;
}
.panel ul ul a:hover { color: var(--gold); border-left-color: var(--gold); }

/* --- 9. Hero ------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 34rem;
	padding-block: 9rem clamp(3rem, 7vw, 5.5rem);
	overflow: hidden;
}
.hero--tall { min-height: min(88vh, 50rem); }

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	/* Grayscale base for the duotone below */
	filter: grayscale(1) contrast(1.06);
}

/* Signature duotone: the firm's own gradient, repurposed from a flat
   26% black overlay into a gold tint over the photograph. */
.hero-media .tint {
	position: absolute; inset: 0;
	background: linear-gradient(150deg, #b6912e 47%, #ddc054 100%);
	mix-blend-mode: color;
	opacity: .92;
}
.hero-media .scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(to top, rgba(9,8,5,.92) 0%, rgba(9,8,5,.55) 42%, rgba(9,8,5,.30) 100%),
		linear-gradient(to right, rgba(9,8,5,.55) 0%, rgba(9,8,5,0) 62%);
}

.hero .shell { position: relative; width: 100%; }
.hero-copy { max-width: 46rem; }

.hero .ledger { color: var(--gold-lift); border-top-color: rgba(222,200,117,.4); }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 40rem; margin-top: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* Crumb strip under the hero copy */
.crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: rgba(255,255,255,.55);
	margin-bottom: var(--s3);
}
.crumbs a { color: rgba(255,255,255,.55); text-decoration: none; }
.crumbs a:hover { color: var(--gold-lift); }
.crumbs i { font-style: normal; color: var(--gold); }

/* --- 10. Figures band ---------------------------------------------------- */

.figures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--rule);
	border-block: 1px solid var(--rule);
}
@media (min-width: 48rem) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.figure {
	background: var(--paper);
	padding: clamp(1.5rem, 3.5vw, var(--s4)) clamp(1rem, 2.5vw, var(--s3));
	text-align: left;
}
.figure b {
	display: block;
	font-family: var(--display);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 400;
	line-height: 1;
	color: var(--ink);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -.02em;
}
.figure b em { font-style: normal; color: var(--gold); }
.figure span {
	display: block;
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-45);
	margin-top: .75rem;
	padding-top: .75rem;
	border-top: 1px solid var(--gold-line);
	max-width: 18ch;
}

/* --- 11. Cards ----------------------------------------------------------- */

.grid { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48rem) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 40rem) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .625rem;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 1.875rem);
	padding-right: 3.25rem;
	text-decoration: none;
	transition: border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
a.card:hover, a.card:focus-visible {
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.card h3 { font-size: 1.3125rem; line-height: 1.25; transition: color .28s var(--ease); }
a.card:hover h3 { color: var(--gold); }
.card p { font-size: .9375rem; color: var(--ink-60); margin: 0; }

/* The mono descriptor sits under the name, as a caption not a heading */
.card .sub {
	font-family: var(--mono);
	font-size: .625rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0;
	padding-bottom: .625rem;
	border-bottom: 1px solid var(--gold-line);
}

/* Arrow lives in the corner so cards never carry dead vertical space */
.card .arw-slot {
	position: absolute;
	top: clamp(1.5rem, 3vw, 1.875rem);
	right: clamp(1.25rem, 2.5vw, 1.5rem);
	color: var(--gold);
	opacity: 0;
	transform: translate(-4px, 0);
	transition: opacity .28s var(--ease), transform .28s var(--ease);
}
a.card:hover .arw-slot, a.card:focus-visible .arw-slot { opacity: 1; transform: translate(0, 0); }

/* Prompt cell that closes an odd services row */
.card--prompt {
	background: var(--gold-wash);
	border-color: var(--gold-line);
	justify-content: center;
}
.card--prompt h3 { font-size: 1.1875rem; }
:root[data-theme="dark"] .card--prompt { background: var(--gold-wash); }

/* Card that leads with a rule-number (only where order is real) */
.card--numbered { padding-top: 1.75rem; }
.card--numbered .num {
	font-family: var(--mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .18em;
	color: var(--gold);
}

/* --- 12. Lists ----------------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 48rem) { .ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem var(--s4); } }

.ticks li {
	position: relative;
	padding-left: 1.75rem;
	font-size: .9375rem;
	line-height: 1.6;
	color: var(--ink-80);
}
.ticks li::before {
	content: "";
	position: absolute;
	left: 0; top: .5625rem;
	width: .5rem; height: .5rem;
	border: 1px solid var(--gold);
	border-radius: 50%;
}
.ticks li strong { color: var(--ink); font-weight: 600; }

/* Definition rows — for the Why Cyprus / conduct breakdowns */
.rows { border-top: 1px solid var(--rule); }
.row {
	display: grid;
	gap: .5rem var(--s5);
	padding-block: clamp(1.5rem, 3vw, var(--s4));
	border-bottom: 1px solid var(--rule);
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 56rem) { .row { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); } }
.row h3 { font-size: 1.25rem; }
.row .num {
	font-family: var(--mono); font-size: .75rem; font-weight: 500;
	letter-spacing: .18em; color: var(--gold); display: block; margin-bottom: .375rem;
}
.row p { font-size: .9375rem; color: var(--ink-60); }

.rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.rail-list a {
	display: block;
	font-size: .9375rem;
	color: var(--ink-60);
	text-decoration: none;
	padding-left: .75rem;
	border-left: 1px solid var(--rule);
	transition: color .2s var(--ease), border-color .2s var(--ease), padding-left .2s var(--ease);
}
.rail-list a:hover { color: var(--gold); border-left-color: var(--gold); padding-left: 1rem; }
.rail-list a[aria-current="page"] { color: var(--gold); border-left-color: var(--gold); font-weight: 500; }

/* --- 13. Team ------------------------------------------------------------ */

.team-grid {
	display: grid;
	gap: var(--s3) var(--s2);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 40rem) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s3); } }
@media (min-width: 62rem) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.person figure { margin: 0; overflow: hidden; background: var(--surface-2); border-radius: var(--radius); }
.person img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 22%;
	/* 29 headshots from 6 different years and lighting setups — grayscale is
	   what makes them read as one team. Colour returns on interaction. */
	filter: grayscale(1) contrast(1.04);
	transition: filter .45s var(--ease), transform .6s var(--ease);
}
.person:hover img, .person:focus-within img { filter: grayscale(0) contrast(1); transform: scale(1.03); }

.person h3 { font-size: 1.0625rem; margin-top: .875rem; line-height: 1.3; }
.person p {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin: .375rem 0 0;
}

.team-lead { grid-column: span 2; }
@media (min-width: 40rem) { .team-lead { grid-column: span 1; } }

/* --- 14. Publications ---------------------------------------------------- */

.post {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--s2);
	text-decoration: none;
	border-top: 1px solid var(--rule);
	padding-top: var(--s3);
	transition: border-color .28s var(--ease);
}
.post:hover { border-top-color: var(--gold); }
.post figure { margin: 0; overflow: hidden; background: var(--surface-2); border-radius: var(--radius); }
.post img {
	width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
	transition: transform .6s var(--ease);
}
.post:hover img { transform: scale(1.04); }
.post h3 { font-size: 1.1875rem; line-height: 1.4; transition: color .28s var(--ease); }
.post:hover h3 { color: var(--gold); }
.post time {
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--ink-45);
}

.post-list { border-top: 1px solid var(--rule); }
.post-row {
	display: grid;
	gap: .5rem var(--s4);
	align-items: baseline;
	padding-block: var(--s3);
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
	grid-template-columns: minmax(0, 1fr);
	transition: background-color .25s var(--ease), padding-left .25s var(--ease);
}
@media (min-width: 48rem) {
	.post-row { grid-template-columns: 9rem minmax(0, 1fr) 7rem; }
}
.post-row:hover { background: var(--gold-wash); padding-left: .75rem; }
.post-row h3 { font-size: 1.125rem; line-height: 1.45; }
.post-row:hover h3 { color: var(--gold); }

/* --- 15. Forms ----------------------------------------------------------- */

.field { display: block; margin-bottom: var(--s3); }
.field > span {
	display: block;
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-45);
	margin-bottom: .5rem;
}
.field input, .field textarea, .field select {
	width: 100%;
	font-family: var(--body);
	font-size: .9375rem;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: .875rem 1rem;
	transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(182,145,46,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-45); }

.consent {
	display: flex; gap: .75rem; align-items: flex-start;
	font-size: .8125rem; color: var(--ink-60); margin-bottom: var(--s3);
}
.consent input { margin-top: .25rem; accent-color: var(--gold); flex-shrink: 0; }

.form-note {
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-45); margin-top: var(--s2);
}

/* --- 16. Contact details ------------------------------------------------- */

.detail { border-top: 1px solid var(--rule); padding-block: var(--s3); }
.detail dt {
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.detail dd { margin: 0; color: var(--ink-80); font-size: .9375rem; line-height: 1.65; }
.detail dd a { text-decoration: none; border-bottom: 1px solid var(--gold-line); transition: border-color .2s var(--ease), color .2s var(--ease); }
.detail dd a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* --- 17. Accreditation strip -------------------------------------------- */

.accred { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 2vw, 1.25rem); }

/* Both marks are supplied on white grounds, so they sit on a white chip
   rather than being inverted — no theme can wash them out. The chip is a
   fixed box and the mark letterboxes inside it, so a wide logo and a square
   one read as the same weight. */
.accred .chip {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 9.5rem;
	height: 4.5rem;
	padding: .625rem .875rem;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: border-color .28s var(--ease);
}
.accred .chip:hover { border-color: var(--gold); }
/* An explicit height plus object-fit is the only reliable letterbox here: a
   percentage height does not resolve against the chip's grid area, and
   max-height will not clamp a replaced element already sized by max-width. */
.accred .chip img { width: 100%; height: 2.75rem; object-fit: contain; }
:root[data-theme="dark"] .accred .chip { border-color: transparent; }

.accred--sm .chip { width: 7rem; height: 3.5rem; padding: .5rem .625rem; }
.accred--sm .chip img { height: 2rem; }

/* --- 18. CTA band -------------------------------------------------------- */

.band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, var(--s7));
}
.band-media { position: absolute; inset: 0; z-index: -1; }
.band-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.band-media .tint {
	position: absolute; inset: 0;
	background: linear-gradient(150deg, #b6912e 47%, #ddc054 100%);
	mix-blend-mode: color; opacity: .92;
}
.band-media .scrim { position: absolute; inset: 0; background: rgba(9,8,5,.80); }

.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.78); }
.band .ledger { color: var(--gold-lift); border-top-color: rgba(222,200,117,.4); }

/* --- 19. Footer ---------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: rgba(255,255,255,.68);
	padding-block: clamp(3rem, 7vw, var(--s6)) var(--s4);
	font-size: .875rem;
}
:root[data-theme="dark"] .site-footer { background: var(--surface-2); color: var(--ink-60); border-top: 1px solid var(--rule); }

.foot-grid {
	display: grid;
	gap: var(--s4) var(--s5);
	grid-template-columns: minmax(0, 1fr);
	padding-bottom: var(--s4);
	border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 40rem) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
:root[data-theme="dark"] .foot-grid { border-bottom-color: var(--rule); }

.site-footer .wordmark b { color: var(--gold); font-size: 1.5rem; }
.site-footer .wordmark span { color: rgba(255,255,255,.45); }
:root[data-theme="dark"] .site-footer .wordmark span { color: var(--ink-45); }

.foot-h {
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .18em;
	text-transform: uppercase; color: var(--gold); margin: 0 0 var(--s2);
	padding-bottom: .625rem; border-bottom: 1px solid rgba(182,145,46,.3);
}
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-list a {
	color: rgba(255,255,255,.68); text-decoration: none; font-size: .875rem;
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.foot-list a:hover { color: var(--gold-lift); padding-left: .25rem; }
:root[data-theme="dark"] .foot-list a { color: var(--ink-60); }
:root[data-theme="dark"] .foot-list a:hover { color: var(--gold); }

.foot-note {
	display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
	align-items: center; justify-content: space-between;
	padding-top: var(--s3);
	font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em;
	text-transform: uppercase; color: rgba(255,255,255,.42);
}
:root[data-theme="dark"] .foot-note { color: var(--ink-45); }
.foot-note a { color: inherit; text-decoration: none; }
.foot-note a:hover { color: var(--gold-lift); }

.powered a {
	color: var(--gold);
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease);
}
.powered a:hover { color: var(--gold-lift); border-bottom-color: currentColor; }

.sub-form { display: flex; gap: .5rem; margin-top: var(--s2); }
.sub-form input {
	flex: 1; min-width: 0;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
	color: #fff; font-family: var(--body); font-size: .875rem;
	padding: .75rem .875rem;
}
.sub-form input::placeholder { color: rgba(255,255,255,.4); }
.sub-form input:focus { outline: none; border-color: var(--gold); }
.sub-form button {
	flex-shrink: 0; padding: .75rem 1.125rem; font-size: .6875rem;
	letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
	font-family: var(--body); color: #fff; background: var(--gold);
	border: 0; border-radius: var(--radius); cursor: pointer;
	transition: background-color .22s var(--ease);
}
.sub-form button:hover { background: var(--gold-deep); }
:root[data-theme="dark"] .sub-form input { background: rgba(255,255,255,.04); border-color: var(--rule); color: var(--ink); }
:root[data-theme="dark"] .sub-form button { color: #14110a; }

/* --- 20. Motion ---------------------------------------------------------- */

.js .rise { opacity: 0; transform: translateY(1.25rem); }
.rise.is-in {
	opacity: 1; transform: none;
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--d, 0ms);
}

/* Hero copy lands on load rather than on scroll */
.js .hero .rise { opacity: 0; transform: translateY(1.5rem); }
.hero.is-ready .rise {
	opacity: 1; transform: none;
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.rise { opacity: 1 !important; transform: none !important; }
}

/* --- 21. Utilities ------------------------------------------------------- */

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
	position: absolute; top: -100%; left: var(--gutter); z-index: 400;
	background: var(--gold); color: #fff; padding: .75rem 1.25rem;
	font-size: .8125rem; text-decoration: none; border-radius: 0 0 var(--radius) var(--radius);
}
.skip:focus { top: 0; }

.stack > * + * { margin-top: var(--s3); }
.stack-l > * + * { margin-top: var(--s4); }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.gold { color: var(--gold); }
