/*
Theme Name: Obsidian Drive
Theme URI: https://example.com/obsidian-drive
Author: Obsidian Drive
Description: A dark, modern luxury theme for chauffeur, limousine and taxi companies. Built around the RideStage booking plugin: the home page opens with the animated booking form, followed by services, a live fleet, standards, testimonials, questions and a call to action. Includes one-click demo content under Appearance → Obsidian setup.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obsidian-drive
Tags: dark, one-column, wide-blocks, custom-logo, custom-menu, editor-style, featured-images, block-patterns, translation-ready
*/

/*
 * Layout concept: a night drive in a black car. Obsidian surfaces, ivory type, brass hairlines.
 * Serif display (Bodoni Moda) for the voice, a quiet grotesk for reading, a mono for labels —
 * the same mono the RideStage meter uses, so the form and the site read as one.
 */
:root {
	--ink: #0c0c0e;
	--ink-2: #141417;
	--ink-3: #1c1c21;
	--ivory: #f1ece2;
	--ivory-2: rgba(241, 236, 226, .78);
	--stone: #a39d90;
	--brass: #c9a45c;
	--champ: #e6cf9f;
	--line: rgba(241, 236, 226, .11);
	--line-2: rgba(241, 236, 226, .22);

	--f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;

	--content: 760px;
	--wide: 1240px;
	--gutter: clamp(18px, 4vw, 48px);
	--section: clamp(80px, 11vw, 150px);
	--header: 78px;
	--ease: cubic-bezier(.6, 0, .2, 1);
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ink);
	color: var(--ivory);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body::before { /* film grain */
	content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--brass); color: var(--ink); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--champ); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--champ); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.od-skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--brass); color: var(--ink); }
.od-skip:focus { top: 12px; }

.od-icon { flex: none; }

/* ---------- labels ---------- */
.od-eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
	margin-bottom: 22px;
}
.od-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.od-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- buttons ---------- */
.od-btn, .wp-block-button__link, .od-search button, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 28px; border: 1px solid var(--brass); border-radius: 0;
	background: var(--brass); color: var(--ink);
	font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
	cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.od-btn:hover, .wp-block-button__link:hover, .od-search button:hover, .comment-form .submit:hover { background: var(--champ); border-color: var(--champ); color: var(--ink); }
.od-btn--line, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--champ); border-color: var(--brass); }
.od-btn--line:hover, .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--brass); color: var(--ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.od-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--champ); }
.od-link .od-icon { transition: transform .3s var(--ease); }
.od-link:hover .od-icon { transform: translateX(4px); }

/* ---------- header ---------- */
.od-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.admin-bar .od-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .od-header { top: 46px; } }
.od-header.is-scrolled, .od-nav-open .od-header, body:not(.is-front) .od-header { background: rgba(12, 12, 14, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.od-header__inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--header); display: flex; align-items: center; gap: 32px; }
.od-header__brand { flex: none; }
.od-wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--ivory); line-height: 1; gap: 6px; }
.od-wordmark__main { font-family: var(--f-display); font-size: 21px; letter-spacing: .26em; text-transform: uppercase; }
.od-wordmark__sub { font-family: var(--f-mono); font-size: 9px; letter-spacing: .38em; text-transform: uppercase; color: var(--brass); }
.od-wordmark:hover { color: var(--ivory); }
.custom-logo { max-height: 48px; width: auto; display: block; }

.od-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 32px; }
.od-menu { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.od-menu li { position: relative; }
.od-menu a { display: block; padding: 8px 0; color: var(--ivory-2); text-decoration: none; font-size: 14px; letter-spacing: .02em; position: relative; }
.od-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.od-menu a:hover, .od-menu .current-menu-item > a, .od-menu .current_page_item > a { color: var(--ivory); }
.od-menu a:hover::after, .od-menu .current-menu-item > a::after, .od-menu .current_page_item > a::after { transform: scaleX(1); }
.od-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: -18px; min-width: 220px; padding: 10px 18px; margin: 0; background: var(--ink-2); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s; }
.od-menu li:hover > .sub-menu, .od-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.od-nav__extra { display: flex; align-items: center; gap: 22px; }
.od-nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--ivory-2); text-decoration: none; }
.od-nav__phone .od-icon { color: var(--brass); }
.od-header .od-btn { padding: 11px 18px; font-size: 11px; }
.od-burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); color: var(--ivory); cursor: pointer; }
.od-burger__close { display: none; }
.od-nav-open .od-burger__open { display: none; }
.od-nav-open .od-burger__close { display: inline-flex; }

@media (max-width: 1080px) {
	.od-nav__phone span { display: none; }
}
@media (max-width: 960px) {
	.od-burger { display: inline-flex; }
	.od-nav {
		position: fixed; inset: var(--header) 0 0; z-index: 49; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 24px var(--gutter) 40px; background: var(--ink); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .od-nav { top: calc(var(--header) + 46px); }
	.od-nav-open .od-nav { opacity: 1; visibility: visible; transform: none; }
	.od-nav-open { overflow: hidden; }
	.od-menu { flex-direction: column; gap: 0; }
	.od-menu a { font-family: var(--f-display); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ivory); }
	.od-menu a::after { display: none; }
	.od-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 0 16px; }
	.od-menu .sub-menu a { font-size: 20px; }
	.od-nav__extra { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; }
	.od-nav__phone span { display: inline; }
	.od-nav__phone { font-size: 15px; }
	.od-header .od-btn { padding: 16px; }
}

/* ---------- content flow ---------- */
.od-main { min-height: 60vh; }
.od-flow > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.od-flow > .alignwide { max-width: var(--wide); }
.od-flow > .alignfull { max-width: none; }
.od-flow > :not(.alignfull) { padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.od-flow > .wp-block-columns:not(.alignfull) { box-sizing: border-box; max-width: calc(var(--content) + 2 * var(--gutter)); }
.od-flow > .wp-block-columns.alignwide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.od-flow > * + * { margin-top: 1.4em; }
.od-flow > .alignfull + .alignfull { margin-top: 0; }
.entry-content { padding-bottom: var(--section); }
.od-front .entry-content { padding-bottom: 0; }

/* sections: full-bleed bands whose inner content sits on the wide grid */
.od-hero, .od-section, .od-proof, .od-cta, .od-stack { position: relative; padding: var(--section) var(--gutter); }
.od-hero > *, .od-section > *, .od-proof > *, .od-cta > *, .od-stack > * { width: 100%; max-width: var(--wide); margin-left: auto; margin-right: auto; }
.od-hero > * + *, .od-section > * + *, .od-stack > * + * { margin-top: 0; }
.od-section--raised { background: var(--ink-2); border-block: 1px solid var(--line); }
.od-title { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 20px; max-width: 18ch; }
.od-intro, .od-lede { color: var(--stone); font-size: 1.12rem; }
/* text with its own measure still starts on the wide grid's left edge */
.od-hero > .od-display, .od-hero > .od-lede, .od-section > .od-title, .od-section > .od-intro, .od-stack > .od-title {
	margin-left: max(0px, calc((100% - var(--wide)) / 2));
	margin-right: auto;
}
.od-section > .od-intro, .od-hero > .od-lede { max-width: 56ch; }
.od-section > .od-intro { margin-bottom: 56px; }
.od-note { color: var(--stone); font-size: .9rem; }

/* ---------- hero ---------- */
.od-hero {
	padding-top: calc(var(--header) + clamp(48px, 9vw, 120px));
	padding-bottom: clamp(60px, 8vw, 110px);
	background:
		radial-gradient(70% 60% at 85% 0%, rgba(201, 164, 92, .16), transparent 70%),
		linear-gradient(180deg, rgba(12, 12, 14, .55) 0%, rgba(12, 12, 14, .82) 45%, var(--ink) 78%),
		url("assets/demo/night-trails.jpg") center top / cover no-repeat;
	isolation: isolate;
}
.od-display { font-size: clamp(3.4rem, 9.5vw, 8.6rem); line-height: .9; letter-spacing: -.03em; margin: 0 0 28px; max-width: 12ch; }
.od-display em { padding-right: .04em; }
.od-hero .od-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ivory-2); margin-bottom: 0; }
.od-booking { margin-top: clamp(44px, 6vw, 72px) !important; position: relative; }
.od-booking::before { content: ""; position: absolute; inset: -1px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 21px; pointer-events: none; transform: translate(10px, 10px); z-index: -1; }
.od-booking .rs-app .rs-shell { box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9); }
@keyframes od-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.od-hero .od-eyebrow, .od-hero .od-display, .od-hero .od-lede, .od-hero .od-booking { animation: od-rise 1s var(--ease) both; }
.od-hero .od-display { animation-delay: .08s; }
.od-hero .od-lede { animation-delay: .16s; }
.od-hero .od-booking { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) { .od-hero * { animation: none !important; } }
.od-booking-fallback { padding: 32px; border: 1px solid var(--line-2); background: var(--ink-2); }
.od-booking-fallback__phone a { font-family: var(--f-display); font-size: 2rem; text-decoration: none; }

/* ---------- key figures ---------- */
.od-proof { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(201, 164, 92, .05), transparent 60%); }
.od-proof__grid { gap: 0 !important; }
.od-proof__grid > .wp-block-column { padding: 6px 28px; border-left: 1px solid var(--line); }
.od-proof__grid > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.od-figure { font-family: var(--f-display); font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; color: var(--champ); margin-bottom: 12px; font-variant-numeric: lining-nums; }
.od-figure__label { font-size: .9rem; color: var(--stone); max-width: 26ch; margin: 0; }
@media (max-width: 781px) {
	.od-proof__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px 0 !important; }
	.od-proof__grid > .wp-block-column { padding: 0 18px; }
	.od-proof__grid > .wp-block-column:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- services ---------- */
.od-services { gap: 1px !important; background: var(--line); border: 1px solid var(--line); margin-bottom: 0 !important; }
.od-services + .od-services { border-top: 0; }
.od-services > .wp-block-column { background: var(--ink); }
.od-service { height: 100%; padding: 40px 34px 36px; position: relative; transition: background-color .35s; }
.od-service::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.od-service:hover { background: var(--ink-2); }
.od-service:hover::before { transform: scaleX(1); }
.od-service__kind { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 26px; }
.od-service__title { font-size: 1.85rem; margin-bottom: 14px; }
.od-service p:last-child { color: var(--stone); margin: 0; font-size: .98rem; }

/* ---------- fleet ---------- */
.od-fleet__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.od-fleet__filters button { padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 99px; background: none; color: var(--ivory-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.od-fleet__filters button:hover { border-color: var(--brass); color: var(--ivory); }
.od-fleet__filters button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.od-fleet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.od-vehicle { background: var(--ink); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 6px; transition: background-color .3s; }
.od-vehicle[hidden] { display: none; }
.od-vehicle:hover { background: var(--ink-3); }
.od-vehicle__art { padding: 8px 6px 18px; }
.od-car { width: 100%; height: auto; overflow: visible; transition: transform .7s var(--ease); }
.od-vehicle:hover .od-car { transform: translateX(8px); }
.od-car .b { fill: #18181c; stroke: var(--brass); stroke-width: .7; }
.od-car .g { fill: rgba(230, 207, 159, .16); }
.od-car .w { fill: var(--ink); stroke: var(--stone); stroke-width: .8; }
.od-car .s { fill: var(--champ); }
.od-car .r { stroke: var(--line-2); stroke-width: .6; stroke-dasharray: 4 3; }
.od-vehicle__class { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin: 0; }
.od-vehicle__name { font-size: 1.7rem; margin: 4px 0 2px; }
.od-vehicle__note { color: var(--stone); font-size: .92rem; margin: 0; }
.od-vehicle__spec { display: flex; gap: 22px; margin: 14px 0 6px; }
.od-vehicle__spec div { display: flex; align-items: center; gap: 8px; }
.od-vehicle__spec dt { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--stone); }
.od-vehicle__spec dt .od-icon { width: 16px; height: 16px; color: var(--brass); }
.od-vehicle__spec dd { margin: 0; font-family: var(--f-mono); font-size: 13px; }
.od-vehicle__price { margin: auto 0 14px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 1.6rem; color: var(--champ); line-height: 1.2; }
.od-vehicle__price span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); vertical-align: middle; margin-right: 4px; }
.od-vehicle__price small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--stone); margin-top: 4px; }

/* ---------- split rows (image + text) ---------- */
.od-split { gap: clamp(32px, 6vw, 96px) !important; align-items: center !important; margin-bottom: 0 !important; }
.od-split + .od-split { margin-top: var(--section) !important; }
.od-split--even { align-items: flex-start !important; }
.od-photo { margin: 0; position: relative; }
.od-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.od-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(201, 164, 92, .4); z-index: -1; }
.od-stack .od-photo img { aspect-ratio: 5 / 4; }
.od-stack .od-split:nth-child(even) > .wp-block-column:first-child { order: 2; }
.od-stack .od-split:nth-child(even) .od-photo::after { inset: 18px 18px -18px -18px; }
.od-checks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.od-checks li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); color: var(--ivory-2); }
.od-checks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }
.od-checks strong { color: var(--ivory); font-weight: 600; }

/* ---------- quotes ---------- */
.wp-block-quote { margin: 0; padding: 0; border: 0; }
.wp-block-quote p { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; }
.wp-block-quote cite { display: block; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.od-voices { gap: 1px !important; background: var(--line); border: 1px solid var(--line); margin-top: 48px !important; }
.od-voices > .wp-block-column { background: var(--ink-2); padding: 44px 36px 38px; position: relative; }
.od-voices > .wp-block-column::before { content: "\201C"; position: absolute; top: 4px; left: 30px; font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--brass); opacity: .5; }
.od-voices .wp-block-quote p { font-size: 1.22rem; margin-top: 30px; }
.od-stack > .wp-block-quote, .od-flow > .wp-block-quote { text-align: center; margin-top: var(--section) !important; margin-bottom: var(--section) !important; }
.od-stack > .wp-block-quote p, .od-flow > .wp-block-quote p { font-size: clamp(1.7rem, 3.4vw, 2.7rem); max-width: 26ch; margin-left: auto; margin-right: auto; }
.od-prose .wp-block-quote { text-align: left; margin: 2.2em 0 !important; padding-left: 28px; border-left: 1px solid var(--brass); }
.od-prose .wp-block-quote p { font-size: 1.6rem; max-width: none; }

/* ---------- questions ---------- */
.od-faq { gap: clamp(32px, 6vw, 96px) !important; margin-bottom: 0 !important; }
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; }
.wp-block-details:first-child { border-top: 1px solid var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.3; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) center / 1px 100% no-repeat; transition: transform .35s var(--ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > p { color: var(--stone); padding-bottom: 24px; margin: 0; max-width: 60ch; }

.od-contact { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.od-contact div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.od-contact dt { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.od-contact dt .od-icon { color: var(--brass); width: 18px; height: 18px; }
.od-contact dd { margin: 0; }
.od-contact a { text-decoration: none; color: var(--ivory); }
.od-contact a:hover { color: var(--champ); }
@media (max-width: 520px) { .od-contact div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- call to action ---------- */
.od-cta {
	text-align: center;
	background:
		linear-gradient(180deg, var(--ink) 0%, rgba(12, 12, 14, .6) 35%, rgba(12, 12, 14, .7) 70%, var(--ink) 100%),
		url("assets/demo/champagne-bokeh.jpg") center / cover no-repeat;
}
.od-cta .od-eyebrow { justify-content: center; }
.od-cta .od-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.od-cta .od-title { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.od-cta .wp-block-buttons { justify-content: center; }

/* ---------- page headers ---------- */
.od-pagehead { position: relative; padding: calc(var(--header) + clamp(60px, 9vw, 130px)) var(--gutter) clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 90% 0%, rgba(201, 164, 92, .12), transparent 70%); overflow: hidden; }
.od-pagehead__inner { max-width: var(--wide); margin: 0 auto; position: relative; z-index: 1; }
.od-pagehead__title { font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: .95; letter-spacing: -.025em; max-width: 16ch; margin-bottom: 20px; }
.od-pagehead__lede { color: var(--ivory-2); font-size: 1.2rem; max-width: 52ch; margin: 0; }
.od-pagehead--image .od-pagehead__bg { position: absolute; inset: 0; }
.od-pagehead--image .od-pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.od-pagehead--post { border-bottom: 0; }
.od-pagehead--post .od-pagehead__inner { max-width: var(--content); }
.od-pagehead--post .od-pagehead__title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: none; }
.od-pagehead .od-search { margin-top: 28px; }
.od-404 { min-height: 70vh; border-bottom: 0; }
.od-404 .od-btn { margin-top: 28px; }
.od-pagehead + .entry-content { padding-top: clamp(48px, 6vw, 80px); }
.od-pagehead + .entry-content > .alignfull:first-child { margin-top: calc(-1 * clamp(48px, 6vw, 80px)); }

/* ---------- journal ---------- */
.od-meta { display: flex; gap: 16px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin: 0 0 14px; }
.od-meta span::before { content: "·"; margin-right: 16px; color: var(--brass); }
.od-wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) var(--section); }
.od-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 56px 32px; }
.od-card__media { display: block; overflow: hidden; margin-bottom: 22px; background: var(--ink-2); }
.od-card__media img, .od-card__blank { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.od-card:hover .od-card__media img { transform: scale(1.04); }
.od-card__title { font-size: 1.7rem; line-height: 1.15; margin-bottom: 10px; }
.od-card__title a { color: var(--ivory); text-decoration: none; }
.od-card__title a:hover { color: var(--champ); }
.od-card__excerpt { color: var(--stone); font-size: .98rem; margin: 0; }
.od-post__cover { margin: 0 auto clamp(48px, 6vw, 80px); max-width: calc(var(--wide) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.od-post__cover img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.od-prose { font-size: 1.1rem; }
.od-prose > p { color: var(--ivory-2); }
.od-prose h3 { font-size: 1.9rem; margin-top: 1.6em; }
.od-prose ul { padding-left: 1.2em; }
.od-prose li { margin-bottom: .5em; color: var(--ivory-2); }
.od-prose li::marker { color: var(--brass); }
.od-post__foot { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter) var(--section); }
.od-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.od-postnav span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.od-postnav a { font-family: var(--f-display); font-size: 1.25rem; color: var(--ivory); text-decoration: none; }
.od-postnav__next { text-align: right; grid-column: 2; }
.od-tags a { display: inline-block; margin: 0 8px 8px 0; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; text-decoration: none; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 64px; }
.nav-links .page-numbers { padding: 10px 16px; border: 1px solid var(--line-2); color: var(--ivory); text-decoration: none; font-family: var(--f-mono); font-size: 12px; }
.nav-links .current { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.od-empty { text-align: center; color: var(--stone); padding: 60px 0; }

/* search & comments */
.od-search { display: flex; gap: 0; max-width: 520px; }
.od-search input { flex: 1; min-width: 0; padding: 15px 18px; background: var(--ink-2); border: 1px solid var(--line-2); border-right: 0; color: var(--ivory); font: inherit; }
.od-search input:focus { outline: none; border-color: var(--brass); }
.od-empty .od-search { margin: 24px auto 0; }
.od-comments { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter) var(--section); }
.od-comments__list { list-style: none; padding: 0; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; background: var(--ink-2); border: 1px solid var(--line-2); color: var(--ivory); font: inherit; }

/* core blocks on inner pages */
.wp-block-image img { display: block; }
.wp-block-image figcaption { color: var(--stone); font-size: .85rem; margin-top: 10px; }
.wp-block-separator { border-top: 1px solid var(--line); margin: 3em auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }

/* ---------- footer ---------- */
.od-footer { border-top: 1px solid var(--line); background: #08080a; }
.od-footer__inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 8vw, 100px) var(--gutter) 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 48px; }
.od-footer__note { color: var(--stone); font-size: .95rem; max-width: 32ch; margin-top: 22px; }
.od-footer__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.od-footer__col { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; color: var(--ivory-2); }
.od-footer__col p { margin: 0; }
.od-footer__col a { color: var(--ivory-2); text-decoration: none; }
.od-footer__col a:hover { color: var(--champ); }
.od-footer__big { font-family: var(--f-display); font-size: 1.6rem; color: var(--ivory) !important; margin-bottom: 4px; }
.od-footer__menu, .od-footer .od-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.od-footer .od-menu a { padding: 0; font-family: inherit; font-size: inherit; border: 0; }
.od-footer .od-menu a::after { display: none; }
.od-social { display: flex; gap: 10px; margin-top: 24px; }
.od-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--ivory-2); }
.od-social a:hover { border-color: var(--brass); color: var(--champ); }
.od-footer__base { max-width: var(--wide); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid var(--line); width: calc(100% - 2 * var(--gutter)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.od-footer__base p { margin: 0; }
@media (max-width: 900px) { .od-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .od-footer__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- small screens ---------- */
@media (max-width: 781px) {
	.od-split > .wp-block-column:first-child { order: 0 !important; }
	.od-photo::after { inset: 12px -10px -12px 10px !important; }
	.od-services > .wp-block-column { flex-basis: 100% !important; }
	.od-service { padding: 30px 24px; }
	.od-booking::before { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.od-hero { padding-left: 12px; padding-right: 12px; }
	.od-hero > .od-eyebrow, .od-hero > .od-display, .od-hero > .od-lede { padding-left: 6px; padding-right: 6px; }
}

/* WordPress alignment helpers */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { color: var(--stone); font-size: .85rem; }
.sticky, .bypostauthor { }
