/*
Theme Name: Project Name Theme
Theme URI:
Author: Greg Dearham
Author URI:
Description: Custom theme for Kiffleads.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: project-name-theme
*/

/*
 * TABLE OF CONTENTS
 * ─────────────────────────────────────────────────────────────
 * 01. Custom Properties & Design Tokens
 * 02. Reset & Base
 * 03. Typography
 * 04. Layout Utilities
 * 05. Buttons & CTAs
 * 06. Header — Structure
 * 07. Header — Logo
 * 08. Header — Primary Navigation
 * 09. Header — Utility Actions
 * 10. Header — Hamburger Button
 * 11. Header — Scroll State
 * 12. Mobile Menu Overlay
 * 13. Fixed Social Bar
 * 14. Hero Section
 * 15. About Section
 * 16. Our Work Section
 * 17. Footer — Top (CTA + Columns + Contact)
 * 18. Footer — Marquee Headline
 * 19. Footer — Bottom Bar
 * 20. Light Mode Overrides
 * 21. Reduced Motion
 * 22. Responsive — Tablet (≤ 1024px)
 * 23. Responsive — Mobile (≤ 768px)
 * ─────────────────────────────────────────────────────────────
 */


/* ==========================================================================
   01. Custom Properties & Design Tokens
   ========================================================================== */

:root {
	/* — Palette — */
	--color-bg:          #0B0B0B;
	--color-surface:     #141414;
	--color-surface-2:   #1c1c1c;
	--color-border:      rgba(255, 255, 255, 0.07);
	--color-text:        #FFFFFF;
	--color-text-muted:  rgba(255, 255, 255, 0.42);
	--color-accent:      #00E5FF;   /* neon cyan */
	--color-accent-text: #000000;

	/* — Type — */
	--font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

	/* — Layout — */
	--header-height:  72px;
	--container-max:  1280px;
	--container-pad:  clamp(1.25rem, 4vw, 2.5rem);

	/* — Shape — */
	--radius-pill: 100px;
	--radius-md:   12px;
	--radius-sm:   6px;

	/* — Motion — */
	--ease-fast: 150ms ease;
	--ease-base: 250ms ease;
	--ease-slow: 400ms ease;

	/* — Z-index — */
	--z-social:      40;
	--z-header:      100;
	--z-mobile-menu: 200;
}


/* ==========================================================================
   02. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-top: var(--header-height);
}

/* ── Skip-to-content link (keyboard accessibility) ── */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	background-color: var(--color-accent);
	color: #000;
	font-weight: 600;
	font-size: 0.875rem;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	text-decoration: none;
	white-space: nowrap;
	transition: top 0.1s;
}

.skip-link:focus { top: 0; outline: none; }

/* ── Global focus-visible ring — keyboard indicator ── */
/* Respects pointer users (no ring on click), shows for keyboard/tab. */
:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* Inputs: swap outline for border+glow — cleaner inside form grid */
.cf-input:focus-visible,
.cf-textarea:focus-visible {
	outline: none;   /* border-color + box-shadow handle it */
}

body.menu-open { overflow: hidden; }

ul, ol { list-style: none; }

a {
	color: inherit;
	text-decoration: none;
}

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

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
}

address { font-style: normal; }


/* ==========================================================================
   03. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--color-text);
}

p { color: var(--color-text-muted); }


/* ==========================================================================
   04. Layout Utilities
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

.site-main { min-height: 60vh; }

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}


/* ==========================================================================
   05. Buttons & CTAs
   ========================================================================== */

.btn-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.65rem 1.4rem;
	background-color: var(--color-accent);
	color: var(--color-accent-text);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition:
		background-color var(--ease-base),
		box-shadow var(--ease-base),
		transform var(--ease-base);
}

.btn-cta:hover {
	background-color: #33EEFF;
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(0, 229, 255, 0.28);
}

.btn-cta:active {
	transform: translateY(0);
	box-shadow: none;
}

.btn-cta--lg {
	padding: 0.85rem 2rem;
	font-size: 1rem;
}

/* Dark variant (used in hero) */
.btn-cta--dark {
	background-color: var(--color-surface);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.btn-cta--dark:hover {
	background-color: var(--color-surface-2);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Plain text link with arrow */
.btn-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text-muted);
	transition: color var(--ease-base);
	cursor: pointer;
}

.btn-text-link:hover { color: var(--color-text); }

/* Nav badge — lime pill with count/label */
.nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	padding: 0 5px;
	background-color: var(--color-accent);
	color: #000;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0;
	border-radius: var(--radius-pill);
	margin-left: 4px;
	vertical-align: middle;
	line-height: 1;
}

/* Smaller variant for "NEW" labels */
.nav-badge--sm {
	font-size: 0.55rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


/* ==========================================================================
   06. Header — Structure
   ========================================================================== */

.site-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: var(--z-header);
	height: var(--header-height);
	/* Header itself stays fully transparent — glass pill lives on .header-inner */
	background-color: transparent;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
	border-radius: 0;
	border: 1px solid transparent;
	transition:
		max-width        0.4s ease,
		padding-inline   0.4s ease,
		border-radius    0.4s ease,
		border-color     0.4s ease,
		background-color 0.4s ease,
		backdrop-filter  0.4s ease,
		-webkit-backdrop-filter 0.4s ease,
		margin-top       0.4s ease;
}


/* ==========================================================================
   07. Header — Logo
   ========================================================================== */

.header-logo { flex-shrink: 0; }

/* Text logo */
.logo-text {
	display: inline-flex;
	align-items: baseline;
	gap: 0;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--color-text);
	transition: opacity var(--ease-base);
}

.logo-text:hover { opacity: 0.8; }

.logo-dot { color: var(--color-accent); }

/* WP custom logo */
.header-logo .custom-logo-link { display: flex; align-items: center; }

.header-logo .custom-logo,
.header-logo img {
	height: 36px;
	width: auto;
	max-width: 160px;
}


/* ==========================================================================
   08. Header — Primary Navigation
   ========================================================================== */

.header-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.header-nav > div { display: flex; }

.nav-menu {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.nav-menu > li { position: relative; }

.nav-menu a {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text);
	letter-spacing: -0.01em;
	border-radius: var(--radius-sm);
	transition: color var(--ease-base), background-color var(--ease-base);
}

.nav-menu a:hover {
	color: var(--color-accent);
	background-color: rgba(255, 255, 255, 0.04);
}

.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a { color: var(--color-accent); }


/* ==========================================================================
   09. Header — Utility Actions
   ========================================================================== */

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.theme-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	color: var(--color-text-muted);
	cursor: pointer;
	transition: color var(--ease-base), background-color var(--ease-base);
}

.theme-toggle:hover {
	color: var(--color-text);
	background-color: rgba(255, 255, 255, 0.06);
}

.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }

[data-theme="light"] .theme-toggle .icon-sun  { display: none;  }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }


/* ==========================================================================
   10. Header — Hamburger Button
   ========================================================================== */

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 7px;
	border-radius: var(--radius-sm);
	color: var(--color-text);
	cursor: pointer;
	transition: background-color var(--ease-base);
}

.hamburger:hover { background-color: rgba(255, 255, 255, 0.06); }

.hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background-color: currentColor;
	border-radius: 2px;
	transition: transform var(--ease-base), opacity var(--ease-base);
	transform-origin: center;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0);          }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   11. Header — Scroll State (floating pill — inspired by HeroHeader pattern)
   ========================================================================== */

/*
 * On scroll the inner container shrinks to a centered floating pill.
 * The outer <header> stays transparent — all glass effect lives here.
 * This matches the React component's pattern: nav stays full-width,
 * inner div transitions from max-w-6xl to max-w-4xl + rounded-2xl + blur.
 */
.site-header.is-scrolled .header-inner {
	max-width: 56rem;             /* shrink from 1280px → ~896px */
	margin-top: 0.5rem;           /* float slightly off the top edge */
	border-radius: 1rem;          /* rounded-2xl */
	border-color: var(--color-border);
	background-color: rgba(11, 11, 11, 0.55);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	backdrop-filter: blur(16px) saturate(180%);
	padding-inline: 1.25rem;      /* tighten padding inside the pill */
}

[data-theme="light"] .site-header.is-scrolled .header-inner {
	background-color: rgba(250, 250, 250, 0.85);
}


/* ==========================================================================
   12. Mobile Menu Overlay
   ========================================================================== */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: var(--z-mobile-menu);
	background-color: var(--color-bg);
	visibility: hidden;
	opacity: 0;
	transform: translateX(100%);
	transition:
		opacity     var(--ease-slow),
		transform   var(--ease-slow),
		visibility  var(--ease-slow);
}

.mobile-menu.is-open {
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
}

.mobile-menu-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 100%;
	padding: var(--container-pad);
	padding-top: calc(var(--header-height) + 2rem);
	gap: 2.5rem;
}

.mobile-menu-close {
	position: absolute;
	top: calc((var(--header-height) - 40px) / 2);
	right: var(--container-pad);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	color: var(--color-text-muted);
	cursor: pointer;
	transition: color var(--ease-base), background-color var(--ease-base);
}

.mobile-menu-close:hover {
	color: var(--color-text);
	background-color: rgba(255, 255, 255, 0.06);
}

.mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	width: 100%;
}

.mobile-nav-list a {
	display: block;
	font-size: clamp(2.25rem, 7vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.15;
	color: var(--color-text);
	padding-block: 0.1em;
	transition: color var(--ease-base);
}

.mobile-nav-list a:hover { color: var(--color-accent); }


/* ==========================================================================
   13. Nav Dropdown — Services Mega Menu
   ========================================================================== */

/*
 * Placed outside <header> in the DOM so position:fixed is not trapped
 * inside a backdrop-filter containing block when the header is scrolled.
 */

.nav-dropdown {
	position: fixed;
	top: var(--header-height);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	width: min(92vw, 860px);
	background-color: rgba(14, 14, 14, 0.97);
	border: 1px solid var(--color-border);
	border-top: 2px solid var(--color-accent);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	z-index: calc(var(--z-header) + 5);
	opacity: 0;
	pointer-events: none;
	transition:
		opacity   var(--ease-base),
		transform var(--ease-base);
}

.nav-dropdown.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

/* 5-column grid — one column per service */
.nav-dropdown-inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.nav-dropdown-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.75rem 1.25rem;
	border-right: 1px solid var(--color-border);
	cursor: pointer;
	transition: background-color var(--ease-fast);
	text-decoration: none;
}

.nav-dropdown-item:last-child { border-right: none; }

.nav-dropdown-item:hover {
	background-color: rgba(255, 255, 255, 0.03);
}

.ndi-title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	transition: color var(--ease-fast);
	font-style: normal;
}

.nav-dropdown-item:hover .ndi-title { color: var(--color-accent); }

.ndi-desc {
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--color-text-muted);
}

/* Full-page backdrop — blurs content behind the open dropdown */
.nav-backdrop {
	position: fixed;
	inset: 0;
	top: var(--header-height);
	background-color: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	z-index: calc(var(--z-header) - 1);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--ease-slow);
}

.nav-backdrop.is-active {
	opacity: 1;
	pointer-events: auto;
}


/* ==========================================================================
   14. Fixed Social Bar
   ========================================================================== */

.social-bar {
	position: fixed;
	left: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: var(--z-social);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.social-bar-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;          /* circles, matching screenshot */
	color: #000;
	border: none;
	background-color: var(--color-accent);
	cursor: pointer;
	transition:
		background-color var(--ease-base),
		transform        var(--ease-base);
}

.social-bar-link:hover {
	background-color: #33EEFF;
	transform: scale(1.08);
}


/* ==========================================================================
   14. Hero Section
   ========================================================================== */

.hero {
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	padding-block: clamp(4rem, 10vw, 8rem);
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: start;
	width: 100%;
}

.hero-content {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
	align-items: flex-start;
}

/* Floating intro badge */
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1rem;
	background-color: var(--color-surface);
	color: var(--color-text);
	font-size: 0.8125rem;
	font-weight: 500;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
}

/* Massive left-aligned H1 */
.hero-headline {
	font-size: clamp(2.75rem, 5.5vw, 5.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	max-width: 14ch;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Video staggered down so top aligns with H1 midpoint */
.hero-media {
	padding-top: clamp(4rem, 8vw, 7rem);
	align-self: stretch;
	display: flex;
	align-items: flex-start;
}

.hero-video-wrap {
	position: relative;
	width: 100%;
	border-radius: 1.5rem;
	overflow: hidden;
	background-color: var(--color-surface);
	aspect-ratio: 4 / 3;
}

.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Placeholder shown when no video source is found */
.hero-video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.hero-video-placeholder span {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}


/* ==========================================================================
   15. About Section
   ========================================================================== */

.about-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-top: 1px solid var(--color-border);
}

.about-inner {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 4rem;
	align-items: start;
	margin-bottom: 4rem;
}

.about-label-col { padding-top: 0.35rem; }

/* Large editorial sub-hero text */
.about-text {
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text);
	margin-bottom: 2rem;
}

.about-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

/* Client logos horizontal row */
.client-logos {
	border-top: 1px solid var(--color-border);
	padding-top: 3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.client-logo {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.2);
	white-space: nowrap;
	cursor: default;
	transition: color var(--ease-base);
}

.client-logo:hover { color: rgba(255, 255, 255, 0.6); }


/* ==========================================================================
   16. Our Work Section
   ========================================================================== */

.work-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-top: 1px solid var(--color-border);
}

.work-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3.5rem;
}

.work-headline {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
}

/* Staggered masonry-style grid */
.work-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 300px;
	gap: 1.25rem;
	align-items: start;
}

.work-card:nth-child(1) { grid-column: span 3; }
.work-card:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.work-card:nth-child(3) { grid-column: span 3; }

.work-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	cursor: pointer;
}

/* Image area */
.work-card-image {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	background-color: var(--color-surface);
	flex: 1;
}

.work-card-bg {
	position: absolute;
	inset: 0;
	transition: transform 0.5s ease;
}

.work-card:hover .work-card-bg { transform: scale(1.04); }

/* Lime arrow badge — appears on hover */
.work-card-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #000;
	opacity: 0;
	transform: scale(0.65);
	transition: opacity var(--ease-base), transform var(--ease-base);
}

.work-card:hover .work-card-badge {
	opacity: 1;
	transform: scale(1);
}

.work-card-meta {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding-inline: 0.25rem;
}

.work-card-date {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--color-text-muted);
}

.work-card-title {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-text);
	line-height: 1.3;
}

/* Tall card — image fills more space */
.work-card--tall .work-card-image { min-height: 380px; }


/* ==========================================================================
   17. Interactive Bento Gallery (ported from interactive-bento-gallery.tsx)
   ========================================================================== */

.work-desc {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-top: -0.25rem;
}

/* ── Bento grid ── */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 70px;
	gap: 12px;
}

.bento-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
	background-color: var(--color-surface);
}

.bento-item img,
.bento-item video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.bento-item:hover img,
.bento-item:hover video {
	transform: scale(1.04);
}

/* Hover info overlay */
.bento-item-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.875rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.bento-item:hover .bento-item-overlay {
	opacity: 1;
}

.bento-item-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	margin: 0;
	line-height: 1.3;
}

.bento-item-desc {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.65);
	margin: 0.25rem 0 0;
	line-height: 1.4;
}

/* ── Gallery Modal ── */
.bento-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(0,0,0,0.75);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	place-items: center;
}

.bento-modal.is-open {
	display: grid;
}

.bento-modal-wrap {
	position: relative;
	width: min(90vw, 900px);
	border-radius: 16px;
	overflow: hidden;
	background: var(--color-surface);
	box-shadow: 0 24px 80px rgba(0,0,0,0.6);
	animation: modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modal-in {
	from { opacity: 0; transform: scale(0.96) translateY(8px); }
	to   { opacity: 1; transform: scale(1)    translateY(0);   }
}

.bento-modal-media {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.bento-modal-media img,
.bento-modal-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bento-modal-info {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
}

.bento-modal-info h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.bento-modal-info p {
	font-size: 0.875rem;
	color: rgba(255,255,255,0.65);
	margin: 0.3rem 0 0;
}

.bento-modal-close {
	position: absolute;
	top: 0.875rem;
	right: 0.875rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background var(--ease-base);
}

.bento-modal-close:hover { background: rgba(255,255,255,0.28); }

/* ── Draggable thumbnail dock ── */
.bento-dock {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	padding: 8px 12px;
	background: rgba(11, 11, 11, 0.72);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	gap: 0;
	z-index: 950;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.bento-dock.is-grabbing { cursor: grabbing; }

.bento-dock-thumb {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: -6px;
	border: 2px solid transparent;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-dock-thumb:first-child { margin-left: 0; }

.bento-dock-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.bento-dock-thumb.is-active {
	border-color: rgba(255,255,255,0.6);
	transform: translateY(-8px) scale(1.2);
	z-index: 10;
}

.bento-dock-thumb:hover:not(.is-active) {
	transform: translateY(-4px) scale(1.1);
	z-index: 5;
}


/* ==========================================================================
   18. Scroll Expansion Hero (ported from scroll-expansion-hero.tsx)
   ========================================================================== */

/*
 * Behaviour: video starts at 300×400px centered on screen.
 * Wheel/touch scroll expands it to fill the viewport (up to 95vw × 85vh).
 * Title text splits and slides off-screen in opposite directions.
 * Background fades out. Normal page scroll resumes after full expansion.
 * JS lives in footer.php.
 */

.scroll-hero {
	position: relative;
	overflow: hidden;
}

/* Background layer — fades from 1 → 0 as video expands */
.scroll-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.scroll-hero-bg-fill {
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at 50% 55%, #141414 0%, var(--color-bg) 70%);
}

/* Full-viewport centred stage */
.scroll-hero-stage {
	position: relative;
	width: 100%;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

/* Expanding media container — JS sets width/height directly (no CSS transition) */
.scroll-hero-media {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 400px;
	max-width: 95vw;
	max-height: 85vh;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.scroll-hero-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Dark tint over video — fades as expansion increases */
.scroll-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
}

/* Title — mix-blend-difference keeps it readable over any background */
.scroll-hero-title {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	text-align: center;
	mix-blend-mode: difference;
	pointer-events: none;
}

.scroll-hero-word {
	display: block;
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: #FFFFFF;
	white-space: nowrap;
	will-change: transform;
}

/* Meta (date + scroll hint) */
.scroll-hero-meta {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 3rem;
	margin-top: 1.25rem;
	pointer-events: none;
}

.scroll-hero-date,
.scroll-hero-hint {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
	will-change: transform;
}


/* ==========================================================================
   18. Expertise & Services Section (Homepage)
   ========================================================================== */

.site-footer {
	background-color: var(--color-bg);
	border-top: 1px solid var(--color-border);
}

.footer-top {
	border-bottom: 1px solid var(--color-border);
}

/* Dark surface background for the full expertise section */
.expertise-section {
	background-color: var(--color-surface);
	border-block: 1px solid var(--color-border);
}

/* Three-column intro row: label | headline | description+CTA */
.expertise-header {
	display: grid;
	grid-template-columns: 160px 1fr 300px;
	gap: 3rem;
	align-items: center;
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.expertise-headline {
	font-size: clamp(1.6rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: var(--color-text);
	text-align: center;
}

.expertise-intro p {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

/* ── Interactive services accordion list ── */
.services-list {
	width: 100%;
}

.services-list-item {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--color-border);
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	/* Slight background on hover */
	transition: background-color var(--ease-fast);
}

.services-list-item:first-child {
	border-top: 1px solid var(--color-border);
}

.services-list-item:hover {
	background-color: rgba(255, 255, 255, 0.015);
}

/* Thumbnail — hidden at width 0, slides in on hover */
.sli-thumb {
	width: 0;
	flex-shrink: 0;
	overflow: hidden;
	transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
	            margin-right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sli-thumb-inner {
	width: 68px;
	height: 68px;
	border-radius: 10px;
	overflow: hidden;
}

.sli-thumb-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.services-list-item:hover .sli-thumb {
	width: 68px;
	margin-right: 1.75rem;
}

/* Service name — muted gray → white on hover */
.sli-name {
	flex: 1;
	font-size: clamp(2.5rem, 6vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	/* Renders vertically centered with padding instead of line-height gaps */
	padding-block: 0.6rem;
	color: rgba(255, 255, 255, 0.16);
	white-space: nowrap;
	transition: color 0.3s ease;
}

.services-list-item:hover .sli-name {
	color: var(--color-text);
}

/* Lime circular arrow — hidden, scales in on hover */
.sli-arrow {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--color-accent);
	color: #000;
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.55);
	transition: opacity 0.25s ease, transform 0.25s ease;
	margin-left: 1.5rem;
}

.services-list-item:hover .sli-arrow {
	opacity: 1;
	transform: scale(1);
}


/* ==========================================================================
   18. Footer — Main Content Grid
   ========================================================================== */

.site-footer {
	background-color: var(--color-bg);
	border-top: 1px solid var(--color-border);
}

/* Back-to-top pill — top-right of footer */
.footer-top-bar {
	display: flex;
	justify-content: flex-end;
	max-width: var(--container-max);
	margin-inline: auto;
	padding: 0.875rem var(--container-pad);
}

.back-to-top-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-text-muted);
	text-decoration: none;
	cursor: pointer;
	transition: color var(--ease-base), border-color var(--ease-base), background-color var(--ease-base);
}

.back-to-top-pill:hover {
	color: var(--color-text);
	border-color: var(--color-accent);
	background-color: rgba(0, 229, 255, 0.04);
}

/* Main 4-column grid */
.footer-main {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-block: 1px solid var(--color-border);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 3rem;
	align-items: start;
}

/* Hook column — large bold heading + CTA + stars */
.footer-hook-heading {
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: var(--color-text);
	margin-bottom: 1.5rem;
}

.star-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}

.star-rating-logo { flex-shrink: 0; }

.star-rating-stars {
	color: #FBBC04;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	line-height: 1;
}

.star-rating-text {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* Column label (Learn / Explore / Get in touch) */
.footer-col-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 1.25rem;
}

/* Nav link lists */
.footer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-nav-list a {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.42);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	transition: color var(--ease-base);
}

.footer-nav-list a:hover { color: var(--color-text); }

/* Contact column */
.footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.footer-contact-item a {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color var(--ease-base);
}

.footer-contact-item a:hover { color: var(--color-accent); }

.contact-icon {
	flex-shrink: 0;
	margin-top: 0.15rem;
	opacity: 0.5;
}

.footer-contact-address { line-height: 1.65; }

.footer-what3words {
	font-size: 0.82rem;
	opacity: 0.65;
	letter-spacing: 0.01em;
}


/* ==========================================================================
   19. Footer — Statement Headline & Bottom Bar
   ========================================================================== */

/* Full-width marquee — infinite left-to-right scroll */
.footer-statement {
	overflow: hidden;
	border-bottom: 1px solid var(--color-border);
}

/* Flex track containing 4 identical copies for seamless looping */
.footer-marquee-track {
	display: flex;
	width: max-content;
	animation: marquee-ltr 40s linear infinite;
}

@keyframes marquee-ltr {
	/* Track moves right: text appears to scroll left → right */
	0%   { transform: translateX(-25%); }
	100% { transform: translateX(0%);   }
}

.footer-statement-text {
	font-size: clamp(5rem, 13vw, 14rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.88;
	color: var(--color-text);
	white-space: nowrap;
	padding-block: clamp(1rem, 2vw, 2rem);
	padding-inline: 4rem;   /* gap between each repetition */
	flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom { padding-block: 1.25rem; }

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer-bottom-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.footer-logo-text {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--color-text);
	text-decoration: none;
}

.footer-logo-text .logo-dot { color: var(--color-accent); }

.footer-meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8rem;
	color: var(--color-text-muted);
	flex-wrap: wrap;
}

.footer-bottom-right {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8rem;
	color: var(--color-text-muted);
	flex-wrap: wrap;
}

.footer-bottom-right a {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color var(--ease-base);
}

.footer-bottom-right a:hover { color: var(--color-text); }

.pipe { opacity: 0.22; user-select: none; }


/* ==========================================================================
   20. Fixed Testimonial Pill
   ========================================================================== */

.testimonial-pill {
	position: fixed;
	bottom: 1.75rem;
	left: 1.75rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 1.1rem 0.55rem 0.55rem;
	background-color: rgba(20, 20, 20, 0.92);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.testimonial-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Circular avatar */
.tp-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.tp-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* CSS placeholder when no photo is set */
.tp-avatar-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
	border-radius: 50%;
}

.tp-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.tp-text strong {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--color-text);
}

.tp-text span {
	display: block;
	font-size: 0.7rem;
	color: var(--color-text-muted);
	white-space: nowrap;
}


/* ==========================================================================
   21. Light Mode Overrides
   ========================================================================== */

[data-theme="light"] {
	--color-bg:         #FAFAFA;
	--color-surface:    #F0F0F0;
	--color-surface-2:  #E8E8E8;
	--color-border:     rgba(0, 0, 0, 0.10);
	--color-text:       #0B0B0B;
	--color-text-muted: rgba(0, 0, 0, 0.62);  /* was 0.45 — darker for legibility */
}

/* ── Light mode: override all hardcoded rgba(255,255,255,...) colours ── */

[data-theme="light"] .scroll-hero-date,
[data-theme="light"] .scroll-hero-hint      { color: rgba(0, 0, 0, 0.55); }

[data-theme="light"] .client-logo           { color: rgba(0, 0, 0, 0.28); }
[data-theme="light"] .client-logo:hover     { color: rgba(0, 0, 0, 0.65); }

[data-theme="light"] .footer-nav-list a     { color: rgba(0, 0, 0, 0.58); }
[data-theme="light"] .footer-nav-list a:hover { color: #0B0B0B; }

[data-theme="light"] .sli-name              { color: rgba(0, 0, 0, 0.14); }
[data-theme="light"] .services-list-item:hover .sli-name { color: #0B0B0B; }

[data-theme="light"] .footer-contact-address,
[data-theme="light"] .footer-contact-link,
[data-theme="light"] .footer-contact-item   { color: rgba(0, 0, 0, 0.62); }
[data-theme="light"] .footer-contact-link:hover { color: var(--color-accent); }

[data-theme="light"] .footer-what3words     { color: rgba(0, 0, 0, 0.50); }

[data-theme="light"] .footer-copyright,
[data-theme="light"] .footer-bottom-line    { color: rgba(0, 0, 0, 0.55); }

[data-theme="light"] .star-rating-text      { color: rgba(0, 0, 0, 0.55); }

[data-theme="light"] .back-to-top-pill      { color: rgba(0, 0, 0, 0.55); }
[data-theme="light"] .back-to-top-pill:hover { color: #0B0B0B; }

/* Logo text */
[data-theme="light"] .logo-text             { color: #0B0B0B; }
[data-theme="light"] .footer-logo-text      { color: #0B0B0B; }

/* Bento dock — active ring */
[data-theme="light"] .bento-dock-thumb.is-active { border-color: rgba(0, 0, 0, 0.45); }
[data-theme="light"] .bento-dock           { background: rgba(240, 240, 240, 0.85); border-color: rgba(0,0,0,0.12); }



/* ==========================================================================
   21. BGPattern — CSS Dots, Fade-Center Mask  (ported from bg-pattern.tsx)
   ========================================================================== */

/*
 * Pure CSS port of <BGPattern variant="dots" mask="fade-center" />.
 *
 * variant="dots"  → background-image: radial-gradient(fill 1px, transparent 1px)
 * mask="fade-center" → mask-image: radial-gradient(ellipse at center, transparent, black)
 *   Center: transparent mask → dots invisible at centre
 *   Edges:  opaque mask     → dots fully visible at periphery
 *
 * No JavaScript. No canvas. No library.
 */
.bg-pattern {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;

	/* dots variant — light opacity */
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 24px 24px;

	/* fade-y mask: transparent top → opaque middle → transparent bottom */
	-webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85), transparent);
	mask-image:         linear-gradient(to bottom, transparent, rgba(0,0,0,0.85), transparent);
}

/* Light mode: dark dots on white background */
[data-theme="light"] .bg-pattern {
	background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1px);
}


/* ==========================================================================
   22. Page-Load Entrance Animations (ported from framer-motion)
   ========================================================================== */

/*
 * CSS approximation of the spring blur-in used in hero-section-1.tsx.
 * cubic-bezier(0.34, 1.56, 0.64, 1) gives a subtle overshoot like a spring.
 */
@keyframes blur-in-up {
	from {
		opacity: 0;
		filter: blur(12px);
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		filter: blur(0px);
		transform: translateY(0);
	}
}

/* Staggered entrance on hero elements */
.hero-badge   { animation: blur-in-up 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
.hero-headline { animation: blur-in-up 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.22s both; }
.hero-actions  { animation: blur-in-up 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.38s both; }
.hero-media    { animation: blur-in-up 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both; }

/* Decorative radial light beams (replaces the Tailwind arbitrary-value divs) */
.hero-glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

/* Left beam — wide, rotated ellipse */
.hero-glow::before {
	content: '';
	position: absolute;
	left: -8%;
	top: -30%;
	width: 35rem;
	height: 80rem;
	border-radius: 50%;
	transform: rotate(-45deg);
	background: radial-gradient(
		68.54% 68.72% at 55.02% 31.46%,
		rgba(0, 229, 255, 0.06) 0,
		rgba(0, 229, 255, 0.02) 50%,
		transparent 80%
	);
}

/* Narrow inner beam */
.hero-glow::after {
	content: '';
	position: absolute;
	left: -4%;
	top: -30%;
	width: 14rem;
	height: 80rem;
	border-radius: 50%;
	transform: rotate(-45deg);
	background: radial-gradient(
		50% 50% at 50% 50%,
		rgba(0, 229, 255, 0.04) 0,
		rgba(0, 229, 255, 0.01) 80%,
		transparent 100%
	);
}

/* Hero content sits above the glow layer */
.hero-content,
.hero-media {
	position: relative;
	z-index: 1;
}


/* ==========================================================================
   22. Reduced Motion
   ========================================================================== */

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


/* ==========================================================================
   22. Work Portfolio Page  (page-work.php)
   ========================================================================== */

/* ── Hero ── */
.wp-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.wp-headline {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.5rem 0;
	max-width: 14ch;
}

.wp-headline em {
	font-style: italic;
	color: var(--color-accent);
}

.wp-intro {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	line-height: 1.65;
	color: var(--color-text-muted);
	max-width: 56ch;
}

/* ── Stats bar ── */
.wp-stats {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--color-border);
}

.wp-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.wp-stat-n {
	display: block;
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--color-accent);
	line-height: 1;
}

.wp-stat-l {
	display: block;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: 0.4rem;
}

/* ── Case studies ── */
.cs-section {
	padding-block: clamp(5rem, 10vw, 8rem);
	border-bottom: 1px solid var(--color-border);
}

.cs-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

/* Alternate layout: flip image to right */
.cs-section--alt .cs-inner {
	direction: rtl;
}
.cs-section--alt .cs-inner > * {
	direction: ltr;
}

/* Visual placeholder */
.cs-visual {
	aspect-ratio: 4 / 3;
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Cyan accent line across top */
.cs-visual::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(to right, var(--color-accent), transparent 70%);
}

.cs-visual-brand {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.07);
	user-select: none;
}

.cs-visual-accent {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 40%, rgba(0, 229, 255, 0.07), transparent 65%);
	pointer-events: none;
}

/* Content */
.cs-tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 1.25rem;
}

.cs-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: var(--color-text);
	margin-bottom: 1.25rem;
}

.cs-desc {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--color-text-muted);
	margin-bottom: 2rem;
}

.cs-services {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}

.cs-pill {
	font-size: 0.75rem;
	padding: 0.3rem 0.85rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-text-muted);
}

.cs-results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
}

.cs-result strong {
	display: block;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--color-text);
	line-height: 1;
}

.cs-result span {
	display: block;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: 0.4rem;
	line-height: 1.45;
}

/* ── Logo marquee ── */
.logo-marquee-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.logo-marquee-label {
	text-align: center;
	margin-bottom: 2.5rem;
}

.logo-marquee-wrap {
	overflow: hidden;
}

.logo-marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	/* Reuse the marquee-ltr @keyframes from the footer marquee */
	animation: marquee-ltr 18s linear infinite;
}

.logo-item {
	display: flex;
	align-items: center;
	padding-inline: 2.5rem;
	flex-shrink: 0;
}

.logo-mark {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	white-space: nowrap;
}

.logo-sep {
	color: var(--color-accent);
	font-size: 0.5rem;
	opacity: 0.6;
	flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonials-section {
	padding-block: clamp(5rem, 10vw, 8rem);
	border-bottom: 1px solid var(--color-border);
}

.testimonials-header {
	margin-bottom: 3.5rem;
}

.testimonials-headline {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	margin-top: 1rem;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.testimonial-card {
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 2rem;
	display: flex;
	flex-direction: column;
}

.testimonial-stars {
	color: var(--color-accent);
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	margin-bottom: 1.25rem;
}

.testimonial-quote {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--color-text-muted);
	font-style: normal;
	margin: 0 0 1.75rem;
	flex: 1;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-accent);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	flex-shrink: 0;
	letter-spacing: 0.03em;
}

.testimonial-meta strong {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
}

.testimonial-meta span {
	display: block;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: 0.15rem;
}

/* ── Work CTA ── */
.work-cta-section {
	padding-block: clamp(5rem, 12vw, 10rem);
	text-align: center;
}

.work-cta-section .section-label {
	justify-content: center;
	margin-bottom: 1.5rem;
}

.work-cta-headline {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin-bottom: 3rem;
}

.work-cta-headline em {
	font-style: italic;
	color: var(--color-accent);
}


/* ==========================================================================
   23. Blog — Instagram Bento Page  (page-blog.php)
   ========================================================================== */

/* ── Hero ── */
.blog-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.blog-headline {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.5rem 0;
	max-width: 14ch;
}

.blog-headline em {
	font-style: italic;
	color: var(--color-accent);
}

.blog-intro {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	line-height: 1.65;
	color: var(--color-text-muted);
	max-width: 54ch;
	margin-bottom: 2rem;
}

/* Instagram handle pill in hero */
.blog-ig-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.1rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color var(--ease-base), border-color var(--ease-base), background-color var(--ease-base);
}

.blog-ig-pill:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
	background-color: rgba(0, 229, 255, 0.05);
}

/* ── Bento grid section ── */
.blog-bento-section {
	padding-block: clamp(4rem, 8vw, 7rem);
	border-bottom: 1px solid var(--color-border);
}

/* Override: <a> bento items lose underline + default link color */
.blog-bento-item {
	text-decoration: none;
	color: inherit;
	display: block;  /* ensures grid sizing works on <a> */
}

/* Show overlay on hover (parent class trigger already in existing CSS) */
.blog-bento-item:hover .blog-overlay {
	opacity: 1;
}

/* Overlay — same gradient as work bento but with extra blog elements */
.blog-overlay {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;
}

/* Category badge — cyan pill at top of overlay */
.blog-category-badge {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.65rem;
	border-radius: var(--radius-pill);
	background-color: var(--color-accent);
	color: #000;
	line-height: 1.4;
}

/* Instagram indicator line at bottom of overlay */
.blog-ig-indicator {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 0.35rem;
}

/* ── Instagram follow section ── */
.blog-follow-section {
	padding-block: clamp(5rem, 10vw, 8rem);
}

.blog-follow-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	flex-wrap: wrap;
}

.blog-follow-headline {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: var(--color-text);
	margin: 1rem 0 0.75rem;
}

.blog-follow-text p {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	max-width: 48ch;
	line-height: 1.65;
}


/* ==========================================================================
   24. Contact Page  (page-contact.php)
   ========================================================================== */

/* ── Hero ── */
.contact-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.contact-headline {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.25rem 0 1rem;
}

.contact-intro {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: var(--color-text-muted);
	max-width: 52ch;
	line-height: 1.65;
}

/* ── 2-column layout ── */
.contact-section {
	padding-block: clamp(4rem, 8vw, 7rem);
	border-bottom: 1px solid var(--color-border);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 5rem;
	align-items: start;
}

.contact-col-heading {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--color-text);
	margin-bottom: 2rem;
}

/* ── Contact Form ── */
.cf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.cf-group { display: flex; flex-direction: column; }

.cf-group--full { grid-column: 1 / -1; }

.cf-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-text-muted);
	margin-bottom: 0.5rem;
}

.cf-required { color: var(--color-accent); margin-left: 0.1em; }

.cf-input,
.cf-textarea {
	width: 100%;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	padding: 0.875rem 1rem;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--ease-base), background-color var(--ease-base);
}

.cf-input::placeholder,
.cf-textarea::placeholder { color: var(--color-text-muted); }

.cf-input:focus,
.cf-textarea:focus {
	border-color: var(--color-accent);
	background-color: var(--color-surface-2);
	box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);   /* visible glow ring */
}

.cf-textarea {
	min-height: 160px;
	resize: vertical;
	line-height: 1.65;
}

.cf-submit { cursor: pointer; }

.cf-privacy {
	margin-top: 1rem;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* Feedback messages */
.cf-feedback {
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.cf-success {
	background-color: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.3);
	color: var(--color-accent);
}

.cf-error {
	background-color: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #f87171;
}

/* ── Contact details column ── */
.contact-detail-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.contact-detail-item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
}

.contact-detail-icon {
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 0.1rem;
}

.contact-detail-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 0.3rem;
}

.contact-detail-value {
	display: block;
	font-size: 0.9375rem;
	color: var(--color-text);
	text-decoration: none;
	line-height: 1.55;
	font-style: normal;
	transition: color var(--ease-base);
}

a.contact-detail-value:hover { color: var(--color-accent); }

/* Office hours */
.contact-hours {
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
	margin-bottom: 2rem;
}

.contact-hours-heading {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 0.75rem;
}

.contact-hours p {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	line-height: 1.65;
}

/* Social links */
.contact-social { padding-top: 1.5rem; }

.contact-social-links {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
	flex-wrap: wrap;
}

.contact-social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-text-muted);
	text-decoration: none;
	padding: 0.45rem 0.875rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	transition: color var(--ease-base), border-color var(--ease-base), background-color var(--ease-base);
}

.contact-social-link:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
	background-color: rgba(0, 229, 255, 0.05);
}

/* ── FAQ Section ── */
.faq-section {
	padding-block: clamp(5rem, 10vw, 8rem);
}

.faq-header { margin-bottom: 3.5rem; }

.faq-headline {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: var(--color-text);
	margin-top: 1rem;
}

.faq-list { border-top: 1px solid var(--color-border); }

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.5rem 0;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text);
	gap: 1.5rem;
	transition: color var(--ease-base);
}

.faq-question:hover { color: var(--color-accent); }

/* The + / × icon */
.faq-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--color-text-muted);
	transition:
		background-color var(--ease-base),
		border-color     var(--ease-base),
		color            var(--ease-base),
		transform        var(--ease-base);
}

.faq-item.is-open .faq-icon {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: #000;
	transform: rotate(45deg);
}

/* Accordion body — max-height transition */
.faq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer { max-height: 600px; }

.faq-answer-inner {
	padding-bottom: 1.75rem;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: var(--color-text-muted);
	max-width: 70ch;
}

/* Light mode adjustments */
[data-theme="light"] .cf-input,
[data-theme="light"] .cf-textarea  { color: #0B0B0B; }
[data-theme="light"] .cf-input:focus,
[data-theme="light"] .cf-textarea:focus { background-color: #fff; }


/* ==========================================================================
   25. About Page  (page-about.php)
   ========================================================================== */

/* ── Hero ── */
.about-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.about-headline {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.25rem 0 1rem;
	max-width: 16ch;
}

.about-headline em {
	font-style: italic;
	color: var(--color-accent);
}

.about-hero-intro {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

/* ── Shared section header ── */
.about-section-header { margin-bottom: 3.5rem; }

.about-section-headline {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: var(--color-text);
	margin-top: 1rem;
}

/* ── Who We Are ── */
.about-who-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.about-who-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 5rem;
	align-items: start;
}

.about-statement {
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.35;
	color: var(--color-text);
	font-style: normal;
	margin: 1.5rem 0 0;
	border-left: 2px solid var(--color-accent);
	padding-left: 1.5rem;
}

.about-story-col p {
	font-size: 0.9375rem;
	line-height: 1.8;
	color: var(--color-text-muted);
	margin-bottom: 1.25rem;
}

/* ── What We Do ── */
.about-services-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.about-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.about-service-card {
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	transition: border-color var(--ease-base);
}

.about-service-card:hover { border-color: var(--color-accent); }

.asc-icon {
	width: 42px;
	height: 42px;
	border-radius: var(--radius-sm);
	background-color: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-accent);
	margin-bottom: 1.25rem;
}

.about-service-card h3 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.6rem;
}

.about-service-card p {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ── Stats ── */
.about-stats-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
	background-color: var(--color-surface);
}

.about-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.about-stat-n {
	display: block;
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--color-accent);
	line-height: 1;
}

.about-stat-l {
	display: block;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: 0.4rem;
}

/* ── Awards & Satisfaction ── */
.about-awards-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.about-awards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* Standard award card */
.award-card {
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
}

/* Featured: Google review card */
.award-card--featured {
	background-color: var(--color-surface-2);
	border-color: rgba(0, 229, 255, 0.25);
	grid-row: span 2;
	display: flex;
	flex-direction: column;
}

.award-card-top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.award-rating-number {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: var(--color-text);
	line-height: 1;
}

.award-stars {
	color: #FBBC04;   /* Google star yellow */
	font-size: 1.1rem;
	letter-spacing: 0.05em;
}

.award-label {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 0.35rem;
}

.award-sub {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
	flex: 1;
}

.award-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	transition: opacity var(--ease-base);
}

.award-link:hover { opacity: 0.75; }

.award-card-icon {
	width: 42px;
	height: 42px;
	border-radius: var(--radius-sm);
	background-color: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-accent);
	margin-bottom: 1.25rem;
}

.award-card-title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}

.award-card-desc {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ── Testimonial Marquee ── */
.testi-marquee-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
	overflow: hidden;
}

.testi-marquee-label {
	margin-bottom: 2rem;
	display: block;
}

.testi-marquee-wrap { overflow: hidden; }

.testi-marquee-track {
	display: flex;
	align-items: stretch;
	width: max-content;
	gap: 1rem;
	/* 4 groups of 6 items; -25% = 1 group → seamless LTR loop */
	animation: marquee-ltr 45s linear infinite;
}

.testi-item {
	flex-shrink: 0;
	width: clamp(260px, 30vw, 380px);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.testi-quote {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--color-text);
	font-style: italic;
	margin: 0;
	flex: 1;
}

.testi-from {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--color-accent);
	letter-spacing: 0.02em;
}

/* ── CTA ── */
.about-cta-section {
	padding-block: clamp(5rem, 12vw, 10rem);
	text-align: center;
}

.about-cta-section .section-label {
	justify-content: center;
	margin-bottom: 1.5rem;
}

.about-cta-headline {
	font-size: clamp(2.5rem, 6vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin-bottom: 3rem;
}

.about-cta-headline em {
	font-style: italic;
	color: var(--color-accent);
}

.about-cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}


/* ==========================================================================
   26. Gallery4 Carousel  (page-about.php — ported from gallery4.tsx)
   ========================================================================== */

/*
 * Embla replaced with CSS scroll-snap + overflow-x:auto.
 * Same drag-to-scroll UX on mobile; prev/next + dot nav on desktop.
 */

.gallery4-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.gallery4-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.gallery4-header-text .section-label { margin-bottom: 0.75rem; }

.gallery4-title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	color: var(--color-text);
	margin-bottom: 0.75rem;
}

.gallery4-desc {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text-muted);
	max-width: 46ch;
}

/* Arrow buttons */
.gallery4-controls {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.gallery4-ctrl-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		background-color var(--ease-base),
		border-color     var(--ease-base),
		opacity          var(--ease-base);
}

.gallery4-ctrl-btn:hover:not(:disabled) {
	background-color: var(--color-surface);
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.gallery4-ctrl-btn:disabled {
	opacity: 0.28;
	cursor: not-allowed;
}

/* Scrollable track — full-bleed, no visible scrollbar */
.gallery4-track-outer { overflow: hidden; }

.gallery4-track {
	display: flex;
	flex-wrap: nowrap;            /* explicit — prevents any column-wrap */
	gap: 1.5rem;                  /* was 20px — more breathing room */
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-inline: var(--container-pad);   /* simple — no max() clash */
	-webkit-overflow-scrolling: touch;
}

.gallery4-track::-webkit-scrollbar { display: none; }

/* Each slide */
.gallery4-item {
	flex-shrink: 0;
	flex-grow: 0;
	width: min(320px, 82vw);      /* never wider than viewport on small screens */
	scroll-snap-align: start;
}

@media (min-width: 1024px) {
	.gallery4-item { width: 360px; }
}

/* Card */
.gallery4-card {
	display: block;
	position: relative;
	border-radius: 1rem;
	overflow: hidden;
	text-decoration: none;
	min-height: 27rem;
	aspect-ratio: 5 / 4;
}

.gallery4-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.45s ease;
}

.gallery4-card:hover .gallery4-card-img { transform: scale(1.05); }

.gallery4-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
}

.gallery4-card-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	color: #fff;
}

.gallery4-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.gallery4-card-desc {
	font-size: 0.8125rem;
	line-height: 1.55;
	color: rgba(255,255,255,0.72);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 1rem;
}

.gallery4-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-accent);
	transition: gap 0.2s;
}

.gallery4-card:hover .gallery4-card-cta { gap: 0.7rem; }

/* Dot indicators */
.gallery4-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.g4-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.18);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.g4-dot.is-active {
	background: var(--color-accent);
	transform: scale(1.25);
}

/* Hide arrows on small screens (drag-to-scroll takes over) */
@media (max-width: 640px) {
	.gallery4-controls { display: none; }
	.gallery4-header   { flex-direction: column; align-items: flex-start; }
}


/* ==========================================================================
   27. Web Design Service Page  (page-web-design.php)
   ========================================================================== */

/* ── Shared section header ── */
.wd-section-header { margin-bottom: 3.5rem; }

.wd-section-headline {
	font-size: clamp(1.9rem, 3.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.07;
	color: var(--color-text);
	margin-top: 0.75rem;
}

/* ── Hero ── */
.wd-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	border-bottom: 1px solid var(--color-border);
}

.wd-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.wd-headline {
	font-size: clamp(2.75rem, 5.5vw, 5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.97;
	color: var(--color-text);
	margin: 1.25rem 0 1.25rem;
}

.wd-headline em { font-style: italic; color: var(--color-accent); }

.wd-hero-desc {
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	line-height: 1.7;
	color: var(--color-text-muted);
	max-width: 52ch;
	margin-bottom: 2rem;
}

.wd-hero-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

/* Key-info pills under CTA */
.wd-hero-pills {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.wd-pill {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-text-muted);
}

/* ── Browser mockup ── */
.wd-hero-visual { position: relative; }

.browser-mockup {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
}

.browser-bar {
	height: 40px;
	background: var(--color-surface-2);
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0 1rem;
}

.browser-dots {
	display: flex;
	gap: 5px;
	flex-shrink: 0;
}

.browser-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.browser-url {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	height: 22px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 4px;
	padding: 0 0.75rem;
	font-size: 0.72rem;
	font-family: monospace;
	color: var(--color-text-muted);
	max-width: 200px;
}

.browser-screen { padding: 1.25rem; }

/* Mockup internals — shapes represent website elements */
.bm-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-border);
}

.bm-logo {
	width: 72px; height: 10px;
	background: var(--color-accent);
	border-radius: 2px; opacity: 0.85;
}

.bm-nav-links { display: flex; gap: 0.75rem; }

.bm-nav-links span {
	width: 34px; height: 7px;
	background: rgba(255,255,255,0.18);
	border-radius: 2px;
}

.bm-cta-pill {
	width: 72px; height: 24px;
	background: var(--color-accent);
	border-radius: 12px; opacity: 0.65;
}

.bm-hero { margin-bottom: 1.5rem; }

.bm-badge {
	width: 100px; height: 18px;
	background: rgba(0,229,255,0.12);
	border: 1px solid rgba(0,229,255,0.25);
	border-radius: 9px;
	margin-bottom: 0.9rem;
}

.bm-h1 {
	height: 14px;
	background: rgba(255,255,255,0.25);
	border-radius: 3px;
	margin-bottom: 0.55rem;
}

.bm-sub {
	height: 8px;
	background: rgba(255,255,255,0.1);
	border-radius: 2px;
	margin-bottom: 0.4rem;
}

.bm-btn-row { display: flex; gap: 0.5rem; margin-top: 1rem; }

.bm-btn {
	height: 30px;
	border-radius: 15px;
}

.bm-btn.accent { width: 100px; background: var(--color-accent); opacity: 0.8; }
.bm-btn.ghost  { width: 80px; border: 1px solid rgba(255,255,255,0.2); background: transparent; }

.bm-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.625rem;
}

.bm-card {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	padding: 0.625rem;
}

.bm-card-img {
	width: 100%; height: 52px;
	background: rgba(255,255,255,0.06);
	border-radius: 4px;
	margin-bottom: 0.5rem;
}

.bm-card-img.accent-tint { background: rgba(0,229,255,0.1); }

.bm-card-line {
	height: 6px;
	background: rgba(255,255,255,0.12);
	border-radius: 2px;
	margin-bottom: 0.35rem;
}

/* Percentage-width helpers for mockup bars */
.w-85 { width: 85%; } .w-65 { width: 65%; }
.w-90 { width: 90%; } .w-75 { width: 75%; }
.w-80 { width: 80%; } .w-70 { width: 70%; }
.w-60 { width: 60%; } .w-55 { width: 55%; }
.w-50 { width: 50%; }

/* ── Website types grid (reuses about-service-card) ── */
.wd-types-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.wd-types-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.wd-type-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	transition: border-color var(--ease-base);
}

.wd-type-card:hover { border-color: var(--color-accent); }

.wd-type-card .asc-icon { margin-bottom: 1.25rem; }

.wd-type-card h3 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.55rem;
}

.wd-type-card p {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ── What's included ── */
.wd-includes-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.wd-includes-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 5rem;
	align-items: start;
}

.wd-includes-text .section-label { margin-bottom: 0.75rem; }

.wd-includes-text .wd-section-headline { margin-bottom: 1.25rem; }

.wd-includes-text p {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--color-text-muted);
}

.wd-features-list {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.875rem 1.5rem;
	padding-top: 0.5rem;
}

.wd-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9rem;
	color: var(--color-text);
	line-height: 1.45;
}

.wd-check {
	color: var(--color-accent);
	font-weight: 800;
	font-size: 0.9rem;
	flex-shrink: 0;
	line-height: 1.45;
}

/* ── Process ── */
.wd-process-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.wd-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	position: relative;
}

/* Connecting line through step numbers */
.wd-process-grid::before {
	content: '';
	position: absolute;
	top: 1.6rem;
	left: calc(1.6rem + 8px);
	right: calc(1.6rem + 8px);
	height: 1px;
	background: linear-gradient(to right, var(--color-accent), rgba(0,229,255,0.15), transparent);
	pointer-events: none;
}

.wd-step-top {
	display: flex;
	align-items: center;
	margin-bottom: 1.25rem;
}

.wd-step-n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.wd-step-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.6rem;
}

.wd-step-desc {
	font-size: 0.875rem;
	line-height: 1.72;
	color: var(--color-text-muted);
}

/* ── Recent projects ── */
.wd-projects-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.wd-projects-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.wd-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.wd-project-card {
	display: block;
	text-decoration: none;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	transition: border-color var(--ease-base), transform var(--ease-base);
	cursor: pointer;
}

.wd-project-card:hover {
	border-color: var(--color-accent);
	transform: translateY(-3px);
}

.wd-project-img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.wd-project-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.wd-project-card:hover .wd-project-img { transform: scale(1.04); }

.wd-project-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.wd-project-meta { padding: 1.25rem; }

.wd-project-type {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	display: block;
	margin-bottom: 0.4rem;
}

.wd-project-client {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.6rem;
}

.wd-project-result {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-accent);
}

/* ── Featured testimonial ── */
.wd-testimonial-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.wd-testimonial-card {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.wd-testi-stars {
	font-size: 1.1rem;
	color: var(--color-accent);
	letter-spacing: 0.1em;
	margin-bottom: 2rem;
}

.wd-testi-quote {
	font-size: clamp(1.1rem, 2.2vw, 1.5rem);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: var(--color-text);
	font-style: normal;
	margin-bottom: 2.5rem;
}

.wd-testi-author {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
}

.wd-testi-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #000;
	font-size: 0.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.wd-testi-author strong {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-text);
}

.wd-testi-author span {
	display: block;
	font-size: 0.78rem;
	color: var(--color-text-muted);
	margin-top: 0.15rem;
}

/* ── CTA ── */
.wd-cta-section {
	padding-block: clamp(5rem, 12vw, 10rem);
}

.wd-cta-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4rem;
	align-items: center;
}

.wd-cta-headline {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1rem 0 1rem;
}

.wd-cta-headline em { font-style: italic; color: var(--color-accent); }

.wd-cta-text p {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	line-height: 1.65;
}

.wd-cta-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.wd-hero-grid     { grid-template-columns: 1fr; }
	.wd-hero-visual   { display: none; }   /* hide mockup on tablet — too cramped */
	.wd-types-grid    { grid-template-columns: 1fr 1fr; }
	.wd-includes-grid { grid-template-columns: 1fr; gap: 3rem; }
	.wd-process-grid  { grid-template-columns: 1fr 1fr; }
	.wd-process-grid::before { display: none; }
	.wd-projects-grid { grid-template-columns: 1fr 1fr; }
	.wd-cta-inner     { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
	.wd-types-grid      { grid-template-columns: 1fr; }
	.wd-features-list   { grid-template-columns: 1fr; }
	.wd-process-grid    { grid-template-columns: 1fr; }
	.wd-projects-grid   { grid-template-columns: 1fr; }
}


/* ==========================================================================
   28. Craft CMS Service Page  (page-craft-cms.php)
       CSS admin-panel mockup + Why Craft section
   ========================================================================== */

/* ── CMS Admin Panel Mockup ── */
.cms-mockup {
	display: flex;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
	background: var(--color-bg);
	height: 420px;
}

/* Sidebar */
.cms-sidebar {
	width: 158px;
	flex-shrink: 0;
	background: var(--color-surface-2);
	border-right: 1px solid var(--color-border);
	padding: 1rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.cms-brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.cms-brand-icon {
	width: 22px; height: 22px;
	border-radius: 6px;
	background: var(--color-accent);
	opacity: 0.85;
	flex-shrink: 0;
}

.cms-brand-name {
	height: 9px; width: 70px;
	background: rgba(255,255,255,0.35);
	border-radius: 2px;
}

.cms-nav-group { display: flex; flex-direction: column; gap: 0.35rem; }

.cms-nav-label {
	font-size: 0.55rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.25);
	padding: 0 0.25rem;
	margin-bottom: 0.1rem;
}

.cms-nav-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
}

.cms-nav-item.is-active {
	background: rgba(0,229,255,0.1);
	border: 1px solid rgba(0,229,255,0.18);
}

.cms-nav-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	flex-shrink: 0;
}

.cms-nav-dot.accent { background: var(--color-accent); }

.cms-nav-text {
	height: 7px;
	background: rgba(255,255,255,0.18);
	border-radius: 2px;
}

/* Main content area */
.cms-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cms-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.cms-entry-title {
	height: 12px;
	background: rgba(255,255,255,0.28);
	border-radius: 2px;
}

.cms-save-btn {
	width: 70px; height: 26px;
	background: var(--color-accent);
	border-radius: 5px;
	opacity: 0.75;
	flex-shrink: 0;
}

.cms-content {
	flex: 1;
	padding: 1.25rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.cms-field-label {
	height: 7px;
	background: rgba(255,255,255,0.2);
	border-radius: 2px;
	margin-bottom: 0.1rem;
}

.cms-field-input {
	height: 28px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 5px;
}

.cms-field-input.cms-textarea { height: 52px; }

.cms-matrix-label {
	height: 7px;
	background: rgba(255,255,255,0.18);
	border-radius: 2px;
	margin-top: 0.35rem;
}

/* Matrix block */
.cms-matrix-block {
	display: flex;
	align-items: stretch;
	background: var(--color-surface);
	border: 1px solid rgba(0,229,255,0.2);
	border-radius: 6px;
	overflow: hidden;
	gap: 0;
}

.cms-matrix-handle {
	width: 8px;
	background: rgba(0,229,255,0.18);
	flex-shrink: 0;
}

.cms-matrix-inner {
	flex: 1;
	padding: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.cms-matrix-img-placeholder {
	height: 36px;
	background: rgba(0,229,255,0.07);
	border: 1px dashed rgba(0,229,255,0.2);
	border-radius: 4px;
}

/* Add block row */
.cms-add-block {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.25rem;
}

.cms-add-icon {
	width: 18px; height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.2);
}

.cms-add-text {
	height: 7px;
	background: rgba(255,255,255,0.14);
	border-radius: 2px;
}

/* Width helpers shared with browser mockup */
.cms-nav-text.w-70, .cms-entry-title.w-60,
.cms-field-label.w-30, .cms-field-label.w-20,
.cms-field-label.w-35, .cms-field-label.w-25,
.cms-matrix-label.w-25, .cms-add-text.w-40 {
	/* set via width utilities already declared in browser mockup section */
}

/* ── Why Craft section ── */
.cc-why-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.cc-reasons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.cc-reason-card {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	transition: border-color var(--ease-base);
}

.cc-reason-card:hover { border-color: var(--color-accent); }

.cc-reason-check {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: rgba(0,229,255,0.08);
	border: 1px solid rgba(0,229,255,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-accent);
	flex-shrink: 0;
}

.cc-reason-check svg { width: 18px; height: 18px; }

.cc-reason-title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}

.cc-reason-desc {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.cc-reasons-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   29. Branding Service Page  (page-branding.php)
       Brand identity board, palette showcase, deliverables grid
   ========================================================================== */

/* ════════════════════════════════════════════════════════
   BRAND IDENTITY BOARD MOCKUP (hero visual)
   Four-cell grid: logo · colors · typography · business card
   ════════════════════════════════════════════════════════ */

.brand-board {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
	background: var(--color-surface);
}

.bb-cell {
	padding: 1.5rem;
	position: relative;
}

/* Dividers between cells */
.bb-cell:nth-child(odd)   { border-right:  1px solid var(--color-border); }
.bb-cell:nth-child(-n+2)  { border-bottom: 1px solid var(--color-border); }

.bb-cell-label {
	display: block;
	font-size: 0.55rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.28);
	margin-bottom: 1rem;
}

/* ── Logo cell ── */
.bb-logo-lockup {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.bb-logo-icon {
	width: 36px;
	height: 36px;
	position: relative;
	flex-shrink: 0;
}

/* Two overlapping geometric shapes = abstract logo mark */
.bb-icon-shape {
	position: absolute;
	border-radius: 6px;
}

.bb-shape-1 {
	width: 24px; height: 24px;
	background: var(--color-accent);
	top: 0; left: 0;
	opacity: 0.9;
}

.bb-shape-2 {
	width: 20px; height: 20px;
	background: rgba(0,229,255,0.3);
	bottom: 0; right: 0;
	border: 1px solid var(--color-accent);
}

.bb-wm-name {
	height: 11px; width: 82px;
	background: rgba(255,255,255,0.72);
	border-radius: 2px;
	margin-bottom: 0.35rem;
}

.bb-wm-tag {
	height: 7px; width: 55px;
	background: rgba(255,255,255,0.22);
	border-radius: 2px;
}

.bb-logo-variants {
	display: flex;
	gap: 0.4rem;
}

.bb-variant-chip {
	font-size: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 0.18rem 0.5rem;
	border-radius: 3px;
	border: 1px solid;
}

.bb-var-primary { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.bb-var-mono    { background: transparent; color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }
.bb-var-icon    { background: transparent; color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }

/* ── Color swatches cell ── */
.bb-swatches-row {
	display: flex;
	gap: 0.5rem;
}

.bb-sw {
	flex: 1;
	height: 56px;
	border-radius: 8px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.3rem 0.4rem;
	overflow: hidden;
}

.bb-sw-code {
	font-size: 0.45rem;
	font-family: monospace;
	color: rgba(255,255,255,0.7);
	display: block;
	line-height: 1;
}

.bb-sw-name {
	font-size: 0.5rem;
	font-weight: 600;
	color: rgba(255,255,255,0.5);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	display: block;
	margin-top: 0.1rem;
}

/* ── Typography cell ── */
.bb-type-display {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.bb-type-aa {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: rgba(255,255,255,0.85);
	line-height: 1;
	flex-shrink: 0;
}

.bb-type-name-bar {
	height: 10px; width: 90px;
	background: rgba(255,255,255,0.3);
	border-radius: 2px;
	margin-bottom: 0.4rem;
}

.bb-type-meta-bar {
	height: 7px; width: 65px;
	background: rgba(255,255,255,0.14);
	border-radius: 2px;
	margin-bottom: 0.6rem;
}

.bb-type-scale {
	display: flex;
	align-items: flex-end;
	gap: 0.4rem;
	color: rgba(255,255,255,0.5);
	font-family: var(--font-sans);
	font-weight: 700;
}

/* ── Business card cell ── */
.bb-card-stack {
	position: relative;
	height: 80px;
	margin-top: 0.25rem;
}

.bb-biz-card {
	position: absolute;
	width: 140px;
	height: 80px;
	border-radius: 6px;
	border: 1px solid var(--color-border);
}

.bb-card-back {
	background: var(--color-surface-2);
	bottom: -6px;
	left: 6px;
	transform: rotate(-3deg);
}

.bb-card-front {
	background: var(--color-bg);
	bottom: 0;
	left: 0;
	padding: 0.75rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.bb-card-top-row { display: flex; justify-content: flex-start; }

.bb-card-logo-mark {
	width: 22px; height: 22px;
	background: var(--color-accent);
	border-radius: 5px;
	opacity: 0.85;
}

.bb-card-name-line {
	height: 8px; width: 85%;
	background: rgba(255,255,255,0.55);
	border-radius: 2px;
	margin-bottom: 0.3rem;
}

.bb-card-info-line {
	height: 6px;
	background: rgba(255,255,255,0.18);
	border-radius: 2px;
	margin-bottom: 0.2rem;
}

/* ════════════════════════════════════════════════════════
   BRAND PALETTES SHOWCASE
   ════════════════════════════════════════════════════════ */

.br-palettes-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.br-palettes-intro {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	max-width: 55ch;
	line-height: 1.7;
	margin-top: 0.5rem;
}

.br-palettes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}

.br-palette-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	transition: border-color var(--ease-base), transform var(--ease-base);
}

.br-palette-card:hover {
	border-color: var(--color-accent);
	transform: translateY(-3px);
}

.br-palette-swatches {
	display: flex;
	height: 90px;
}

.br-swatch {
	flex: 1;
	transition: flex 0.3s ease;
}

.br-palette-card:hover .br-swatch { flex: 1.3; }
.br-palette-card:hover .br-swatch:first-child { flex: 1.8; }

.br-palette-footer {
	padding: 1rem 1.1rem;
	border-top: 1px solid var(--color-border);
}

.br-palette-name {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.2rem;
}

.br-palette-type {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════════
   DELIVERABLES GRID
   ════════════════════════════════════════════════════════ */

.br-deliverables-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.br-deliverables-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
}

.br-deliverable {
	padding: 2rem;
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	transition: background var(--ease-base);
}

/* Remove right border on last in row, bottom on last row */
.br-deliverable:nth-child(3n)   { border-right: none; }
.br-deliverable:nth-child(n+4)  { border-bottom: none; }

.br-deliverable:hover { background: var(--color-surface-2); }

.br-del-top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.br-del-n {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--color-accent);
	font-family: monospace;
}

.br-del-accent-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, var(--color-accent), transparent);
	opacity: 0.4;
}

.br-del-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}

.br-del-desc {
	font-size: 0.875rem;
	line-height: 1.72;
	color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.brand-board         { grid-template-columns: 1fr 1fr; }
	.br-palettes-grid    { grid-template-columns: 1fr 1fr; }
	.br-deliverables-grid { grid-template-columns: 1fr 1fr; }
	.br-deliverable:nth-child(3n)  { border-right: 1px solid var(--color-border); }
	.br-deliverable:nth-child(2n)  { border-right: none; }
	.br-deliverable:nth-child(n+5) { border-bottom: none; }
}

@media (max-width: 768px) {
	.brand-board          { display: none; }   /* hide on mobile — too cramped */
	.br-palettes-grid     { grid-template-columns: 1fr 1fr; }
	.br-deliverables-grid { grid-template-columns: 1fr; }
	.br-deliverable       { border-right: none !important; }
	.br-deliverable:last-child { border-bottom: none; }
}


/* ==========================================================================
   30. SEO Service Page  (page-seo.php)
       SERP mockup hero + keyword rankings table
   ========================================================================== */

/* ════════════════════════════════════════════════
   SERP MOCKUP — Google search results visual
   ════════════════════════════════════════════════ */

.serp-mockup {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Search bar */
.serp-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	background: var(--color-surface-2);
	border-bottom: 1px solid var(--color-border);
}

.serp-google-g {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--color-accent);
	flex-shrink: 0;
	width: 20px;
	text-align: center;
}

.serp-input-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: 0.4rem 0.875rem;
	font-size: 0.78rem;
	color: var(--color-text);
	font-family: var(--font-sans);
}

.serp-query-text { color: var(--color-text); }

.serp-cursor {
	display: inline-block;
	width: 1px;
	height: 0.9em;
	background: var(--color-accent);
	margin-left: 1px;
	animation: serp-blink 1s step-end infinite;
	vertical-align: middle;
}

@keyframes serp-blink {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0; }
}

.serp-search-icon {
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	flex-shrink: 0;
}

/* Stats row */
.serp-meta-bar {
	padding: 0.5rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
}

.serp-meta-text {
	height: 7px;
	background: rgba(255,255,255,0.12);
	border-radius: 2px;
}

/* Individual search result */
.serp-result {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
	transition: background var(--ease-fast);
}

.serp-result:last-child { border-bottom: none; }

.serp-result:hover { background: rgba(255,255,255,0.02); }

/* #1 result — highlighted with cyan accent */
.serp-result--top {
	background: rgba(0,229,255,0.04);
	border-left: 2px solid var(--color-accent);
}

/* Fade out lower results for depth */
.serp-result--fade { opacity: 0.55; }

/* Position number */
.serp-pos {
	font-size: 0.65rem;
	font-weight: 800;
	font-family: monospace;
	flex-shrink: 0;
	width: 22px;
	padding-top: 2px;
}

.serp-pos--1    { color: var(--color-accent); }
.serp-pos--muted { color: rgba(255,255,255,0.25); }

/* Result body */
.serp-body { flex: 1; min-width: 0; }

.serp-source-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
}

.serp-favicon {
	width: 14px; height: 14px;
	border-radius: 3px;
	background: rgba(255,255,255,0.2);
	flex-shrink: 0;
}

.serp-fav--accent { background: var(--color-accent); }

.serp-src-url {
	height: 7px;
	background: rgba(255,255,255,0.22);
	border-radius: 2px;
}

/* "▲ moved up" badge */
.serp-up-badge {
	margin-left: auto;
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	background: rgba(0,229,255,0.1);
	border: 1px solid rgba(0,229,255,0.25);
	border-radius: 3px;
	padding: 0.15rem 0.4rem;
	flex-shrink: 0;
}

.serp-title-bar {
	height: 10px;
	background: rgba(255,255,255,0.28);
	border-radius: 2px;
	margin-bottom: 0.5rem;
}

.serp-title--accent { background: rgba(0,229,255,0.55); }

.serp-desc-row { display: flex; flex-direction: column; gap: 0.3rem; }

.serp-desc-bar {
	height: 7px;
	background: rgba(255,255,255,0.12);
	border-radius: 2px;
}

.serp-desc-bar.muted { background: rgba(255,255,255,0.07); }

/* Width utility classes */
.w-100 { width: 100%; } .w-95 { width: 95%; }
.w-90  { width: 90%;  } .w-80 { width: 80%; }
.w-70  { width: 70%;  } .w-65 { width: 65%; }
.w-60  { width: 60%;  } .w-55 { width: 55%; }
.w-50  { width: 50%;  } .w-45 { width: 45%; }

/* ════════════════════════════════════════════════
   KEYWORD RANKINGS TABLE
   ════════════════════════════════════════════════ */

.seo-rankings-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.seo-rankings-header {
	margin-bottom: 3rem;
}

.seo-rankings-intro {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	max-width: 56ch;
	line-height: 1.7;
	margin-top: 0.75rem;
}

.seo-table-wrap {
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
}

.seo-table-header,
.seo-table-row {
	display: grid;
	grid-template-columns: 1fr 130px 130px 160px;
	gap: 1rem;
	padding: 0.875rem 1.5rem;
	align-items: center;
}

.seo-table-header {
	background: var(--color-surface-2);
	border-bottom: 1px solid var(--color-border);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.seo-table-row {
	border-bottom: 1px solid var(--color-border);
	transition: background var(--ease-fast);
}

.seo-table-row:last-of-type { border-bottom: none; }

.seo-table-row:hover { background: rgba(0,229,255,0.03); }

.seo-col-center { text-align: center; }
.seo-col-right  { text-align: right; }

.seo-keyword {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text);
	font-family: monospace;
	letter-spacing: 0.01em;
}

.seo-pos {
	font-size: 0.875rem;
	font-weight: 700;
	font-family: monospace;
	text-align: center;
}

.seo-pos--before { color: var(--color-text-muted); }
.seo-pos--after  { color: var(--color-accent); }

.seo-delta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-accent);
}

.seo-delta-icon {
	display: flex;
	align-items: center;
	width: 14px; height: 14px;
}

.seo-delta-icon svg { width: 100%; height: 100%; }

.seo-table-note {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	padding: 0.875rem 1.5rem;
	border-top: 1px solid var(--color-border);
	background: var(--color-surface-2);
	font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.seo-table-header,
	.seo-table-row {
		grid-template-columns: 1fr 80px 80px 120px;
		gap: 0.75rem;
		padding: 0.875rem 1rem;
	}
}

@media (max-width: 768px) {
	/* Simplify table on mobile */
	.seo-table-header { display: none; }
	.seo-table-row    {
		grid-template-columns: 1fr auto auto;
		grid-template-rows: auto auto;
	}
	.seo-keyword  { grid-column: 1 / -1; font-size: 0.8rem; }
	.seo-pos--before { grid-column: 1; }
	.seo-pos--after  { grid-column: 2; }
	.seo-delta       { grid-column: 3; }
	.seo-col-center, .seo-col-right { text-align: left; }
}


/* ==========================================================================
   31. Shopify · Lead Gen · Case Studies · Testimonials · Processes
   ========================================================================== */

/* ── SHOPIFY storefront mockup ── */
.shop-mockup {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.shop-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1.25rem;
	background: var(--color-surface-2);
	border-bottom: 1px solid var(--color-border);
	gap: 1rem;
}

.shop-logo-bar { width: 80px; height: 10px; background: var(--color-accent); border-radius: 2px; opacity: 0.85; }
.shop-nav-links { display: flex; gap: 0.65rem; }
.shop-nav-links span { width: 36px; height: 7px; background: rgba(255,255,255,0.18); border-radius: 2px; }
.shop-cart-icon { color: var(--color-text-muted); }

.shop-hero-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
	background: rgba(0,229,255,0.05);
	border-bottom: 1px solid var(--color-border);
	gap: 1rem;
}

.shop-banner-text { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; }
.shop-banner-h   { height: 13px; background: rgba(255,255,255,0.55); border-radius: 2px; }
.shop-banner-sub { height: 8px;  background: rgba(255,255,255,0.2);  border-radius: 2px; }
.shop-banner-btn { width: 90px; height: 28px; background: var(--color-accent); border-radius: 14px; margin-top: 0.25rem; opacity: 0.85; }
.shop-banner-img { width: 80px; height: 64px; background: rgba(0,229,255,0.12); border-radius: 8px; flex-shrink: 0; border: 1px solid rgba(0,229,255,0.2); }

.shop-products-label { padding: 0.75rem 1.25rem 0.4rem; }
.shop-products-label-bar { height: 8px; background: rgba(255,255,255,0.22); border-radius: 2px; }

.shop-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; padding: 0 1.25rem 1.25rem; }

.shop-product-card {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color var(--ease-base);
}

.shop-product--featured { border-color: rgba(0,229,255,0.3); }

.shop-product-img { height: 56px; background: rgba(255,255,255,0.06); }
.shop-img--accent { background: rgba(0,229,255,0.1); }

.shop-product-info { padding: 0.6rem; display: flex; flex-direction: column; gap: 0.3rem; }
.shop-product-name  { height: 7px; background: rgba(255,255,255,0.25); border-radius: 2px; }
.shop-product-price { height: 10px; width: 45px; background: var(--color-accent); border-radius: 2px; opacity: 0.7; }

.shop-add-btn {
	margin: 0 0.6rem 0.6rem;
	height: 26px;
	background: var(--color-accent);
	color: #000;
	border-radius: 5px;
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}


/* ── LEAD GENERATION dashboard ── */
.lg-dashboard {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0,0,0,0.45);
	padding: 1.5rem;
}

.lg-dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }

.lg-dash-title { display: flex; align-items: center; gap: 0.6rem; }

.lg-dash-icon {
	width: 28px; height: 28px;
	border-radius: 6px;
	background: rgba(0,229,255,0.1);
	border: 1px solid rgba(0,229,255,0.2);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-accent);
}

.lg-dash-label-bar { height: 9px; background: rgba(255,255,255,0.3); border-radius: 2px; }

.lg-status-pill {
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #4ADE80;
	background: rgba(74,222,128,0.1);
	border: 1px solid rgba(74,222,128,0.25);
	border-radius: 100px;
	padding: 0.2rem 0.6rem;
}

.lg-metrics { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 1.5rem; }

.lg-metric-row { display: grid; grid-template-columns: 80px 1fr 60px; gap: 0.75rem; align-items: center; }

.lg-metric-label { font-size: 0.7rem; color: var(--color-text-muted); font-weight: 500; }

.lg-metric-bar-wrap { height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }

.lg-metric-bar {
	height: 100%;
	background: rgba(255,255,255,0.2);
	border-radius: 3px;
	transition: width 1s ease;
}

.lg-metric-bar.accent { background: var(--color-accent); }

.lg-metric-val { font-size: 0.75rem; font-weight: 700; color: var(--color-text-muted); text-align: right; font-family: monospace; }
.lg-metric-val.accent { color: var(--color-accent); }

.lg-summary { border-top: 1px solid var(--color-border); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

.lg-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }

.lg-sum-label { height: 7px; background: rgba(255,255,255,0.14); border-radius: 2px; }

.lg-sum-val { height: 10px; width: 55px; background: rgba(255,255,255,0.22); border-radius: 2px; flex-shrink: 0; }
.lg-sum-val.accent { background: rgba(0,229,255,0.4); }

/* Lead gen key metrics strip */
.lg-metrics-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.lg-metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.lg-result-card { text-align: center; padding: 1.5rem 1rem; }

.lg-result-num {
	display: block;
	font-size: clamp(2.25rem,4vw,3.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.lg-result-label { display: block; font-size: 0.875rem; color: var(--color-text); font-weight: 600; margin-bottom: 0.25rem; }
.lg-result-sub   { display: block; font-size: 0.75rem; color: var(--color-text-muted); }


/* ── CASE STUDIES ── */
.cs-page-hero {
	padding-top: clamp(4rem,8vw,7rem);
	padding-bottom: clamp(3rem,6vw,5rem);
	border-bottom: 1px solid var(--color-border);
}

.cs-page-headline {
	font-size: clamp(3rem,7vw,7rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.25rem 0 1rem;
}

.cs-page-headline em { font-style: italic; color: var(--color-accent); }

.cs-page-intro {
	font-size: clamp(1rem,1.8vw,1.2rem);
	color: var(--color-text-muted);
	max-width: 52ch;
	line-height: 1.65;
}

.cs-study-section {
	padding-block: clamp(5rem,10vw,8rem);
	border-bottom: 1px solid var(--color-border);
}

.cs-study-section.cs-study--alt { background: var(--color-surface); }

.cs-study-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.cs-study--alt .cs-study-grid { direction: rtl; }
.cs-study--alt .cs-study-grid > * { direction: ltr; }

.cs-study-img-wrap { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; }
.cs-study-img { width: 100%; height: 100%; object-fit: cover; }
.cs-study-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,0.5),transparent); }
.cs-study-badge-wrap { position: absolute; bottom: 1rem; left: 1rem; }
.cs-study-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); border: 1px solid rgba(0,229,255,0.3); }

.cs-study-tagline { font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--color-text); margin: 1rem 0 1.5rem; }

.cs-study-block { margin-bottom: 1.5rem; }
.cs-block-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); display: block; margin-bottom: 0.5rem; }
.cs-study-block p { font-size: 0.9375rem; line-height: 1.75; color: var(--color-text-muted); }

.cs-study-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }
.cs-pill { font-size: 0.72rem; padding: 0.28rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text-muted); }

.cs-study-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 1.5rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; }

.cs-result-stat {}
.cs-result-n { display: block; font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 800; letter-spacing: -0.04em; color: var(--color-accent); line-height: 1; margin-bottom: 0.4rem; }
.cs-result-l { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.4; }

.cs-duration { font-size: 0.8rem; color: var(--color-text-muted); display: inline-flex; align-items: center; gap: 0.4rem; }


/* ── TESTIMONIALS ── */
.tm-page-hero {
	padding-top: clamp(4rem,8vw,7rem);
	padding-bottom: clamp(3rem,6vw,5rem);
	border-bottom: 1px solid var(--color-border);
}

.tm-page-headline { font-size: clamp(3rem,7vw,7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--color-text); margin: 1.25rem 0 1rem; }
.tm-page-headline em { font-style: italic; color: var(--color-accent); }
.tm-page-intro { font-size: clamp(1rem,1.8vw,1.2rem); color: var(--color-text-muted); max-width: 52ch; line-height: 1.65; }

/* Google rating card */
.tm-rating-section { padding-block: clamp(3rem,6vw,5rem); border-bottom: 1px solid var(--color-border); background: var(--color-surface); }

.tm-rating-card { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }

.tm-rating-left { text-align: center; flex-shrink: 0; }

.tm-rating-score { font-size: 5rem; font-weight: 800; letter-spacing: -0.06em; color: var(--color-text); line-height: 1; }

.tm-rating-stars { color: #FBBC04; font-size: 1.25rem; letter-spacing: 0.08em; margin-bottom: 0.5rem; }

.tm-rating-count { font-size: 0.8125rem; color: var(--color-text-muted); }

.tm-rating-divider { width: 1px; height: 100px; background: var(--color-border); flex-shrink: 0; }

.tm-rating-right { flex: 1; }
.tm-google-logo { margin-bottom: 1rem; }
.tm-rating-text { font-size: 0.9375rem; line-height: 1.7; color: var(--color-text-muted); margin-bottom: 1.25rem; max-width: 48ch; }

/* Featured testimonial */
.tm-featured-section { padding-block: clamp(5rem,10vw,8rem); border-bottom: 1px solid var(--color-border); }

.tm-featured-card { max-width: 860px; margin-inline: auto; text-align: center; }

.tm-featured-stars { font-size: 1.25rem; color: var(--color-accent); letter-spacing: 0.1em; margin-bottom: 2rem; }

.tm-featured-quote { font-size: clamp(1.1rem,2.2vw,1.55rem); font-weight: 500; line-height: 1.6; letter-spacing: -0.02em; color: var(--color-text); font-style: normal; margin-bottom: 2.5rem; }

.tm-featured-author { display: inline-flex; align-items: center; gap: 0.875rem; }

.tm-featured-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent); color: #000; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tm-featured-author strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }
.tm-featured-author span { display: block; font-size: 0.8rem; color: var(--color-text-muted); }
.tm-featured-author em { display: block; font-size: 0.75rem; color: var(--color-accent); font-style: normal; margin-top: 0.15rem; }

/* Testimonials masonry grid */
.tm-grid-section { padding-block: clamp(5rem,10vw,8rem); }

.tm-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 1.25rem;
}

.tm-grid-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: border-color var(--ease-base);
}

.tm-grid-card:hover { border-color: var(--color-accent); }
.tm-card--wide { grid-column: span 2; }

.tm-card-stars { color: var(--color-accent); font-size: 0.875rem; letter-spacing: 0.08em; }

.tm-card-quote { font-size: 0.9rem; line-height: 1.72; color: var(--color-text-muted); font-style: normal; flex: 1; }

.tm-card-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }

.tm-card-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,229,255,0.15); color: var(--color-accent); font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(0,229,255,0.25); }

.tm-card-author strong { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--color-text); }
.tm-card-author span { display: block; font-size: 0.73rem; color: var(--color-text-muted); }


/* ── PROCESSES timeline ── */
.proc-hero { padding-top: clamp(4rem,8vw,7rem); padding-bottom: clamp(3rem,6vw,5rem); border-bottom: 1px solid var(--color-border); }

.proc-headline { font-size: clamp(3rem,7vw,7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--color-text); margin: 1.25rem 0 1rem; }
.proc-headline em { font-style: italic; color: var(--color-accent); }
.proc-intro { font-size: clamp(1rem,1.8vw,1.2rem); color: var(--color-text-muted); max-width: 52ch; line-height: 1.65; }

.proc-phases-section { padding-block: clamp(4rem,8vw,7rem); }

.proc-phase {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 2.5rem;
	padding-bottom: 0;
}

.proc-phase:not(.proc-phase--last) { margin-bottom: 3.5rem; }

/* Sidebar: node + vertical line */
.proc-phase-sidebar { display: flex; flex-direction: column; align-items: center; }

.proc-phase-node {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-text-muted);
	flex-shrink: 0;
	z-index: 1;
}

.proc-phase-node svg { width: 20px; height: 20px; }

.proc-node--accent {
	background: rgba(0,229,255,0.1);
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.proc-phase-line { width: 1px; flex: 1; background: linear-gradient(to bottom, var(--color-border), transparent); margin-top: 0.5rem; min-height: 3rem; }

/* Content */
.proc-phase-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

.proc-phase-n { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; color: var(--color-accent); font-family: monospace; }

.proc-phase-label { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--color-text); }

.proc-phase-time { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--color-text-muted); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 0.2rem 0.65rem; margin-left: auto; }

.proc-phase-lead { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 700; letter-spacing: -0.025em; color: var(--color-text); margin-bottom: 0.875rem; line-height: 1.25; }

.proc-phase-desc { font-size: 0.9375rem; line-height: 1.75; color: var(--color-text-muted); margin-bottom: 1.5rem; max-width: 65ch; }

.proc-steps-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; margin-bottom: 1.75rem; }

.proc-step-item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--color-text);
	line-height: 1.45;
}

.proc-step-check { color: var(--color-accent); flex-shrink: 0; margin-top: 1px; }
.proc-step-check svg { width: 14px; height: 14px; }

.proc-output {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	background: rgba(0,229,255,0.04);
	border: 1px solid rgba(0,229,255,0.18);
	border-radius: 0.5rem;
}

.proc-output-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-accent); white-space: nowrap; margin-top: 0.1rem; }

.proc-output-text { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.55; }

/* Principles */
.proc-principles-section { padding-block: clamp(5rem,10vw,8rem); border-top: 1px solid var(--color-border); background: var(--color-surface); }

.proc-principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.proc-principle { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

.proc-principle-icon { color: var(--color-accent); }
.proc-principle-icon svg { width: 20px; height: 20px; }

.proc-principle h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); }

.proc-principle p { font-size: 0.875rem; line-height: 1.72; color: var(--color-text-muted); }

/* ── Responsive ── */
@media (max-width: 1024px) {
	.lg-metrics-grid   { grid-template-columns: 1fr 1fr; }
	.cs-study-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
	.cs-study--alt .cs-study-grid { direction: ltr; }
	.tm-grid           { grid-template-columns: 1fr 1fr; }
	.tm-card--wide     { grid-column: span 1; }
	.tm-rating-divider { display: none; }
	.proc-steps-list   { grid-template-columns: 1fr; }
	.proc-principles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.shop-product-grid  { grid-template-columns: repeat(2,1fr); }
	.lg-metrics-grid    { grid-template-columns: 1fr 1fr; }
	.cs-study-results   { grid-template-columns: 1fr; }
	.tm-grid            { grid-template-columns: 1fr; }
	.tm-card--wide      { grid-column: span 1; }
	.proc-phase         { grid-template-columns: 40px 1fr; gap: 1.25rem; }
	.proc-phase-sidebar { display: none; }
}


/* ==========================================================================
   32. Sectors Page  (page-sectors.php)
   ========================================================================== */

/* ── Hero sector grid visual ── */
.sect-hero-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.sect-hero-tile {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 0.875rem;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: border-color var(--ease-base), background var(--ease-base), transform var(--ease-base);
	cursor: default;
}

.sect-hero-tile:hover {
	border-color: var(--color-accent);
	background: rgba(0, 229, 255, 0.04);
	transform: translateY(-2px);
}

.sect-tile--active {
	border-color: var(--color-accent);
	background: rgba(0, 229, 255, 0.06);
}

.sect-tile-icon {
	width: 32px; height: 32px;
	color: var(--color-accent);
}

.sect-tile-icon svg { width: 100%; height: 100%; }

.sect-tile-name {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
}

.sect-tile-stat {
	font-size: 0.7rem;
	color: var(--color-text-muted);
	line-height: 1.3;
}

/* ── Market stats strip ── */
.sect-stats-strip {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.sect-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.sect-stat-n {
	display: block;
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 0.4rem;
}

.sect-stat-l {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.45;
}

/* ── Why we specialise ── */
.sect-why-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.sect-why-grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 5rem;
	align-items: start;
}

.sect-why-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.sect-why-card {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.5rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	transition: border-color var(--ease-base);
}

.sect-why-card:hover { border-color: var(--color-accent); }

.sect-why-icon {
	width: 36px; height: 36px;
	border-radius: var(--radius-sm);
	background: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.2);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-accent);
	flex-shrink: 0;
}

.sect-why-icon svg { width: 16px; height: 16px; }

.sect-why-card h3 {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.45rem;
}

.sect-why-card p {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ── Sector deep-dives ── */
.sect-deep {
	padding-block: clamp(5rem, 10vw, 8rem);
	border-bottom: 1px solid var(--color-border);
}

.sect-deep--alt { background: var(--color-surface); }

.sect-deep-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 4rem;
	align-items: start;
}

.sect-deep--alt .sect-deep-grid { direction: rtl; }
.sect-deep--alt .sect-deep-grid > * { direction: ltr; }

/* Visual card (left side) */
.sect-visual-card {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	position: sticky;
	top: calc(var(--header-height) + 1.5rem);
}

.sect-visual-top {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--color-border);
}

.sect-visual-icon {
	width: 44px; height: 44px;
	border-radius: var(--radius-sm);
	background: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.2);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-accent);
	flex-shrink: 0;
}

.sect-visual-icon svg { width: 22px; height: 22px; }

.sect-visual-name {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.25rem;
}

.sect-visual-sub {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	line-height: 1.45;
}

/* Results stats in visual card */
.sect-visual-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-border);
}

.sect-visual-stat {}

.sect-vs-n {
	display: block;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 0.25rem;
}

.sect-vs-l {
	font-size: 0.78rem;
	color: var(--color-text-muted);
	line-height: 1.4;
}

.sect-visual-services {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--color-border);
}

.sect-visual-client {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* Content side */
.sect-deep-headline {
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.3;
	color: var(--color-text);
	margin: 1rem 0 1.25rem;
}

.sect-deep-desc {
	font-size: 0.9375rem;
	line-height: 1.78;
	color: var(--color-text-muted);
	margin-bottom: 2rem;
}

.sect-challenges { margin-bottom: 2rem; }

.sect-challenges-label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	display: block;
	margin-bottom: 1rem;
}

.sect-challenges ul {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sect-challenges li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9rem;
	color: var(--color-text);
	line-height: 1.5;
}

.sect-ch-icon {
	color: var(--color-accent);
	flex-shrink: 0;
	margin-top: 1px;
}

.sect-ch-icon svg { width: 14px; height: 14px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
	.sect-stats-grid   { grid-template-columns: 1fr 1fr; }
	.sect-why-grid     { grid-template-columns: 1fr; gap: 3rem; }
	.sect-deep-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
	.sect-deep--alt .sect-deep-grid { direction: ltr; }
	.sect-visual-card  { position: static; }
	.sect-visual-results { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }
}

@media (max-width: 768px) {
	.sect-hero-grid    { grid-template-columns: 1fr 1fr; }
	.sect-stats-grid   { grid-template-columns: 1fr 1fr; }
}


/* ==========================================================================
   33. Services Page  (page-services.php)
       Includes: RadialOrbitalTimeline port (radial-orbital-timeline.tsx)
   ========================================================================== */

/* ── Hero ── */
.srv-hero {
	padding-top:    clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.srv-headline {
	font-size: clamp(2.5rem, 6vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin: 1.25rem 0 1rem;
	max-width: 16ch;
}

.srv-headline em { font-style: italic; color: var(--color-accent); }

.srv-intro {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: var(--color-text-muted);
	max-width: 52ch;
	line-height: 1.65;
}

/* ── Shared section headings ── */
.srv-section-header { margin-bottom: 3.5rem; }

.srv-section-headline {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: var(--color-text);
	margin-top: 1rem;
}

/* ═════════════════════════════════════════════════════════════════════
   RADIAL ORBITAL TIMELINE — ported from radial-orbital-timeline.tsx
   ═════════════════════════════════════════════════════════════════════ */

.orbital-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--color-border);
}

.orbital-wrap {
	position: relative;
	width: 100%;
	height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: default;
	overflow: visible;
}

/* The orbital stage is the coordinate origin (0,0) for all nodes */
.orbital-stage {
	position: relative;
	width: 0;
	height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ── Center orb ── */
.orbital-center {
	position: relative;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	pointer-events: none;
}

.orbital-center-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(0, 229, 255, 0.22);
	animation: orb-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ring-a { width: 72px;  height: 72px;  animation-delay: 0s;   opacity: 0.6; }
.ring-b { width: 90px;  height: 90px;  animation-delay: 0.5s; opacity: 0.35; }

@keyframes orb-ping {
	0%   { transform: scale(1);   opacity: inherit; }
	75%, 100% { transform: scale(1.25); opacity: 0; }
}

.orbital-center-core {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-accent), rgba(0,180,220,0.7));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
	animation: orb-pulse 2.5s ease-in-out infinite;
}

@keyframes orb-pulse {
	0%, 100% { box-shadow: 0 0 18px rgba(0,229,255,0.35); }
	50%       { box-shadow: 0 0 32px rgba(0,229,255,0.6);  }
}

.orbital-center-core::after {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255,255,255,0.88);
}

/* ── Orbit path ring ── */
.orbital-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.07);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ── Orbital nodes — built and positioned by JS ── */
.orbital-node {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;   /* offset so translate(0,0) = centre */
	cursor: pointer;
	transition: opacity 0.3s;
}

/* Energy glow halo */
.orbital-node-glow {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
	pointer-events: none;
	top: 0; left: 0;
}

/* Icon circle */
.orbital-node-icon {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg);
	color: var(--color-text);
	border: 2px solid rgba(255,255,255,0.28);
	transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
	z-index: 1;
}

.orbital-node-icon svg { width: 15px; height: 15px; }

.orbital-node.is-expanded .orbital-node-icon {
	background: var(--color-accent);
	color: #000;
	border-color: var(--color-accent);
	transform: scale(1.5);
	box-shadow: 0 0 18px rgba(0,229,255,0.5);
}

.orbital-node.is-related .orbital-node-icon {
	background: rgba(0,229,255,0.12);
	border-color: var(--color-accent);
	animation: orb-pulse 1.5s ease infinite;
}

/* Text label below each node */
.orbital-node-label {
	position: absolute;
	top: 48px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.55);
	pointer-events: none;
	transition: color 0.3s, transform 0.3s;
}

.orbital-node.is-expanded .orbital-node-label {
	color: var(--color-accent);
	transform: translateX(-50%) scale(1.08);
}

/* ── Expanded card ── */
.orbital-card {
	display: none;
	position: absolute;
	top: 58px;
	left: 50%;
	transform: translateX(-50%);
	width: 235px;
	background: rgba(10,10,10,0.94);
	border: 1px solid rgba(0,229,255,0.22);
	border-radius: 1rem;
	padding: 1.1rem 1.25rem;
	box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 24px rgba(0,229,255,0.08);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	z-index: 10;
}

.orbital-node.is-expanded .orbital-card { display: block; }

/* Connector line: node icon → card */
.oc-connector {
	position: absolute;
	top: -12px;
	left: 50%;
	width: 1px;
	height: 12px;
	background: rgba(0,229,255,0.35);
	transform: translateX(-50%);
}

.oc-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.65rem;
}

.oc-badge {
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	padding: 0.2rem 0.55rem;
	border-radius: 100px;
	border: 1px solid;
}

.oc-badge--completed   { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.oc-badge--in-progress { background: rgba(0,229,255,0.1); color: var(--color-accent); border-color: rgba(0,229,255,0.35); }
.oc-badge--pending     { background: transparent; color: var(--color-text-muted); border-color: var(--color-border); }

.oc-date { font-size: 0.65rem; color: var(--color-text-muted); font-family: monospace; }

.oc-title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.45rem;
}

.oc-content {
	font-size: 0.78rem;
	line-height: 1.65;
	color: var(--color-text-muted);
	margin-bottom: 0.85rem;
}

.oc-energy-top {
	display: flex;
	justify-content: space-between;
	font-size: 0.65rem;
	color: var(--color-text-muted);
	margin-bottom: 0.3rem;
}

.oc-energy-bar {
	width: 100%;
	height: 3px;
	background: rgba(255,255,255,0.07);
	border-radius: 2px;
	overflow: hidden;
}

.oc-energy-fill {
	height: 100%;
	background: linear-gradient(to right, var(--color-accent), rgba(0,180,220,0.5));
	border-radius: 2px;
}

.oc-related { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 0.75rem; margin-top: 0.85rem; }

.oc-related-label {
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 0.45rem;
}

.oc-related-btns { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.oc-rel-btn {
	font-size: 0.68rem;
	padding: 0.22rem 0.55rem;
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 4px;
	background: transparent;
	color: rgba(255,255,255,0.65);
	cursor: pointer;
	font-family: var(--font-sans);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.oc-rel-btn:hover {
	background: rgba(0,229,255,0.08);
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.orbital-tip {
	text-align: center;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: 1rem;
	letter-spacing: 0.04em;
}

/* ── Service detail cards ── */
.srv-detail-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.srv-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.srv-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.75rem;
	transition: border-color var(--ease-base);
}

.srv-card:hover { border-color: var(--color-accent); }

.srv-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.srv-card-tag {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 0.25rem 0.65rem;
	border-radius: 100px;
	border: 1px solid;
}

.srv-tag--completed   { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.srv-tag--in-progress { background: rgba(0,229,255,0.1); color: var(--color-accent); border-color: rgba(0,229,255,0.35); }
.srv-tag--pending     { background: transparent; color: var(--color-text-muted); border-color: var(--color-border); }

.srv-card-cat {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.srv-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}

.srv-card-short {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--color-accent);
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.srv-card-long {
	font-size: 0.875rem;
	line-height: 1.75;
	color: var(--color-text-muted);
	margin-bottom: 1.25rem;
}

.srv-energy-top {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: var(--color-text-muted);
	margin-bottom: 0.35rem;
}

.srv-energy-bar {
	width: 100%;
	height: 3px;
	background: rgba(255,255,255,0.07);
	border-radius: 2px;
	overflow: hidden;
}

.srv-energy-fill {
	height: 100%;
	background: linear-gradient(to right, var(--color-accent), rgba(0,180,220,0.5));
	border-radius: 2px;
}

/* ── Process ── */
.srv-process-section {
	padding-block: clamp(5rem, 10vw, 9rem);
	border-bottom: 1px solid var(--color-border);
}

.srv-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.srv-step-n {
	display: block;
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 1rem;
	opacity: 0.6;
}

.srv-step-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin-bottom: 0.65rem;
}

.srv-step-desc {
	font-size: 0.875rem;
	line-height: 1.75;
	color: var(--color-text-muted);
}

/* ── CTA ── */
.srv-cta-section {
	padding-block: clamp(5rem, 12vw, 10rem);
	text-align: center;
}

.srv-cta-section .section-label { justify-content: center; margin-bottom: 1.5rem; }

.srv-cta-headline {
	font-size: clamp(2.5rem, 6vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--color-text);
	margin-bottom: 3rem;
}

.srv-cta-headline em { font-style: italic; color: var(--color-accent); }

.srv-cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

/* Mobile: hide orbital, show description-only cards */
@media (max-width: 768px) {
	.orbital-section { display: none; }
	.srv-cards-grid   { grid-template-columns: 1fr; }
	.srv-process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
	.srv-cards-grid   { grid-template-columns: 1fr 1fr; }
	.srv-process-grid { grid-template-columns: 1fr 1fr; }
}


/* ==========================================================================
   27. Responsive — Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {

	/* Social bar — hide to avoid overlap with narrower containers */
	.social-bar { display: none; }

	/* Bento: 2 columns on tablet */
	.bento-grid { grid-template-columns: repeat(2, 1fr); }

	/* Work page */
	.wp-stats-grid         { grid-template-columns: repeat(2, 1fr); }
	.cs-inner              { gap: 2.5rem; }
	.testimonials-grid     { grid-template-columns: 1fr 1fr; }

	/* Contact page */
	.contact-grid          { grid-template-columns: 1fr; gap: 3.5rem; }

	/* About page */
	.about-who-grid        { grid-template-columns: 1fr; gap: 3rem; }
	.about-services-grid   { grid-template-columns: 1fr 1fr; }
	.about-stats-grid      { grid-template-columns: repeat(2, 1fr); }
	.about-awards-grid     { grid-template-columns: 1fr 1fr; }
	.award-card--featured  { grid-row: span 1; }

	/* Footer expertise header: drop to 2 cols */
	.expertise-header {
		grid-template-columns: 140px 1fr;
		row-gap: 2rem;
	}

	.expertise-intro { grid-column: 1 / -1; }

	/* Service names scale down slightly */
	.sli-name { font-size: clamp(2rem, 5vw, 5rem); }

	/* Footer grid: 2 columns on tablet */
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}

	/* About layout tightens */
	.about-inner {
		grid-template-columns: 160px 1fr;
		gap: 2.5rem;
	}
}


/* ==========================================================================
   23. Responsive — Mobile (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {

	/* Header */
	.header-nav,
	.header-cta { display: none; }

	.hamburger { display: flex; }

	/* Hero */
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.hero-media { padding-top: 0; }

	.hero-headline { max-width: none; }

	/* About */
	.about-inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Work grid — single column */
	.work-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 280px;
	}

	.work-card:nth-child(1),
	.work-card:nth-child(2),
	.work-card:nth-child(3) {
		grid-column: 1;
		grid-row: auto;
	}

	.work-card--tall .work-card-image { min-height: 280px; }

	/* Footer expertise — single column on mobile */
	.expertise-header {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.expertise-intro { grid-column: auto; }

	.expertise-headline { text-align: left; }

	/* Service names: smaller on mobile */
	.sli-name { font-size: clamp(2rem, 9vw, 3.5rem); }

	/* Thumbnail always visible on mobile (no hover) */
	.sli-thumb { width: 52px; margin-right: 1rem; }
	.sli-thumb-inner { width: 52px; height: 52px; }
	.sli-arrow { opacity: 1; transform: scale(0.85); }

	/* Bento: single column, uniform row height on mobile */
	.bento-grid {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 120px;
	}
	.bento-item { grid-column: span 1 !important; grid-row: span 2 !important; }

	/* Testimonial pill — hide on small screens */
	.testimonial-pill { display: none; }

	/* Blog page mobile */
	.blog-follow-inner { flex-direction: column; align-items: flex-start; }

	/* Contact page mobile */
	.cf-grid { grid-template-columns: 1fr; }

	/* About page mobile */
	.about-services-grid   { grid-template-columns: 1fr; }
	.about-stats-grid      { grid-template-columns: 1fr 1fr; }
	.about-awards-grid     { grid-template-columns: 1fr; }

	/* Work page mobile */
	.wp-stats-grid     { grid-template-columns: 1fr 1fr; }
	.cs-inner          { grid-template-columns: 1fr; gap: 2rem; }
	.cs-section--alt .cs-inner { direction: ltr; }
	.cs-results        { grid-template-columns: 1fr; gap: 1rem; }
	.testimonials-grid { grid-template-columns: 1fr; }

	/* Footer grid — stack to single column */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	/* Slow marquee slightly on small screens */
	.footer-marquee-track { animation-duration: 28s; }

	/* Bottom bar — stacked */
	.footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.footer-bottom-right {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.pipe { display: none; }

	/* Client logos — 2-up on mobile */
	.client-logos { justify-content: flex-start; gap: 1.5rem 2.5rem; }
}
