/* =========================================================================
   The Olive House — v2 design system: "Editorial Gallery"
   Principles: light-dominant surfaces; guaranteed text contrast (never
   text-over-photo); one signature curve (the doorway arch); gold used as
   a hairline, not a fill; strong left axis with numbered kickers; one
   shared motion language; generous whitespace doing the separating work.
   ========================================================================= */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--olive-dark: #0F4B3A;
	--olive-deep: #0B3A2D;
	--olive-primary: #2E5E46;
	--olive-gold: #C9A24A;
	--olive-lime-gold: #6C8E3A;
	--ivory: #F7F4ED;
	--sand: #E8DDC9;
	--sage: #A4B18A;
	--charcoal: #1A1A1A;
	--ink: #24312B;             /* body text: deep green-grey, softer than black */
	--white: #FFFFFF;
	--page: #FAF7F0;            /* warm page ground */
	--paper: #FFFDF8;           /* warm white for raised surfaces */
	--hairline: rgba(15, 75, 58, 0.14);
	--hairline-gold: rgba(201, 162, 74, 0.55);

	--font-display: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-arabic: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;

	--fs-display: clamp(2.4rem, 1.55rem + 3.3vw, 4rem);
	--fs-h1: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
	--fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
	--fs-h3: clamp(1.28rem, 1.12rem + 0.7vw, 1.55rem);
	--fs-h4: 1.12rem;
	--fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);

	--radius-s: 8px;
	--radius-m: 14px;
	--radius-arch: 999px 999px 14px 14px;

	--shadow-1: 0 1px 2px rgba(15, 75, 58, 0.05), 0 8px 28px rgba(15, 75, 58, 0.07);
	--shadow-2: 0 2px 4px rgba(15, 75, 58, 0.06), 0 18px 44px rgba(15, 75, 58, 0.11);

	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.75rem;
	--space-4: 2.75rem;
	--space-5: 4.5rem;
	--space-6: 7rem;

	--container: 1240px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 220ms;
	--transition: var(--dur) var(--ease);
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--page);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	color: var(--olive-dark);
	margin: 0 0 var(--space-2);
	text-wrap: balance;
}

p { margin: 0 0 var(--space-2); }

a {
	color: var(--olive-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}

a:hover { color: var(--olive-gold); }

[lang="ar"] { font-family: var(--font-arabic); }

.oh-h1 { font-size: var(--fs-h1); }
.oh-h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
.oh-h3 { font-size: var(--fs-h3); }
.oh-h4 { font-size: var(--fs-h4); }

.oh-lead {
	font-size: var(--fs-lead);
	line-height: 1.75;
	color: #4b564f;
	max-width: 58ch;
}

.oh-center { text-align: center; }
.oh-center .oh-lead { margin-inline: auto; }
.oh-center-actions { justify-content: center; }
.oh-narrow { max-width: 780px; margin-inline: auto; }

.oh-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4.5vw, 2.5rem);
}

/* 3. Accessibility --------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--olive-dark);
	color: var(--white);
	padding: 0.75rem 1.25rem;
	z-index: 999;
	border-radius: 0 0 var(--radius-s) 0;
}

.skip-link:focus { left: 0; color: var(--white); }

:focus-visible {
	outline: 3px solid var(--olive-gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.oh-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* 4. Editorial primitives --------------------------------------------------
   Kicker: small-caps label, optionally with an index number.
   Rule: 1px gold hairline. Textlink: quiet secondary action.
--------------------------------------------------------------------------- */
.oh-kicker,
.oh-eyebrow {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--olive-primary);
	margin: 0 0 var(--space-2);
}

.oh-kicker-num {
	color: var(--olive-gold);
	font-variant-numeric: tabular-nums;
}

.oh-kicker::after {
	content: "";
	flex: 0 1 64px;
	height: 1px;
	background: var(--hairline-gold);
	align-self: center;
}

.oh-eyebrow--gold { color: var(--olive-primary); }

.oh-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--olive-dark);
	text-decoration: none;
	border-bottom: 1px solid var(--hairline-gold);
	padding-bottom: 3px;
	transition: color var(--transition), border-color var(--transition);
}

.oh-textlink:hover {
	color: var(--olive-primary);
	border-color: var(--olive-gold);
}

.oh-textlink-arrow {
	transition: transform var(--transition);
}

.oh-textlink:hover .oh-textlink-arrow { transform: translateX(4px); }

/* Split section header: kicker column left, content right. */
.oh-sechead {
	display: grid;
	grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
	gap: var(--space-3) var(--space-5);
	align-items: start;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.oh-sechead .oh-h2 { margin-bottom: 0.75rem; }
.oh-sechead .oh-lead { margin-bottom: 0; }

/* Legacy centered head (inner pages) — restyled to match the system. */
.oh-section-head {
	max-width: 700px;
	margin: 0 auto var(--space-4);
	text-align: center;
}

.oh-section-head .oh-eyebrow { justify-content: center; }
.oh-section-head .oh-eyebrow::after { display: none; }

/* Divider retained for legacy templates, quieted to a single rule. */
.oh-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0.25rem 0 var(--space-3);
}

.oh-divider span {
	display: block;
	width: 56px;
	height: 1px;
	background: var(--hairline-gold);
}

.oh-divider i { display: none; }
.oh-divider--start { justify-content: flex-start; }

.oh-branch,
.oh-closing-branch,
.oh-map-branch,
.oh-featured-branch { width: 120px; color: var(--sage); }

.oh-arch {
	border-radius: var(--radius-arch);
	overflow: hidden;
	background: var(--sand);
	box-shadow: var(--shadow-1);
}

.oh-arch img { width: 100%; height: 100%; object-fit: cover; }

/* 5. Buttons ----------------------------------------------------------------
   One primary voice (gold), one dark variant, one quiet outline.
--------------------------------------------------------------------------- */
.oh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	padding: 1rem 1.75rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.oh-btn:hover { transform: translateY(-1px); }
.oh-btn:active { transform: translateY(0); }

.oh-btn--gold {
	background: var(--olive-gold);
	color: #241c07;
}

.oh-btn--gold:hover {
	background: #d5b160;
	color: #241c07;
	box-shadow: 0 10px 24px rgba(201, 162, 74, 0.35);
}

.oh-btn--primary {
	background: var(--olive-dark);
	color: var(--white);
}

.oh-btn--primary:hover {
	background: var(--olive-primary);
	color: var(--white);
	box-shadow: 0 10px 24px rgba(15, 75, 58, 0.25);
}

.oh-btn--ghost,
.oh-btn--outline {
	background: transparent;
	color: var(--olive-dark);
	border-color: rgba(15, 75, 58, 0.4);
}

.oh-btn--ghost:hover,
.oh-btn--outline:hover {
	border-color: var(--olive-dark);
	background: var(--olive-dark);
	color: var(--white);
}

.oh-btn--ghost-light {
	color: var(--ivory);
	border-color: rgba(247, 244, 237, 0.7);
	background: transparent;
}

.oh-btn--ghost-light:hover {
	background: var(--ivory);
	color: var(--olive-dark);
}

.oh-btn--block { display: flex; width: 100%; }

.oh-btn--icon { gap: 0.55rem; }
.oh-btn-lead { flex: none; }
.oh-btn-chevron { flex: none; transition: transform var(--transition); }
.oh-btn--icon:hover .oh-btn-chevron { transform: translateX(3px); }

/* 6. Announcement bar --------------------------------------------------------- */
.oh-announce {
	background: var(--olive-deep);
	color: var(--ivory);
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	position: relative;
	border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.oh-announce p {
	margin: 0;
	padding: 0.6rem 3rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.oh-announce-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--olive-gold);
	animation: oh-pulse 2.6s ease-in-out infinite;
}

@keyframes oh-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.oh-announce-close {
	position: absolute;
	top: 50%;
	right: clamp(0.75rem, 3vw, 1.5rem);
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(247, 244, 237, 0.1);
	color: var(--ivory);
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
}

.oh-announce-close:hover {
	background: var(--olive-gold);
	color: #241c07;
}

/* 7. Header --------------------------------------------------------------------- */
.oh-header {
	background: var(--olive-dark);
	border-bottom: 1px solid rgba(201, 162, 74, 0.4);
	position: sticky;
	top: 0;
	z-index: 90;
}

.oh-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	min-height: 88px;
	padding-block: 0.5rem;
}

.oh-brand img,
.oh-brand .custom-logo {
	width: auto;
	height: 64px;
}

.oh-brand a { display: block; line-height: 0; }

.oh-nav {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.oh-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: clamp(1.1rem, 2.4vw, 2.1rem);
}

.oh-nav-list a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: rgba(247, 244, 237, 0.92);
	padding: 0.4rem 0.1rem;
	position: relative;
}

.oh-nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -3px;
	height: 2px;
	background: var(--olive-gold);
	transition: right 260ms var(--ease);
}

.oh-nav-list a:hover::after,
.oh-nav-list .current-menu-item > a::after,
.oh-nav-list .current_page_item > a::after { right: 0; }

.oh-nav-list a:hover,
.oh-nav-list .current-menu-item > a,
.oh-nav-list .current_page_item > a { color: var(--olive-gold); }

.oh-header-actions { display: none; align-items: center; gap: var(--space-2); }

.oh-nav-top { display: none; }

.oh-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 1.5px solid rgba(247, 244, 237, 0.75);
	border-radius: 999px;
	padding: 0.55rem 1rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	color: var(--ivory);
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition);
}

.oh-menu-toggle:hover { border-color: var(--olive-gold); }

.oh-menu-bars { display: inline-flex; flex-direction: column; gap: 4px; }

.oh-menu-bars i {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.oh-menu-toggle[aria-expanded="true"] .oh-menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.oh-menu-toggle[aria-expanded="true"] .oh-menu-bars i:nth-child(2) { opacity: 0; }
.oh-menu-toggle[aria-expanded="true"] .oh-menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 8. Split hero -------------------------------------------------------------------
   Text never sits on the photograph: the left panel guarantees AAA
   contrast at any image the client uploads; the photo lives inside a
   tall doorway-arch window on the right.
---------------------------------------------------------------------------------- */
.oh-hero { background: var(--page); }

.oh-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
	min-height: min(600px, calc(100vh - 190px));
}

.oh-hero-panel {
	display: flex;
	align-items: center;
	padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.25rem, 4.5vw, 3rem);
}

.oh-hero-panel-inner {
	max-width: 560px;
	margin-inline-start: auto;
	padding-inline-end: clamp(0rem, 2vw, 1.5rem);
	width: 100%;
}

.oh-hero .oh-kicker { color: var(--olive-primary); }

.oh-hero-heading {
	font-size: var(--fs-display);
	letter-spacing: -0.015em;
	line-height: 1.08;
	margin-bottom: var(--space-3);
}

.oh-hero-text {
	font-size: var(--fs-lead);
	line-height: 1.75;
	color: #4b564f;
	max-width: 50ch;
	margin-bottom: var(--space-3);
}

.oh-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	margin-bottom: var(--space-3);
}

.oh-hero-note {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--olive-primary);
	font-weight: 500;
	font-size: 0.93rem;
	margin: 0 0 var(--space-3);
}

.oh-note-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(15, 75, 58, 0.07);
	border: 1px solid var(--hairline-gold);
	color: var(--olive-primary);
	flex: none;
}

/* Numbered slide controls with a filling progress line. */
.oh-hero-slidenav {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	border-top: 1px solid var(--hairline);
	padding-top: var(--space-3);
}

.oh-slider-dots { display: flex; gap: 0.25rem; }

.oh-slider-dot {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
	color: rgba(36, 49, 43, 0.45);
	background: none;
	border: none;
	padding: 0.6rem 0.7rem; /* comfortable touch target */
	min-width: 44px;
	min-height: 44px;
	cursor: pointer;
	position: relative;
	transition: color var(--transition);
}

.oh-slider-dot:hover { color: var(--olive-dark); }

.oh-slider-dot::after {
	content: "";
	position: absolute;
	left: 0.7rem;
	right: 0.7rem;
	bottom: 6px;
	height: 2px;
	background: var(--olive-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 260ms var(--ease);
}

.oh-slider-dot.is-active { color: var(--olive-dark); }
.oh-slider-dot.is-active::after { transform: scaleX(1); }

.oh-progress {
	flex: 1;
	height: 1px;
	background: var(--hairline);
	position: relative;
	overflow: hidden;
}

.oh-progress i {
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	background: var(--olive-gold);
	transform: scaleX(0);
	transform-origin: left center;
}

.oh-progress i.is-running {
	transition: transform var(--oh-interval, 6000ms) linear;
	transform: scaleX(1);
}

/* The doorway window. */
.oh-hero-media {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	padding-inline-start: 0;
	display: flex;
	max-height: 620px;
}

.oh-hero-frame {
	position: relative;
	flex: 1;
	border-radius: 999px 999px var(--radius-m) var(--radius-m);
	overflow: hidden;
	background: var(--sand);
	box-shadow: var(--shadow-2);
	min-height: 400px;
}

.oh-hero-frame::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(255, 253, 248, 0.55);
	border-radius: 999px 999px calc(var(--radius-m) - 4px) calc(var(--radius-m) - 4px);
	pointer-events: none;
	z-index: 2;
}

.oh-hero-slides { position: absolute; inset: 0; }

.oh-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 900ms var(--ease);
}

.oh-slide.is-active { opacity: 1; }

.oh-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 9. Sections ------------------------------------------------------------------- */
.oh-section {
	padding-block: clamp(4rem, 8vw, var(--space-6));
	position: relative;
}

.oh-section--intro {
	border-top: 1px solid var(--hairline);
}

.oh-section--programmes {
	background: var(--ivory);
	border-block: 1px solid var(--hairline);
}

.oh-section--sand { background: var(--ivory); }

.oh-section--dark {
	background: var(--olive-dark);
	color: var(--ivory);
}

.oh-section--dark h1,
.oh-section--dark h2,
.oh-section--dark h3 { color: var(--white); }

.oh-section--dark .oh-lead { color: rgba(247, 244, 237, 0.85); }
.oh-section--dark .oh-kicker,
.oh-section--dark .oh-eyebrow { color: var(--olive-gold); }

.oh-section-cta { margin-top: var(--space-4); }

/* 10. Intro --------------------------------------------------------------------- */
.oh-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

.oh-intro-media { max-width: 420px; justify-self: end; width: 100%; }

.oh-arch--intro { aspect-ratio: 3 / 4; }

/* 11. Programme index ------------------------------------------------------------
   A catalogue, not a wall of equal tiles: one featured entry, then
   numbered rows that scan like a table of contents.
---------------------------------------------------------------------------------- */
.oh-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.oh-card {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-m);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color var(--transition), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}

.oh-card:hover,
.oh-card:focus-within {
	border-color: var(--hairline-gold);
	box-shadow: var(--shadow-2);
	transform: translateY(-3px);
}

.oh-card-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3.5;
	background: var(--sand);
	margin: 1.1rem 1.1rem 0;
	border-radius: 999px 999px 10px 10px;
	border: 1px solid var(--hairline);
}

.oh-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--ease);
}

.oh-card:hover .oh-card-media img { transform: scale(1.04); }

.oh-card-body {
	padding: 1.35rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.oh-card-tag {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--olive-gold);
	margin: 0;
}

.oh-card-title { font-size: 1.2rem; margin: 0; }

.oh-card-title a { text-decoration: none; color: inherit; }
.oh-card-title a:hover { color: var(--olive-primary); }

.oh-card-text {
	color: #55605a;
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
	flex: 1;
}

.oh-card-meta {
	margin: 0.5rem 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 1rem;
	font-size: 0.84rem;
}

.oh-card-meta dt {
	font-weight: 700;
	color: var(--olive-primary);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.oh-card-meta dd { margin: 0; }

.oh-card-link {
	margin-top: 0.8rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--olive-dark);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border-bottom: 1px solid var(--hairline-gold);
	align-self: flex-start;
	padding-bottom: 2px;
}

.oh-card-link span { transition: transform var(--transition); display: inline-block; }
.oh-card-link:hover span { transform: translateX(4px); }

.oh-card-num {
	position: absolute;
	top: 1rem;
	inset-inline-end: 1.1rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	color: var(--olive-gold);
	background: rgba(255, 253, 248, 0.92);
	border: 1px solid var(--hairline-gold);
	border-radius: 999px;
	padding: 0.3rem 0.65rem;
	z-index: 2;
	font-variant-numeric: tabular-nums;
}

/* Index variant: featured first entry spans the grid's lead position. */
.oh-cards--index { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.oh-cards--index .oh-card--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.oh-cards--index .oh-card--featured .oh-card-media { aspect-ratio: 16 / 10.5; flex: 1; }
.oh-cards--index .oh-card--featured .oh-card-title { font-size: 1.55rem; }

/* 12. Filter toolbar (What We Offer) ---------------------------------------------- */
.oh-filterbar {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-m);
	padding: 1.4rem 1.5rem;
	margin-bottom: var(--space-4);
	display: grid;
	gap: 1.1rem;
}

.oh-filter-search label {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.88rem;
	margin-bottom: 0.4rem;
	color: var(--olive-dark);
}

.oh-filter-search input { max-width: 440px; }

.oh-filter-groups { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.oh-chip {
	background: transparent;
	border: 1px solid rgba(15, 75, 58, 0.3);
	color: var(--olive-primary);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.84rem;
	border-radius: 999px;
	padding: 0.5rem 1.05rem;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.oh-chip:hover { border-color: var(--olive-gold); color: var(--olive-dark); }

.oh-chip.is-active {
	background: var(--olive-dark);
	border-color: var(--olive-dark);
	color: var(--white);
}

.oh-filter-empty { margin: 0; color: var(--olive-primary); font-weight: 500; }

.oh-card[hidden] { display: none; }

/* 13. Heritage: text left, arch image right ------------------------------------------ */
.oh-heritage-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}

.oh-heritage-content .oh-lead { margin-bottom: var(--space-3); }

.oh-heritage-caption {
	display: grid;
	gap: 0.35rem;
	border-top: 1px solid var(--hairline);
	padding-top: var(--space-2);
	color: #55605a;
	font-size: 0.95rem;
	max-width: 44ch;
	margin: 0;
}

.oh-heritage-caption .oh-kicker { margin: 0; font-size: 0.74rem; }
.oh-heritage-caption .oh-kicker::after { flex-basis: 40px; }

.oh-arch--heritage { aspect-ratio: 4 / 3.4; }

/* Legacy gallery strip -------------------------------------------------------------- */
.oh-gallery-strip {
	margin: 0;
	border-radius: 320px 320px var(--radius-m) var(--radius-m);
	overflow: hidden;
	border: 1px solid var(--hairline);
	background: var(--paper);
	box-shadow: var(--shadow-1);
}

.oh-gallery-strip img {
	width: 100%;
	aspect-ratio: 21 / 10;
	object-fit: cover;
}

.oh-gallery-caption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem 2rem;
	padding: 1.1rem 1.6rem;
	border-top: 1px solid var(--hairline);
	font-size: 0.95rem;
	color: #55605a;
}

.oh-gallery-caption .oh-kicker { margin: 0; }
.oh-gallery-caption .oh-kicker::after { display: none; }

/* 14. Pillars (light) ------------------------------------------------------------------ */
.oh-pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.oh-pillars li {
	border-top: 1px solid var(--hairline-gold);
	padding-top: var(--space-3);
	transition: border-color var(--transition);
}

.oh-pillars li:hover { border-top-color: var(--olive-gold); }

.oh-pillar-icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--hairline-gold);
	background: var(--paper);
	color: var(--olive-gold);
	margin-bottom: var(--space-2);
	transition: transform var(--transition), border-color var(--transition);
}

.oh-pillars li:hover .oh-pillar-icon {
	transform: translateY(-3px);
	border-color: var(--olive-gold);
}

.oh-pillar-icon svg { width: 26px; height: 26px; }

.oh-pillars h3 { font-size: 1.12rem; margin-bottom: 0.4rem; color: var(--olive-dark); }

.oh-pillars p { color: #55605a; font-size: 0.94rem; margin: 0; }

/* 15. CTA band: the single dark moment ---------------------------------------------------- */
.oh-cta-band {
	background: var(--olive-dark);
	border-block: 1px solid var(--hairline-gold);
	padding-block: clamp(4rem, 8vw, 6rem);
}

.oh-cta-inner { position: relative; }

.oh-cta-content { max-width: 720px; }

.oh-cta-content h2 { color: var(--white); font-size: var(--fs-h2); }
.oh-cta-content .oh-lead { color: rgba(247, 244, 237, 0.85); }
.oh-cta-content .oh-eyebrow,
.oh-cta-content .oh-kicker { color: var(--olive-gold); }

/* 16. Newsletter ---------------------------------------------------------------------------- */
.oh-newsletter { background: var(--page); padding-block: clamp(4rem, 8vw, 6.5rem); }

.oh-newsletter-inner {
	max-width: 860px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-top: 3px solid var(--olive-gold);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-1);
	padding: clamp(2rem, 5vw, 3.25rem);
	text-align: start;
}

.oh-newsletter-inner .oh-h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.oh-newsletter-inner .oh-divider { justify-content: flex-start; }
.oh-newsletter-inner > .oh-lead { margin-bottom: var(--space-3); }

.oh-newsletter-fields {
	display: grid;
	grid-template-columns: 1fr 1.25fr auto;
	gap: 0.9rem;
	align-items: end;
	margin-bottom: var(--space-2);
}

.oh-newsletter-fields .oh-field { margin: 0; }
.oh-newsletter-fields .oh-form-actions { margin: 0; }

/* 17. Forms ------------------------------------------------------------------------------------ */
.oh-form {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-m);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-1);
}

.oh-form--inline { background: transparent; border: none; box-shadow: none; padding: 0; }

.oh-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.4rem;
}

.oh-field { margin: 0 0 1.2rem; }

.oh-field label {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--olive-dark);
	margin-bottom: 0.4rem;
}

.oh-req { color: var(--olive-gold); }

.oh-field input[type="text"],
.oh-field input[type="email"],
.oh-field input[type="tel"],
.oh-field input[type="number"],
.oh-field input[type="search"],
.oh-field select,
.oh-field textarea,
.oh-filter-search input {
	width: 100%;
	font: inherit;
	color: var(--ink);
	background: var(--white);
	border: 1px solid rgba(15, 75, 58, 0.3);
	border-radius: var(--radius-s);
	padding: 0.8rem 0.95rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.oh-field input:focus,
.oh-field select:focus,
.oh-field textarea:focus,
.oh-filter-search input:focus {
	border-color: var(--olive-dark);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.35);
}

.oh-field--check { display: flex; align-items: flex-start; gap: 0.6rem; }

.oh-field--check input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
	accent-color: var(--olive-dark);
	flex: none;
}

.oh-field--check label {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.92rem;
	margin: 0;
	color: var(--ink);
}

.oh-form-actions { margin: 0.5rem 0 0; }

.oh-notice {
	border-radius: var(--radius-s);
	padding: 1rem 1.25rem;
	margin-bottom: var(--space-2);
	font-weight: 500;
}

.oh-notice--success {
	background: rgba(15, 75, 58, 0.07);
	border: 1px solid var(--olive-dark);
	border-inline-start-width: 3px;
	color: var(--olive-dark);
}

.oh-notice--error {
	background: rgba(201, 162, 74, 0.12);
	border: 1px solid var(--olive-gold);
	border-inline-start-width: 3px;
	color: #6b4f14;
}

/* 18. Inner page heroes: light, typographic --------------------------------------------------- */
.oh-page-hero {
	background: var(--page);
	border-bottom: 1px solid var(--hairline);
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.oh-page-hero h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }

.oh-page-hero .oh-lead { color: #4b564f; }

.oh-page-hero .oh-eyebrow { color: var(--olive-primary); }
.oh-page-hero .oh-eyebrow::after { display: none; }
.oh-page-hero.oh-center .oh-eyebrow,
.oh-page-hero .oh-center .oh-eyebrow { justify-content: center; }

.oh-page-hero .oh-divider span { background: var(--hairline-gold); }

.oh-page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.oh-arch--page {
	aspect-ratio: 4 / 4.4;
	max-width: 400px;
	justify-self: end;
	width: 100%;
}

.oh-arch--small {
	aspect-ratio: 4 / 4.6;
	max-width: 360px;
	width: 100%;
}

/* 19. About / Contact / Register compositions -------------------------------------------------- */
.oh-about-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.oh-about-block .oh-divider { justify-content: flex-start; }

.oh-values-band { text-align: center; }

.oh-values {
	list-style: none;
	margin: var(--space-3) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
}

.oh-values li {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 0.92rem;
	border: 1px solid rgba(201, 162, 74, 0.55);
	border-radius: 999px;
	color: var(--ivory);
	padding: 0.6rem 1.35rem;
	transition: border-color var(--transition), background var(--transition);
}

.oh-values li:hover {
	border-color: var(--olive-gold);
	background: rgba(201, 162, 74, 0.1);
}

.oh-welcome-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.oh-welcome-grid .oh-divider { justify-content: flex-start; }

.oh-welcome-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.oh-welcome-list li {
	position: relative;
	padding-inline-start: 1.5rem;
}

.oh-welcome-list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.68em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 1.5px solid var(--olive-gold);
}

.oh-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.oh-contact-cards { display: grid; gap: 1.2rem; }

.oh-contact-preview .oh-contact-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.oh-contact-card {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-m);
	padding: 1.4rem 1.5rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.oh-contact-card:hover {
	border-color: var(--hairline-gold);
	box-shadow: var(--shadow-1);
}

.oh-contact-card p { margin-bottom: 0.35rem; }

.oh-contact-card-title {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--olive-primary);
	margin-bottom: 0.7rem;
}

.oh-socials {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	gap: 0.7rem;
}

.oh-socials a {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(15, 75, 58, 0.35);
	color: var(--olive-dark);
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.oh-socials a:hover {
	background: var(--olive-dark);
	border-color: var(--olive-dark);
	color: var(--white);
	transform: translateY(-2px);
}

.oh-map-placeholder {
	margin-top: 1.25rem;
	background: var(--paper);
	border: 1px dashed rgba(15, 75, 58, 0.35);
	border-radius: var(--radius-arch);
	padding: 2.4rem 1.6rem;
	text-align: center;
	color: var(--olive-primary);
}

.oh-map-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--olive-dark);
	margin-bottom: 0.35rem;
}

.oh-register-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.oh-register-note {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-top: 3px solid var(--olive-gold);
	border-radius: var(--radius-m);
	padding: 1.5rem 1.6rem;
	margin-top: 1.25rem;
}

/* 20. Programme single ---------------------------------------------------------------------------- */
.oh-programme-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.oh-programme-grid .oh-divider { justify-content: flex-start; }

.oh-detail-card {
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-top: 3px solid var(--olive-gold);
	border-radius: var(--radius-m);
	padding: 1.6rem;
	box-shadow: var(--shadow-1);
}

.oh-detail-list { margin: 0 0 1.25rem; display: grid; gap: 0.9rem; }

.oh-detail-list dt {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--olive-primary);
}

.oh-detail-list dd { margin: 0.15rem 0 0; }

.oh-back-link { margin-top: 1rem; }

/* 21. Entry content -------------------------------------------------------------------------------- */
.oh-entry-content h2,
.oh-entry-content h3 { margin-top: var(--space-3); }

.oh-entry-content img { border-radius: var(--radius-m); }

.oh-entry-content blockquote {
	border-inline-start: 2px solid var(--olive-gold);
	margin-inline: 0;
	padding-inline-start: 1.25rem;
	color: var(--olive-primary);
	font-style: italic;
}

.oh-pagination { margin-top: var(--space-4); text-align: center; }

/* 22. Footer ----------------------------------------------------------------------------------------- */
.oh-footer {
	background: var(--olive-deep);
	color: var(--ivory);
	position: relative;
	padding-block: clamp(3.5rem, 6vw, 5rem) 1.5rem;
	border-top: 1px solid var(--hairline-gold);
}

.oh-footer-arc { display: none; }

.oh-footer a { color: rgba(247, 244, 237, 0.92); text-decoration: none; }

.oh-footer a:hover { color: var(--olive-gold); }

.oh-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: var(--space-4);
	border-bottom: 1px solid rgba(247, 244, 237, 0.14);
}

.oh-footer-brand img { width: 200px; height: auto; }

.oh-footer-statement {
	color: rgba(247, 244, 237, 0.8);
	max-width: 30ch;
	margin-top: var(--space-2);
	line-height: 1.7;
}

.oh-footer-heading {
	color: var(--olive-gold);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: var(--space-2);
}

.oh-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	font-size: 0.94rem;
}

.oh-footer .oh-socials a {
	color: var(--ivory);
	border-color: rgba(247, 244, 237, 0.3);
}

.oh-footer .oh-socials a:hover {
	background: var(--olive-gold);
	border-color: var(--olive-gold);
	color: #241c07;
}

.oh-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 1.5rem;
	font-size: 0.85rem;
	color: rgba(247, 244, 237, 0.7);
}

.oh-footer-bottom p { margin: 0; }
.oh-footer-bottom a { text-decoration: underline; }

/* 23. Scroll reveal ------------------------------------------------------------------------------------ */
.oh-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 560ms var(--ease), transform 560ms var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
	.oh-reveal { opacity: 1; transform: none; }
}

/* 24. Legacy compatibility (classes still present in markup) ------------------------------------------- */
.oh-curve,
.oh-wave,
.oh-hero-scrim,
.oh-ornament { display: none; }

.oh-featured-grid { display: block; }
.oh-featured-collage,
.oh-collage-item { display: none; }

/* Section rhythm: hairline before the pillars group. */
.oh-section--pillars { border-top: 1px solid var(--hairline); }

/* 25. Chat assistant ----------------------------------------------------------- */
.oh-chat {
	position: fixed;
	inset-inline-end: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 110;
	font-family: var(--font-body);
}

.oh-chat-launcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: none;
	background: var(--olive-dark);
	color: var(--olive-gold);
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(15, 75, 58, 0.35);
	transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
	position: relative;
	z-index: 2;
}

.oh-chat-launcher:hover {
	transform: translateY(-2px);
	background: var(--olive-deep);
	box-shadow: 0 14px 34px rgba(15, 75, 58, 0.4);
}

.oh-chat-launcher-close { display: none; }
.oh-chat.is-open .oh-chat-launcher-open { display: none; }
.oh-chat.is-open .oh-chat-launcher-close { display: block; }

.oh-chat-panel {
	position: absolute;
	inset-inline-end: 0;
	bottom: 74px;
	width: min(380px, calc(100vw - 2rem));
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-m);
	box-shadow: 0 24px 60px rgba(15, 75, 58, 0.22);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transform-origin: bottom right;
	transition: opacity 240ms var(--ease), transform 260ms var(--ease);
	pointer-events: none;
}

.oh-chat.is-open .oh-chat-panel {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.oh-chat-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	background: var(--olive-dark);
	color: var(--ivory);
	padding: 1rem 1.1rem;
	border-bottom: 2px solid var(--olive-gold);
}

.oh-chat-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.98rem;
	margin: 0 0 0.15rem;
	color: var(--white);
}

.oh-chat-sub {
	margin: 0;
	font-size: 0.78rem;
	color: rgba(247, 244, 237, 0.8);
	line-height: 1.4;
}

.oh-chat-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	border: 1px solid rgba(247, 244, 237, 0.4);
	background: transparent;
	color: var(--ivory);
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.oh-chat-close:hover {
	background: var(--olive-gold);
	border-color: var(--olive-gold);
	color: #241c07;
}

.oh-chat-log {
	height: min(360px, 48vh);
	overflow-y: auto;
	padding: 1rem 1rem 0.5rem;
	background: var(--page);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.oh-chat-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.oh-chat-row--user { align-items: flex-end; }

.oh-chat-bubble {
	max-width: 85%;
	padding: 0.65rem 0.9rem;
	border-radius: 14px 14px 14px 4px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ink);
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

.oh-chat-row--user .oh-chat-bubble {
	background: var(--olive-dark);
	border-color: var(--olive-dark);
	color: var(--ivory);
	border-radius: 14px 14px 4px 14px;
}

.oh-chat-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	max-width: 85%;
}

.oh-chat-action,
.oh-chat-contact {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.83rem;
	background: var(--olive-gold);
	color: #241c07;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.55rem 1.05rem;
	transition: background var(--transition), transform var(--transition);
}

.oh-chat-action:hover,
.oh-chat-contact:hover {
	background: #d5b160;
	color: #241c07;
	transform: translateY(-1px);
}

/* Suggested-question chips above the input. */
.oh-chat-suggest {
	display: flex;
	gap: 0.45rem;
	overflow-x: auto;
	padding: 0.65rem 0.75rem 0.15rem;
	background: var(--paper);
	border-top: 1px solid var(--hairline);
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.oh-chat-suggest[hidden] { display: none; }

.oh-chat-chip {
	flex: none;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.79rem;
	color: var(--olive-primary);
	background: var(--page);
	border: 1px solid rgba(15, 75, 58, 0.3);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.oh-chat-chip:hover {
	background: var(--olive-dark);
	border-color: var(--olive-dark);
	color: var(--white);
}

.oh-chat-typing .oh-chat-bubble {
	display: inline-flex;
	gap: 5px;
	align-items: center;
	padding: 0.75rem 0.9rem;
}

.oh-chat-typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--olive-primary);
	opacity: 0.4;
	animation: oh-chat-dot 1.1s ease-in-out infinite;
}

.oh-chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.oh-chat-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes oh-chat-dot {
	0%, 100% { opacity: 0.35; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-3px); }
}

.oh-chat-form {
	display: flex;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem 0.75rem;
	background: var(--paper);
}

.oh-chat-form input {
	flex: 1;
	font: inherit;
	font-size: 0.92rem;
	color: var(--ink);
	background: var(--white);
	border: 1px solid rgba(15, 75, 58, 0.3);
	border-radius: 999px;
	padding: 0.7rem 1.05rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.oh-chat-form input:focus {
	border-color: var(--olive-dark);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.35);
}

.oh-chat-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	border: none;
	background: var(--olive-gold);
	color: #241c07;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.oh-chat-send:hover { background: #d5b160; transform: translateY(-1px); }

.oh-chat-note {
	margin: 0;
	padding: 0 1rem 0.8rem;
	background: var(--paper);
	font-size: 0.72rem;
	color: #7a837d;
	text-align: center;
}

/* Mobile: the chat becomes a full-screen sheet that fits every
   viewport — dynamic viewport units so browser chrome never crops it. */
@media (max-width: 760px) {
	.oh-chat-panel {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100vh;  /* fallback */
		height: 100dvh; /* accounts for mobile browser chrome */
		max-height: none;
		border-radius: 0;
		border: none;
		transform: translateY(16px);
		transform-origin: center bottom;
	}

	.oh-chat.is-open .oh-chat-panel { transform: none; }

	/* The header X is the single exit — hide the floating launcher
	   so it cannot overlap the sheet. */
	.oh-chat.is-open .oh-chat-launcher { display: none; }

	.oh-chat-head {
		padding-top: max(1rem, env(safe-area-inset-top));
	}

	.oh-chat-close {
		width: 44px;
		height: 44px;
	}

	/* The log absorbs all remaining height between header and input. */
	.oh-chat-log {
		height: auto;
		flex: 1;
		min-height: 0;
	}

	.oh-chat-form {
		padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
	}

	.oh-chat-note {
		padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
	}

	body.oh-chat-open {
		overflow: hidden;
	}
}

/* 26. Chat enquiry flow --------------------------------------------------------- */
.oh-chat-card {
	max-width: 100%;
	width: 100%;
	display: grid;
	gap: 0.7rem;
}

.oh-chat-flow { width: 100%; }
.oh-chat-flow .oh-chat-bubble { max-width: 100%; }

.oh-chat-card-intro {
	margin: 0;
	font-weight: 600;
	color: var(--olive-dark);
	font-size: 0.9rem;
}

.oh-chat-field {
	display: grid;
	gap: 0.3rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--olive-primary);
}

.oh-chat-field input,
.oh-chat-field textarea {
	font: inherit;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.92rem;
	color: var(--ink);
	background: var(--white);
	border: 1px solid rgba(15, 75, 58, 0.3);
	border-radius: var(--radius-s);
	padding: 0.65rem 0.8rem;
	width: 100%;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.oh-chat-field input:focus,
.oh-chat-field textarea:focus {
	border-color: var(--olive-dark);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.35);
}

.oh-chat-field textarea { resize: vertical; min-height: 96px; }

.oh-chat-card-note {
	margin: 0;
	font-size: 0.74rem;
	color: #7a837d;
}

.oh-chat-card-error {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: #8a5a10;
	background: rgba(201, 162, 74, 0.14);
	border-inline-start: 3px solid var(--olive-gold);
	border-radius: 6px;
	padding: 0.5rem 0.7rem;
}

.oh-chat-action--quiet {
	background: transparent;
	border: 1px solid rgba(15, 75, 58, 0.35);
	color: var(--olive-dark);
}

.oh-chat-action--quiet:hover {
	background: var(--olive-dark);
	color: var(--white);
	border-color: var(--olive-dark);
}

.oh-chat-review {
	margin: 0;
	display: grid;
	gap: 0.55rem;
	background: var(--page);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-s);
	padding: 0.8rem 0.9rem;
}

.oh-chat-review dt {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--olive-primary);
}

.oh-chat-review dd {
	margin: 0.1rem 0 0;
	font-size: 0.9rem;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

button.oh-chat-action {
	border: none;
	cursor: pointer;
	font: inherit;
	font-family: var(--font-display);
	font-weight: 700;
}
