/*
Theme Name: Oneisha Alpha
Theme URI: https://oneisha.com
Author: The Inspired Brand
Author URI: https://inspiredbrand.net
Description: A modern, responsive theme for oneisha.com, an independent digital marketing and paid search consultancy. Keeps the original look (bold Montserrat type, cyan and navy palette, photo banners with a slate overlay, split profile card, hexagon accents) and works with Themify Builder: every page template outputs the_content(), and a Builder Full Width template is included.
Version: 1.5.8
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oneisha-alpha
Tags: custom-menu, featured-images, one-column, custom-logo, translation-ready, accessibility-ready
*/

/* ==========================================================================
   Tokens (palette taken from the original oneisha.com)
   ========================================================================== */
:root {
	--cyan: #26bdd1;
	--cyan-dark: #0b8397;      /* cyan for text on white (accessible) */
	--cyan-light: #e0f6f9;
	--navy: #171d44;
	--navy-deep: #0f1430;
	--purple: #6f5cf0;
	--slate: #4b4f80;
	--panel: #e8e8ee;
	--wash: #f4f4f8;
	--ink: #1b1f3b;
	--muted: #5b6080;
	--line: #dfe0ea;
	--white: #fff;
	--radius: 4px;
	--shadow: 0 10px 30px rgba(23, 29, 68, .14);
	--maxw: 1120px;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.75;
	color: var(--ink); background: var(--white); overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; left: 8px; top: 8px; z-index: 1000;
	background: var(--cyan); color: var(--navy-deep); padding: 10px 16px; border-radius: 4px; font-weight: 700;
}

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section--cream { background: var(--wash); }
.section--navy { background: var(--navy); color: #d5d9ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
	display: inline-block; font: 800 .74rem/1 var(--font); letter-spacing: .16em;
	text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 14px;
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.lead { font-size: 1.1rem; color: var(--muted); }

/* Decorative shapes from the original design */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--hex {
	width: 110px; height: 126px; background: #f0f0f4;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.deco--sq {
	width: 56px; height: 56px; background: #fff; transform: skewX(-8deg) rotate(8deg);
	box-shadow: 0 6px 18px rgba(0,0,0,.12); opacity: .95;
}
.section > .container, .hero__inner, .page-hero > .container { position: relative; z-index: 1; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-block; padding: 13px 26px; border-radius: var(--radius); font-weight: 800;
	font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	border: 2px solid transparent; cursor: pointer; font-family: var(--font);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--cyan); color: var(--navy-deep); }
.btn--accent:hover { background: #4ccbdc; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--pill { border-radius: 999px; }

/* ==========================================================================
   Header / sticky nav (white bar, logo left, cyan Contact button)
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 900; background: #16244f;
	border-bottom: 0; transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(8,12,34,.35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.site-branding a { text-decoration: none; color: var(--navy); display: block; line-height: 1; }
.site-title { font-weight: 900; font-size: 1.6rem; letter-spacing: -.04em; text-transform: uppercase; }
.custom-logo { max-height: 42px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
	display: block; padding: 10px 13px; text-decoration: none; color: #e4e7f6;
	font-weight: 600; font-size: .8rem; letter-spacing: .02em;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--cyan); }
.main-nav > ul > li:last-child > a {
	background: var(--cyan); color: var(--navy-deep); font-weight: 800; text-transform: uppercase;
	letter-spacing: .06em; border-radius: var(--radius); margin-left: 8px; padding: 11px 20px;
}
.main-nav > ul > li:last-child > a:hover { background: #fff; color: var(--navy-deep); }
.main-nav > ul > li:last-child.current-menu-item > a { color: var(--navy-deep); }

.nav-toggle {
	display: none; background: none; border: 2px solid #fff; border-radius: 6px;
	padding: 9px 10px; cursor: pointer; color: #fff;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: .2s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-block; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: #16244f;
		border-top: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow); display: none;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 22px; }
	.main-nav a { font-size: .9rem; }
	.main-nav > ul > li:last-child > a { margin: 10px 0 0; text-align: center; }
}

/* ==========================================================================
   Hero: full-width photo, slate overlay, centered heavy headline.
   Image sits in an absolutely positioned cover container, so it never distorts.
   ========================================================================== */
.hero { position: relative; background: var(--slate); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focal, center center); }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(48,52,98,.62) 0%, rgba(23,29,68,.78) 100%);
}
.hero__inner {
	min-height: clamp(460px, 68vh, 660px); display: flex; align-items: center; justify-content: center;
	padding: clamp(64px, 9vw, 110px) 0;
}
.hero__content { max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 3px 18px rgba(15,20,48,.35); }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero .lead { color: #e4e7f6; max-width: 620px; margin: 0 auto 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .deco--sq { right: 8%; bottom: 14%; z-index: 0; }
.hero .deco--sq.two { right: auto; left: 7%; bottom: auto; top: 18%; width: 38px; height: 38px; opacity: .8; }
@media (max-width: 700px) { .hero .deco--sq { display: none; } }

.page-hero {
	position: relative; color: #fff; padding: clamp(52px, 7vw, 88px) 0; overflow: hidden; isolation: isolate;
	background: linear-gradient(135deg, var(--slate), var(--navy)); text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #e0e4f5; max-width: 680px; font-size: 1.1rem; margin: 0 auto; }
.page-hero .deco--hex { background: rgba(255,255,255,.07); right: 6%; top: -20px; width: 180px; height: 205px; z-index: 0; }
.page-hero .dl-box { justify-content: center; }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cyan);
	border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
	width: 52px; height: 52px; background: var(--navy); color: var(--cyan);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	display: grid; place-items: center; margin-bottom: 18px; font-size: 1.4rem;
}
.card__link { margin-top: auto; padding-top: 14px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.card__link::after { content: " →"; }
.tag {
	display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	background: var(--cyan-light); color: #076779; padding: 4px 10px; border-radius: 2px; margin: 0 6px 6px 0;
}
.tag--accent { background: var(--navy); color: var(--cyan); }

.service-block { display: grid; grid-template-columns: 90px 1fr; gap: 26px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block__num { font: 900 3.2rem/1 var(--font); color: var(--cyan); }
.service-block ul { padding-left: 1.2em; margin: 0 0 1em; }
.service-block li { margin-bottom: .35em; }
@media (max-width: 640px) { .service-block { grid-template-columns: 1fr; gap: 6px; } }

/* Profile card: gray photo panel + navy text panel (original homepage) */
.profile-card { display: grid; grid-template-columns: 1fr 1.7fr; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); position: relative; z-index: 1; }
.profile-card__side { background: var(--panel); padding: 0 0 26px; text-align: center; }
.profile-card__photo {
	background: linear-gradient(150deg, #8a6cf6 0%, #5b3fd6 55%, #3b2f9e 100%);
	padding: 36px 26px 0; position: relative; overflow: hidden; min-height: 250px;
}
.profile-card__photo::before {
	content: ""; position: absolute; right: -30px; bottom: -30px; width: 70%; height: 55%;
	background: rgba(255,255,255,.82); transform: skewY(-18deg);
}
.profile-card__frame {
	position: relative; width: 78%; aspect-ratio: 4 / 5; margin: 0 auto -1px; overflow: hidden; background: var(--navy);
	border: 4px solid #fff; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.profile-card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-card__frame span { display: grid; place-items: center; height: 100%; color: var(--cyan); font: 900 3rem var(--font); }
.profile-card__bar { height: 5px; width: 78%; background: var(--cyan); margin: 0 auto 18px; position: relative; }
.profile-card__name { font-weight: 800; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin: 0; padding: 0 16px; line-height: 1.3; }
.profile-card__role { font-size: .78rem; font-style: italic; color: var(--cyan-dark); font-weight: 600; }
.profile-card__body {
	background: linear-gradient(160deg, #20285c, var(--navy-deep)); color: #e4e7f6; padding: 36px 36px 40px;
	font-size: .92rem; line-height: 1.7;
}
.profile-card__body h2 { color: #fff; font-size: 1.55rem; }
.profile-card__body p { margin-bottom: .9em; }
@media (max-width: 760px) {
	.profile-card { grid-template-columns: 1fr; }
	.profile-card__photo { min-height: 0; padding-top: 30px; }
	.profile-card__frame { width: 190px; }
	.profile-card__body { padding: 28px 24px 32px; }
}

/* Case studies */
.case { border: 1px solid var(--line); border-left: 5px solid var(--cyan); border-radius: var(--radius); background: #fff; padding: 30px; margin-bottom: 24px; }
.case__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.case h3 { font-size: 1.45rem; }
.testimonial {
	margin: 22px 0 0; padding: 22px 26px; background: var(--wash); border-left: 4px solid var(--cyan);
	font-size: 1.05rem; font-style: italic; font-weight: 500;
}
.testimonial cite { display: block; margin-top: 10px; font: 700 .85rem var(--font); font-style: normal; color: var(--muted); }
.placeholder-note {
	display: inline-block; margin-top: 8px; font: 700 .68rem var(--font); letter-spacing: .06em;
	text-transform: uppercase; color: #8a5a00; background: #fff3cd; padding: 3px 9px; border-radius: 2px; font-style: normal;
}

/* Portfolio */
.employer-note {
	background: var(--navy); color: #e4e7f6; border-radius: var(--radius); padding: 24px 28px;
	border-left: 6px solid var(--cyan); margin-bottom: 34px;
}
.employer-note strong { color: var(--cyan); }
.work-tile { padding: 22px; }
.work-tile h3 { font-size: 1.05rem; margin-bottom: .25em; }
.work-tile p { font-size: .92rem; color: var(--muted); }
.site-card__shot {
	aspect-ratio: 16 / 10; margin-bottom: 18px; overflow: hidden;
	background: linear-gradient(135deg, var(--purple), var(--navy)); display: grid; place-items: center;
	color: rgba(255,255,255,.9); font: 800 1.05rem var(--font);
}
.site-card__shot img { width: 100%; height: 100%; object-fit: cover; }


/* Stats & metrics */
.stat-band { background: var(--navy); color: #fff; padding: 34px 0; border-top: 4px solid var(--cyan); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat strong { display: block; font: 900 clamp(2rem, 4.4vw, 3rem)/1 var(--font); color: var(--cyan); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; line-height: 1.45; color: #d5d9ee; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 14px; }
@media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 1px dashed #b9bdd6; border-radius: var(--radius); padding: 20px; text-align: center; }
.kpi strong { display: block; font: 900 2rem/1.1 var(--font); color: var(--navy); }
.kpi span { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.metrics div { text-align: center; }
.metrics dt { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.metrics dd { margin: 2px 0 0; font: 800 1.1rem var(--font); color: var(--navy); }

/* Resume */
.resume-layout { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .resume-layout { grid-template-columns: 1fr; } }
.resume-side { position: sticky; top: 100px; background: var(--wash); border-top: 4px solid var(--cyan); padding: 28px; }
@media (max-width: 900px) { .resume-side { position: static; } }
.resume-side h3 { font-size: 1rem; margin-top: 22px; text-transform: uppercase; letter-spacing: .06em; }
.resume-side h3:first-child { margin-top: 0; }
.skill-list { list-style: none; padding: 0; margin: 0; }
.skill-list li { margin-bottom: 12px; font-size: .92rem; font-weight: 600; }
.skill-bar { height: 7px; background: var(--line); border-radius: 99px; margin-top: 5px; overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 99px; transition: width 1s ease; }
.timeline { border-left: 3px solid var(--line); padding-left: 28px; margin-left: 6px; }
.job { position: relative; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job::before {
	content: ""; position: absolute; left: -38px; top: 26px; width: 14px; height: 14px; border-radius: 50%;
	background: var(--cyan); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--cyan);
}
.job__toggle {
	width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; cursor: pointer;
	display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font); color: inherit;
}
.job__title { font: 800 1.1rem var(--font); color: var(--navy); display: block; }
.job__meta { font-size: .85rem; color: var(--muted); }
.job__toggle::after { content: "+"; font-size: 1.6rem; color: var(--cyan-dark); line-height: 1; }
.job__toggle[aria-expanded="true"]::after { content: "–"; }
.job__body { padding: 0 24px 22px; display: none; }
.job__body.is-open { display: block; }
.job__body ul { margin: 0; padding-left: 1.2em; }
.job__body li { margin-bottom: .4em; }
.dl-box { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Contact section: photo background, cyan banner, outlined fields (original) */
.contact-section { position: relative; isolation: isolate; color: #fff; padding: 0 0 70px; overflow: hidden; background: var(--slate); }
.contact-section__bg { position: absolute; inset: 0; z-index: -2; }
.contact-section__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(75,79,128,.78), rgba(23,29,68,.9)); }
.contact-banner { background: var(--cyan); color: var(--navy-deep); text-align: center; padding: 18px 20px; max-width: 520px; margin: 0 auto 44px; }
.contact-banner h2 { color: var(--navy-deep); font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; max-width: 820px; margin: 0 auto; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; gap: 26px; } }
.contact-layout h3 { color: #fff; font-size: 1.15rem; }
.contact-methods { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-methods li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.contact-methods strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.contact-methods a { color: #fff; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; color: #e4e7f6; }
.form-field input, .form-field textarea {
	width: 100%; padding: 12px 14px; border: 2px solid #fff; border-radius: 6px;
	font: 500 .95rem var(--font); background: rgba(15,20,48,.25); color: #fff; transition: border-color .15s, background .15s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--cyan); background: rgba(15,20,48,.5); outline: none; }
.form-field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .72rem; line-height: 1.5; margin-bottom: 20px; color: #e4e7f6; }
.consent input { margin-top: 3px; accent-color: var(--cyan); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 22px; font-weight: 700; max-width: 820px; }
.notice--ok { background: #dff3e4; color: #1d5b2d; }
.notice--err { background: #fde3e1; color: #8a1d14; }

/* CTA band */
.cta-band { text-align: center; background: var(--navy); }
.cta-band p { max-width: 620px; margin-inline: auto; margin-bottom: 28px; color: #d5d9ee; }

/* Generic content (Themify Builder / blog) */
.entry-content > *:not(.tb_row):not([class*="themify"]) { max-width: 820px; margin-inline: auto; }
.entry-content.is-builder { max-width: none; }
.content-area { padding: 60px 0; }
.entry-title { margin-bottom: .5em; }
.themify-extra { padding: 0; }

/* Footer: slim bar */
.site-footer { background: var(--navy); color: #aeb4d4; padding: 22px 0; font-size: .82rem; }
.site-footer a { color: #e4e7f6; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-bottom b { color: var(--cyan); font-weight: 700; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.btn, .card { transition: none; }
}
@media print {
	.site-header, .site-footer, .dl-box, .nav-toggle { display: none; }
	.job__body { display: block !important; }
}

.card > .tag { align-self: flex-start; }
.profile-card__body .btn { display: block; width: fit-content; margin: 26px auto 0; }

.site-branding a { display: block; line-height: 0; }
.site-logo { height: 42px; width: auto; max-width: none; }
@media (max-width: 480px) { .site-logo { height: 34px; } }

/* Gatorworks case cards */
.gw-card { padding: 28px; }
.gw-card h3 { font-size: 1.3rem; margin-bottom: .15em; }
.gw-meta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: .9em; }
.gw-tags { margin: 0 0 6px; }
.gw-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0 6px; padding: 0; }
.gw-stats > div { background: var(--wash); border-radius: var(--radius); padding: 14px 14px 12px; min-width: 0; }
.gw-stats dt { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-dark); }
.gw-stats dd { margin: 4px 0 0; }
.gw-stats strong { display: block; font: 900 1.55rem/1.1 var(--font); color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gw-stats span { display: block; margin-top: 4px; font-size: .78rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 420px) { .gw-stats { grid-template-columns: 1fr; } }

.site-logo { mix-blend-mode: lighten; }

.gw-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }


.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.plain-list li:last-child { border-bottom: 0; }

.profile-card__full { margin-bottom: 18px; }
.profile-card__full img { display: block; width: 100%; height: auto; }

.job__head { display: flex; align-items: center; gap: 16px; text-align: left; }
.org-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.org-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.org-logo--mono { background: var(--navy); border-color: var(--navy); color: var(--cyan); font: 800 1.05rem var(--font); letter-spacing: .02em; }
.job__site { margin: 0 0 12px; font-size: .9rem; }
.role__title { margin: 16px 0 0; font-size: 1rem; color: var(--navy); }
.role__title:first-of-type { margin-top: 0; }
.role__dates { margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.edu { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.edu a { color: inherit; }
.timeline--plain { border-left: 0; padding-left: 0; margin-left: 0; }

/* Industry tiles */
.industry-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.itile { display: flex; flex-direction: column; justify-content: space-between; gap: 70px; min-height: 280px; padding: 32px 30px; border-radius: 18px; text-decoration: none; color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.itile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.itile h3 { margin: 0; font-size: 1.6rem; line-height: 1.15; color: inherit; }
.itile p { margin: 0; font-size: .98rem; line-height: 1.6; color: inherit; opacity: .92; }
.itile--navy { background: var(--navy-deep); }
.itile--cyan { background: var(--cyan); color: var(--navy-deep); }
.itile--purple { background: var(--purple); }
.itile--slate { background: var(--slate); }
.itile--lilac { background: #dcd8f8; color: var(--navy); }
.itile--deep { background: var(--navy); }
.itile--white { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.itile.wide { grid-column: 1 / -1; min-height: 200px; }
@media (max-width: 980px) { .industry-tiles { grid-template-columns: repeat(2, 1fr); } .itile { min-height: 220px; gap: 40px; } }
@media (max-width: 560px) { .industry-tiles { grid-template-columns: 1fr; } .itile.wide { grid-column: auto; } .itile h3 { font-size: 1.4rem; } }
.itile--ink { background: #2c3169; }
.itile--teal { background: #0b8397; }

/* Readable highlighted text on dark and colored backgrounds */
::selection { background: #26bdd1; color: #0f1430; }
::-moz-selection { background: #26bdd1; color: #0f1430; }
.itile--cyan ::selection, .itile--lilac ::selection, .itile--white ::selection { background: #171d44; color: #fff; }

/* Service detail pages */
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sd-list { padding-left: 1.2em; margin: 0; }
.sd-list li { margin-bottom: .6em; }
.sd-steps { list-style: none; counter-reset: sd; padding: 0; margin: 0; }
.sd-steps li { counter-increment: sd; position: relative; padding: 0 0 20px 54px; }
.sd-steps li::before { content: counter(sd); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--navy); font: 800 1rem/38px var(--font); text-align: center; }
.sd-steps strong { display: block; color: var(--navy); }
.sd-steps span { display: block; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.faq details p { margin: 0 0 16px; }
.sd-more { margin-top: 22px; }
.service-block .learn-more { font-weight: 700; }
@media (max-width: 760px) { .sd-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Services dropdown */
.main-nav li { position: relative; }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; background: var(--navy-deep); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 28px rgba(8,12,34,.4); z-index: 60; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { padding: 10px 18px; font-size: .78rem; white-space: nowrap; }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
@media (max-width: 960px) {
	.main-nav .sub-menu { display: flex; position: static; box-shadow: none; background: transparent; padding: 0 0 4px 14px; min-width: 0; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu a { white-space: normal; font-weight: 500; }
}

/* Keep tile text readable on hover (global a:hover turns links navy) */
.itile:hover, .itile:focus { color: #fff; }
.itile--cyan:hover, .itile--cyan:focus { color: var(--navy-deep); }
.itile--lilac:hover, .itile--lilac:focus, .itile--white:hover, .itile--white:focus { color: var(--navy); }
.itile:hover h3, .itile:hover p { color: inherit; }
a.card:hover, a.card:focus { color: inherit; }
