/*
 * Base styles: mobile-first, minimal.
 *
 * The :root block below only provides fallback values for the tokens that
 * are Customizer-controlled (Design Settings > Colors / Typography &
 * Headings / Buttons) — the live values are injected as an inline
 * stylesheet right after this file loads (see inc/customizer.php), so they
 * win the cascade automatically. A few extra brand tokens below (cream
 * section background, mustard band, dark footer) are layout-level and not
 * yet exposed in the Customizer.
 */

:root {
	--oans-color-text: #1a1a1a;
	--oans-color-bg: #ffffff;
	--oans-color-heading: #7c8f5e;
	--oans-color-link: #3f4f3f;
	--oans-color-link-hover: #2c382c;
	--oans-color-button-bg: #3f4f3f;
	--oans-color-button-text: #ffffff;
	--oans-color-button-bg-hover: #2c382c;
	--oans-color-button-text-hover: #ffffff;

	--oans-font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
	--oans-font-heading: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	--oans-font-size-base: 16px;
	--oans-heading-font-weight: 700;
	--oans-heading-letter-spacing: 0px;
	--oans-h1-size: 2.5rem;
	--oans-h2-size: 2rem;
	--oans-h3-size: 1.5rem;
	--oans-h4-size: 1.25rem;

	--oans-button-radius: 4px;
	--oans-button-padding-y: 18px;
	--oans-button-padding-x: 50px;
	--oans-button-font-weight: 600;

	--oans-header-height: 64px;

	/* Layout-level brand tokens (not yet Customizer-controlled) */
	--oans-color-muted-text: #5a5a52;
	--oans-color-cream-bg: #faf6ec;
	--oans-color-mustard: #f5deA0;
	--oans-color-footer-bg: #3c5350;
	--oans-color-footer-text: #f2ede1;
	--oans-color-logo: #6b5738;
	--oans-color-logo-tagline: #8a8578;
	--oans-container-width: 1579.41px;
}

@font-face {
	font-family: "Minion 3 Caption";
	src: url("/wp-content/uploads/fonts/Minion3-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Minion 3 Caption";
	src: url("/wp-content/uploads/fonts/Minion3Subhead-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Minion 3 Caption";
	src: url("/wp-content/uploads/fonts/Minion3-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

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

html {
	font-size: var(--oans-font-size-base);
}

body {
	margin: 0;
	color: var(--oans-color-text);
	background: var(--oans-color-bg);
	font-family: var(--oans-font-body);
	line-height: 1.5;
}

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

/*
 * Body text baseline. The hero/banner section keeps its own smaller,
 * narrower .oans-hero__description spec (a class selector, so it already
 * wins over this bare-tag rule) — everything else that doesn't already
 * have its own more specific paragraph styling inherits this.
 */
p {
	color: #1A1A1A;
	font-family: "Arial Rounded MT";
	font-size: 22.578px;
	font-style: normal;
	font-weight: 400;
	line-height: 31.358px; /* 138.889% */
}

.oans-container {
	max-width: var(--oans-container-width);
	margin: auto;
	padding-inline: 1.5rem;
	padding-block: 77px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--oans-font-heading);
	font-weight: var(--oans-heading-font-weight);
	letter-spacing: var(--oans-heading-letter-spacing);
	color: var(--oans-color-heading);
	line-height: 1.2;
	margin: 0 0 0.75em;
}
/*
 * H1-H4 follow the approved Figma heading specs exactly (color, size,
 * weight, line-height) rather than the generic --oans-heading-* tokens
 * above, which still apply to h5/h6 and anything not covered here.
 */
h1 {
	color: #82A8A4;
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 85px;
	font-style: normal;
	font-weight: 500;
	line-height: 90px;
}
h2 {
	color: #82A8A4;
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 43.901px;
	font-style: normal;
	font-weight: 500;
	line-height: 46.41px;
}
h3 {
	color: #82A8A4;
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 35px;
	font-style: normal;
	font-weight: 500;
	line-height: 46.41px;
}
h4 {
	color: #82A8A4;
	text-align: center;
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 31.358px;
	font-style: normal;
	font-weight: 500;
	line-height: 46.41px;
}

/* Links */
a {
	color: var(--oans-color-link);
}
a:hover,
a:focus {
	color: var(--oans-color-link-hover);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #fff;
	padding: 0.5rem 1rem;
	z-index: 1000;
}
.skip-link:focus {
	left: 0;
}

/* Header */
.oans-header {
	background: var(--oans-color-bg);
}
.oans-header--sticky {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.oans-header__top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	min-height: var(--oans-header-height);
	max-width: var(--oans-container-width);
	margin-inline: auto;
	padding: 1.5rem;
}
.oans-header__branding {
	text-align: center;
}
.oans-header__logo-link {
	text-decoration: none;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.15;
}
.oans-header__logo-name {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 2rem;
	color: var(--oans-color-logo);
}
.oans-header__logo-tagline {
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--oans-color-logo-tagline);
}
.oans-header__search {
	position: relative;
	justify-self: start;
	width: 449px;
	max-width: 100%;
	height: 47px;
	border-radius: 2px;
	border: 0.5px solid #1A1A1A;
	background: #FFF;
}
.oans-header__search-icon {
	position: absolute;
	left: 0.6rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--oans-color-muted-text);
	display: inline-flex;
}
.oans-header__search-input {
	width: 100%;
	height: 100%;
	padding: 0.4rem 0.5rem 0.4rem 2rem;
	border: none;
	background: transparent;
	font-size: 0.85rem;
	font-family: inherit;
}
.oans-header__call {
	justify-self: end;
}
.oans-header__nav-bar {
	border-top: 1px solid #ece5d4;
	background: var(--oans-color-bg);
}
.oans-header__nav-bar .oans-menu {
	max-width: var(--oans-container-width);
	margin-inline: auto;
	padding: 0.9rem 1.5rem;
	justify-content: space-between;
}
.oans-menu-toggle {
	display: none;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.9rem 1.5rem;
	color: #000;
	font-family: "Minion 3 Caption";
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.oans-menu-toggle__box {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 22px;
	height: 15px;
	flex-shrink: 0;
}
.oans-menu-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: #000;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.oans-header__nav-bar.is-open .oans-menu-toggle__bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.oans-header__nav-bar.is-open .oans-menu-toggle__bar:nth-child(2) {
	opacity: 0;
}
.oans-header__nav-bar.is-open .oans-menu-toggle__bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}
.oans-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin: 0;
	padding: 0;
}
.oans-menu a {
	color: #000;
	font-family: "Minion 3 Caption";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 37px; /* 231.25% */
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.03em;
	transition: color 0.15s ease;
}
.oans-menu a:hover,
.oans-menu a:focus,
.oans-menu a:active {
	color: #6B8A87;
}

/* Phone number stays visible on mobile/tablet per instructions.md */
.oans-header__call {
	text-align: right;
}
.oans-header__call a {
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-style: normal;
	font-size: 45px;
	line-height: normal;
	white-space: nowrap;
	color: #6B8A87;
	text-decoration: none;
}
.oans-header__call a:hover,
.oans-header__call a:focus {
	opacity: 0.8;
	color: #6B8A87;
}

/* Buttons */
.oans-button {
	display: inline-block;
	padding: var(--oans-button-padding-y) var(--oans-button-padding-x);
	background: var(--oans-color-button-bg);
	border-radius: var(--oans-button-radius);
	text-decoration: none;
	letter-spacing: 0.03em;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
	color: #FFF;
	text-align: center;
	font-family: "Minion 3 Caption";
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 20.089px; /* 100.444% */
	text-transform: uppercase;
}
.oans-button:hover,
.oans-button:focus {
	background: var(--oans-color-button-bg-hover);
	color: var(--oans-color-button-text-hover);
}
.oans-button--dark {
	background: var(--oans-color-button-bg);
	color: var(--oans-color-button-text);
}
.oans-button--outline {
	background: transparent;
	color: var(--oans-color-text);
	border: 1px solid currentColor;
}
.oans-button--outline:hover,
.oans-button--outline:focus {
	background: rgba(0, 0, 0, 0.06);
	color: var(--oans-color-text);
}
.oans-button--light {
	background: #ffffff;
	color: var(--oans-color-button-bg);
}
.oans-button--light:hover,
.oans-button--light:focus {
	background: #f2ede1;
	color: var(--oans-color-button-bg-hover);
}

/* Back to top */
.oans-back-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--oans-color-button-bg);
	color: var(--oans-color-button-text);
	font-size: 1.25rem;
	cursor: pointer;
	z-index: 99;
	transition: background-color 0.15s ease;
}
.oans-back-to-top:hover,
.oans-back-to-top:focus {
	background: var(--oans-color-button-bg-hover);
}
.oans-back-to-top[hidden] {
	display: none;
}

/* Image placeholders (used until real photos are uploaded) */
.oans-img--placeholder {
	background: repeating-linear-gradient(45deg, #ece5d4, #ece5d4 10px, #e3dac4 10px, #e3dac4 20px);
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: inherit;
}

/* Footer */
.oans-footer {
	background: #82A8A4;
	color: var(--oans-color-footer-text);
	padding: 3.5rem 1.5rem 0;
}
.oans-footer h3 {
	color: #FFF;
	font-family: "Minion 3 Caption";
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
.oans-footer__inner {
	max-width: var(--oans-container-width);
	margin-inline: auto;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
	padding-bottom: 2.5rem;
}
.oans-footer__brand { max-width: 380px; }
.oans-footer__logo-link {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
	margin-bottom: 1rem;
}
.oans-footer__logo-img {
	width: auto;
	max-width: 220px;
	height: auto;
}
.oans-footer__logo-name {
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 2.25rem;
	color: var(--oans-color-footer-text);
	line-height: 1.1;
}
.oans-footer__logo-tagline {
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--oans-color-footer-text);
	opacity: 0.85;
	margin-top: 0.35rem;
}
.oans-footer__site-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--oans-color-footer-text);
}
.oans-footer__description {
	color: var(--oans-color-footer-text);
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: justify;
	opacity: 0.9;
	margin: 0;
}
.oans-footer .oans-menu,
.oans-footer__contact,
.oans-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.oans-footer__col--links .oans-menu {
	display: block;
	columns: 2;
	column-gap: 2rem;
}
.oans-footer__col--links .oans-menu li {
	break-inside: avoid;
	margin-bottom: 0.6rem;
}
.oans-footer__social {
	flex-direction: row;
	gap: 0.75rem;
}
.oans-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}
.oans-footer__social-link img { width: 44.778px; height: 44.778px; }
.oans-footer__social-link:hover,
.oans-footer__social-link:focus {
	opacity: 0.8;
}
.oans-footer a {
	color: var(--oans-color-footer-text);
	text-decoration: none;
	opacity: 0.85;
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--oans-font-body);
	font-size: 0.9rem;
	line-height: 1.6;
}
.oans-footer a:hover,
.oans-footer a:focus {
	opacity: 1;
	color: var(--oans-color-footer-text);
}
.oans-footer__bottom {
	padding: 1rem 1.5rem;
}
.oans-footer__bottom-inner {
	max-width: var(--oans-container-width);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	font-size: 0.8rem;
	color: var(--oans-color-footer-text);
	opacity: 0.75;
}
.oans-footer__bottom a {
	opacity: 1;
	text-decoration: underline;
}

/* 404 */
.oans-404 {
	padding: 5rem 0;
	text-align: center;
	background: var(--oans-color-cream-bg);
}
.oans-404__inner {
	max-width: 620px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}
.oans-404__code {
	color: #82A8A4;
	font-family: "Minion 3 Caption", Georgia, "Times New Roman", serif;
	font-size: 140px;
	font-weight: 500;
	line-height: 1;
	margin: 0;
}
.oans-404__heading {
	margin-top: 0.25rem;
}
.oans-404__description {
	color: #1A1A1A;
	margin-bottom: 2rem;
}
.oans-404__search {
	margin: 0 auto 2rem;
}
.oans-404__links {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #ece5d4;
}
.oans-404__links-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--oans-color-muted-text);
	margin-bottom: 1rem;
}
.oans-404__links-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
}
.oans-404__links-list a {
	color: #3f4f3f;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
}
.oans-404__links-list a:hover,
.oans-404__links-list a:focus {
	color: #6B8A87;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.oans-404__code {
		font-size: 90px;
	}
}

/* Thank You page */
.oans-thank-you {
	padding: 5rem 0;
	text-align: center;
	background: var(--oans-color-cream-bg);
}
.oans-thank-you__inner {
	max-width: 560px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}
.oans-thank-you__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #fff;
	color: #82A8A4;
	margin-bottom: 1.5rem;
}
.oans-thank-you__icon svg {
	width: 40px;
	height: 40px;
}
.oans-thank-you__heading {
	margin-bottom: 0.5rem;
}
.oans-thank-you__content {
	color: #1A1A1A;
	margin-bottom: 2rem;
}
.oans-thank-you__phone {
	margin-top: 1rem;
	color: var(--oans-color-muted-text);
}
.oans-thank-you__phone a {
	color: #6B8A87;
	font-weight: 700;
	text-decoration: none;
}
.oans-thank-you__phone a:hover,
.oans-thank-you__phone a:focus {
	text-decoration: underline;
}

@media (min-width: 640px) {
	.oans-header__nav-bar .oans-menu {
		gap: 1.5rem 2rem;
	}
}

@media (max-width: 782px) {
	.oans-header__top {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 0.75rem;
	}
	.oans-header__search {
		justify-self: center;
		order: 3;
	}
	.oans-header__call {
		justify-self: center;
		order: 2;
	}
	.oans-header__branding {
		order: 1;
	}
}

@media (min-width: 900px) {
	.oans-footer__inner {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
	}
}

/* ---------------- Mobile ---------------- */
@media (max-width: 900px) {
	.oans-header--sticky.is-scrolled .oans-header__top {
		padding: 0.75rem 1.5rem;
	}
	.oans-header--sticky.is-scrolled .oans-header__branding,
	.oans-header--sticky.is-scrolled .oans-header__call {
		display: none;
	}
	.oans-menu-toggle {
		display: flex;
	}
	.oans-header__nav-bar .oans-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0 1.5rem 1rem;
	}
	.oans-header__nav-bar.is-open .oans-menu {
		display: flex;
	}
	.oans-menu a {
		font-size: 14px;
		line-height: 1.6;
		padding: 0.6rem 0;
	}
	.oans-header__call a {
		font-size: 28px;
	}
}

@media (min-width: 901px) {
	.oans-menu-toggle {
		display: none;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 42px;
		line-height: 1.15;
	}
	h2 {
		font-size: 28px;
		line-height: 1.2;
	}
	h3 {
		font-size: 22px;
		line-height: 1.25;
	}
	h4 {
		font-size: 18px;
		line-height: 1.3;
	}
	p {
		font-size: 17px;
		line-height: 1.6;
	}
	.oans-header__search {
		width: 100%;
	}
	.oans-button {
		padding: 14px 28px;
		font-size: 16px;
	}
	.oans-footer__inner {
		gap: 2rem;
	}
	.oans-footer__col--links .oans-menu {
		columns: 1;
	}
	.oans-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 34px;
	}
	h2 {
		font-size: 24px;
	}
	.oans-header__call a {
		font-size: 22px;
	}
}
