/* ==========================================================================
   The Ford McDonald Consultancy — modern site stylesheet
   Replaces the fixed 977px, absolutely-positioned 2008 layout with a
   centred, responsive, mobile-first design.  The legacy class/id hooks
   (.content_in, #content, .swap, the #content_in_* ids) are retained so the
   existing semantic markup keeps working without URL or content changes.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
	--ink:            #23201d;
	--ink-soft:       #4a4540;
	--ink-muted:      #6d6760;
	--line:           #e3ded6;
	--line-strong:    #cfc7bb;
	--bg:             #faf8f5;
	--bg-alt:         #f2eee8;
	--surface:        #ffffff;
	--accent:         #9c3a26;
	--accent-dark:    #7d2c1c;
	--accent-soft:    #f6ece8;
	--gold:           #b4863f;

	--font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
	             Arial, "Noto Sans", sans-serif;
	--font-serif: Georgia, "Times New Roman", serif;

	--wrap:      1140px;
	--wrap-text: 74ch;
	--radius:    4px;
	--shadow-sm: 0 1px 2px rgba(35, 32, 29, .06);
	--shadow-md: 0 6px 20px rgba(35, 32, 29, .09);
	--gap:       clamp(1rem, 2.5vw, 2rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: clamp(16px, 1.02vw, 17px);
	line-height: 1.65;
}

img, svg, video { max-width: 100%; height: auto; }
img { border: 0; }
a img { border: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 1.8em; }
h3 { font-size: 1.1rem; margin-top: 1.5em; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: #fff;
	padding: .6rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------- page structure */
#page {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0 1rem;
}

#logo {
	display: inline-block;
	flex: 0 0 auto;
	line-height: 0;
}
#logo img { height: 54px; width: auto; }

.site-contact {
	font-size: .85rem;
	color: var(--ink-muted);
	text-align: right;
}
.site-contact a { color: var(--ink-soft); text-decoration: none; }
.site-contact a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------------------ nav */
#menu {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

#menu li {
	margin: 0;
	padding: 0;
	position: static;      /* legacy layout used absolute positioning */
	float: none;
	width: auto !important;
	height: auto;
	flex: 0 1 auto;
}

#menu li a {
	position: static;
	display: block;
	width: auto !important;
	height: auto;
	min-height: 44px;       /* comfortable touch target */
	padding: .85rem .62rem;
	background: none !important;
	color: var(--ink-soft);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	line-height: 1.25;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

#menu li a span { display: block; padding: 0 !important; margin: 0; }

#menu li a:hover,
#menu li a:focus-visible {
	color: var(--accent);
	border-bottom-color: var(--accent);
	background: var(--accent-soft) !important;
}

#menu li a.sel {
	color: var(--accent);
	border-bottom-color: var(--accent);
	background: var(--accent-soft) !important;
}

#menu li a br { display: none; }   /* legacy <br> inside nav labels */

/* ---- navigation disclosure ----------------------------------------------
   Measured in headless Chrome: the twelve tab labels need 1373px of text at
   13px, before any padding — a single-row tab bar is impossible at any
   realistic desktop width.  So the menu is a checkbox-driven disclosure below
   the breakpoint (no JS required), and above it the tabs are laid out as
   deliberate, evenly filled centred rows. */
.nav-toggle-cb { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.nav-toggle {
	display: flex;
	align-items: center;
	gap: .6rem;
	min-height: 48px;
	padding: .8rem .25rem;
	cursor: pointer;
	color: var(--ink);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--line);
	user-select: none;
}

.nav-toggle-bars { display: block; width: 20px; height: 2px; background: var(--accent); position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--accent);
	content: "";
	position: absolute;
	left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.nav-toggle-cb:focus-visible + .nav-toggle { outline: 3px solid var(--accent); outline-offset: 2px; }

/* below the breakpoint the tab list is hidden until the control is checked */
#menu { display: none; }
.nav-toggle-cb:checked ~ #menu { display: flex; flex-wrap: wrap; }
.nav-toggle-cb:checked ~ #menu li { flex: 1 1 46%; }

/* Desktop: reveal the tabs permanently and hide the disclosure control.
   The list is a grid so the twelve tabs form even, aligned rows (flex wrapping
   produced a lopsided 7 + 5 arrangement).  Column count is fixed per breakpoint
   rather than auto-fit, and the labels are tightened with letter-spacing so the
   longest ones ("Food & wine, restaurants", "Recruitment & training") fit. */
@media (min-width: 62.5rem) {
	.nav-toggle, .nav-toggle-cb { display: none; }
	#menu {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		justify-content: center;
	}
	#menu li a {
		padding: .8rem .3rem;
		font-size: .72rem;
		letter-spacing: -.01em;
	}
}
@media (min-width: 80rem) {
	#menu li a { padding: .82rem .5rem; font-size: .8rem; letter-spacing: 0; }
}

/* ------------------------------------------------------------- shell/content */
#shell { background: none; }

#content {
	background: none;
	padding-bottom: 2rem;
}

.content_in {
	background: none;
	padding: 0;
	position: static;
	height: auto !important;
	min-height: 0;
	overflow: visible;
}

/* the legacy ".swap" headings relied on background images and a <span>
   overlay; they are now plain semantic headings */
.swap {
	position: static;
	overflow: visible;
	width: auto !important;
	height: auto !important;
	margin: 0 0 1.25rem;
	padding: 0 0 .6rem;
	border-bottom: 2px solid var(--line);
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	color: var(--ink);
}
.swap span {
	position: static;
	display: none;          /* decorative duplicate of the heading text */
	background: none !important;
}
h1.swap { margin-top: .5rem; }

/* legacy absolutely-positioned "flash" media blocks */
.flash {
	position: static;
	float: none;
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 0 1.75rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
object.flash, .flash object { max-width: 100%; }

/* ------------------------------------------------------------- components */
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: clamp(1rem, 2vw, 1.5rem);
}

.lede {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--ink-soft);
}

.grid { display: grid; gap: var(--gap); }
.grid-2, .grid-3 { display: grid; gap: var(--gap); }
/* auto-fit with a 19rem floor yields one column on phones, two on tablets and
   three on desktop without media queries. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr)); }

.btn {
	display: inline-block;
	padding: .7rem 1.4rem;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: .95rem;
	border: 1px solid var(--accent);
	transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
/* on the dark hero band an outline button has to invert */
.hero .btn-outline,
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-outline:hover,
.cta-band .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* breadcrumbs */
.breadcrumb {
	font-size: .82rem;
	color: var(--ink-muted);
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------- home page modules */
.hero {
	background: linear-gradient(160deg, #2c2723 0%, #3d352e 55%, #4a3f36 100%);
	color: #f4efe9;
	border-radius: var(--radius);
	padding: clamp(1.75rem, 5vw, 3.5rem);
	margin-bottom: var(--gap);
}
.hero h1, .hero h2 { color: #fff; border: 0; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.hero p { color: #ddd5cc; max-width: 62ch; font-size: 1.05rem; }
.hero .btn { margin-top: .5rem; }
.hero .btn-light { background: #fff; color: #2c2723; border-color: #fff; }
.hero .btn-light:hover { background: #f0e9e2; color: #2c2723; }

.section { margin: 0 0 calc(var(--gap) * 1.6); }
.section > h2 { margin-top: 0; }

.service-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 1.4rem;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}
.service-card h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.service-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .9rem; }
.service-card a { font-weight: 600; font-size: .9rem; margin-top: auto; }

.stat-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--gap);
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 2rem);
	text-align: center;
}
.stat strong {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	color: var(--accent);
	font-weight: 700;
	line-height: 1.1;
}
.stat span { font-size: .88rem; color: var(--ink-muted); }

/* logo wall: the source logos are transparent PNGs with mixed contrast, so each
   sits on its own white tile.  They are kept in full colour — greying them out
   made the pale marks (Savoy, Eden) nearly invisible. */
.logo-wall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
	gap: .75rem;
	align-items: center;
	margin: 1.4rem 0;
}
.logo-wall img {
	display: block;
	width: 100%;
	height: 5.5rem;
	object-fit: contain;
	padding: .7rem 1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.quote {
	border-left: 3px solid var(--accent);
	padding: .25rem 0 .25rem 1.25rem;
	margin: 0;
	color: var(--ink-soft);
	font-family: var(--font-serif);
	font-size: 1.08rem;
	font-style: italic;
}
.quote footer { font-family: var(--font-sans); font-style: normal; font-size: .85rem; color: var(--ink-muted); margin-top: .6rem; }

/* FAQ */
.faq { margin: 0; }
.faq details {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: .6rem;
	padding: .2rem .2rem;
}
.faq summary {
	cursor: pointer;
	font-weight: 600;
	padding: .8rem 1rem;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 1rem;
	top: .8rem;
	font-size: 1.2rem;
	color: var(--accent);
	line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p, .faq details > div { padding: 0 1rem .9rem; margin: 0; color: var(--ink-soft); }

.cta-band {
	background: var(--accent-soft);
	border: 1px solid #ead9d2;
	border-radius: var(--radius);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	text-align: center;
}
.cta-band h2 { margin-top: 0; }
.cta-band p { max-width: 58ch; margin-inline: auto; }

/* --------------------------------------------------------- legacy pages */
/* two-column legacy boxes */
.food_and_wine_retail,
.food_and_wine_restaurants {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.content_in > .food_and_wine_retail.left,
.content_in > .food_and_wine_retail.right {
	display: block;
	width: auto;
}

/* case studies: two columns of long-form entries */
.case_studies_container {
	display: block;
	padding-bottom: 1rem;
}
.case_studies_container .food_and_wine_retail.left,
.case_studies_container .food_and_wine_retail.right {
	float: none;
	width: auto;
	margin: 0 0 2.5rem;
	display: block;
}
.case_studies_container h2 img {
	max-width: 100%;
}
.case_studies_container .case_logo { max-width: 190px; }

/* case study entries: logo, hero image, then brief / strategy / results */
.case_item {
	margin: 0 0 2.75rem;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid var(--line);
}
.case_item:last-child { border-bottom: 0; }
.case_item h3 {
	margin: 0 0 .75rem;
	font-size: 1.15rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
	border: 0;
	padding: 0;
	background: none;
}
.case_item .case_logo {
	display: block;
	max-width: 190px;
	max-height: 4.25rem;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 0 .9rem;
}
.case_item .case_image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	margin: 0 0 1rem;
}
.case_part {
	margin: 0 0 .85rem;
	font-size: .95rem;
	line-height: 1.65;
	color: var(--ink-soft);
}
.case_part strong {
	display: block;
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .15rem;
}
.case_facts {
	margin: .9rem 0 0;
	padding: .6rem .8rem;
	background: var(--accent-soft);
	border-radius: var(--radius);
	font-size: .85rem;
	color: var(--ink-soft);
}

@media (min-width: 62rem) {
	.case_studies_container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 var(--gap);
		align-items: start;
	}
	.case_studies_container .food_and_wine_retail.left,
	.case_studies_container .food_and_wine_retail.right {
		margin: 0 0 2rem;
	}
	/* keep the two case columns visually balanced: a card spans exactly one
	   grid row rather than flowing into the next item's space */
	.case_studies_container .case_item {
		display: flex;
		flex-direction: column;
	}
}

/* legacy list bullets used gif sprites; replace with modern markers */
.content_in ul li,
.case_studies ul li {
	list-style: none;
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 1rem;
	background: none !important;
}
.content_in ul li::before,
.case_studies ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.case_studies ul li::before { background: var(--gold); }

.content_in ul { padding-left: 0; }
.content_in ul strong {
	display: block;
	font-size: .78rem;
	letter-spacing: .08em;
	color: var(--accent);
	margin-bottom: .3rem;
	text-transform: uppercase;
}
.content_in ul li p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* clients/project lists */
#content_in_clients h2 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink-muted);
	border: 0;
	margin: 1.5rem 0 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: baseline;
}
#content_in_clients h2 a { color: var(--ink-soft); text-decoration: none; padding: .25rem .5rem; border-radius: var(--radius); }
#content_in_clients h2 a:hover { background: var(--accent-soft); color: var(--accent); }
#content_in_clients h2 a.sel { background: var(--accent); color: #fff; }

#content_in_clients ul li { background: none !important; }
.photo_link_27, .photo_link_28, .photo_link_29, .photo_link_30 {
	position: static !important;
	display: inline-block;
	margin: 0 .35rem .5rem 0;
	opacity: .6;
}
.photo_link_27:hover, .photo_link_28:hover,
.photo_link_29:hover, .photo_link_30:hover { opacity: 1; }

/* profiles */
#profiles_home_left, #profiles_home_right, #detail_dominic, #detail_other, #detail_patrick {
	position: static !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	left: auto !important;
	top: auto !important;
	margin: 0 0 1.5rem;
}
#profiles_home_right {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: .5rem;
}
.profile_item { margin: 0; }
.profile_item h2 {
	margin: 0;
	font-size: 1rem;
	border: 0;
}
.profile_item h2 a {
	display: block;
	padding: .6rem .85rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink-soft);
	text-decoration: none;
	font-size: .92rem;
	font-weight: 600;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.profile_item h2 a:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-soft);
}
.profile_tooltip_image { display: none; }
#detail_dominic .left, #detail_dominic .right,
#detail_other .left, #detail_other .right {
	float: none !important;
	width: auto !important;
	position: static !important;
	margin: 0 0 1.5rem;
}
#detail_dominic h3, #detail_other h3 { margin-top: 1.5rem; }
.position { display: block; color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: .75rem; }

/* fallback for a team member with no portrait on file */
.profile-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 250px;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin-bottom: .75rem;
}

/* press list */
.press_item { margin-bottom: 1.5rem; }
.press_item h2 { font-size: 1rem; margin-bottom: .3rem; }

/* contact */
#address, #email, #form, #desc {
	position: static !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	left: auto !important;
	top: auto !important;
	margin: 0 0 1.75rem;
}
address { font-style: normal; color: var(--ink-soft); }

/* contact form */
form#enquiry { max-width: 34rem; }
#form label,
form#enquiry label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink-soft);
	margin: .9rem 0 .25rem;
}
/* A legacy input#email { width: 300px } rule from the 2008 stylesheet survives
   in the page cascade, so these need !important to win. */
#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form textarea,
form#enquiry input[type="text"],
form#enquiry input[type="tel"],
form#enquiry input[type="email"],
form#enquiry textarea {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
	padding: .6rem .7rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font: inherit;
	font-size: .95rem;
	color: var(--ink);
}
#form input[type="text"]:focus,
#form input[type="tel"]:focus,
#form input[type="email"]:focus,
#form textarea:focus,
form#enquiry input:focus,
form#enquiry textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--accent-soft);
}
#form textarea, form#enquiry textarea { min-height: 6rem; resize: vertical; }
#form input[type="submit"],
form#enquiry input[type="submit"] {
	margin-top: 1.1rem;
	padding: .7rem 1.6rem;
	background: var(--accent);
	color: #fff;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
#form input[type="submit"]:hover,
form#enquiry input[type="submit"]:hover { background: var(--accent-dark); }
.note { font-size: .85rem; color: var(--ink-muted); }

/* associated partners */
#associated_partners {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: .75rem;
	padding: 0;
	margin: 1.5rem 0 0;
}
#associated_partners li {
	float: none;
	margin: 0;
	background: none !important;
	padding: 0 !important;
}
#associated_partners li::before { display: none !important; }
#associated_partners li a {
	display: block;
	padding: .9rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink-soft);
	text-decoration: none;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-align: center;
	transition: border-color .15s ease, color .15s ease;
}
#associated_partners li a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------- footer */
#footer {
	border-top: 1px solid var(--line);
	margin-top: calc(var(--gap) * 1.5);
	padding: 1.5rem 0 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: flex-start;
	justify-content: space-between;
	font-size: .85rem;
	color: var(--ink-muted);
}
#footer p { margin: 0; }
#footer a { color: var(--ink-muted); text-decoration: none; }
#footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0; }

/* ------------------------------------------------------------ utilities */
.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.hidden, .correct { display: none; }
.clean, .info, .ok, .alert, .error { border-radius: var(--radius); }

/* --------------------------------------------------------- small screens */
@media (max-width: 40rem) {
	.site-header { flex-direction: column; align-items: flex-start; }
	.site-contact { text-align: left; }
	#menu { flex-direction: column; gap: 0; }
	#menu li { flex: none; width: 100%; }
	#menu li a { justify-content: flex-start; text-align: left; min-height: 0; padding: .7rem .75rem; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
	#menu li a:hover, #menu li a.sel { border-bottom-color: var(--line); border-left-color: var(--accent); }
	#menu li a br { display: none; }
	#footer { flex-direction: column; }
}

/* ------------------------------------------------------------- printing */
@media print {
	#menu, .site-header .site-contact, .cta-band { display: none; }
	body { background: #fff; font-size: 11pt; }
	.hero { background: none; color: #000; }
	.hero h1, .hero p { color: #000; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

/* honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
