@font-face {
	font-family: "Fira Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/FiraSans-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Fira Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/fonts/FiraSans-Medium.woff2") format("woff2");
}

@font-face {
	font-family: "Fira Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/FiraSans-SemiBold.woff2") format("woff2");
}

@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/Literata72pt-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/Literata72pt-SemiBold.woff2") format("woff2");
}

:root {
	--paper: #f7f4ef;
	--paper-deep: #efe9e0;
	--ink: #1b2431;
	--ink-soft: #55606e;
	--line: #d8d0c4;
	--accent: #8c5a2b;

	--sans: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--serif: "Literata", Georgia, "Times New Roman", serif;

	--page: 68rem;
	--gutter: clamp(1.5rem, 5vw, 4.5rem);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0 0 1.1em;
	max-width: 62ch;
}

p:last-child {
	margin-bottom: 0;
}

.shell {
	max-width: var(--page);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 10;
	background: var(--ink);
	color: var(--paper);
	padding: 0.6rem 1rem;
}

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

/* Section label above each heading */
.eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.9rem;
}

/* Hero */
.hero .shell {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-top: clamp(3rem, 8vw, 6rem);
	padding-bottom: clamp(3rem, 8vw, 6rem);
	align-items: center;
}

@media (min-width: 62rem) {
	.hero .shell {
		grid-template-columns: 1fr 1fr;
	}
}

.hero h1 {
	font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.1rem);
	margin-bottom: 1.2rem;
}

.hero .role {
	font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
	color: var(--ink-soft);
	margin-bottom: 1.6rem;
}

.hero figure {
	margin: 0;
}

.hero img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 37% 45%;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2rem;
}

.button {
	display: inline-block;
	padding: 0.85rem 1.75rem;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
}

.button:hover {
	background: #2b3646;
	border-color: #2b3646;
}

.button--quiet {
	background: transparent;
	color: var(--ink);
}

.button--quiet:hover {
	background: var(--paper-deep);
}

/* Generic section */
section {
	border-top: 1px solid var(--line);
}

section > .shell {
	padding-top: clamp(3rem, 7vw, 5.5rem);
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-head h2 {
	font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
	margin-bottom: 1.6rem;
}

.split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 52rem) {
	.split {
		grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
	}

	.split .section-head h2 {
		margin-bottom: 0;
	}
}

/* Certificate badges from RE/MAX */
.badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2.25rem;
	list-style: none;
	margin: 2.25rem 0 0;
	padding: 1.75rem 0 0;
	border-top: 1px solid var(--line);
}

.badges img {
	height: 4.25rem;
	width: auto;
}

.rating {
	margin-top: 1.5rem;
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.rating a {
	display: block;
	margin-top: 0.4rem;
}

.rating strong {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ink);
}

/* Contact */
.contact .shell {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

@media (min-width: 52rem) {
	.contact .shell {
		grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
	}
}

.contact figure {
	margin: 0;
	max-width: 18rem;
}

.contact img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 1px solid var(--line);
}

.contact h2 {
	font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
	margin-bottom: 1.2rem;
}

.contact-list {
	margin: 1.75rem 0 0;
	display: grid;
	gap: 1.25rem;
}

.contact-list dt {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 0.3rem;
}

.contact-list dd {
	margin: 0;
	font-family: var(--serif);
	font-size: 1.2rem;
}

.contact-list .roles {
	font-size: 1.05rem;
	line-height: 1.4;
}

.contact-list a {
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.contact-list a:hover {
	border-bottom-color: var(--accent);
}

/* Footer */
footer {
	border-top: 1px solid var(--line);
	font-size: 0.88rem;
	color: var(--ink-soft);
}

footer .shell {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-top: 1.6rem;
	padding-bottom: 1.6rem;
}

footer p {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
