/* ImmViz Software: a static re-creation of the 2015 Squarespace site.
   Original used Typekit futura-pt (headings) + proxima-nova (body); those were
   licensed through Squarespace, so we fall back to locally installed lookalikes. */
:root {
	--dark: #201a16;
	--text: #272727;
	--muted: rgba(255, 255, 255, .6);
	--band: #efefef;
	--display: "Futura PT", Futura, "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
	--body: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--wrap: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--dark); } /* footer colour runs to the bottom of short pages */
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font: 15px/1.6 var(--body);
	letter-spacing: .02em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid #f0523d; outline-offset: 3px; }

.skip {
	position: absolute; left: -9999px; top: 0;
	background: #fff; color: var(--dark); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header (sits over the banner) ---------- */
.site-header {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 20px;
	color: #fff;
}
.logo {
	font: 500 23px/1 var(--display);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}
.logo span { display: block; }
.site-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
	font: 500 13px/1 var(--display);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--muted); }
.site-nav .button {
	display: inline-block;
	padding: 14px 20px;
	border: 2px solid #fff;
}
.site-nav .button[aria-current="page"], .site-nav .button:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Banners ---------- */
.banner { background: var(--dark); color: #fff; }
.banner-image {
	position: relative;
	background: var(--dark) url("img/home-hero-cave-on-avie.jpg") center 35% / cover no-repeat;
}
.banner-image::before { /* darken the photo as Squarespace did */
	content: ""; position: absolute; inset: 0;
	background: rgba(32, 26, 22, .65);
}
.banner-image > * { position: relative; }
.tagline {
	margin: 0;
	padding: 10px 20px 60px;
	text-align: center;
	font: 300 24px/1.3 var(--display);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
}
.page-title {
	margin: 0;
	padding: 20px 20px 80px;
	text-align: center;
	font: 300 80px/1.1 var(--display);
	letter-spacing: .01em;
}

/* ---------- Content ---------- */
main { display: block; }
.section { max-width: var(--wrap); margin: 0 auto; padding: 100px 40px; }
.section + .section { padding-top: 0; }
.centered { text-align: center; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }

h1, h2 { font-family: var(--display); font-weight: 300; color: #1f1f1f; }
.lead { margin: 0 0 18px; font-size: 38px; line-height: 1.3; text-align: center; letter-spacing: .01em; }
.section-title { margin: 0 0 30px; font-size: 38px; line-height: 1.2; text-align: center; letter-spacing: .01em; }
h3, .label {
	margin: 30px 0 14px;
	font: 400 17px/1.4 var(--display);
	letter-spacing: .2em;
	text-transform: uppercase;
	text-align: center;
	color: #1f1f1f;
}
p { margin: 0 0 1em; }

.columns {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
	margin: 60px 0 0; padding: 0; list-style: none;
}
.columns img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.columns p { text-align: center; }

.person img { margin: 0 auto 30px; width: 500px; }
.person .name { margin: 0; font-weight: 700; }

/* ---------- Footer ---------- */
.prefooter { height: 64px; background: var(--band); }
.site-footer {
	padding: 60px 20px 120px;
	background: var(--dark);
	text-align: center;
	font: 500 12px/1.5 var(--display);
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
	.site-header { flex-direction: column; gap: 18px; padding: 20px 16px; text-align: center; }
	.site-nav ul { gap: 20px; flex-wrap: wrap; justify-content: center; }
	.tagline { font-size: 17px; padding-bottom: 40px; }
	.page-title { font-size: 52px; padding-bottom: 50px; }
	.section { padding: 60px 16px; }
	.lead, .section-title { font-size: 28px; }
	.columns { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
