/**
 * Kleyman INNER PAGES — additive styles for About, Activity Area (taxonomy),
 * Press/Media and Contact pages, plus the sitewide Cookie Consent UI.
 *
 * Continues the exact design DNA already shipped in main.css/showcase.css
 * (same custom properties, radii, shadows, ease curve, button/pill/chip
 * components) rather than inventing a parallel style language. Never edits
 * main.css/showcase.css directly — purely additive, enqueued only on the
 * templates that need it (see functions.php).
 *
 * @package Kleyman
 */

/* ======================================================================
   0. SHARED — Inner hero (About / Activity area / Press / Contact)
   ====================================================================== */
.kleyman-inner-hero { background: var(--kleyman-dark); color: #fff; padding-block: 124px 64px; position: relative; overflow: hidden; }
.kleyman-inner-hero__eyebrow { display: inline-block; font-size: 16px; font-weight: 600; letter-spacing: .05em; color: var(--kleyman-green); margin-bottom: 14px; }
/* Oct 2026 QA: client asked for the main hero heading centered on every
   inner page (shared by Contact + the category archive pages via this
   class) — eyebrow/subtitle/breadcrumbs stay right-aligned, only the H1.
   margin-inline:auto centers the constrained-width box itself, not just
   the text inside it. */
.kleyman-inner-hero__title { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; line-height: 1.15; max-width: 16ch; margin-inline: auto; text-align: center; }
.kleyman-inner-hero__subtitle { margin-top: 16px; margin-inline: auto; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 62ch; text-align: center; }
.kleyman-inner-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.kleyman-inner-hero--media { padding-bottom: 0; }
.kleyman-inner-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .14; }
.kleyman-inner-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.kleyman-inner-hero > .kleyman-container { position: relative; z-index: 1; }

/* ----------------------------------------------------------------------
   Shared icon treatment — every round icon badge on the inner pages
   (values, capabilities, press, contact info) uses this: a generous
   circle with a soft tinted background, a gentle pop-in the moment its
   card becomes visible, and a hover reaction (scale + a few degrees of
   rotation + the fill flipping to solid blue) so icons read as live,
   responsive elements rather than flat static glyphs.
   ---------------------------------------------------------------------- */
@keyframes kleyman-icon-pop {
	0%   { transform: scale(.4) rotate(-8deg); opacity: 0; }
	60%  { transform: scale(1.08) rotate(2deg); opacity: 1; }
	100% { transform: scale(1) rotate(0); }
}
.kleyman-icon-badge {
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	color: var(--kleyman-blue);
	background: rgba(12, 22, 58,.08);
	transition: transform .4s var(--kleyman-ease), background-color .35s var(--kleyman-ease), color .35s var(--kleyman-ease), box-shadow .35s var(--kleyman-ease);
}
.kleyman-icon-badge svg { width: 60%; height: 60%; transition: transform .4s var(--kleyman-ease); }
.is-visible .kleyman-icon-badge { animation: kleyman-icon-pop .6s var(--kleyman-ease) both; }
/* Stagger siblings within the same grid so a row of icons pops in left-
   to-right instead of all at once — purely visual, no JS needed. */
.kleyman-values-grid .kleyman-value-card:nth-child(2) .kleyman-icon-badge,
.kleyman-capabilities-grid .kleyman-capability:nth-child(2) .kleyman-icon-badge { animation-delay: .08s; }
.kleyman-values-grid .kleyman-value-card:nth-child(3) .kleyman-icon-badge,
.kleyman-capabilities-grid .kleyman-capability:nth-child(3) .kleyman-icon-badge { animation-delay: .16s; }
.kleyman-values-grid .kleyman-value-card:nth-child(4) .kleyman-icon-badge,
.kleyman-capabilities-grid .kleyman-capability:nth-child(4) .kleyman-icon-badge { animation-delay: .24s; }
.kleyman-values-grid .kleyman-value-card:nth-child(5) .kleyman-icon-badge { animation-delay: .32s; }
.kleyman-values-grid .kleyman-value-card:nth-child(6) .kleyman-icon-badge { animation-delay: .4s; }
.kleyman-value-card:hover .kleyman-icon-badge,
.kleyman-capability:hover .kleyman-icon-badge,
.kleyman-press-card:hover .kleyman-icon-badge,
.kleyman-contact-info__item:hover .kleyman-icon-badge {
	transform: scale(1.12) rotate(-6deg);
	background: var(--kleyman-blue);
	color: #fff;
	box-shadow: 0 10px 24px rgba(12, 22, 58,.3);
}
.kleyman-value-card:hover .kleyman-icon-badge svg,
.kleyman-capability:hover .kleyman-icon-badge svg,
.kleyman-press-card:hover .kleyman-icon-badge svg,
.kleyman-contact-info__item:hover .kleyman-icon-badge svg { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
	.kleyman-icon-badge, .kleyman-icon-badge svg { animation: none !important; transition: none !important; }
}

/* Generic section rhythm shared by all inner pages */
.kleyman-section { padding-block: 72px; }
.kleyman-section--tight { padding-block: 48px; }
.kleyman-section--soft { background: var(--kleyman-light); }
.kleyman-section__head { max-width: 760px; margin-bottom: 40px; }
/* Oct 2026 — premium-feel pass (client QA: "Emerald looks far more premium
   than ours"). Benchmarking found Emerald repeats one small brand "mark"
   beside almost every section label sitewide — it's one of the things that
   makes their pages read as one designed system rather than plain text
   labels. This gives Kleyman's own shared section-eyebrow the same kind of
   recurring signature, in Kleyman's own green/blue and a plain geometric
   mark (never Emerald's diamond glyph or serif) — currentColor so it still
   automatically follows the --on-dark variant below. */
.kleyman-section__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--kleyman-dark); letter-spacing: .05em; margin-bottom: 12px; }
.kleyman-section__eyebrow::before { content: ''; width: 26px; height: 2px; flex-shrink: 0; background: var(--kleyman-green); }
.kleyman-section__title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--kleyman-text); line-height: 1.2; }
.kleyman-section__lede { margin-top: 14px; font-size: 17px; line-height: 1.8; color: var(--kleyman-text-muted); }
.kleyman-section__title + .kleyman-section__lede { margin-top: 14px; }

/* ======================================================================
   1. ABOUT — story, numbers, timeline, capabilities, leadership, certs
   ====================================================================== */
.kleyman-about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.kleyman-about-story__text p { font-size: 17px; line-height: 1.85; color: var(--kleyman-text-muted); margin-bottom: 16px; }
.kleyman-about-story__text strong { color: var(--kleyman-text); }
.kleyman-about-story__figure { background: var(--kleyman-light); border-radius: var(--kleyman-radius-lg); padding: 36px; border: 1px solid var(--kleyman-border); }
.kleyman-about-story__figure-num { font-size: 44px; font-weight: 700; color: var(--kleyman-blue); line-height: 1; }
.kleyman-about-story__figure-label { margin-top: 8px; font-size: 15px; color: var(--kleyman-text-muted); }
.kleyman-about-story__figure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kleyman-about-story__figure-grid > div:not(:last-child) { border-left: 1px solid var(--kleyman-border); padding-left: 24px; }

.kleyman-timeline-simple { position: relative; margin-top: 8px; }
.kleyman-timeline-simple::before { content: ''; position: absolute; top: 0; bottom: 0; right: 15px; width: 2px; background: var(--kleyman-border); }
.kleyman-timeline-simple__item { position: relative; padding-right: 48px; margin-bottom: 36px; }
.kleyman-timeline-simple__item:last-child { margin-bottom: 0; }
.kleyman-timeline-simple__dot { position: absolute; right: 7px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--kleyman-blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--kleyman-blue); }
.kleyman-timeline-simple__year { font-size: 22px; font-weight: 700; color: var(--kleyman-blue); }
.kleyman-timeline-simple__text { margin-top: 4px; font-size: 16px; line-height: 1.7; color: var(--kleyman-text-muted); max-width: 60ch; }

.kleyman-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kleyman-value-card { background: #fff; border: 1px solid var(--kleyman-border); border-radius: var(--kleyman-radius-md); padding: 28px; transition: transform .35s var(--kleyman-ease), box-shadow .35s var(--kleyman-ease); }
.kleyman-value-card:hover { transform: translateY(-4px); box-shadow: var(--kleyman-shadow-md); }
.kleyman-value-card__icon { width: 72px; height: 72px; margin-bottom: 18px; }
.kleyman-value-card__title { font-size: 17px; font-weight: 700; color: var(--kleyman-text); margin-bottom: 8px; }
.kleyman-value-card__text { font-size: 14.5px; line-height: 1.7; color: var(--kleyman-text-muted); }

.kleyman-leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kleyman-leader-card {
	background: #fff;
	border: 1px solid var(--kleyman-border);
	border-radius: var(--kleyman-radius-lg);
	overflow: hidden;
	text-align: center;
	transition: transform .4s var(--kleyman-ease), box-shadow .4s var(--kleyman-ease);
}
.kleyman-leader-card:hover { transform: translateY(-6px); box-shadow: var(--kleyman-shadow-md); }
.kleyman-leader-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kleyman-dark); }
.kleyman-leader-card__photo img {
	width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
	display: block;
	transition: transform .6s var(--kleyman-ease);
}
.kleyman-leader-card:hover .kleyman-leader-card__photo img { transform: scale(1.06); }
.kleyman-leader-card__photo::after {
	/* Soft bottom gradient so the name/role band below reads as one
	   continuous card rather than a photo with a hard seam under it. */
	content: ''; position: absolute; inset: auto 0 0 0; height: 40%;
	background: linear-gradient(to top, rgba(10,18,40,.45), transparent);
	pointer-events: none;
}
.kleyman-leader-card__name { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--kleyman-text); }
.kleyman-leader-card__role { margin: 4px 0 20px; font-size: 14px; color: var(--kleyman-blue); font-weight: 600; }

.kleyman-certs-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.kleyman-certs-row img { height: 56px; width: auto; filter: grayscale(0%); }
.kleyman-cert-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--kleyman-light); border: 1px solid var(--kleyman-border); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--kleyman-text); }

/* ======================================================================
   2. ACTIVITY AREA (taxonomy-project_category.php) — distinct per term
   ====================================================================== */
.kleyman-area-page-intro { max-width: 840px; }
.kleyman-area-page-intro p { font-size: 18px; line-height: 1.85; color: var(--kleyman-text-muted); }

.kleyman-capabilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kleyman-capability { text-align: center; padding: 24px 16px; }
.kleyman-capability__icon { width: 76px; height: 76px; margin: 0 auto 16px; background: #fff; box-shadow: var(--kleyman-shadow-sm); }
.kleyman-capability__label { font-size: 15px; font-weight: 600; color: var(--kleyman-text); }

.kleyman-area-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.kleyman-area-stats__value { font-size: 36px; font-weight: 700; color: var(--kleyman-blue); line-height: 1; }
.kleyman-area-stats__label { margin-top: 8px; font-size: 14px; color: var(--kleyman-text-muted); }

.kleyman-process-simple { display: flex; flex-wrap: wrap; gap: 0; counter-reset: areaprocess; }
.kleyman-process-simple__step { flex: 1 1 160px; position: relative; padding: 0 20px 0 0; }
.kleyman-process-simple__step::before { counter-increment: areaprocess; content: counter(areaprocess, decimal-leading-zero); display: block; font-size: 13px; font-weight: 700; color: var(--kleyman-blue); margin-bottom: 10px; }
.kleyman-process-simple__step:not(:last-child)::after { content: ''; position: absolute; top: 10px; left: 0; width: 100%; height: 1px; background: var(--kleyman-border); }
.kleyman-process-simple__title { font-size: 15.5px; font-weight: 700; color: var(--kleyman-text); margin-bottom: 6px; }
.kleyman-process-simple__text { font-size: 13.5px; line-height: 1.6; color: var(--kleyman-text-muted); }

.kleyman-area-cta { background: var(--kleyman-dark); border-radius: var(--kleyman-radius-lg); padding: 56px; text-align: center; color: #fff; }
.kleyman-area-cta__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 20px; }
.kleyman-area-cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ======================================================================
   3. PRESS / MEDIA — editorial grid
   ====================================================================== */
.kleyman-press-featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--kleyman-radius-lg); overflow: hidden; box-shadow: var(--kleyman-shadow-md); background: #fff; }
.kleyman-press-featured__media { position: relative; min-height: 280px; background: var(--kleyman-dark); }
.kleyman-press-featured__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.kleyman-press-featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.kleyman-press-featured__source { font-size: 13px; font-weight: 700; color: var(--kleyman-blue); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.kleyman-press-featured__title { font-size: 24px; font-weight: 700; color: var(--kleyman-text); line-height: 1.4; margin-bottom: 14px; }
.kleyman-press-featured__excerpt { font-size: 15.5px; line-height: 1.75; color: var(--kleyman-text-muted); margin-bottom: 22px; }

.kleyman-press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.kleyman-press-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--kleyman-border); border-radius: var(--kleyman-radius-md); padding: 22px; transition: transform .3s var(--kleyman-ease), box-shadow .3s var(--kleyman-ease); }
.kleyman-press-card:hover { transform: translateY(-3px); box-shadow: var(--kleyman-shadow-sm); }
.kleyman-press-card__icon { flex: none; width: 60px; height: 60px; background: var(--kleyman-light); font-weight: 700; font-size: 15px; }
.kleyman-press-card__source { font-size: 12.5px; font-weight: 700; color: var(--kleyman-blue); text-transform: uppercase; letter-spacing: .02em; }
.kleyman-press-card__title { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--kleyman-text); line-height: 1.45; }
.kleyman-press-card__link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--kleyman-blue); }

/* ======================================================================
   4. CONTACT — open two-column layout, independent form card
   ====================================================================== */
/*
 * Redesigned (Oct 2026): the previous half-white/half-navy single card
 * is gone. The hero stays compact navy; the contact area below sits on
 * the page's plain white background — an open info column (no dark
 * boxed panel, no grid texture) beside the form in its own independent
 * white card. No hero/card overlap is used, so the section's own
 * padding-bottom (below, and in the responsive block) reliably reserves
 * the exact white gap before the footer at every breakpoint — nothing
 * for the footer to ever ride up underneath.
 *
 * Layout uses named grid-areas so the DOM order can match the required
 * mobile reading order (intro → quick phone/email → form → remaining
 * office/mail details) while desktop simply restacks "intro + quick +
 * more" into one continuous right-hand column beside the form on the
 * left — no JS reordering needed.
 */
.kleyman-inner-hero--contact { padding-block: 124px 56px; }
.kleyman-inner-hero--contact .kleyman-inner-hero__title { max-width: 15ch; }
.kleyman-inner-hero__title-accent { color: var(--kleyman-green); }

.kleyman-contact-area { padding-block: 64px 96px; }
.kleyman-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	grid-template-areas: "intro form" "quick form" "more form";
	gap: 56px;
	align-items: start;
}
.kleyman-contact-intro { grid-area: intro; }
.kleyman-contact-quick { grid-area: quick; }
.kleyman-contact-more { grid-area: more; }

/* Info column (intro / quick / more) — open, on the page's own white
   background, no panel. */
.kleyman-contact-info__title { font-size: clamp(22px, 2.2vw, 26px); font-weight: 700; color: var(--kleyman-dark); margin-bottom: 8px; }
.kleyman-contact-info__lede { font-size: 15px; line-height: 1.7; color: var(--kleyman-text-muted); margin-bottom: 8px; max-width: 42ch; }
.kleyman-contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--kleyman-border); }
.kleyman-contact-quick .kleyman-contact-row:first-child { padding-top: 0; }
.kleyman-contact-row__icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--kleyman-blue); }
.kleyman-contact-row__icon svg { width: 100%; height: 100%; }
.kleyman-value-card:hover .kleyman-icon-badge { background: var(--kleyman-blue); color: #fff; }
.kleyman-contact-row__label { font-size: 12.5px; color: var(--kleyman-text-muted); margin-bottom: 4px; }
.kleyman-contact-row__value { font-size: 16px; font-weight: 600; color: var(--kleyman-dark); }
.kleyman-contact-row__value a { color: inherit; text-decoration: none; }
.kleyman-contact-row__value a:hover { color: var(--kleyman-blue); }
.kleyman-contact-social { display: flex; gap: 10px; margin-top: 24px; }
.kleyman-contact-social .kleyman-social-icon { background: var(--kleyman-light) !important; color: var(--kleyman-blue) !important; transition: background .3s, color .3s, transform .3s; }
.kleyman-contact-social .kleyman-social-icon:hover { background: var(--kleyman-blue) !important; color: #fff !important; transform: translateY(-3px); }

/* Form — its own independent white card (thin border + soft shadow,
   homepage-language corner radius). */
.kleyman-contact-form-col { grid-area: form; background: #fff; border: 1px solid var(--kleyman-border); border-radius: var(--kleyman-radius-lg); box-shadow: var(--kleyman-shadow-sm); padding: 44px; }
.kleyman-contact-form-col__title { font-size: 20px; font-weight: 700; color: var(--kleyman-dark); margin-bottom: 24px; }
.kleyman-contact-form { width: 100%; }
/* Brand green primary CTA — this theme's existing .kleyman-btn--primary
   is blue (used for generic "primary" actions elsewhere); the contact
   form specifically wants the brand green, so a dedicated solid-green
   variant is added here rather than repurposing the shared blue one
   sitewide. */
.kleyman-btn--primary-green { background: var(--kleyman-green); color: #fff; }
.kleyman-btn--primary-green:hover { background: #158a3c; }
.kleyman-contact-form .kleyman-btn--primary-green { width: 100%; justify-content: center; padding-block: 16px; font-size: 16px; margin-top: 4px; transition: transform .3s var(--kleyman-ease), box-shadow .3s var(--kleyman-ease), opacity .25s; }
.kleyman-contact-form .kleyman-btn--primary-green:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(17, 121, 58,.26); }
.kleyman-contact-form button[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.kleyman-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.kleyman-form-field { display: flex; flex-direction: column; gap: 8px; }
.kleyman-form-field--full { grid-column: 1 / -1; }
.kleyman-form-field label { font-size: 14px; font-weight: 600; color: var(--kleyman-text); }
.kleyman-form-field input,
.kleyman-form-field select,
.kleyman-form-field textarea {
	font-family: inherit;
	font-size: 15px;
	padding: 13px 16px;
	min-height: 52px;
	border: 1px solid var(--kleyman-border);
	border-radius: var(--kleyman-radius-sm);
	background: var(--kleyman-light);
	color: var(--kleyman-text);
	transition: border-color .25s, background .25s;
}
.kleyman-form-field select { min-height: 52px; }
.kleyman-form-field input:focus,
.kleyman-form-field select:focus,
.kleyman-form-field textarea:focus { outline: none; border-color: var(--kleyman-blue); background: #fff; }
.kleyman-form-field textarea { resize: vertical; min-height: 128px; }
.kleyman-form-field--error input,
.kleyman-form-field--error select,
.kleyman-form-field--error textarea { border-color: #D33; }
.kleyman-form-error { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #D33; overflow-wrap: break-word; }
.kleyman-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--kleyman-text-muted); margin-bottom: 20px; }
.kleyman-form-consent input { margin-top: 3px; flex: none; }
.kleyman-form-consent a { color: var(--kleyman-blue); }
.kleyman-contact-form__status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--kleyman-radius-sm); font-size: 14.5px; }
.kleyman-contact-form__status.is-success { display: block; background: rgba(17, 121, 58,.1); color: var(--kleyman-green); }
.kleyman-contact-form__status.is-error { display: block; background: rgba(211,51,51,.08); color: #D33; }
.kleyman-contact-form.is-submitting .kleyman-btn { opacity: .6; }
.kleyman-contact-form[hidden] { display: none; }

/* ======================================================================
   5. COOKIE CONSENT — banner + preferences modal
   ====================================================================== */
.kleyman-cookie-banner {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 9000;
	transform: translateY(110%);
	transition: transform .5s var(--kleyman-ease);
	padding: 18px;
	pointer-events: none;
}
.kleyman-cookie-banner.is-visible { transform: translateY(0); pointer-events: auto; }
.kleyman-cookie-banner__panel {
	max-width: 960px;
	margin-inline: auto;
	background: #fff;
	border: 1px solid var(--kleyman-border);
	border-radius: var(--kleyman-radius-lg);
	box-shadow: 0 14px 44px rgba(12,22,58,.18);
	padding: 24px 28px;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.kleyman-cookie-banner__text { flex: 1 1 360px; font-size: 14px; line-height: 1.7; color: var(--kleyman-text-muted); }
.kleyman-cookie-banner__text strong { color: var(--kleyman-text); }
.kleyman-cookie-banner__text a { color: var(--kleyman-blue); font-weight: 600; }
.kleyman-cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.kleyman-cookie-modal { position: fixed; inset: 0; z-index: 9100; display: none; align-items: center; justify-content: center; padding: 20px; }
.kleyman-cookie-modal.is-open { display: flex; }
.kleyman-cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(12,22,58,.55); backdrop-filter: blur(2px); }
.kleyman-cookie-modal__panel { position: relative; background: #fff; border-radius: var(--kleyman-radius-lg); max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 32px; box-shadow: var(--kleyman-shadow-md); }
.kleyman-cookie-modal__close { position: absolute; top: 18px; left: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--kleyman-light); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--kleyman-text-muted); }
.kleyman-cookie-modal__close:hover { color: var(--kleyman-text); }
.kleyman-cookie-modal__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.kleyman-cookie-modal__intro { font-size: 14px; line-height: 1.7; color: var(--kleyman-text-muted); margin-bottom: 24px; }
.kleyman-cookie-pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--kleyman-border); }
.kleyman-cookie-pref:last-of-type { border-bottom: none; }
.kleyman-cookie-pref__label { font-size: 15px; font-weight: 700; color: var(--kleyman-text); }
.kleyman-cookie-pref__text { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--kleyman-text-muted); max-width: 36ch; }
.kleyman-cookie-pref__always { font-size: 12.5px; font-weight: 700; color: var(--kleyman-green); white-space: nowrap; margin-top: 2px; }

.kleyman-switch { position: relative; flex: none; width: 44px; height: 26px; }
.kleyman-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kleyman-switch__track { position: absolute; inset: 0; background: var(--kleyman-border); border-radius: 999px; transition: background .25s; }
.kleyman-switch__track::before { content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--kleyman-ease); }
.kleyman-switch input:checked + .kleyman-switch__track { background: var(--kleyman-blue); }
.kleyman-switch input:checked + .kleyman-switch__track::before { transform: translateX(-18px); }
.kleyman-switch input:disabled + .kleyman-switch__track { background: var(--kleyman-green); opacity: .5; cursor: not-allowed; }

.kleyman-cookie-modal__footer { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* ======================================================================
   6. RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
	.kleyman-about-story { grid-template-columns: 1fr; gap: 36px; }
	.kleyman-values-grid { grid-template-columns: repeat(2, 1fr); }
	.kleyman-leadership-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.kleyman-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
	.kleyman-press-featured { grid-template-columns: 1fr; }
	.kleyman-press-featured__media { min-height: 220px; }
	.kleyman-press-grid { grid-template-columns: 1fr; }
	.kleyman-contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "quick" "form" "more"; gap: 40px; }
	.kleyman-contact-form-col { padding: 36px 32px; }
	.kleyman-contact-area { padding-block: 48px 72px; }
	.kleyman-inner-hero--contact { padding-block: 100px 48px; }
	.kleyman-process-simple { flex-direction: column; gap: 24px; }
	.kleyman-process-simple__step::after { display: none; }
}

@media (max-width: 640px) {
	.kleyman-inner-hero { padding-block: 124px 48px; }
	.kleyman-section { padding-block: 48px; }
	.kleyman-about-story__figure-grid { grid-template-columns: 1fr; gap: 16px; }
	.kleyman-about-story__figure-grid > div:not(:last-child) { border-left: none; border-bottom: 1px solid var(--kleyman-border); padding-left: 0; padding-bottom: 16px; }
	.kleyman-values-grid,
	.kleyman-leadership-grid,
	.kleyman-capabilities-grid { grid-template-columns: 1fr; }
	.kleyman-area-cta { padding: 36px 24px; }
	.kleyman-contact-area { padding-block: 40px 48px; }
	.kleyman-contact-form-col { padding: 28px 24px; }
	.kleyman-form-row { grid-template-columns: 1fr; }
	.kleyman-cookie-banner__panel { padding: 20px; flex-direction: column; align-items: stretch; text-align: center; }
	.kleyman-cookie-banner__actions { justify-content: center; }
	.kleyman-cookie-pref { flex-direction: column; }
	.kleyman-cookie-modal__panel { padding: 24px; }
}

/* ==========================================================================
   Floating quick-contact cluster (call + WhatsApp) — sitewide.
   template-parts/quick-contact.php. Logical inset so it sits correctly in
   this RTL site without a manual ltr override; below the cookie banner's
   z-index (9000) so the banner always wins while it's open.
   ========================================================================== */
.kleyman-quick-contact {
	position: fixed;
	inset-block-end: 24px;
	inset-inline-start: 24px;
	z-index: 500;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.kleyman-quick-contact__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	box-shadow: var(--kleyman-shadow-md);
	color: #fff;
	transition: transform .25s var(--kleyman-ease), box-shadow .25s var(--kleyman-ease);
}
.kleyman-quick-contact__btn span {
	position: absolute;
	width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kleyman-quick-contact__btn:hover,
.kleyman-quick-contact__btn:focus-visible {
	transform: scale(1.08);
	box-shadow: 0 14px 32px rgba(12,22,58,.22);
}
.kleyman-quick-contact__btn--whatsapp { background: #25D366; }
.kleyman-quick-contact__btn--call { background: var(--kleyman-blue); }

@media (max-width: 640px) {
	.kleyman-quick-contact { inset-block-end: 16px; inset-inline-start: 16px; gap: 8px; }
	.kleyman-quick-contact__btn { width: 48px; height: 48px; }
}

/* Oct 2026 QA: the floating call button stepped out of the way where it
   covered content — over the footer (which already lists the phone) and
   while the visitor is typing in a form on a phone. */
.kleyman-quick-contact { transition: opacity .3s ease, transform .3s var(--kleyman-ease, ease); }
body.kleyman-qc-hide .kleyman-quick-contact { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }

/* 404 — Oct 2026 QA */
.kleyman-404-hero { padding-block: 150px 80px; text-align: center; }
.kleyman-404-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.kleyman-404-hero__ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.kleyman-404-hero__ghost:hover { background: #fff; color: var(--kleyman-dark); }
.kleyman-404-projects { padding-block: 72px 96px; }
.kleyman-404-projects__title { font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--kleyman-dark); text-align: center; margin: 0 0 36px; }
.kleyman-404-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .kleyman-404-projects__grid { grid-template-columns: minmax(0, 1fr); } .kleyman-404-hero { padding-block: 120px 56px; } }

/* Legal / generic pages — Oct 2026 QA: easier long-form reading */
.kleyman-generic-page { font-size: 18px; line-height: 1.85; color: var(--kleyman-text); }
.kleyman-generic-page h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 12px; color: var(--kleyman-dark); }
.kleyman-generic-page h3 { font-size: 20px; margin: 28px 0 8px; color: var(--kleyman-dark); }
.kleyman-generic-page p, .kleyman-generic-page li { max-width: 70ch; }
.kleyman-generic-page ul, .kleyman-generic-page ol { padding-inline-start: 22px; }
.kleyman-generic-page a { color: var(--kleyman-blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .kleyman-generic-page { font-size: 17px; } .kleyman-generic-page h2 { font-size: 21px; } }
