/**
 * River Oak design tokens + base layout.
 * Aligns with the Waldorf-inspired mockup (cream, burgundy, navy, sage).
 */

:root {
	/* Brand */
	--rocs-cream: #f3f0ea;
	--rocs-cream-deep: #e8e2d6;
	--rocs-burgundy: #790611;
	--rocs-burgundy-deep: #5c040d;
	--rocs-burgundy-soft: #9a2a33;
	--rocs-navy: #1e3a5f;
	--rocs-navy-soft: #2c4a6e;
	--rocs-sage: #5c7a5e;
	--rocs-sage-soft: #8aa68c;
	--rocs-ink: #2a2420;
	--rocs-muted: #5c554e;
	--rocs-white: #ffffff;
	--rocs-border: rgba(121, 6, 17, 0.12);

	/* Type */
	--rocs-font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
	--rocs-font-body: "Source Sans 3", "Segoe UI", sans-serif;
	--rocs-font-script: "Great Vibes", cursive;

	/* Layout */
	--rocs-radius: 6px;
	--rocs-radius-pill: 999px;
	--rocs-shadow: 0 12px 32px rgba(42, 36, 32, 0.08);
	--rocs-content: 1120px;
	--rocs-gutter: clamp(1rem, 4vw, 2rem);

	/* Motion */
	--rocs-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
}

body.riveroak-theme {
	background: var(--rocs-cream);
	color: var(--rocs-ink);
	font-family: var(--rocs-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.riveroak-theme h1,
body.riveroak-theme h2,
body.riveroak-theme h3,
body.riveroak-theme h4,
body.riveroak-theme .elementor-heading-title {
	font-family: var(--rocs-font-display);
	font-weight: 600;
	color: var(--rocs-navy);
	line-height: 1.2;
	letter-spacing: 0.01em;
}

body.riveroak-theme a {
	color: var(--rocs-burgundy);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--rocs-ease);
}

body.riveroak-theme a:hover,
body.riveroak-theme a:focus-visible {
	color: var(--rocs-burgundy-deep);
}

body.riveroak-theme ::selection {
	background: rgba(121, 6, 17, 0.18);
}

/* ------------------------------------------------------------------ */
/* Site shell                                                          */
/* ------------------------------------------------------------------ */

.rocs-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.rocs-site__main {
	flex: 1 0 auto;
}

.rocs-container {
	width: min(100% - (var(--rocs-gutter) * 2), var(--rocs-content));
	margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/* Utility bar + header (mockup)                                       */
/* ------------------------------------------------------------------ */

.rocs-utility {
	background: var(--rocs-cream);
	border-bottom: 1px solid var(--rocs-border);
	font-size: 0.875rem;
}

.rocs-utility__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
	padding: 0.55rem 0;
	flex-wrap: wrap;
}

.rocs-utility__links {
	display: flex;
	align-items: center;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-utility__links a {
	color: var(--rocs-muted);
	text-decoration: none;
	font-weight: 500;
}

.rocs-utility__links a:hover {
	color: var(--rocs-burgundy);
}

.rocs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.35rem;
	border-radius: var(--rocs-radius);
	font-family: var(--rocs-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s var(--rocs-ease), color 0.2s var(--rocs-ease), border-color 0.2s var(--rocs-ease), transform 0.2s var(--rocs-ease);
}

.rocs-btn:hover {
	transform: translateY(-1px);
}

.rocs-btn--primary {
	background: var(--rocs-burgundy);
	color: var(--rocs-white) !important;
	border-color: var(--rocs-burgundy);
}

.rocs-btn--primary:hover,
.rocs-btn--primary:focus-visible {
	background: var(--rocs-burgundy-deep);
	border-color: var(--rocs-burgundy-deep);
	color: var(--rocs-white) !important;
}

.rocs-btn--ghost {
	background: transparent;
	color: var(--rocs-burgundy) !important;
	border-color: var(--rocs-burgundy);
}

.rocs-btn--ghost:hover {
	background: rgba(121, 6, 17, 0.06);
}

.rocs-btn--utility {
	padding: 0.4rem 0.95rem;
	font-size: 0.8125rem;
	border-radius: var(--rocs-radius);
}

.rocs-header {
	background: var(--rocs-white);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 var(--rocs-border);
}

.rocs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.85rem 0;
}

.rocs-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--rocs-navy);
	min-width: 0;
}

.rocs-brand:hover {
	color: var(--rocs-navy);
}

.rocs-brand__mark {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.rocs-brand .custom-logo-link {
	display: flex;
	align-items: center;
}

.rocs-brand .custom-logo {
	max-height: 56px;
	width: auto;
}

.rocs-brand__text {
	font-family: var(--rocs-font-display);
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.15;
	text-transform: uppercase;
}

.rocs-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.rocs-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-nav-list a {
	color: var(--rocs-navy);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
}

.rocs-nav-list .current-menu-item > a,
.rocs-nav-list a:hover,
.rocs-nav-list a:focus-visible {
	color: var(--rocs-burgundy);
	border-bottom-color: var(--rocs-burgundy);
}

.rocs-nav-toggle {
	display: none;
	appearance: none;
	background: transparent;
	border: 1px solid var(--rocs-border);
	border-radius: var(--rocs-radius);
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.rocs-nav-toggle span {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: var(--rocs-navy);
	border-radius: 1px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.rocs-hero {
	position: relative;
	isolation: isolate;
	background: var(--rocs-cream-deep);
	overflow: hidden;
}

.rocs-hero__media {
	position: relative;
	min-height: clamp(280px, 48vw, 520px);
	background:
		linear-gradient(180deg, rgba(30, 58, 95, 0.15), rgba(42, 36, 32, 0.35)),
		var(--rocs-hero-image, linear-gradient(135deg, #c5b8a4, #8a9a7b)) center / cover no-repeat;
}

.rocs-hero__content {
	width: min(100% - (var(--rocs-gutter) * 2), var(--rocs-content));
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.rocs-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.35rem);
	max-width: 18ch;
	margin: 0 0 1rem;
	color: var(--rocs-navy);
}

.rocs-hero__lede {
	max-width: 42ch;
	color: var(--rocs-muted);
	font-size: 1.1rem;
	margin: 0 0 1.5rem;
}

.rocs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.rocs-script {
	font-family: var(--rocs-font-script);
	font-size: clamp(1.5rem, 3vw, 2.15rem);
	color: var(--rocs-burgundy-soft);
	line-height: 1.3;
}

/* Soft organic divider (watercolor / torn edge feel) */
.rocs-wave {
	display: block;
	width: 100%;
	height: 48px;
	color: var(--rocs-cream);
}

.rocs-wave--burgundy {
	color: var(--rocs-burgundy);
}

.rocs-wave--cream-deep {
	color: var(--rocs-cream-deep);
}

/* ------------------------------------------------------------------ */
/* Quick links                                                         */
/* ------------------------------------------------------------------ */

.rocs-quick {
	background: var(--rocs-cream-deep);
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.rocs-quick__title {
	text-align: center;
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	margin: 0 0 1.75rem;
}

.rocs-quick__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-quick__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--rocs-navy);
	font-weight: 600;
	font-size: 0.9rem;
	text-align: center;
}

.rocs-quick__icon {
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 50%;
	background: var(--rocs-white);
	border: 1px solid var(--rocs-border);
	display: grid;
	place-items: center;
	box-shadow: var(--rocs-shadow);
	color: var(--rocs-burgundy);
	transition: transform 0.25s var(--rocs-ease), border-color 0.25s var(--rocs-ease);
}

.rocs-quick__item a:hover .rocs-quick__icon {
	transform: translateY(-3px);
	border-color: rgba(121, 6, 17, 0.35);
}

.rocs-quick__icon svg {
	width: 1.65rem;
	height: 1.65rem;
}

/* ------------------------------------------------------------------ */
/* Content cards / plugin output hooks                                 */
/* ------------------------------------------------------------------ */

.rocs-section {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.rocs-section--white {
	background: var(--rocs-white);
}

.rocs-section__title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	margin: 0 0 1.25rem;
}

.rocs-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.rocs-date-block {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	min-height: 3.25rem;
	background: var(--rocs-burgundy);
	color: var(--rocs-white);
	border-radius: var(--rocs-radius);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.15;
	padding: 0.35rem;
}

.rocs-date-block strong {
	font-size: 1.05rem;
	font-weight: 700;
}

/* Plugin front-end defaults */
.rocs-staff-directory .rocs-staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1.75rem;
}

.rocs-staff-card {
	text-align: center;
}

.rocs-staff-photo img {
	width: 100%;
	max-width: 156px;
	margin-inline: auto;
	aspect-ratio: 184 / 276;
	object-fit: cover;
	object-position: center top;
	border-radius: var(--rocs-radius);
	background: var(--rocs-cream-deep);
}

.rocs-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-contact {
	margin: 0 0 0.65rem;
	line-height: 1.45;
}

.rocs-cc-members {
	margin: 0 0 1.5rem;
}

.rocs-translate {
	margin-top: 1rem;
}

.rocs-footer .goog-te-gadget {
	font-size: 0 !important;
	color: transparent !important;
}

.rocs-footer .goog-te-gadget .goog-te-combo {
	font-size: 0.85rem;
	color: var(--rocs-ink);
	max-width: 100%;
}

.rocs-staff-name {
	font-family: var(--rocs-font-display);
	font-size: 1.2rem;
	margin: 0.75rem 0 0.2rem;
	color: var(--rocs-burgundy);
}

.rocs-staff-title {
	margin: 0;
	color: var(--rocs-muted);
	font-size: 0.95rem;
}

.rocs-announcements,
.rocs-documents {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-announcement,
.rocs-documents li {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--rocs-border);
}

.rocs-announcement-date {
	color: var(--rocs-muted);
	font-size: 0.875rem;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.rocs-footer {
	background:
		radial-gradient(ellipse at 10% 20%, rgba(255, 255, 255, 0.06), transparent 40%),
		radial-gradient(ellipse at 90% 80%, rgba(0, 0, 0, 0.12), transparent 45%),
		var(--rocs-burgundy);
	color: rgba(255, 255, 255, 0.92);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
	margin-top: auto;
}

.rocs-footer a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.rocs-footer a:hover {
	color: var(--rocs-white);
	text-decoration: underline;
}

.rocs-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.rocs-footer__brand {
	font-family: var(--rocs-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: var(--rocs-white);
}

.rocs-footer__meta {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.9;
	line-height: 1.7;
}

.rocs-footer__heading {
	font-family: var(--rocs-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: var(--rocs-white);
}

.rocs-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocs-footer__links li + li {
	margin-top: 0.4rem;
}

.rocs-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.rocs-social {
	display: flex;
	gap: 0.75rem;
}

.rocs-social a {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
}

/* ------------------------------------------------------------------ */
/* Elementor kit-friendly overrides                                    */
/* ------------------------------------------------------------------ */

.elementor-button.elementor-size-sm,
.elementor-button {
	font-family: var(--rocs-font-body);
}

body.riveroak-theme .elementor-widget-heading .elementor-heading-title {
	font-family: var(--rocs-font-display);
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.rocs-reveal {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity 0.6s var(--rocs-ease), transform 0.6s var(--rocs-ease);
	}

	.rocs-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 960px) {
	.rocs-quick__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rocs-grid-3,
	.rocs-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.rocs-nav-toggle {
		display: inline-flex;
	}

	.rocs-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--rocs-white);
		border-bottom: 1px solid var(--rocs-border);
		padding: 0.75rem var(--rocs-gutter) 1.25rem;
		display: none;
	}

	.rocs-header.is-open .rocs-nav {
		display: block;
	}

	.rocs-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.rocs-nav-list a {
		display: block;
		padding: 0.7rem 0;
		border-bottom: 1px solid var(--rocs-border);
	}
}

@media (max-width: 520px) {
	.rocs-quick__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rocs-utility__inner {
		justify-content: center;
	}
}
