/* Muster Logistics. Colors and type: _docs/site-plan.md, "Look". */

@font-face {
	font-family: "Asap";
	src: url("../fonts/asap-latin-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Asap Condensed";
	src: url("../fonts/asap-condensed-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Asap Condensed";
	src: url("../fonts/asap-condensed-500-latin.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Asap Condensed";
	src: url("../fonts/asap-condensed-600-latin.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}

:root {
	--navy: #081D35;
	--navy-2: #13304F;
	--gold: #9F7F38;
	--gold-ink: #7A5F22;   /* the logo gold is too light for small text on white */
	--gold-pale: #E6D3A3;
	--gold-mist: #F4EAD2;
	--ink: #3A4250;
	--muted: #5E6675;
	--line: #E7DFCC;
	--paper: #FFFFFF;
	--wash: linear-gradient(140deg, #E6D3A3 0%, #F4EAD2 38%, #FFFFFF 78%);
	--display: "Asap Condensed", "Arial Narrow", Arial, sans-serif;
	--body: "Asap", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--wrap: 1160px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 500;
	color: var(--navy);
	line-height: 1.1;
	margin: 0 0 0.45em;
}
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; }
h3 { font-size: clamp(22px, 2.4vw, 27px); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }

/* ------------------------------------------------------------- buttons */
.btn, .wp-block-button__link {
	display: inline-block;
	font-family: var(--display);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.2;
	padding: 12px 22px;
	border-radius: var(--radius);
	text-decoration: none;
	border: 2px solid var(--navy);
	background: var(--navy);
	color: #fff;
	cursor: pointer;
}
.btn:hover, .wp-block-button__link:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { font-size: 17px; padding: 7px 16px; }

/* -------------------------------------------------------------- header */
/* Sticky, slightly see-through header. It keeps its height when scrolled (a
   header that shrinks shifts the page under the reader's thumb); it only gains
   a shadow, set by site.js. */
.masthead {
	position: sticky; top: 0; z-index: 20;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
	view-transition-name: masthead;
}
.masthead.scrolled { box-shadow: 0 8px 20px -14px rgba(8, 29, 53, 0.45); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 42px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 28px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { font-family: var(--display); font-size: 19px; color: var(--navy); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	.brand img { height: 34px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 8px;
		background: none; border: 2px solid var(--navy); border-radius: var(--radius);
		color: var(--navy); font-family: var(--display); font-size: 17px; padding: 6px 12px; cursor: pointer;
	}
	.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
	.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
	.bars::before { top: -6px; }
	.bars::after { top: 6px; }
	.mainnav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 18px;
	}
	.mainnav.open { display: flex; }
	.nav { flex-direction: column; gap: 0; }
	.nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 21px; }
	.mainnav .btn { margin-top: 14px; text-align: center; }
}

/* ---------------------------------------------------------------- home */
.hero { background: var(--wash); }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	padding-top: clamp(36px, 6vw, 80px);
	padding-bottom: clamp(36px, 6vw, 72px);
}
.hero h1 { margin-bottom: 0.3em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); max-width: 36em; }

.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 0.9vw, 10px); }
.tile { aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-gold { background: var(--gold); }
.tile-pale { background: var(--gold-pale); }
.tile-navy { background: var(--navy); }
.tile-ph {
	background: var(--navy);
	color: var(--gold-pale);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 10px;
	font-size: 12px; line-height: 1.25;
}
.tile-ph span { opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; }
.tile-ph b { font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.5vw, 18px); color: #fff; }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.doors p { margin: 0; }
.door-p a {
	display: block; height: 100%;
	padding: 16px 18px;
	border-radius: var(--radius);
	text-decoration: none;
	border: 2px solid var(--navy);
	background: var(--paper);
	color: var(--muted);
	font-size: 15px; line-height: 1.35;
}
.door-p strong { display: block; font-family: var(--display); font-weight: 500; font-size: 27px; color: var(--navy); margin-bottom: 2px; }
.door-p strong::after { content: "\00a0\2192"; font-size: 0.8em; }
.door-p a { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
.door-p a:hover { border-color: var(--gold); color: var(--muted); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(8, 29, 53, 0.55); }
.door-gov a { background: var(--navy); color: #C9CFDA; }
.door-gov strong { color: #fff; }
.door-gov a:hover { background: var(--navy-2); color: #C9CFDA; }

.partner-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.partner-strip p { margin: 0; padding: 14px 0; font-size: 17px; color: var(--navy); }
.partner-strip a { font-weight: 600; }
.partner-strip a::after { content: "\00a0\2192"; }

/* Every band carries its full padding top and bottom, so text sits centered
   in a colored band. Only two white bands in a row share the space between
   them. (Until 2026-10-19 any band after another lost its top padding, which
   put the gold bands' headings flush against their top edge.) */
.band { padding: clamp(44px, 7vw, 88px) 0; }
.band:not(.band-mist) + .band:not(.band-mist) { padding-top: 0; }
.band-mist { background: var(--gold-mist); }
.band .wrap > :last-child, .panel > :last-child { margin-bottom: 0; }
.band .wrap > p, .band .wrap > ul, .band .wrap > ol { max-width: 46em; }
.lede { font-size: 19px; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.two-col > * { min-width: 0; }
.panel { border-top: 4px solid var(--gold); padding-top: 18px; }
.more a { font-family: var(--display); font-size: 19px; font-weight: 500; text-decoration: none; }
.more a::after { content: "\00a0\2192"; }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.band .wrap > ol.steps { max-width: none; }
ol.steps li { counter-increment: step; padding-top: 52px; position: relative; }
ol.steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 38px; height: 38px; border-radius: 4px;
	background: var(--gold); color: #fff;
	font-family: var(--display); font-size: 22px; font-weight: 500;
	display: flex; align-items: center; justify-content: center;
}

.faq { max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
	cursor: pointer; list-style: none;
	font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--navy);
	padding: 12px 32px 12px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; color: var(--gold); font-size: 26px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; }

/* ----------------------------------------------------------- inner pages */
.page-head { background: var(--wash); padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { margin: 0; }
/* A photo beside the title (data/page-photos.json). Muted and warmed rather
   than the mosaic's full duotone: at this size the duotone reads as sepia. */
.page-head.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 18px 36px -24px rgba(8, 29, 53, 0.55); }
.page-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.55) sepia(0.14) contrast(1.03); }
@media (max-width: 760px) {
	.page-head.has-photo .wrap { grid-template-columns: 1fr; }
	.page-photo { aspect-ratio: 16 / 9; }
}
.crumb { margin: 0 0 8px; font-family: var(--display); font-size: 18px; }
.crumb a { text-decoration: none; }
.crumb a::before { content: "\2190\00a0"; }
.page-lede { font-size: 19px; max-width: 40em; margin: 14px 0 0; }
.entry { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.entry > p, .entry > ul, .entry > ol, .entry > h2, .entry > h3, .entry > .faq, .entry > details { max-width: 46em; }
.entry > h2 { margin-top: 1.4em; }
.entry > h2:first-child { margin-top: 0; }

/* The "what we do" grid: a title and a line or two each, no button on each.
   Laid out as a bento grid: boxes of two widths in formation, echoing the
   logo. Which boxes run wide (and which are navy or gold) is set per page
   below, so each grid's rows come out even. A box whose title is a link is
   clickable all over. */
.wwd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 40px; max-width: none; }
.wwd > div {
	position: relative; min-width: 0;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px 22px 24px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.wwd > div:has(a):hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(8, 29, 53, 0.45); border-color: var(--gold-pale); }
.wwd h3 { margin-bottom: 8px; }
.wwd h3 a { color: var(--navy); text-decoration: none; }
.wwd h3 a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.wwd h3 a::after { content: "\00a0\2192"; color: var(--gold); font-size: 0.8em; }
.wwd h3 a:hover { color: var(--gold-ink); }
.wwd p { margin: 0; }
/* Government: 8 boxes in rows of 2+1+1, 1+2+1, 2+2. */
.page-government .wwd > div:nth-child(1),
.page-government .wwd > div:nth-child(5),
.page-government .wwd > div:nth-child(7),
.page-government .wwd > div:nth-child(8) { grid-column: span 2; }
.page-government .wwd > div:nth-child(1),
.page-government .wwd > div:nth-child(8) { background: var(--navy); border-color: var(--navy); color: #C9CFDA; }
.page-government .wwd > div:nth-child(5),
.page-government .wwd > div:nth-child(7) { background: var(--gold-mist); border-color: var(--gold-mist); }
/* Corporate: 6 boxes in rows of 2+1+1, 2+1+1. The fourth box (entertainment)
   runs wide because it carries the most words. */
.page-corporate .wwd > div:nth-child(1),
.page-corporate .wwd > div:nth-child(4) { grid-column: span 2; }
.page-corporate .wwd > div:nth-child(1) { background: var(--navy); border-color: var(--navy); color: #C9CFDA; }
.page-corporate .wwd > div:nth-child(4) { background: var(--gold-mist); border-color: var(--gold-mist); }
.page-government .wwd > div:nth-child(1) h3, .page-government .wwd > div:nth-child(1) h3 a,
.page-government .wwd > div:nth-child(8) h3, .page-government .wwd > div:nth-child(8) h3 a,
.page-corporate .wwd > div:nth-child(1) h3 { color: #fff; }
.page-government .wwd > div:nth-child(1) h3 a::after,
.page-government .wwd > div:nth-child(8) h3 a::after { color: var(--gold-pale); }

.cta-box { background: var(--navy); color: #DDE2EA; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); margin: 40px 0 0; max-width: none; }
.cta-box h2 { color: #fff; }
.cta-box p { max-width: 40em; }
.cta-box .wp-block-button__link { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.cta-box .wp-block-button__link:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--navy); }
.cta-box p.cta-mail { margin: 16px 0 0; }
.cta-box a:not(.wp-block-button__link) { color: var(--gold-pale); }
.cta-box a:not(.wp-block-button__link):hover { color: #fff; }

/* "At a glance": the key facts of a page in one box near the top, for
   skimmers and for search engines' answer boxes (Jeremy's idea, 2026-10-19). */
.glance {
	max-width: 46em;
	background: var(--gold-mist);
	border-left: 4px solid var(--gold);
	border-radius: 0;
	padding: 18px 22px 16px;
	margin: 6px 0 34px;
}
.glance-title {
	font-family: var(--display); font-weight: 500; font-size: 15px;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink);
	margin: 0 0 8px;
}
.glance-list { list-style: none; padding: 0; margin: 0; }
.glance-list li { padding: 5px 0; border-top: 1px solid rgba(159, 127, 56, 0.25); }
.glance-list li:first-child { border-top: 0; }
.glance-list strong { color: var(--navy); }

/* The guides index lists two boxes, not a bento grid. */
.page-guides .wwd { grid-template-columns: repeat(2, minmax(0, 1fr)); }

ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; background: var(--gold); border-radius: 2px; }

/* Company facts box (shows only once a fact is filled in) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 32px 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-size: 21px; color: var(--navy); }

/* ---------------------------------------------------------------- forms */
.form { max-width: 760px; margin: 8px 0 0; }
.form.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label, .choices legend { font-weight: 600; color: var(--navy); font-size: 16px; }
.field input, .field textarea {
	font: inherit; font-size: 17px; color: var(--ink);
	padding: 11px 12px; border: 1px solid #C9C2B0; border-radius: var(--radius); background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold-pale); }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices legend { margin-bottom: 8px; width: 100%; }
.choices label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.choices input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-note, .form-errors { padding: 12px 14px; border-radius: var(--radius); margin: 0; }
.form-note { background: #E8F1E4; color: #24451A; }
.form-errors { background: #F8E3E0; color: #6E1D12; }
.form-small { font-size: 14px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- footer */
.foot { background: var(--navy); color: #C9CFDA; padding: 48px 0 28px; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--gold-pale); text-decoration: underline; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.foot-brand p { margin: 0 0 4px; }
.foot-tag { font-family: var(--display); font-size: 20px; color: var(--gold-pale); }
.foot-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; font-family: var(--display); font-size: 18px; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid #22395A; margin-top: 32px; padding-top: 18px; font-size: 13px; }
.foot-legal p { margin: 0; }

/* ------------------------------------------------------- service area map */
.what-col { align-items: center; }
.ml-map-wrap { margin: 0; }
.ml-map { display: block; width: 100%; max-width: 560px; height: auto; }
.map-key { margin: 12px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.map-key i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.map-key .k-home { background: var(--gold); }
.map-key span { flex-basis: 100%; font-size: 13px; }

/* ------------------------------------------------------- photo treatment */
/* Every photo in the mosaic (and any element marked .duo) is shown as a navy
   and gold duotone: shadows go navy, highlights go gold. Free photos from
   different sources then read as one set. Add class "no-duo" to a tile or
   wrapper to show a photo in its own colors. */
/* The highlight color, tested against four golds on 2026-10-19: the logo
   gold turned a photo's light areas muddy, and the pale gold washed them out
   to beige. This brighter gold keeps them gold. */
.tile-photo, .duo { position: relative; background: #D4B46C; isolation: isolate; }
.tile-photo img, .duo img { filter: grayscale(1) contrast(1.08) brightness(1.05); mix-blend-mode: multiply; }
.tile-photo::after, .duo::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: lighten; pointer-events: none; }
.no-duo { background: none; }
.no-duo img { filter: none; mix-blend-mode: normal; }
.no-duo::after { content: none; }

/* ---------------------------------------------------------------- motion */
/* All motion is short, small and happens once, and none of it touches the
   headline or the text, so nothing waits on it. Visitors whose phone or
   computer is set to reduce motion get none of it. */
@media (prefers-reduced-motion: no-preference) {
	/* The mosaic musters: tiles drop into formation when the home page opens. */
	.mosaic .tile { animation: ml-muster 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.mosaic .tile:nth-child(1) { animation-delay: 0.10s; }
	.mosaic .tile:nth-child(2) { animation-delay: 0.30s; }
	.mosaic .tile:nth-child(3) { animation-delay: 0.18s; }
	.mosaic .tile:nth-child(4) { animation-delay: 0.38s; }
	.mosaic .tile:nth-child(5) { animation-delay: 0.06s; }
	.mosaic .tile:nth-child(6) { animation-delay: 0.26s; }
	.mosaic .tile:nth-child(7) { animation-delay: 0.22s; }
	.mosaic .tile:nth-child(8) { animation-delay: 0.14s; }
	.mosaic .tile:nth-child(9) { animation-delay: 0.34s; }

	/* Gentle parallax: as the page scrolls, the tiles drift up at slightly
	   different speeds. Only in browsers with scroll-driven animations; the
	   rest simply show still tiles. */
	@supports (animation-timeline: scroll()) {
		.mosaic .tile {
			animation: ml-muster 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both, ml-drift linear both;
			animation-timeline: auto, scroll(root);
			animation-range: normal, 0px 700px;
		}
		.mosaic .tile:nth-child(3n+1) { --drift: -34px; }
		.mosaic .tile:nth-child(3n+2) { --drift: -14px; }
		.mosaic .tile:nth-child(3n) { --drift: -24px; }
	}

	/* Sections ease in as they scroll into view (site.js marks them). */
	.reveal { opacity: 0; translate: 0 14px; transition: opacity 0.5s ease, translate 0.5s ease; }
	.reveal.in { opacity: 1; translate: 0 0; }

	/* Pages glide into each other instead of flashing, in browsers that can. */
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
}
@keyframes ml-muster {
	from { opacity: 0; translate: 0 -18px; scale: 0.92; }
	to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes ml-drift {
	from { transform: translateY(0); }
	to { transform: translateY(var(--drift, -20px)); }
}

/* --------------------------------------------------------------- phones */
@media (max-width: 900px) {
	/* Two columns: a wide box takes a whole row, and "dense" lets the next
	   narrow box fill any gap left beside a narrow one. */
	.wwd { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
}
@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-text { order: 1; }
	.hero-art { order: 2; max-width: 420px; }
	ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.what-col { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	.doors, .two-col, .form.two { grid-template-columns: 1fr; }
	.wwd { grid-template-columns: 1fr; }
	/* :nth-child(n) matches every box but carries the same weight as the
	   per-page wide rules above, so this one-column rule actually wins. */
	.page-government .wwd > div:nth-child(n), .page-corporate .wwd > div:nth-child(n) { grid-column: auto; }
	ol.steps { grid-template-columns: 1fr; }
	ol.steps li { padding-top: 0; padding-left: 52px; min-height: 38px; }
	.door-p strong { font-size: 24px; }
}
