/* =========================================================
   Ophir Global — design tokens & global styles
   Source: Framer design reference (Section 5 of migration plan)
   ========================================================= */

:root {
	--ophir-bg: #FCFAF7;
	--ophir-tint-bg: #F5F1EA;
	--ophir-text: #131313;
	--ophir-text-muted: #5f5a52;
	--ophir-text-faint: #8a8378;
	--ophir-accent: #FF9500;
	--ophir-accent-dark: #E68600;
	--ophir-border: #e7e2da;
	--ophir-card-bg: #ffffff;

	--ophir-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ophir-font-accent: 'Libre Caslon Text', Georgia, serif;

	--ophir-container: 1240px;
	--ophir-radius: 14px;
	--ophir-gap: 24px;
	--ophir-header-h: 96px;

	/* Cruise News / Newsletter card palette - aliased to the site's primary
	   orange accent (not a separate brand color), shared by
	   page-cruise-news.php, single-cruise-news.php and single-newsletter.php. */
	--cruise-accent: var(--ophir-accent);
	--cruise-accent-dark: var(--ophir-accent-dark);
	--cruise-tint: #faf3ea;
	--cruise-mint: #fdefdc;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--ophir-bg);
	color: var(--ophir-text);
	font-family: var(--ophir-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
	max-width: var(--ophir-container);
	margin: 0 auto;
	padding: 0 24px;
}


.item-container {
	max-width: 1420px;
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 0 0; }

h1, h2, h3, h4 {
	margin: 0 0 16px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.01em;
}

h1 { font-size: 60px; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 28px; }

p { margin: 0 0 16px; color: var(--ophir-text-muted); }

.accent {
	font-family: var(--ophir-font-accent);
	font-style: italic;
	font-weight: 400;
	color: var(--ophir-text);
}
.Italic_white {
	font-family: var(--ophir-font-accent);
	font-style: italic;
	font-weight: 400;
	color: #fff;
}

/* Buttons: filled pill (form submits) vs plain leading-arrow link
   (every in-page CTA in the source is a plain text link, arrow first) */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--ophir-text);
	color: #fff;
	transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { color: var(--ophir-accent-dark); transform: translateY(-1px); }

.btn--link,
.btn--arrow {
	background: none;
	color: var(--ophir-text);
	padding: 0;
	border-radius: 0;
}
.btn--link::before,
.btn--arrow::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: var(--ophir-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.15s ease;
}
.btn--link:hover::before,
.btn--arrow:hover::before { transform: translateX(3px); }

/* =========================================================
   Header / nav
   ========================================================= */
/* Every page shares the same header: fixed to the viewport, starting fully
   transparent and crossfading to a solid/blurred bar once scrolled. */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: transparent;
	border-bottom: 1px solid transparent;
	backdrop-filter: none;
	box-shadow: 0 8px 24px -8px rgba(19, 19, 19, 0);
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
	background: rgba(245, 241, 234, 0.9);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--ophir-border);
	box-shadow: 0 8px 24px -8px rgba(19, 19, 19, 0.12);
}
.site-header__inner {
	max-width: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 40px;
}
.site-logo { color: var(--ophir-text); }
.site-logo svg { display: block; }
.site-logo svg, .site-logo .site-logo__icon { transition: fill 0.3s ease, color 0.3s ease; }
.primary-nav__list {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 500;
}
.primary-nav__list a:hover { color: var(--ophir-accent); }

.primary-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	padding: 0;
}
.primary-nav__toggle:hover { color: var(--ophir-accent); }
.primary-nav__toggle::after {
	content: "";
	width: 9px;
	height: 9px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.menu-item-has-children:hover .primary-nav__toggle::after,
.menu-item-has-children:focus-within .primary-nav__toggle::after,
.menu-item-has-children.is-open .primary-nav__toggle::after {
	transform: rotate(180deg);
}

/* padding-bottom (not a margin-top on .sub-menu) creates the visual gap
   below the trigger, because a margin would sit outside the li's own box -
   empty space the mouse has to cross with nothing under the pointer to
   keep :hover active, closing the dropdown before it's reached. Padding
   keeps that gap inside the hoverable/focusable box, so the panel stays
   open the whole way down. */
.primary-nav__list .menu-item-has-children { position: relative; padding-bottom: 12px; }
.primary-nav__list .sub-menu {
	display: none;
	flex-direction: column;
	gap: 4px;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 8px;
	min-width: 200px;
	list-style: none;
	background: var(--ophir-bg);
	border: 1px solid var(--ophir-border);
	border-radius: 8px;
	box-shadow: 0 12px 24px -8px rgba(19, 19, 19, 0.12);
	z-index: 10;
}
.primary-nav__list .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	white-space: nowrap;
}
.primary-nav__list .sub-menu a:hover { background: var(--ophir-border); color: inherit; }
.primary-nav__list .menu-item-has-children:hover .sub-menu,
.primary-nav__list .menu-item-has-children:focus-within .sub-menu,
.primary-nav__list .menu-item-has-children.is-open .sub-menu {
	display: flex;
}

/* Only the homepage sits over a dark/orange hero, so only there does the
   logo need to start pure white (the accent-orange icon would otherwise
   vanish against the orange panel) - it fades back to its normal colors
   once the scrolled state kicks in, same as every other page. */
@media (min-width: 961px) {
	.site-header--hero .site-logo { color: #fff; }
	.site-header--hero .site-logo__icon { fill: #fff; }
	.site-header--hero.is-scrolled .site-logo { color: var(--ophir-text); }
	.site-header--hero.is-scrolled .site-logo__icon { fill: var(--ophir-accent); }
}
@media (max-width: 860px) {
	.site-header__inner { padding: 20px 24px; }
}

/* The header is fixed and out of the document flow on every page, so
   content needs its own top padding to avoid sitting underneath it. The
   homepage is the exception - its hero already reserves this space itself
   (see .hero__content) - and on mobile the header drops to position:static
   (see the max-width:960px block below), which reserves its own space. */
#main-content { padding-top: var(--ophir-header-h); }
.is-front-page #main-content { padding-top: 0; }
@media (max-width: 960px) {
	#main-content { padding-top: 0; }
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	background: none;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	padding: 8px;
	transition: background-color 0.25s ease;
}
.nav-toggle:hover { background-color: var(--ophir-border); }
.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--ophir-text);
	border-radius: 2px;
	transform-origin: center;
	transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	border-top: 1px solid transparent;
	background: var(--ophir-bg);
	box-shadow: 0 16px 32px -12px rgba(19, 19, 19, 0);
	border-radius: 0 0 var(--ophir-radius) var(--ophir-radius);
	transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-open .mobile-nav {
	max-height: 600px;
	opacity: 1;
	border-top-color: var(--ophir-border);
	box-shadow: 0 16px 32px -12px rgba(19, 19, 19, 0.16);
}
.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mobile-nav > ul { padding: 16px 24px 24px; }
.mobile-nav .primary-nav__list > li {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.site-header.is-open .mobile-nav .primary-nav__list > li {
	opacity: 1;
	transform: none;
}
.mobile-nav .primary-nav__list > li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav .primary-nav__list > li:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav .primary-nav__list > li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav .primary-nav__list > li:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav .primary-nav__list > li:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav .primary-nav__list > li:nth-child(6) { transition-delay: 0.38s; }
.mobile-nav .primary-nav__list > li > a,
.mobile-nav .primary-nav__list > li > .primary-nav__toggle {
	position: relative;
	display: inline-flex;
	padding: 6px 0 6px 14px;
	font-size: 1.05rem;
	transition: color 0.2s ease;
}
.mobile-nav .primary-nav__list > li > a::before,
.mobile-nav .primary-nav__list > li > .primary-nav__toggle::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 3px;
	border-radius: 2px;
	background: var(--ophir-accent);
	transform: scaleY(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}
.mobile-nav .primary-nav__list > li > a:hover,
.mobile-nav .primary-nav__list > li > .primary-nav__toggle:hover,
.mobile-nav .primary-nav__list > li.is-open > .primary-nav__toggle {
	color: var(--ophir-accent);
}
.mobile-nav .primary-nav__list > li > a:hover::before,
.mobile-nav .primary-nav__list > li > .primary-nav__toggle:hover::before,
.mobile-nav .primary-nav__list > li.is-open > .primary-nav__toggle::before {
	transform: scaleY(1);
}
.mobile-nav .sub-menu {
	position: static;
	max-height: 0;
	opacity: 0;
	margin: 0;
	padding-left: 14px;
	min-width: 0;
	background: none;
	border: 0;
	box-shadow: none;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}
.mobile-nav .menu-item-has-children.is-open .sub-menu {
	max-height: 200px;
	opacity: 1;
	margin-top: 8px;
}
.mobile-nav .sub-menu a { font-size: 0.95rem; color: var(--ophir-text-muted); }
.mobile-nav .sub-menu a:hover { color: var(--ophir-accent); }

@media (max-width: 860px) {
	.primary-nav { display: none; }
	.nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
	.nav-toggle span,
	.mobile-nav,
	.mobile-nav .primary-nav__list > li,
	.mobile-nav .sub-menu,
	.primary-nav__toggle::after {
		transition: none !important;
	}
}

/* =========================================================
   Hero — split orange/cream panels, header floats on top
   ========================================================= */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: 47% 53%;
}
.hero__visual {
	position: relative;
	overflow: hidden;
}
.hero__visual img {
	display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    corner-shape: inherit;
    object-position: center;
    object-fit: cover;
}
.hero__content {
	background: var(--ophir-bg);
	display: flex;
	flex-direction: column;
	padding: calc(var(--ophir-header-h) + 40px) 64px 64px;
}
.hero__eyebrow { color: var(--ophir-text); letter-spacing: -0.01em; margin-bottom: 40px; }
.hero__lede {font-weight: 500; margin-bottom: 30px; }

/* Scoped heading sizes for split-block hero/section intros on non-homepage
   pages, matched against the source's actual computed type scale (56px/40px)
   rather than the larger global h1/h2 tuned for the homepage's full-bleed hero. */
.about-heading { font-size: 56px; font-weight: 600; line-height: 1.07; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-subheading { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }

@media (max-width: 960px) {
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__visual { min-height: 320px; }
	.hero__content { padding: 32px 24px 48px; }
	.site-header { position: static; }
}

/* Homepage first fold: hero + capability strip fill exactly one viewport
   on desktop (no scroll to see both), then the rest of the page scrolls
   in normally below. Mobile keeps natural document flow. */
@media (min-width: 961px) {
	.home-viewport {
		height: 100vh;
		height: 100dvh;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}
	.home-viewport .hero {
		flex: 1 1 auto;
		min-height: 0;
	}
	.home-viewport .section--tight {
		flex: 0 0 auto;
		padding: 28px 0;
	}
}

/* =========================================================
   Capability number strip (below hero)
   ========================================================= */
.cap-strip {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	background: var(--ophir-bg);
}
.cap-strip__item { padding: 0; }
.cap-strip__num { display: block; color: var(--ophir-accent); font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.cap-strip__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cap-strip__item p { font-size: 0.9rem; margin: 0; }
@media (max-width: 960px) { .cap-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cap-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Two-column heading/body layout (Disciplines, FAQ intro)
   ========================================================= */
.split-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.split-block h1, .split-block h2 { max-width: 485px; }
@media (max-width: 860px) { .split-block { grid-template-columns: 1fr; gap: 24px; } }

.split-block--intro { margin-bottom: 48px; }
.split-block--intro h2 .accent { display: block; }

/* Capability cards: full-bleed photo behind left-aligned text, matching
   source images which already have blank space built in on the left. */
.capability-grid {
	display: grid;
	gap: var(--ophir-gap);
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) { .capability-grid { grid-template-columns: 1fr; } }

.capability-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-height: 260px;
	padding: 32px;
	border-radius: var(--ophir-radius);
	overflow: hidden;
	background: var(--ophir-bg);
}
.capability-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.capability-card > :not(.capability-card__bg) { position: relative; z-index: 1; }
.capability-card h3 { font-size: 1.3rem; margin: 0; }
.capability-card p { margin: 0; max-width: 320px; }

/* On phones the overlaid photo has no room to breathe behind the text, so
   stack text above the image instead of layering them. */
@media (max-width: 640px) {
	.capability-card {
		align-items: flex-start;
		justify-content: flex-start;
		min-height: 0;
		padding: 20px;
	}
	.capability-card__bg {
		position: static;
		order: 5;
		width: 100%;
		height: 280px;
		object-fit: cover;
		object-position: right center;
		border-radius: calc(var(--ophir-radius) - 4px);
		margin-top: 4px;
	}
}

/* Industries grid: full-bleed photo tiles, title always visible, description
   and a +/- icon revealed on hover (matches source interaction). */
.industry-grid {
	display: grid;
	gap: var(--ophir-gap);
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
	.industry-grid { grid-template-columns: 1fr; }
	.industry-card__bg { object-position: right center; }
}
.industry-card--full { grid-column: 1 / -1; }

.industry-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 320px;
	padding: 24px;
	border-radius: var(--ophir-radius);
	overflow: hidden;
	color: #fff;
}
.industry-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.industry-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
	z-index: 1;
	transition: background 0.25s ease;
}
.industry-card:hover::after { background: rgba(0, 0, 0, 0.55); }
.industry-card__title { position: relative; z-index: 2; font-size: 1.15rem; margin: 0; }
.industry-card__desc {
	position: absolute;
	z-index: 2;
	top: 24px;
	left: 24px;
	right: 64px;
	margin: 0;
	color: #fff;
	font-size: 0.9rem;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.industry-card:hover .industry-card__desc { opacity: 1; transform: none; }
.industry-card__icon {
	position: absolute;
	z-index: 2;
	top: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(245, 241, 234, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ophir-text);
	font-size: 1.2rem;
	line-height: 1;
}
.industry-card__icon::before { content: "+"; }
.industry-card:hover .industry-card__icon::before { content: "\2212"; }

/* "Built across industries" proof band: white card, image left, copy right. */
.proof-band {
	display: grid;
	grid-template-columns: minmax(320px, 480px) 1fr;
	gap: 56px;
	align-items: center;
	background: var(--ophir-card-bg);
	border-radius: var(--ophir-radius);
	padding: 40px 56px 40px 40px;
	margin: 48px 0;
	box-shadow: 0 1px 2px rgba(19, 19, 19, 0.06);
}
.proof-band__image { border-radius: calc(var(--ophir-radius) - 4px); overflow: hidden; aspect-ratio: 4 / 3; }
.proof-band__image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	corner-shape: inherit;
	object-position: 69.2% 18.8%;
	object-fit: cover;
}
.proof-band__content { text-align: left; }
.proof-band__content h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0 0 24px; }
.proof-band__content h3 .accent { display: block; }
@media (max-width: 760px) {
	.proof-band { grid-template-columns: 1fr; padding: 24px; margin: 24px 0; gap: 24px; }
	.proof-band__content { text-align: center; }
}

/* About: stat pair (People connected / Locations) - source renders the
   figures in the accent serif, black (not the orange sans used for the
   homepage's counter), with a divider rule between the two columns. */
.stat-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(160px, auto));
	gap: 48px;
}
@media (max-width: 640px) { .stat-pair { grid-template-columns: 1fr; gap: 24px; } }

.stat-pair .stat__num {
	font-family: var(--ophir-font-accent);
	font-style: normal;
	font-weight: 400;
	color: var(--ophir-accent);
	font-size: 3.5rem;
}
.stat-pair > div:not(:first-child) { border-left: 1px solid var(--ophir-border); padding-left: 48px; }
@media (max-width: 640px) { .stat-pair > div:not(:first-child) { border-left: 0; padding-left: 0; } }

/* About: location list as a bordered grid/table, matching source */
.location-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ophir-border);
}
.location-list li {
	position: relative;
	padding: 20px 16px 20px 32px;
	font-weight: 700;
	border-right: 1px solid var(--ophir-border);
	border-bottom: 1px solid var(--ophir-border);
}
.location-list li:nth-child(5n) { border-right: 0; }
.location-list li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ophir-accent);
}
@media (max-width: 860px) {
	.location-list { grid-template-columns: repeat(3, 1fr); }
	.location-list li:nth-child(5n) { border-right: 1px solid var(--ophir-border); }
	.location-list li:nth-child(3n) { border-right: 0; }
}
@media (max-width: 560px) {
	.location-list { grid-template-columns: repeat(2, 1fr); }
	.location-list li:nth-child(3n) { border-right: 1px solid var(--ophir-border); }
	.location-list li:nth-child(2n) { border-right: 0; }
}

/* About: leadership grid - open (borderless) 2-column layout */
.leader-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px var(--ophir-gap);
}
@media (max-width: 640px) { .leader-grid { grid-template-columns: 1fr; } }

.leader-card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
	background: var(--ophir-tint-bg);
	border-radius: 8px;
	padding: 24px;
}
.leader-card .card__image {
	width: 175px;
	flex: 0 0 175px;
	border-radius: 4px;
	box-shadow: none;
}
.leader-card .card__image img { filter: brightness(0.85) grayscale(1); }
.leader-card__text { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 480px) { .leader-card { flex-direction: column; } .leader-card .card__image { width: 100%; flex-basis: auto; height: auto; } }
.leader-card__name { margin: 12px 0 0; font-size: 1.25rem; font-weight: 500; color: var(--ophir-text); }
.leader-card__role { color: var(--ophir-text-faint); font-weight: 600; font-size: 1rem; margin: 0; }
.leader-card__location { color: var(--ophir-text-faint); font-weight: 500; font-size: 0.75rem; margin: 0; }
.leader-card__bio { color: var(--ophir-text); font-weight: 500; font-size: 0.75rem; line-height: 1.35; margin: 4px 0 0; }

/* =========================================================
   Grids / cards
   ========================================================= */
.grid {
	display: grid;
	gap: var(--ophir-gap);
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
	background: var(--ophir-card-bg);
	border: 1px solid var(--ophir-border);
	border-radius: var(--ophir-radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.card__num { color: var(--ophir-accent); font-weight: 700; font-size: 0.9rem; }
.card__image {
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 4/3;
	box-shadow: 0 12px 32px rgba(19, 19, 19, 0.12);
	background: var(--ophir-tint-bg);
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .about-hero-image { aspect-ratio: 4/3 !important; } }
.card--muted {
	opacity: 0.55;
	cursor: default;
}

/* Work listing: borderless cards - the sketch/product images already have
   their tint background baked in, so the card itself has no box/border,
   matching the source (unlike the bordered .card used elsewhere). */
.work-grid {
	display: grid;
	gap: var(--ophir-gap);
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.work-card h3 { font-size: 1.3rem; margin: 0; }
.work-card p { flex: 1; margin: 0; }
.work-card .card__image { box-shadow: none; border-radius: 8px; }

/* Insights listing: same borderless-card pattern as Work, plus a
   tag+date meta row (small square marker, no pill background). */
.insight-grid {
	display: grid;
	gap: var(--ophir-gap);
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insight-grid { grid-template-columns: 1fr; } }

.insight-card { display: flex; flex-direction: column; gap: 10px; }
.insight-card .card__image { box-shadow: none; border-radius: 8px; }
.insight-card h3 { font-size: 1.2rem; margin: 0; }
.insight-card__meta { display: flex; align-items: center; justify-content: space-between; }
.insight-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--ophir-text);
}
.insight-card__tag::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: var(--ophir-accent); }
.insight-card__date { font-size: 0.75rem; font-weight: 500; color: var(--ophir-text-faint); }

/* Contact hero: dark card echoing the footer, in place of a second image */
.contact-card {
	background: #111111;
	color: #f4f1ec;
	border-radius: var(--ophir-radius);
	padding: 40px;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
}
.contact-card__logo { height: 32px; width: auto; filter: brightness(0) invert(1); }
.contact-card__label { display: block; color: #a9a29a; font-size: 0.85rem; margin-bottom: 4px; }
.contact-card__value { display: block; color: var(--ophir-accent); font-weight: 700; font-size: 1.3rem; }

/* Plain image + caption cards (Home "snapshot of our work") — no
   border/box, just a rounded thumbnail with heading/copy below it. */
.work-snapshot {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.work-snapshot__image {
	position: relative;
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 4/3;
}
.work-snapshot__image img { width: 100%; height: 100%; object-fit: cover; }
.work-snapshot h3 { font-size: 1.15rem; margin: 4px 0 0; }
.work-snapshot p { margin: 0; }

.work-snapshot__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 6px;
}
.work-snapshot__badge img { display: block; height: 32px; width: auto; }
.work-snapshot__badge--dark { background: #111111; }
.work-snapshot__badge--light { background: #fff; }

/* =========================================================
   Stats + client logo grid (two-column: logos left, copy right)
   ========================================================= */
.stats-block {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.stat__figure { line-height: 1;
	margin-bottom: 24px;

}
.stat__num {
	color: var(--ophir-accent);
	font-size: 40px;
	font-weight: 600;
}
.stat__unit {
	font-size: 40px;
	font-weight: 600;
	color: var(--ophir-text);
}
.stat__label {
	display: inline-block;
	margin-top: 8px;
	font-family: var(--ophir-font-accent);
	font-style: italic;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	color: var(--ophir-text);
}
@media (max-width: 860px) { .stats-block { grid-template-columns: 1fr; gap: 32px; } }

.logo-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	align-items: center;
}
.logo-strip img { height: 44px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; }
@media (max-width: 640px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Capability tab switcher (Home): numbered vertical list on the
   left, thumbnail in the middle, copy panel on the right.
   ========================================================= */
.tabs-intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.tabs-intro h2 { max-width: none; }

.tab-layout {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.tabs__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tabs__list button {
	display: flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: 0;
	padding: 0;
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	color: var(--ophir-text-faint);
	text-align: left;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.tabs__num { color: var(--ophir-accent); font-weight: 700;  flex: none; }
.tabs__list button.is-active,
.tabs__list button:hover { color: var(--ophir-text); }

.tab-layout__image {
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 2/2.9;
}
.tab-layout__image img { width: 100%; height: 100%; object-fit: cover; }
.tab-layout__image video {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: 50% 50%;
	background-color: transparent;
	cursor: auto;
}

.tabs__panel { display: none; }
.tabs__panel.is-active {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: stretch;
}
.tabs__panel h3 { font-size: 1.4rem; }

.tab-layout__content {
	background: var(--ophir-tint-bg);
	border-radius: var(--ophir-radius);
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tab-layout__content p:last-of-type { margin-bottom: 32px; }
.tabs__lede { color: var(--ophir-text); font-weight: 500; }

@media (max-width: 960px) {
	.tab-layout { grid-template-columns: 1fr; }
	.tabs__list { flex-direction: row; flex-wrap: wrap; gap: 20px; }
	.tabs__panel.is-active { grid-template-columns: 1fr; }
	.tab-layout__content { padding: 32px; }
}

.subnav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}
.subnav a {
	display: inline-block;
	border: 1px solid var(--ophir-border);
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 0.9rem;
}
.subnav a.is-current { background: var(--ophir-accent); color: #fff; border-color: var(--ophir-accent); }

/* =========================================================
   FAQ accordion (Home + Contact) — boxed rows with shadow
   ========================================================= */
.faq { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
	background: var(--ophir-card-bg);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(19, 19, 19, 0.06);
}
.faq__question {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 22px 24px;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.faq__question::after {
	content: "+";
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f3ede2;
	color: var(--ophir-accent);
	font-size: 1.2rem;
}
.faq__item.is-open .faq__question::after { content: "\2212"; }
.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}
.faq__item.is-open .faq__answer { max-height: 400px; }
.faq__answer p { padding: 0 24px 22px; margin: 0; }

/* =========================================================
   CTA banner — large centered italic serif statement
   ========================================================= */
.cta-banner { padding: 120px 0; text-align: center; }
.cta-banner__inner h2 {
	margin: 0 auto 32px;
	max-width: 900px;
	font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}
.cta-banner__inner .btn { font-size: 1rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #111111; color: #f4f1ec; padding: 72px 0 32px; }
.site-footer a { color: #f4f1ec; font-weight: 600; text-decoration: none; }
.site-footer h3 { font-size: 0.95rem; font-weight: 400; text-transform: none; letter-spacing: normal; color: #8f8b85; margin-bottom: 20px; }
.site-footer__grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 48px;
}
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__logo { margin-bottom: 32px; }
.site-footer__contact-item { margin-bottom: 24px; }
.site-footer__contact-label { display: block; color: #8f8b85; font-size: 0.85rem; font-weight: 400; margin-bottom: 6px; }
.site-footer a.site-footer__contact-value { color: var(--ophir-accent); font-weight: 700; font-size: 1.1rem; }
.site-footer__links { display: flex; gap: 96px; flex-wrap: wrap; }
.site-footer__col-block + .site-footer__col-block { margin-top: 32px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__legal { margin-top: 48px; border-top: 1px solid #2a2a2a; padding-top: 24px; color: #8f8b85; font-size: 0.85rem; }
@media (max-width: 640px) { .site-footer__links { gap: 40px; } }

/* =========================================================
   Scroll-reveal (see main.js)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   Case study / insight detail templates
   ========================================================= */

/* Hero stats grid (4 cards, tint background, orange figure + label) -
   scoped under .stats so it doesn't collide with the unrelated
   .stat__num/.stat__label styling used by the homepage stats-block. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.stats > div { display: grid; grid-row: span 4; grid-template-rows: subgrid; background: var(--ophir-tint-bg); border-radius: var(--ophir-radius); min-height: 260px; padding: 28px; text-align: center; }
.stats .stat__num { grid-row: 2; font-size: clamp(2.2rem, 3vw, 2.75rem); font-weight: 700; color: var(--ophir-accent); line-height: 1; margin-bottom: 12px; }
.stats .stat__label { grid-row: 3; display: block; font-family: var(--ophir-font-body); font-style: normal; font-size: 1.05rem; font-weight: 500; color: var(--ophir-text-muted); line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div { min-height: 200px; padding: 24px; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

.detail-hero { padding: 64px 0 32px; }
.detail-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: var(--ophir-border); border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 600; }
.detail-block { padding: 40px 0; }
.detail-block__video {
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	box-shadow: 0 12px 32px rgba(19, 19, 19, 0.12);
	max-width: 800px;
	margin: 0 auto;
}
.detail-block__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
/* These blocks show real product photos of varying proportions - use the
   image's own aspect ratio instead of the shared .card__image 4:3 crop so
   nothing gets cut off. */
.detail-block__grid .card__image { aspect-ratio: auto; }
.detail-block__grid .card__image img { width: 100%; height: auto; object-fit: contain; display: block; }
@media (max-width: 860px) {
	.detail-block__grid { grid-template-columns: 1fr; }
	/* Desktop alternates image-first/text-first per block; on mobile always
	   stack text before image regardless of source order. */
	.detail-block__grid .card__image { order: 2; }
}

/* Two-line block heading (sans-serif line + serif-italic accent line),
   used when a block supplies title_line1/title_line2 instead of a single
   title - matches the case study Framer reference. */
.detail-block__grid h2,
.detail-block--network h2 { display: flex; flex-direction: column; gap: 2px; }
.detail-block__line--accent { font-weight: 400; }
.detail-block__grid p,
.detail-network__intro p { font-size: 1.1rem; line-height: 1.6; font-weight: 500; }

/* Full-width "network" block (heading/body + inline mini-stats + a
   wrapping list of pill badges, e.g. a port network) - used when a block
   has no paired image (matches the case study Framer reference for this
   specific block). */
.detail-network__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .detail-network__intro { grid-template-columns: 1fr; } }
.detail-block--network h2 { align-items: flex-start; }
.detail-network__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	text-align: left;
	border-bottom: 1px solid var(--ophir-border);
	margin: 40px 0 0;
}
.detail-network__stat-num {
	font-family: var(--ophir-font-accent);
	font-style: normal;
	font-weight: 400;
	font-size: clamp(2.2rem, 4vw, 3rem);
	line-height: 1;
	margin-bottom: 8px;
	color: var(--ophir-accent);
}
.detail-network__stat { text-align: left; padding: 0 56px 32px 0; }
.detail-network__stat + .detail-network__stat { padding-left: 56px; border-left: 1px solid var(--ophir-border); }
.detail-network__stat p { margin: 0; max-width: 260px; color: var(--ophir-text-muted); }
/* Border pattern matches .location-list on the About page: no outer
   left/right border, just a top rule plus per-item right/bottom
   dividers with the border-right dropped on the last column so the
   grid reads flush with the container instead of a boxed-in table. */
.detail-network__pills {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--ophir-border);
}
.detail-network__pills .pill {
	border-right: 1px solid var(--ophir-border);
	border-bottom: 1px solid var(--ophir-border);
	border-radius: 0;
	background: transparent;
	justify-content: flex-start;
	padding: 22px 28px;
}
.detail-network__pills .pill:nth-child(5n) { border-right: 0; }
@media (max-width: 860px) {
	.detail-network__pills { grid-template-columns: repeat(3, 1fr); }
	.detail-network__pills .pill:nth-child(5n) { border-right: 1px solid var(--ophir-border); }
	.detail-network__pills .pill:nth-child(3n) { border-right: 0; }
}
@media (max-width: 560px) {
	.detail-network__stats { flex-direction: column; border-bottom: none; }
	.detail-network__stat { padding: 0 0 24px; border-bottom: 1px solid var(--ophir-border); }
	.detail-network__stat + .detail-network__stat { padding-left: 0; border-left: none; padding-top: 24px; }
	.detail-network__pills { grid-template-columns: repeat(2, 1fr); }
	.detail-network__pills .pill:nth-child(3n) { border-right: 1px solid var(--ophir-border); }
	.detail-network__pills .pill:nth-child(2n) { border-right: 0; }
}

/* Case study hero with pill-style tags below the title, a full-width
   cover image, a logo below it, and a two-column intro row (lede text on
   the left, tags wrapping and right-aligned on the right) - used when a
   case study supplies hero_image (matches the case study Framer reference).
   Falls back to the plain tags-above-title hero otherwise. */
.detail-hero__pills--below-title { margin-bottom: 16px; }
.detail-hero--cover h1 { max-width: 900px; margin-bottom: 32px; }
.detail-hero__cover {
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 31 / 15;
	margin-bottom: 40px;
	box-shadow: 0 12px 32px rgba(19, 19, 19, 0.12);
}
.detail-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__logo { display: block; width: 160px; height: auto; margin-bottom: 16px; }
.detail-hero__intro-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.detail-hero__intro-row .hero__lede { margin: 0; font-size: 1.2rem; max-width: 600px; }
.detail-hero__intro-row .detail-hero__pills { flex: none; justify-content: flex-end; max-width: 340px; }
.detail-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ophir-tint-bg);
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ophir-accent); flex: none; }
@media (max-width: 760px) {
	.detail-hero__intro-row { flex-direction: column; align-items: flex-start; }
	.detail-hero__intro-row .detail-hero__pills { justify-content: flex-start; max-width: 100%; }
	.detail-hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); overflow-wrap: break-word; }
}

/* Next-case-study card with an optional right-hand thumbnail. */
.next-case-study-heading { margin-bottom: 24px; font-size: 28px; }
.next-case-study { display: block; padding: 40px; background: var(--ophir-card-bg); border: 1px solid var(--ophir-border); border-radius: 8px; margin: 40px 0; }
.next-case-study--media { display: flex; align-items: stretch; gap: 32px; padding: 0; overflow: hidden; }
.next-case-study--media .next-case-study__text { flex: 1 1 0; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.next-case-study--media .next-case-study__media { flex: 1 1 0; }
.next-case-study--media .next-case-study__media img { width: 100%; height: 100%; object-fit: cover; }
.next-case-study__top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 24px; }
.next-case-study__client { color: var(--ophir-accent); font-weight: 600; }
.next-case-study__desc-row { display: flex; align-items: center; gap: 16px; }
.next-case-study__logo { height: 30px; width: auto; flex-shrink: 0; object-fit: contain; object-position: left center; }
.next-case-study__cta { padding-top: 24px; }
@media (max-width: 760px) {
	.next-case-study--media { flex-direction: column; }
	.next-case-study--media .next-case-study__media { aspect-ratio: 16/9; }
}

/* Capability detail hero — centered heading/lede over a single large,
   right-aligned image (matches the capability pages' Framer reference,
   distinct from the plain left-text/right-image .detail-block__grid hero
   used elsewhere). */
.detail-hero__intro {
	max-width: 620px;
	margin: 0 auto 56px;
	text-align: center;
	display: flex;
	flex-flow: column;
	place-content: center;
	align-items: center;
	gap: 32px;
	flex: 0 0 auto;
	height: min-content;
	width: 100%;
	padding: 0px;
	position: relative;
}
.detail-hero__intro h1 { max-width: none; white-space: nowrap; margin: 0; }
.detail-hero__intro .hero__lede { max-width: 100%; margin: 0; }
.detail-hero__image {
	margin-left: auto;
	width: min(560px, 60%);
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1.05;
	box-shadow: 0 12px 32px rgba(19, 19, 19, 0.12);
}
.detail-hero__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
	.detail-hero__intro { margin-bottom: 32px; }
	.detail-hero__intro h1 { white-space: normal; font-size: clamp(2rem, 9vw, 2.75rem); overflow-wrap: break-word; }
	.detail-hero__image { width: 100%; }
}

/* Capability detail "Risk reduced / Cost controlled" bento — each block is
   its own text+image row; odd rows flip visually (image on the left) via
   `order` so desktop still zigzags, while the DOM stays text-then-image so
   mobile always stacks as paragraph, image, paragraph, image. */
.detail-block--bento { padding: 8px 0 96px; border-top: 0; }
.detail-bento { display: flex; flex-direction: column; gap: 40px; }
.detail-bento__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 40px; align-items: center; }
.detail-bento__row--reverse .detail-bento__image { order: -1; }
.detail-bento__text { max-width: 100%; }
.detail-bento__text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.detail-bento__image { border-radius: var(--ophir-radius); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 12px 32px rgba(19, 19, 19, 0.12); }
.detail-bento__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
	.detail-bento__row { grid-template-columns: 1fr; }
	.detail-bento__row--reverse .detail-bento__image { order: 0; }
	.detail-bento__text { max-width: none; }
}

/* Core Capabilities tiles — full-bleed photo, title always visible,
   description revealed on hover with an orange tint (vs. the black
   gradient used by .industry-card), icon bottom-right. Falls back to the
   plain bordered .card when a capability item has no image assigned. */
.capability-tile-grid { display: grid; gap: var(--ophir-gap); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .capability-tile-grid { grid-template-columns: 1fr; } }
.capability-tile--wide { grid-column: 1 / -1; }

.capability-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 280px;
	padding: 24px;
	border-radius: var(--ophir-radius);
	overflow: hidden;
	color: #fff;
}
.capability-tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.capability-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
	z-index: 1;
	transition: background 0.25s ease, opacity 0.25s ease;
}
.capability-tile:hover::after { background: var(--ophir-accent); opacity: 0.93; }
.capability-tile__desc {
	position: absolute;
	z-index: 2;
	top: 24px;
	left: 24px;
	right: 64px;
	margin: 0;
	color: #fff;
	font-size: 0.9rem;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.capability-tile:hover .capability-tile__desc { opacity: 1; transform: none; }
.capability-tile__title { position: relative; z-index: 2; font-size: 1.15rem; margin: 0; }
.capability-tile__icon {
	position: absolute;
	z-index: 2;
	bottom: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(245, 241, 234, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ophir-text);
	font-size: 1.2rem;
	line-height: 1;
}
.capability-tile__icon::before { content: "+"; }
.capability-tile:hover .capability-tile__icon::before { content: "\2212"; }

/* =========================================================
   Legal / Terms of Service
   ========================================================= */
.legal-doc { max-width: 780px; }
.legal-doc h2 { font-size: 1.2rem; margin-top: 40px; }
.legal-doc p { color: var(--ophir-text); }

/* =========================================================
   Insight post detail - editorial (blog) hero, smaller/quieter
   than the marketing-page hero: small tag+date row, a compact
   title/intro split, a full-width cover image, then a narrow
   body column with an italic lead-in and closing statement.
   ========================================================= */
.detail-hero--post .split-block { gap: 40px; margin-bottom: 40px; }
.detail-hero--post h1 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); max-width: 420px; margin: 0; }
.detail-hero--post .hero__lede { font-size: 0.95rem; margin: 0; max-width: 360px; }
.insight-body__lead { font-size: 1.35rem; line-height: 1.45; margin-bottom: 24px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head .next-case-study-heading { margin-bottom: 0; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-form { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ophir-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
}
.contact-form .field--hidden { position: absolute; left: -9999px; }
.form-notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; }
.form-notice--success { background: #e7f4ea; color: #1e6b34; }
.form-notice--error { background: #fdeceb; color: #a3271b; }

/* =========================================================
   Newsletter archive (restyled chrome, existing data)
   ========================================================= */
.newsletter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ophir-gap); }
@media (max-width: 960px) { .newsletter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .newsletter-grid { grid-template-columns: 1fr; } }
.newsletter-card {
	position: relative;
	border-radius: var(--ophir-radius);
	overflow: hidden;
	aspect-ratio: 4/3;
	display: flex;
	align-items: flex-end;
	background: #222;
}
.newsletter-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.newsletter-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,0.85));
	z-index: 1;
}
.newsletter-card__label { position: relative; z-index: 2; color: #fff; font-weight: 600; padding: 20px; }
.newsletter-empty { padding: 64px 0; text-align: center; color: var(--ophir-text-muted); }

/* =========================================================
   Single cruise-news issue — dark hero, striped headline cards,
   sources roundup. Scoped teal palette (distinct from the site's
   orange accent) to match the cruise-news brand treatment.
   ========================================================= */
.cruise-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background: linear-gradient(160deg, #171310, #2b2620);
	background-size: cover;
	background-position: center;
	padding: calc(var(--ophir-header-h) + 32px) 48px 48px;
}
.cruise-hero--video { overflow: hidden; }
.cruise-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.cruise-hero--video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(23,19,16,0.72), rgba(43,38,32,0.72));
	z-index: 1;
}
.cruise-hero--video .container { position: relative; z-index: 2; }
.cruise-hero__eyebrow {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 16px;
}
.cruise-hero__title { color: #fff; font-weight: 800; font-size: 48px; margin: 0; }
.cruise-hero__lede { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 18px; margin: 16px 0 0; }

.cruise-headlines { background: var(--cruise-tint); padding: 96px 0; }
.cruise-headlines__title { color: var(--cruise-accent); font-weight: 800; font-size: 36px; margin: 0 0 24px; }
.cruise-headlines__list { display: flex; flex-direction: column; gap: 16px; }
.cruise-headlines__list > p {
	margin: 0;
	background: #fff;
	border-radius: var(--ophir-radius);
	padding: 20px 32px;
	font-weight: 700;
	font-size: 18px;
}
.cruise-headlines__list > p:nth-child(even) { background: var(--cruise-mint); }

/* One card list per named section ("Cruise Industry News", "Carnival &
   Princess Corporation", ...), each headline a real link to its source. */
.cruise-section { margin-bottom: 56px; }
.cruise-section:last-child { margin-bottom: 0; }
.cruise-section__title { color: var(--cruise-accent); font-weight: 800; font-size: 36px; margin: 0 0 24px; }
.cruise-section__list { display: flex; flex-direction: column; gap: 16px; }
.cruise-headline-card {
	display: block;
	background: #fff;
	border-radius: var(--ophir-radius);
	padding: 20px 32px;
	font-weight: 700;
	font-size: 18px;
	color: #171717;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(17,17,17,0.06);
	transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cruise-headline-card:hover,
.cruise-headline-card:focus-visible {
	background: var(--cruise-mint);
	box-shadow: 0 0 0 2px var(--cruise-accent) inset;
	transform: translateY(-2px);
}

/* Archive listing (page-cruise-news.php): same grid/card markup as the
   supply-chain-news archive, but a teal overlay + hover accent so it reads
   as the cruise-news brand rather than the site's generic dark card. */
.newsletter-card--cruise::before { background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,0.9)); }
.newsletter-card--cruise:hover { box-shadow: 0 0 0 2px var(--cruise-accent) inset; }
.newsletter-empty--cruise { color: var(--cruise-accent-dark); font-weight: 600; }

.cruise-sources { background: #fff; padding: 96px 0; }
.cruise-sources__body h2 { color: var(--cruise-accent-dark); font-weight: 800; font-size: 32px; margin: 0 0 24px; }
.cruise-sources__body h2 ~ h2 { margin-top: 40px; }
.cruise-sources__body ul { list-style: none; margin: 0; padding: 0; column-count: 3; column-gap: var(--ophir-gap); }
.cruise-sources__body ol { margin: 0; padding-left: 20px; column-count: 3; column-gap: var(--ophir-gap); }
.cruise-sources__body li { margin-bottom: 12px; break-inside: avoid; }
.cruise-sources__body a { color: var(--cruise-accent-dark); word-break: break-word; }
.cruise-sources__body a:hover { color: var(--cruise-accent); }

@media (max-width: 960px) {
	.cruise-hero__title { font-size: 36px; }
	.cruise-sources__body ul, .cruise-sources__body ol { column-count: 2; }
}
@media (max-width: 640px) {
	.cruise-hero { padding: calc(var(--ophir-header-h) + 24px) 24px 32px; min-height: 320px; }
	.cruise-headlines, .cruise-sources { padding: 64px 0; }
	.cruise-headlines__list > p { padding: 16px 24px; font-size: 16px; }
	.cruise-section { margin-bottom: 40px; }
	.cruise-section__title { font-size: 28px; }
	.cruise-headline-card { padding: 16px 24px; font-size: 16px; }
	.cruise-sources__body ul, .cruise-sources__body ol { column-count: 1; }
}

/* =========================================================
   Single newsletter issue (Supply Chain News) — editorial intro,
   per-section headline+summary cards, sources roundup. Same teal
   treatment as cruise-news since production uses one shared look
   for both.
   ========================================================= */
.newsletter-editorial { background: var(--cruise-accent); border-radius: var(--ophir-radius); padding: 40px 48px; margin: 48px 0; color: rgba(255,255,255,0.92); }
.newsletter-editorial h2 { color: #fff; font-weight: 800; font-size: 28px; margin: 0 0 16px; }
.newsletter-editorial p { margin: 0 0 16px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.newsletter-editorial p:last-child { margin-bottom: 0; }

.newsletter-section { margin: 48px 0; }
.newsletter-section__title { color: var(--cruise-accent); font-weight: 800; font-size: 32px; margin: 0 0 24px; }
.newsletter-section__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.newsletter-headline-card {
	display: block;
	background: var(--cruise-tint);
	border-radius: var(--ophir-radius);
	padding: 20px 24px;
	text-decoration: none;
	color: #171717;
	box-shadow: 0 1px 2px rgba(17,17,17,0.06);
	transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.newsletter-headline-card:hover,
.newsletter-headline-card:focus-visible {
	background: var(--cruise-mint);
	box-shadow: 0 0 0 2px var(--cruise-accent) inset;
	transform: translateY(-2px);
}
.newsletter-headline-card__title { display: block; font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.newsletter-headline-card__summary { margin: 0; padding-left: 18px; }
.newsletter-headline-card__summary li { margin-bottom: 6px; font-size: 14px; line-height: 1.5; color: #444; }
.newsletter-headline-card__summary li:last-child { margin-bottom: 0; }

.newsletter-sources h2 { color: var(--cruise-accent-dark); font-weight: 800; font-size: 32px; margin: 0 0 24px; }
.newsletter-sources ul { list-style: none; margin: 0; padding: 0; column-count: 3; column-gap: var(--ophir-gap); }
.newsletter-sources ol { margin: 0; padding-left: 20px; column-count: 3; column-gap: var(--ophir-gap); }
.newsletter-sources li { margin-bottom: 12px; break-inside: avoid; }
.newsletter-sources a { color: var(--cruise-accent-dark); word-break: break-word; }
.newsletter-sources a:hover { color: var(--cruise-accent); }

@media (max-width: 960px) {
	.newsletter-section__list { grid-template-columns: 1fr; }
	.newsletter-sources ul, .newsletter-sources ol { column-count: 2; }
}
@media (max-width: 640px) {
	.newsletter-editorial { padding: 24px; margin: 32px 0; }
	.newsletter-section { margin: 32px 0; }
	.newsletter-section__title { font-size: 26px; }
	.newsletter-sources ul, .newsletter-sources ol { column-count: 1; }
}

/* =========================================================
   Scroll-to-top button — fixed bottom-right. A circular progress
   ring (SVG stroke-dashoffset, driven from main.js) fills in around
   the button as the visitor scrolls down the page, so the button
   doubles as a read-progress indicator. Fades in/out via .is-visible
   (toggled from main.js based on scroll position) rather than
   unmounting, so the transition below actually gets to run.
   ========================================================= */
.scroll-nav {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
}
.scroll-top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.scroll-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}
.scroll-top__ring-track {
	fill: none;
	stroke: var(--ophir-border);
	stroke-width: 2;
}
.scroll-top__ring-progress {
	fill: none;
	stroke: var(--ophir-accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 153.94;
	stroke-dashoffset: 153.94;
	transition: stroke-dashoffset .1s linear;
}
.scroll-top__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff;
	background-color: var(--ophir-accent);
	border: 2px solid var(--ophir-accent);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(17,17,17,0.18);
	transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.scroll-top:hover .scroll-top__icon {
	background-color: #fff;
	color: var(--ophir-accent);
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(17,17,17,0.22);
}
.scroll-top:active .scroll-top__icon {
	transform: scale(0.96);
}

@media (max-width: 640px) {
	.scroll-nav { right: 16px; bottom: 16px; }
	.scroll-top { width: 46px; height: 46px; }
	.scroll-top__icon { width: 38px; height: 38px; }
}
