/*
Theme Name:   Oak Lodge
Theme URI:    https://greyside-holding-co-ltd.co.uk/
Description:  GeneratePress child theme for Oak Lodge camping and caravanning, Somerset. Run by Greyside Holding Co Ltd.
Author:       Greyside Holding Co Ltd
Template:     generatepress
Version:      1.1.0
Text Domain:  oak-lodge
*/

/* Layout: full-bleed bands alternating light sage and deep forest, a hill-line under the hero,
   contour-map texture on dark bands; content on a 1180px grid. */
:root {
	--ol-ink: #14201a;
	--ol-forest: #1e3a2c;
	--ol-forest-deep: #12261c;
	--ol-moss: #5b7a3e;
	--ol-oak: #c98a3d;
	--ol-oak-bright: #e0a457;
	--ol-oak-dark: #94601f;
	--ol-paper: #fbfaf6;
	--ol-sage: #eef1e8;
	--ol-line: #d9dfd0;
	--ol-muted: #56645a;
	--ol-on-dark: #e2e9dd;
	--ol-on-dark-muted: #a9b8a6;
	--ol-shade: 18, 38, 28; /* forest-deep as RGB, for overlays */

	--ol-display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
	--ol-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
	--ol-wrap: 1180px;
	--ol-radius: 8px;
	--ol-ease: cubic-bezier(.2, .7, .2, 1);

	--ol-topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.4'%3E%3Cpath d='M-20 120c80-40 160 30 240 0s150-90 240-50 140 60 160 40'/%3E%3Cpath d='M-20 160c80-40 160 30 240 0s150-90 240-50 140 60 160 40'/%3E%3Cpath d='M-20 200c90-30 170 40 250 10s140-80 230-40 140 50 160 30'/%3E%3Cpath d='M-20 300c70 20 150-50 230-20s170 70 250 30 120-40 160-20'/%3E%3Cpath d='M-20 340c70 20 150-50 230-20s170 70 250 30 120-40 160-20'/%3E%3Cpath d='M-20 380c80 30 160-40 240-10s160 60 240 20 120-30 160-10'/%3E%3Cpath d='M-20 480c90-30 160 40 250 10s150-70 240-30 110 40 150 20'/%3E%3Cpath d='M-20 520c90-30 160 40 250 10s150-70 240-30 110 40 150 20'/%3E%3Ccircle cx='430' cy='300' r='40'/%3E%3Ccircle cx='430' cy='300' r='70'/%3E%3Ccircle cx='130' cy='90' r='30'/%3E%3C/g%3E%3C/svg%3E");
}

body {
	font-family: var(--ol-body);
	color: var(--ol-ink);
	background: var(--ol-paper);
	font-size: 17px;
	line-height: 1.65;
}
html, body { overflow-x: clip; }

h1, h2, h3, h4, .main-title {
	font-family: var(--ol-display);
	text-wrap: balance;
}

a { color: var(--ol-oak-dark); }
a:hover, a:focus { color: var(--ol-forest); }

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

/* ---------- GeneratePress header + nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(var(--ol-shade), .97);
	color: var(--ol-paper);
	border-bottom: 1px solid rgba(255,255,255,.08);
	transition: box-shadow .3s, background-color .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); background: var(--ol-forest-deep); }
.site-header .inside-header { padding-block: 16px; transition: padding .3s var(--ol-ease); }
.site-header.is-scrolled .inside-header { padding-block: 8px; }

.main-title { margin: 0; line-height: 1.1; }
.main-title a, .main-title a:hover {
	color: var(--ol-paper);
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	font-size: 24px;
}
.main-title a span { color: var(--ol-oak); }
.site-description {
	color: var(--ol-on-dark-muted);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 4px 0 0;
}

.site-header .main-navigation,
.site-header .main-navigation .inside-navigation,
.site-header .main-navigation ul ul,
.site-header .main-navigation .main-nav ul li:not(.ol-nav-cta) a { background-color: transparent; }
.site-header .main-navigation .main-nav ul li a {
	color: var(--ol-paper);
	font-family: var(--ol-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	position: relative;
}
.site-header .main-navigation .main-nav ul li:not(.ol-nav-cta) > a::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 6px;
	height: 2px;
	background: var(--ol-oak);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ol-ease);
}
.site-header .main-navigation .main-nav ul li:not(.ol-nav-cta):hover > a { color: var(--ol-oak-bright); }
.site-header .main-navigation .main-nav ul li:not(.ol-nav-cta):hover > a::after { transform: scaleX(1); }
.site-header .main-navigation .main-nav ul li.ol-nav-cta > a {
	background: var(--ol-oak);
	color: var(--ol-ink);
	border-radius: var(--ol-radius);
	line-height: 44px;
	padding-inline: 22px;
	margin-left: 10px;
	transition: background-color .2s, transform .2s;
}
.site-header .main-navigation .main-nav ul li.ol-nav-cta > a:hover { background: var(--ol-oak-bright); color: var(--ol-ink); transform: translateY(-1px); }

/* Desktop: centre the menu against the title + tagline block, and give every item the same height. */
@media (min-width: 769px) {
	.site-header .inside-header { display: flex; align-items: center; justify-content: space-between; }
	.site-header .main-navigation { margin-left: auto; }
	.site-header .main-navigation .inside-navigation,
	.site-header .main-navigation .main-nav > ul { display: flex; align-items: center; }
	.site-header .main-navigation .main-nav > ul > li > a,
	.site-header .main-navigation .main-nav ul li.ol-nav-cta > a { line-height: 44px; }
}
.menu-toggle, .main-navigation .menu-toggle { color: var(--ol-paper); background: transparent; }
.main-navigation.toggled .main-nav > ul { background: var(--ol-forest-deep); }

/* ---------- Full-width pages: escape GP's boxed container ---------- */
.ol-wide .site.grid-container { max-width: none; }
.ol-wide .site-content { display: block; padding: 0; }
.ol-wide .site-main { margin: 0; }

.ol-wrap {
	max-width: var(--ol-wrap);
	margin-inline: auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ol-band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.ol-dark {
	background-color: var(--ol-forest-deep);
	background-image: var(--ol-topo);
	background-size: 600px 600px;
	color: var(--ol-on-dark);
}
.ol-dark .ol-h2 { color: var(--ol-paper); }
.ol-dark .ol-eyebrow { color: var(--ol-oak-bright); }

.ol-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ol-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ol-oak-dark);
	margin: 0 0 14px;
}
.ol-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}
.ol-h2 {
	font-size: clamp(32px, 4.2vw, 50px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--ol-forest);
	margin: 0 0 18px;
}
.ol-lede { color: var(--ol-muted); max-width: 60ch; margin: 0; font-size: 18px; }

.ol-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ol-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 28px;
	border-radius: var(--ol-radius);
	border: 2px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ol-ease), box-shadow .2s;
	cursor: pointer;
}
.ol-btn--primary { background: var(--ol-oak); color: var(--ol-ink); }
.ol-btn--primary:hover, .ol-btn--primary:focus {
	background: var(--ol-oak-bright);
	color: var(--ol-ink);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(201,138,61,.35);
}
.ol-btn--ghost { border-color: rgba(255,255,255,.7); color: var(--ol-paper); }
.ol-btn--ghost:hover, .ol-btn--ghost:focus { background: var(--ol-paper); color: var(--ol-forest); }

/* ---------- Hero ---------- */
.ol-hero {
	position: relative;
	color: var(--ol-paper);
	background: var(--ol-forest-deep);
	isolation: isolate;
	overflow: hidden;
}
.ol-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: 45% 50% / cover no-repeat;
	animation: ol-kenburns 22s ease-out both;
	will-change: transform;
}
/* Same breakpoints as oak_lodge_hero_sizes() in functions.php. */
.ol-hero__bg--main { background-image: url("assets/img/hero-900.webp"); }
@media (min-width: 700px) { .ol-hero__bg--main { background-image: url("assets/img/hero-1600.webp"); } }
@media (min-width: 1700px) { .ol-hero__bg--main { background-image: url("assets/img/hero-2400.webp"); } }
.ol-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(var(--ol-shade), .93) 0%, rgba(var(--ol-shade), .72) 45%, rgba(var(--ol-shade), .15) 100%),
		linear-gradient(0deg, rgba(var(--ol-shade), .55) 0%, rgba(var(--ol-shade), 0) 45%);
}
.ol-hero__inner { padding-block: clamp(80px, 11vw, 150px) clamp(110px, 12vw, 170px); }
.ol-hero .ol-eyebrow { color: var(--ol-oak-bright); }
.ol-hero h1 {
	font-size: clamp(42px, 6.8vw, 84px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
	max-width: 13ch;
	color: var(--ol-paper);
}
.ol-hero h1 em { font-style: normal; color: var(--ol-oak); }
.ol-hero p { font-size: 19px; max-width: 48ch; color: var(--ol-on-dark); margin: 0 0 32px; }
.ol-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Load sequence for the hero copy. */
.ol-hero__inner > * { animation: ol-rise .9s var(--ol-ease) both; }
.ol-hero__inner > :nth-child(2) { animation-delay: .12s; }
.ol-hero__inner > :nth-child(3) { animation-delay: .24s; }
.ol-hero__inner > :nth-child(4) { animation-delay: .36s; }
.ol-hero__inner > :nth-child(5) { animation-delay: .5s; }

.ol-ratebar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(48px, 7vw, 88px) 0 0;
	border-top: 1px solid rgba(255,255,255,.22);
}
.ol-ratebar > div { padding: 20px 20px 0 0; }
.ol-ratebar dt {
	font-family: var(--ol-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ol-on-dark-muted);
}
.ol-ratebar dd {
	margin: 4px 0 0;
	font-family: var(--ol-display);
	font-weight: 800;
	font-size: clamp(24px, 3vw, 36px);
	font-variant-numeric: tabular-nums;
}
.ol-ratebar dd small { font-size: 14px; font-weight: 600; color: var(--ol-on-dark-muted); margin-left: 4px; }

/* Rolling Somerset hill-line where the hero meets the page. */
.ol-hills {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: clamp(50px, 7vw, 110px);
	display: block;
	pointer-events: none;
}
.ol-hills .ol-hill-back { fill: var(--ol-moss); opacity: .55; }
.ol-hills .ol-hill-front { fill: var(--ol-paper); }

/* ---------- Pitches ---------- */
.ol-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.ol-pitches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ol-pitch {
	display: flex;
	flex-direction: column;
	background: var(--ol-paper);
	border: 1px solid var(--ol-line);
	border-radius: var(--ol-radius);
	overflow: hidden;
	transition: transform .35s var(--ol-ease), box-shadow .35s var(--ol-ease);
}
.ol-pitch:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(var(--ol-shade), .14); }
.ol-pitch__img { overflow: hidden; }
.ol-pitch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s var(--ol-ease); }
.ol-pitch:hover img { transform: scale(1.06); }
.ol-pitch__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.ol-pitch h3 { font-size: 22px; font-weight: 800; color: var(--ol-forest); margin: 0; }
.ol-pitch p { color: var(--ol-muted); margin: 0; font-size: 16px; }
.ol-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--ol-line);
	font-family: var(--ol-display);
	font-variant-numeric: tabular-nums;
}
.ol-price strong { font-size: 40px; font-weight: 800; color: var(--ol-forest); line-height: 1; }
.ol-price span { color: var(--ol-muted); font-size: 14px; font-weight: 600; }
.ol-price a { margin-left: auto; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.ol-price a::after { content: " \2192"; display: inline-block; transition: transform .2s; }
.ol-price a:hover::after { transform: translateX(4px); }

/* ---------- Sauna ---------- */
.ol-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ol-split > * { min-width: 0; }
.ol-frame { position: relative; }
.ol-frame::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--ol-oak);
	border-radius: var(--ol-radius);
	z-index: 0;
}
.ol-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--ol-radius); display: block; }
.ol-sauna p { margin: 0 0 18px; max-width: 52ch; }
.ol-ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.ol-ticks li { position: relative; padding-left: 30px; }
.ol-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 16px;
	height: 9px;
	border-left: 3px solid var(--ol-oak);
	border-bottom: 3px solid var(--ol-oak);
	transform: rotate(-45deg);
}

/* ---------- Campfire band (fixed background photo) ---------- */
.ol-fire {
	position: relative;
	color: var(--ol-paper);
	text-align: center;
	background: var(--ol-forest-deep) center / cover no-repeat fixed;
	isolation: isolate;
}
.ol-fire::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at center, rgba(var(--ol-shade), .45) 0%, rgba(var(--ol-shade), .85) 75%);
}
.ol-fire .ol-wrap { padding-block: clamp(90px, 13vw, 170px); }
.ol-fire blockquote {
	margin: 0 auto 28px;
	padding: 0;
	border: 0;
	max-width: 22ch;
	font-family: var(--ol-display);
	font-size: clamp(30px, 4.6vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	font-style: normal;
	color: var(--ol-paper);
}
.ol-fire blockquote span { color: var(--ol-oak-bright); }

/* ---------- The site ---------- */
.ol-site { background: var(--ol-sage); }
.ol-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ol-forest); }
.ol-facts > div { padding: 24px 24px 0 0; }
.ol-facts h3 { font-size: 18px; font-weight: 800; color: var(--ol-forest); margin: 0 0 6px; }
.ol-facts p { margin: 0; color: var(--ol-muted); font-size: 16px; }

.ol-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 230px 230px;
	gap: 14px;
	margin-top: 56px;
}
.ol-gallery figure { margin: 0; overflow: hidden; border-radius: var(--ol-radius); }
.ol-gallery figure:first-child { grid-row: span 2; }
.ol-gallery figure:last-child { grid-column: span 2; }
.ol-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ol-ease); }
.ol-gallery figure:hover img { transform: scale(1.06); }

/* ---------- Booking ---------- */
.ol-book__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.ol-book__grid > * { min-width: 0; }
.ol-book .ol-lede { color: var(--ol-on-dark-muted); }
.ol-form {
	background: var(--ol-paper);
	color: var(--ol-ink);
	border-radius: var(--ol-radius);
	padding: clamp(22px, 3vw, 36px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.ol-form .ol-full { grid-column: 1 / -1; }
.ol-form > * { min-width: 0; }
.ol-form label {
	display: block;
	font-family: var(--ol-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ol-forest);
	margin-bottom: 6px;
}
.ol-form input[type="text"],
.ol-form input[type="email"],
.ol-form input[type="tel"],
.ol-form input[type="date"],
.ol-form input[type="number"],
.ol-form select,
.ol-form textarea {
	width: 100%;
	background: var(--ol-paper);
	color: var(--ol-ink);
	border: 1px solid #bcc6b6;
	border-radius: 6px;
	padding: 12px 14px;
	font: inherit;
	font-size: 16px;
	transition: border-color .2s, box-shadow .2s;
}
.ol-form input, .ol-form select, .ol-form textarea {
	box-sizing: border-box;
	display: block;
	min-width: 0;
	max-width: 100%;
}
.ol-form input[type="date"] { min-height: 50px; }
.ol-form input:focus, .ol-form select:focus, .ol-form textarea:focus {
	border-color: var(--ol-oak-dark);
	box-shadow: 0 0 0 3px rgba(201,138,61,.25);
	outline: none;
}
.ol-form fieldset { border: 0; margin: 0; padding: 0; }
.ol-form legend {
	font-family: var(--ol-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ol-forest);
	margin-bottom: 8px;
}
.ol-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ol-choice { position: relative; }
.ol-choice input { position: absolute; opacity: 0; inset: 0; }
.ol-choice label {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px;
	border: 2px solid var(--ol-line);
	border-radius: 6px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	transition: border-color .2s, background-color .2s;
}
.ol-choice label:hover { border-color: var(--ol-oak); }
.ol-choice label b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ol-choice input:checked + label { border-color: var(--ol-oak-dark); background: #f6ead8; }
.ol-choice input:focus-visible + label { outline: 3px solid var(--ol-oak); outline-offset: 2px; }
.ol-check { display: flex; gap: 10px; align-items: flex-start; }
.ol-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ol-oak-dark); flex: none; }
.ol-check label { text-transform: none; letter-spacing: 0; font-family: var(--ol-body); font-size: 16px; font-weight: 400; color: var(--ol-ink); margin: 0; }
.ol-hp { position: absolute; left: -9999px; }

.ol-summary {
	position: sticky;
	top: 110px;
	background: var(--ol-forest);
	border: 1px solid rgba(255,255,255,.1);
	color: var(--ol-on-dark);
	border-radius: var(--ol-radius);
	padding: 28px;
}
.ol-summary h3 { color: var(--ol-paper); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.ol-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-variant-numeric: tabular-nums; }
.ol-summary dt { color: var(--ol-on-dark-muted); }
.ol-summary dd { margin: 0; text-align: right; color: var(--ol-paper); font-weight: 600; }
.ol-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid rgba(255,255,255,.2);
	margin-top: 18px;
	padding-top: 18px;
	font-family: var(--ol-display);
}
.ol-total strong { font-size: 44px; color: var(--ol-oak-bright); font-variant-numeric: tabular-nums; transition: transform .25s var(--ol-ease); }
.ol-total strong.is-bump { transform: scale(1.08); }
.ol-summary p { font-size: 14px; margin: 16px 0 0; color: var(--ol-on-dark-muted); }

.ol-notice {
	border-radius: var(--ol-radius);
	padding: 18px 22px;
	margin-bottom: 24px;
	font-weight: 600;
}
.ol-notice--ok { background: #e1f1dc; color: #1d4a1a; border: 1px solid #a8d39c; }
.ol-notice--err { background: #fbe7e2; color: #7a2214; border: 1px solid #eeb0a3; }

/* ---------- Inner pages ---------- */
.ol-pagehead {
	position: relative;
	color: var(--ol-paper);
	background: var(--ol-forest-deep);
	isolation: isolate;
	overflow: hidden;
}
.ol-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(var(--ol-shade), .94) 0%, rgba(var(--ol-shade), .78) 55%, rgba(var(--ol-shade), .45) 100%);
}
.ol-pagehead__inner { padding-block: clamp(56px, 8vw, 104px) clamp(90px, 10vw, 140px); }
.ol-pagehead__inner > * { animation: ol-rise .8s var(--ol-ease) both; }
.ol-pagehead__inner > :nth-child(2) { animation-delay: .1s; }
.ol-pagehead__inner > :nth-child(3) { animation-delay: .2s; }
.ol-pagehead .ol-eyebrow { color: var(--ol-oak-bright); }
.ol-pagehead h1 {
	font-size: clamp(38px, 5.6vw, 66px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--ol-paper);
	margin: 0 0 16px;
	max-width: 18ch;
}
.ol-pagehead p { font-size: 19px; color: var(--ol-on-dark); max-width: 56ch; margin: 0; }

.ol-band--tight { padding-block: clamp(40px, 6vw, 80px); }
.ol-h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--ol-forest); margin: 0 0 12px; line-height: 1.15; }
.ol-small { font-size: 14px; color: var(--ol-muted); margin: 0; }

.ol-prose { max-width: 72ch; }
.ol-split .ol-prose { max-width: none; }
.ol-prose h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--ol-forest); margin: 40px 0 12px; line-height: 1.15; }
.ol-prose h2:first-child, .ol-prose > :first-child { margin-top: 0; }
.ol-prose p, .ol-prose ul { margin: 0 0 16px; }
.ol-prose ul { padding-left: 22px; }
.ol-prose li { margin-bottom: 6px; }
.ol-prose li::marker { color: var(--ol-oak); }
.ol-prose details {
	border: 1px solid var(--ol-line);
	border-radius: var(--ol-radius);
	background: var(--ol-paper);
	margin-bottom: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.ol-prose details[open] { border-color: var(--ol-oak); box-shadow: 0 10px 24px rgba(var(--ol-shade), .08); }
.ol-prose summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 52px 18px 20px;
	font-family: var(--ol-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--ol-forest);
	position: relative;
}
.ol-prose summary::-webkit-details-marker { display: none; }
.ol-prose summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	color: var(--ol-oak-dark);
	transition: transform .25s var(--ol-ease);
}
.ol-prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ol-prose details > :not(summary) { padding: 0 20px; }
.ol-prose details > :last-child { padding-bottom: 6px; }
.ol-updated { margin-top: 40px !important; font-size: 14px; color: var(--ol-muted); }

/* Gaps the owner still needs to fill in. */
.ol-todo { background: #fbecc8; color: #6b4310; padding: 1px 6px; border-radius: 4px; }

.ol-split--top { align-items: start; }
.ol-address { font-style: normal; font-size: 20px; line-height: 1.5; margin: 0 0 20px; }
.ol-postcode {
	display: flex;
	width: fit-content;
	flex-direction: column;
	gap: 2px;
	padding: 14px 20px;
	margin-bottom: 24px;
	border-radius: var(--ol-radius);
	background: var(--ol-sage);
	border: 1px solid var(--ol-line);
}
.ol-postcode span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ol-muted); }
.ol-postcode strong { font-family: var(--ol-display); font-size: 32px; color: var(--ol-forest); letter-spacing: .04em; }

.ol-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.ol-contact > * { min-width: 0; }
.ol-dl { margin: 0 0 28px; display: grid; gap: 18px; }
.ol-dl dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ol-muted); }
.ol-dl dd { margin: 2px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.ol-dl address { font-style: normal; }
.ol-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ol-btn--outline { border-color: var(--ol-forest); color: var(--ol-forest); }
.ol-btn--outline:hover, .ol-btn--outline:focus { background: var(--ol-forest); color: var(--ol-paper); }
.ol-form--card { border: 1px solid var(--ol-line); box-shadow: 0 20px 40px rgba(var(--ol-shade), .08); }

.ol-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ol-forest); }
.ol-rules > div { padding: 24px 28px 8px 0; }
.ol-rules h3 { font-size: 18px; font-weight: 800; color: var(--ol-forest); margin: 0 0 6px; }
.ol-rules p { margin: 0; color: var(--ol-muted); font-size: 16px; }

.ol-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ol-links a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	border: 1px solid var(--ol-line);
	border-radius: var(--ol-radius);
	text-decoration: none;
	transition: transform .25s var(--ol-ease), border-color .25s;
}
.ol-links a:hover { transform: translateY(-4px); border-color: var(--ol-oak); }
.ol-links strong { font-family: var(--ol-display); font-size: 20px; color: var(--ol-forest); }
.ol-links span { color: var(--ol-muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer .site-info { background: var(--ol-ink); color: var(--ol-on-dark-muted); font-size: 14px; }
.site-footer .site-info a { color: var(--ol-oak-bright); }
.ol-footer { border-top: 1px solid rgba(255,255,255,.08); }
.ol-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding-block: 64px; }
.ol-footer__grid > * { min-width: 0; }
.ol-footer address { font-style: normal; font-size: 15px; margin: 0 0 10px; line-height: 1.6; }
.ol-footer p a { overflow-wrap: anywhere; }
.ol-footer h3 { color: var(--ol-paper); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.ol-footer p { margin: 0 0 6px; font-size: 15px; }
.ol-footer a { color: var(--ol-oak-bright); text-decoration: none; }
.ol-footer .ol-brand { font-family: var(--ol-display); font-weight: 800; font-size: 26px; color: var(--ol-paper); text-transform: uppercase; }
.ol-footer .ol-brand span { color: var(--ol-oak); }

/* ---------- Scroll reveal ----------
   Only applies once JS has added .ol-js, so the page is fully readable without it. */
.ol-js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ol-ease), transform .8s var(--ol-ease);
	transition-delay: var(--d, 0s);
}
.ol-js [data-reveal="left"] { transform: translateX(-36px); }
.ol-js [data-reveal="right"] { transform: translateX(36px); }
.ol-js [data-reveal="zoom"] { transform: scale(.96); }
.ol-js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes ol-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
@keyframes ol-kenburns {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.ol-pitches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ol-pitches .ol-pitch:last-child { grid-column: 1 / -1; }
	.ol-split, .ol-book__grid { grid-template-columns: minmax(0, 1fr); }
	.ol-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ol-summary { position: static; }
	.ol-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ol-frame::before { inset: 12px -12px -12px 12px; }
	.ol-contact { grid-template-columns: minmax(0, 1fr); }
	.ol-rules, .ol-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.ol-hero h1 { font-size: 40px; }
	.ol-hero p { font-size: 17px; }
	.ol-ratebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ol-pitches, .ol-facts, .ol-form, .ol-footer__grid, .ol-rules, .ol-links { grid-template-columns: minmax(0, 1fr); }
	.ol-pagehead h1 { font-size: 36px; }
	.ol-pagehead p { font-size: 17px; }
	.ol-pitches .ol-pitch:last-child { grid-column: auto; }
	.ol-choices { grid-template-columns: minmax(0, 1fr); }
	.ol-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 200px 140px 140px; }
	.ol-gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; }
	.ol-gallery figure:last-child { grid-column: 1 / -1; }
	.ol-frame::before { display: none; }
}
/* Fixed backgrounds are janky or unsupported on touch devices. */
@media (hover: none) {
	.ol-fire { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ol-js [data-reveal] { opacity: 1; transform: none; }
	.ol-fire { background-attachment: scroll; }
}
