/*
Theme Name: Keisan Actuaries
Theme URI: https://github.com/oberonlai/shippress-themes/tree/main/themes/keisan-actuaries
Author: ShipPress
Author URI: https://github.com/oberonlai/shippress-themes
Description: Keisan Actuaries is a landing theme for an independent actuarial consultancy. The front page opens on a framed photo strip with the headline beside it and a shelf of three frosted cards docked on the photo, then client rows, four counting facts, a plum wedge band with a two-size statement, a parallax room band, a fixed-fee table, a people row, dated notes and an aurora request panel with a subscribe slot. Onest for headings and Public Sans for reading. Works without WooCommerce. WCAG AA colours.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keisan-actuaries
Tags: business, block-patterns, full-site-editing, custom-colors, editor-style, translation-ready, wide-blocks, block-styles
*/

:root {
	--kz-ground: var(--wp--preset--color--ground);
	--kz-haze: var(--wp--preset--color--haze);
	--kz-ink: var(--wp--preset--color--ink);
	--kz-plum: var(--wp--preset--color--plum);
	--kz-plum-d: var(--wp--preset--color--plum-deep);
	--kz-muted: var(--wp--preset--color--muted);
	--kz-line: var(--wp--preset--color--line);
	--kz-field: var(--wp--preset--color--field);
	--kz-accent: var(--wp--preset--color--accent);
	--kz-display: var(--wp--preset--font-family--display);
	--kz-ease: cubic-bezier(.2, .7, .2, 1);
	--kz-rhythm: clamp(72px, 8.4vw, 120px);
	--kz-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	--sp-dist: 10px;
	--sp-dur: .6s;
	--sp-ease: cubic-bezier(.2, .7, .2, 1);
	/* form contract v1: tokens mapped to the theme palette */
	--sp-form-accent: var(--wp--preset--color--plum);
	--sp-form-on-accent: #fff;
	--sp-form-radius: 8px;
	--sp-form-focus: rgba(98, 88, 106, .55);
	--sp-form-surface: #fff;
	--sp-form-text: var(--wp--preset--color--ink);
}

/* ---------- base ---------- */
.wp-site-blocks > * { margin-block: 0; }
:root :where(.wp-block-group[class*="kz-"]) > * { margin-block: 0; }
:root :where(.wp-block-post-content.is-layout-flow) > * { margin-block: 0; }
.wp-site-blocks img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks a { text-underline-offset: 0.18em; }
html, body { overflow-x: clip; }
html { scroll-behavior: auto; }
[id] { scroll-margin-top: 24px; }
body { overflow-wrap: break-word; }
:lang(fr) :is(body, h2, h3, p), :lang(de) :is(body, h2, h3, p) { hyphens: auto; }
:root:lang(zh) { --wp--preset--font-family--display: "Onest", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; --wp--preset--font-family--body: "Public Sans", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; --kz-display: var(--wp--preset--font-family--display); }
:root:lang(ja) { --wp--preset--font-family--display: "Onest", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --wp--preset--font-family--body: "Public Sans", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; --kz-display: var(--wp--preset--font-family--display); }
:root:lang(zh) body, :root:lang(ja) body { line-height: 1.85; }
:root:lang(zh) :is(h1, h2, h3, .wp-block-button__link), :root:lang(ja) :is(h1, h2, h3, .wp-block-button__link) { font-family: var(--kz-display); }
:lang(zh) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3) { line-height: 1.4; word-break: auto-phrase; line-break: strict; text-wrap: balance; }
:lang(zh) :is(p, li, td), :lang(ja) :is(p, li, td) { line-break: strict; overflow-wrap: anywhere; }
:root:lang(zh), :root:lang(ja) { --wp--preset--font-size--giant: clamp(2.1rem, 0.9rem + 3.3vw, 3.375rem); --wp--preset--font-size--wedge: clamp(1.9rem, 0.8rem + 3vw, 3.2rem); --wp--preset--font-size--x-large: 1.75rem; --wp--preset--font-size--xx-large: clamp(1.9rem, 1.3rem + 1.4vw, 2.4rem); }
:lang(de) :is(h1, h2, h3) { overflow-wrap: break-word; }
.kz-sec { padding: calc(var(--kz-rhythm) * .5) 20px; box-sizing: border-box; }
.kz-sec > * { max-width: 1120px; margin-inline: auto; }
.kz-main { display: block; }
.kz-title { font-family: var(--kz-display); font-size: 2.25rem; font-weight: 500; letter-spacing: 2px; line-height: 1.3; margin-block: 0; }
.kz-body { font-size: 1rem; line-height: 1.5; margin-block: 0; }
.kz-eyebrow { font-family: var(--kz-display); font-size: .875rem; line-height: 1.5; font-weight: 500; letter-spacing: .04em; color: var(--kz-plum); margin: 0; }
.kz-lead { font-size: 1.125rem; line-height: 1.69; font-weight: 600; letter-spacing: .2px; margin: 0; }
.kz-label { font-family: var(--kz-display); font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--kz-plum); margin-block: 0; }

/* ---------- buttons ---------- */
.kz-btn .wp-block-button__link, .kz-btn .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-width: 325px; height: 52px; padding: 0 28px; border-radius: 8px;
	background: var(--kz-plum); color: #fff; box-shadow: var(--kz-shadow);
	font-family: var(--kz-display); font-size: .9375rem; font-weight: 700; letter-spacing: .04em; line-height: 1; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.kz-btn .wp-block-button__link:hover { background: var(--kz-plum-d); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(42, 36, 48, .18); }
.kz-btn--chev .wp-block-button__link::after { content: ""; width: 7px; height: 7px; margin-left: 14px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex: none; }
.kz-btn--wide { width: 100%; max-width: 432px; }
.kz-btn--wide .wp-block-button__link { width: 100%; height: 70px; border-radius: 12px; min-width: 0; }
.kz-btn--wide.wp-block-button { width: 100%; }
.kz-top__btn .kz-btn .wp-block-button__link { min-width: 0; height: 44px; padding: 0 20px; font-size: .875rem; }
.kz-top__btn.wp-block-buttons { gap: 0; }

/* ---------- header ---------- */
.kz-top { background: var(--kz-ground); border-bottom: 1px solid var(--kz-line); }
.kz-top__in { max-width: 1280px; margin: 0 auto; box-sizing: border-box; padding: 0 20px; min-height: 88px; display: flex; align-items: center; gap: 32px; }
.kz-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--kz-ink); flex: none; }
.kz-brand__name { font-family: var(--kz-display); font-size: 1.125rem; font-weight: 700; letter-spacing: .02em; }
.kz-mark { display: block; }
.kz-nav { margin-left: auto; }
.kz-nav .wp-block-navigation-item__content { font-family: var(--kz-display); font-size: .875rem; font-weight: 500; line-height: 1.5; color: var(--kz-ink); padding: 8px 4px; text-decoration: none; }
.kz-nav .wp-block-navigation-item__content:hover { color: var(--kz-plum); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kz-nav .wp-block-navigation__container { gap: 28px; }
.kz-top .wp-block-navigation__responsive-container-open { color: var(--kz-ink); }

/* ---------- hero: strip / beside-photo / card-row ---------- */
.kz-hero { background: var(--kz-haze); padding: 32px 20px 40px; box-sizing: border-box; }
.kz-hero__in { max-width: 1280px; margin-inline: auto; }
.kz-hero__grid { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); column-gap: 40px; align-items: center; }
.kz-hero__text { padding-bottom: 48px; }
.kz-hero__text > * { margin: 0; }
.kz-hero__text .kz-h1 { margin-top: 14px; }
.kz-hero__text .kz-lead { margin-top: 22px; }
.kz-hero__btns { margin-top: 28px; }
.kz-h1 { font-family: var(--kz-display); font-size: var(--wp--preset--font-size--giant); font-weight: 400; line-height: 1.12; letter-spacing: .2px; text-wrap: balance; }
.kz-h1--page { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.2; }
.kz-hero__photo { margin: 0; position: relative; aspect-ratio: 10 / 7; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .7); box-sizing: border-box; background: var(--kz-haze); overflow: clip; }
.kz-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; display: block; }
.kz-hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(238, 234, 241, .55), transparent 20%); }

/* frosted card shelf docked on the lower edge of the photo (nri.com/en hero foot cards) */
.kz-shelf { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -40px; }
.kz-frost { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; box-sizing: border-box; height: 128px; padding: 16px; border-radius: 16px;
	background: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); border: 1px solid rgba(255, 255, 255, .6); }
.kz-frost__thumb { margin: 0; width: 96px; height: 96px; }
.kz-frost__thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; }
.kz-frost__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kz-frost__t { font-family: var(--kz-display); font-size: 1rem; line-height: 1.4; font-weight: 700; margin: 0; }
.kz-frost__p { font-size: .875rem; line-height: 1.43; color: #3D3645; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kz-frost__more { margin: auto 0 0; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.kz-frost__more a { color: var(--kz-plum); text-decoration: none; }
.kz-frost__more a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.kz-frost__more a:hover { text-decoration: underline; }
.kz-dots { display: none; margin: 12px 0 0; justify-content: center; gap: 8px; }
.kz-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--kz-field); }
.kz-dots i.is-on { background: var(--kz-plum); }

/* ---------- lede ---------- */
.kz-lede { padding-top: var(--kz-rhythm); }
.kz-fees-sec { padding-top: var(--kz-rhythm); }
.kz-lede__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.kz-lede__text { display: grid; gap: 20px; }

/* ---------- who we advise: hairline rows ---------- */
.kz-advise .kz-title { margin-bottom: 32px; }
.kz-rows { border-bottom: 1px solid var(--kz-line); }
.kz-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 24px; gap: 28px; align-items: center; min-height: 120px; padding: 20px 0; border-top: 1px solid var(--kz-line); position: relative; }
.kz-row::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--kz-plum); border-right: 2px solid var(--kz-plum); transform: rotate(45deg); justify-self: center; transition: transform .3s var(--kz-ease); }
.kz-row:hover::after { transform: translateX(4px) rotate(45deg); }
.kz-row__img { margin: 0; width: 160px; height: 120px; }
.kz-row__img img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; }
.kz-row__t { font-family: var(--kz-display); font-size: 1.25rem; line-height: 1.4; font-weight: 700; margin: 0 0 6px; }
.kz-row__t a { color: var(--kz-ink); text-decoration: none; }
.kz-row__t a::before { content: ""; position: absolute; inset: 0; }
.kz-row__p { margin: 0; font-size: .9375rem; line-height: 1.55; color: #3D3645; max-width: 70ch; }

/* ---------- four facts ---------- */
.kz-figures .kz-title { margin-bottom: 40px; }
.kz-figures__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.kz-fig { border-top: 1px solid var(--kz-line); padding-top: 20px; }
.kz-fig__n { font-family: var(--kz-display); font-size: 3rem; font-weight: 400; line-height: 1.1; color: var(--kz-plum); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.kz-fig__t { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--kz-muted); }

/* ---------- plum wedge band (nri.com/en Services & Solutions band) ---------- */
.kz-brief { background: var(--kz-ground); padding-top: calc(var(--kz-rhythm) * .5); position: relative; }
.kz-brief__head { max-width: 1280px; margin: 0 auto; box-sizing: border-box; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: end; position: relative; z-index: 2; }
.kz-brief__lead { align-self: start; display: grid; gap: 20px; max-width: 480px; padding-bottom: 8px; }
.kz-brief__fig { position: relative; justify-self: end; width: min(100%, 520px); }
.kz-frame { margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--kz-shadow); }
.kz-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.kz-pills { position: absolute; left: -36px; top: 36px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.kz-pill { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--kz-plum); color: #fff; font-family: var(--kz-display); font-size: .8125rem; line-height: 1.2; font-weight: 600; box-shadow: var(--kz-shadow); }
.kz-pill__n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--kz-plum); font-size: .75rem; font-weight: 700; }
.kz-brief__band { position: relative; margin-top: -260px; padding: calc(min(25vw, 380px) + 50px) 20px 96px; box-sizing: border-box; }
.kz-brief__bg { position: absolute; inset: 0; background: var(--wp--preset--gradient--wedge); clip-path: polygon(0 min(25vw, 380px), 100% 0, 100% 100%, 0 100%); }
.kz-brief__in { position: relative; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px); gap: 48px; align-items: center; color: #fff; }
.kz-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 1rem; line-height: 1.6; color: #fff; max-width: 520px; }
.kz-parts li { margin: 0; padding: 0 0 0 22px; position: relative; }
.kz-parts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--kz-accent); }
.kz-parts strong { font-family: var(--kz-display); font-weight: 700; }
.kz-statement { margin: 0; text-align: right; color: #fff; font-family: var(--kz-display); font-weight: 400; letter-spacing: 0; line-height: 1.15; text-wrap: balance; }
.kz-statement .kz-k { font-size: var(--wp--preset--font-size--wedge); font-weight: 500; line-height: 1.15; }
.kz-statement .kz-c { font-size: 1.5rem; font-weight: 400; }

/* ---------- parallax room band ---------- */
.kz-room { --sp-par: 10%; min-height: 520px; align-items: flex-end; justify-content: flex-start; padding: 0; box-sizing: border-box; }
.kz-room .wp-block-cover__inner-container { width: 100%; max-width: 1280px; margin-inline: auto; box-sizing: border-box; padding: 0 20px 48px; }
.kz-room__card { background: #fff; border-radius: 16px; padding: 28px; max-width: 420px; box-sizing: border-box; box-shadow: var(--kz-shadow); }
.kz-room__card > * { margin: 0; }
.kz-room__h { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-bottom: 12px !important; }
.kz-room__q { font-size: 1.0625rem; line-height: 1.6; }
.kz-room__by { margin-top: 14px !important; font-size: .875rem; color: var(--kz-muted); font-weight: 600; }

/* ---------- fixed fees ---------- */
.kz-fees-sec .kz-title { margin-bottom: 16px; }
.kz-fees-intro { max-width: 70ch; margin-bottom: 32px; margin-inline: auto; }
.kz-fees-sec .kz-fees-intro { max-width: 1120px; padding-right: 30%; box-sizing: border-box; }
.kz-fees { margin: 0 auto 40px; max-width: 1120px; }
.kz-fees table { width: 100%; border-collapse: collapse; table-layout: auto; border: 0; font-size: 1rem; }
.kz-fees th { text-align: left; font-family: var(--kz-display); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kz-muted); padding: 0 0 12px; border: 0; }
.kz-fees td { padding: 20px 0; min-height: 64px; border: 0; border-top: 1px solid var(--kz-line); vertical-align: middle; line-height: 1.5; }
.kz-fees tbody tr:last-child td { border-bottom: 1px solid var(--kz-line); }
.kz-fees :is(th, td):last-child { white-space: nowrap; text-align: right; width: 1%; padding-left: 32px; }
.kz-fees td:last-child { font-family: var(--kz-display); font-size: 1.25rem; font-weight: 500; color: var(--kz-plum); }
.kz-fees__btns { margin-block: 0; }

/* ---------- team: one snap row ---------- */
.kz-team .kz-title { margin-bottom: 40px; }
.kz-team__intro { display: block; margin-bottom: 48px; }
.kz-team__intro .kz-team__text { max-width: 760px; margin-left: 0; }
.kz-team__text { display: grid; gap: 20px; }
.kz-people { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--kz-field) transparent; }
.kz-person { flex: 0 0 200px; box-sizing: border-box; background: transparent; border-radius: 12px; padding: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; scroll-snap-align: start; }
.kz-person__ph { margin: 0; }
.kz-person__ph img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.kz-person__mono { margin: 0; font-family: var(--kz-display); font-size: 2.25rem; font-weight: 400; line-height: 1; color: var(--kz-plum); }
.kz-person__n { font-family: var(--kz-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; margin: 14px 0 2px; }
.kz-person__r { margin: 0; font-size: .875rem; line-height: 1.43; color: var(--kz-muted); }

/* ---------- notes: dated hairline rows ---------- */
.kz-notes__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-bottom: 32px; }
.kz-notes__lead { display: grid; gap: 20px; }
.kz-notes__img { margin: 0; }
.kz-notes__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; max-height: 240px; }
.kz-newslist { max-width: 1120px; margin-inline: auto; border-bottom: 1px solid var(--kz-line); }
.kz-newslist .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.kz-newslist .wp-block-post-template > li { margin: 0; }
.kz-nrow { display: grid; grid-template-columns: 120px 140px minmax(0, 1fr); gap: 24px; align-items: center; min-height: 88px; border-top: 1px solid var(--kz-line); padding: 16px 0; box-sizing: border-box; }
.kz-nrow__d { margin: 0; font-size: .875rem; color: var(--kz-muted); font-variant-numeric: tabular-nums; }
.kz-chip { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--kz-plum); }
.kz-chip a { color: inherit; text-decoration: none; }
.kz-nrow__t { margin: 0; font-family: var(--kz-display); font-size: 1.125rem; font-weight: 500; line-height: 1.45; }
.kz-nrow__t a { color: var(--kz-ink); text-decoration: none; }
.kz-nrow__t a:hover { color: var(--kz-plum); text-decoration: underline; }

/* ---------- aurora request panel (nri.com/en owned-media panel) ---------- */
.kz-request { padding-bottom: var(--kz-rhythm); }
.kz-aurora { position: relative; max-width: 1120px; margin-inline: auto; border-radius: 24px; overflow: hidden; background: var(--kz-ground); border: 1px solid var(--kz-line); box-sizing: border-box; padding: 56px; isolation: isolate; }
.kz-aurora__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.kz-blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(48px); }
.kz-blob--1 { left: -120px; top: -140px; background: radial-gradient(circle, #CFC2DF 0%, rgba(207, 194, 223, 0) 70%); }
.kz-blob--2 { right: -100px; top: -120px; background: radial-gradient(circle, #C3DED8 0%, rgba(195, 222, 216, 0) 70%); }
.kz-blob--3 { left: -60px; bottom: -200px; background: radial-gradient(circle, #E8C9D1 0%, rgba(232, 201, 209, 0) 70%); }
.kz-aurora__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; }
.kz-aurora__l { display: grid; gap: 18px; align-content: start; }
.kz-aurora__l > * { margin: 0; }
.kz-req__btns { margin-top: 8px !important; }
.kz-fcard { background: #fff; border-radius: 24px; padding: 16px; box-sizing: border-box; box-shadow: var(--kz-shadow); }
.kz-fcard > * { margin: 0; }
.kz-fcard__img { margin: 0 0 16px !important; }
.kz-fcard__img img { width: 100%; aspect-ratio: 400 / 210; object-fit: cover; border-radius: 8px; }
.kz-fcard__t { font-family: var(--kz-display); font-size: 1.125rem; font-weight: 700; line-height: 1.4; padding: 0 8px; }
.kz-fcard__d { padding: 4px 8px 8px; font-size: .875rem; color: var(--kz-muted); line-height: 1.5; }
.kz-nl { max-width: 1120px; margin: 40px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
.kz-nl__text > * { margin: 0; }
.kz-nl__t { font-family: var(--kz-display); font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px !important; }
.kz-nl__p { font-size: .9375rem; line-height: 1.55; color: var(--kz-muted); }
.sp-form-slot { max-width: 100%; }
.sp-newsletter-fallback { display: grid; gap: 10px; }
.sp-newsletter-fallback p { font-size: .8125rem; line-height: 1.5; margin: 0; color: var(--kz-muted); }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form, .wp-block-form, .wp-block-jetpack-contact-form, .wp-block-jetpack-subscriptions, .sp-newsletter-fallback) { --sp-form-border: var(--kz-field); font-size: .9375rem; }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form, .wp-block-form, .wp-block-jetpack-contact-form, .wp-block-jetpack-subscriptions, .sp-newsletter-fallback) :is(input:not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select) { min-height: 48px; }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form, .wp-block-form, .wp-block-jetpack-contact-form, .wp-block-jetpack-subscriptions, .sp-newsletter-fallback) label { font-size: .875rem; font-weight: 600; }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form, .wp-block-form, .wp-block-jetpack-contact-form, .wp-block-jetpack-subscriptions, .sp-newsletter-fallback) :is(button[type="submit"], input[type="submit"], .wpforms-submit) { min-height: 48px; border: 0; font-family: var(--kz-display); font-weight: 700; letter-spacing: .04em; }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form) :is(.wpcf7-not-valid-tip, .wpforms-error, .mailpoet_validate_error) { color: var(--wp--preset--color--error); border-color: var(--wp--preset--color--error); }
body :is(.wpcf7, .wpforms-container, .mailpoet_form, .mc4wp-form) :is(.wpcf7-mail-sent-ok, .wpforms-confirmation-container-full, .mailpoet_validate_success) { color: var(--wp--preset--color--success); border-color: var(--wp--preset--color--success); }

/* ---------- footer (dark ink) ---------- */
.kz-footer { background: var(--kz-ink); color: var(--kz-haze); padding: 72px 20px 32px; box-sizing: border-box;
	--sp-form-surface: var(--kz-plum-d); --sp-form-text: var(--kz-ground); --sp-form-accent: var(--kz-haze); --sp-form-on-accent: var(--kz-ink); --sp-form-focus: rgba(238, 234, 241, .6); }
.kz-footer a { color: var(--kz-haze); text-decoration: none; }
.kz-footer a:hover { text-decoration: underline; }
.kz-fcols { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 48px; }
.kz-fbrand { font-family: var(--kz-display); font-size: 1.25rem; font-weight: 700; margin: 0 0 14px; color: #fff; }
.kz-fhead { font-family: var(--kz-display); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; color: #CFC7D6; }
.kz-fsmall { font-size: .875rem; line-height: 1.6; margin: 0 0 6px; color: var(--kz-haze); }
.kz-flink { font-size: .9375rem; margin: 0 0 8px; }
.kz-fnl { max-width: 360px; }
.kz-footer body :is(.sp-newsletter-fallback), .kz-footer .sp-newsletter-fallback { --sp-form-border: #8A7F94; }
.kz-footer .sp-newsletter-fallback p { color: #CFC7D6; }
.kz-fbottom { max-width: 1280px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(238, 234, 241, .18); }
.kz-fbottom .kz-fsmall { margin: 0; color: #CFC7D6; }

/* ---------- inner and template pages ---------- */
.kz-pagehead { background: var(--kz-haze); padding: clamp(40px, 6vw, 72px) 20px; box-sizing: border-box; }
.kz-pagehead > * { max-width: 1120px; margin-inline: auto !important; }
.kz-pagehead .kz-label { margin-bottom: 10px; }
.kz-phead { background: var(--kz-haze); padding: clamp(40px, 6vw, 72px) 20px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 58fr); gap: 40px; align-items: center; max-width: none; }
.kz-phead__panel { max-width: 480px; margin-left: auto; width: 100%; }
.kz-phead__panel > * { margin: 0; }
.kz-phead__label { font-family: var(--kz-display); font-size: .875rem; font-weight: 500; letter-spacing: .08em; color: var(--kz-plum); margin-bottom: 10px !important; }
.kz-phead__img { margin: 0; max-width: 700px; }
.kz-phead__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 12px; }
.kz-pagebody, .kz-innerbody { padding: 0; }
.kz-pagebody > :not(.alignfull):not(.kz-sec), .kz-innerbody > :not(.alignfull):not(.kz-sec) { max-width: 720px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
.kz-pagebody { padding-block: 48px 96px; }
.kz-pagebody > * + * { margin-top: 20px; }
.kz-article > * { max-width: 720px; }
.kz-article .kz-pagehead { background: transparent; padding: 0 0 24px; }
.kz-feature { margin: 0 auto 32px; }
.kz-feature img { border-radius: 12px; width: 100%; object-fit: cover; }
.kz-prose { max-width: 720px; }
.kz-prose > * + * { margin-top: 1.2em; }
.kz-tags a { font-size: .875rem; margin-right: 12px; }
.kz-postnav { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; }
.kz-search { max-width: 560px; margin-top: 24px; }
.kz-btns.wp-block-buttons { margin-top: 24px; }
.kz-list .kz-newslist { max-width: 1120px; }
.kz-newslist--page { margin-inline: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.kz-hero__grid { column-gap: 28px; }
	.kz-frost { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
	.kz-frost__thumb, .kz-frost__thumb img { width: 80px; height: 80px; }
	.kz-fcols { grid-template-columns: 1fr 1fr; }
	.kz-aurora__in { grid-template-columns: minmax(0, 1fr); }
	.kz-fcard { max-width: 460px; }
	.kz-nl { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
	.kz-top__in { gap: 16px; }
	.kz-top .kz-top__btn { display: none; }
	.kz-lede__grid, .kz-team__intro, .kz-notes__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.kz-figures__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kz-brief__head { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.kz-brief__lead { max-width: none; }
	.kz-brief__fig { justify-self: start; width: min(100%, 520px); }
	.kz-brief__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.kz-parts { max-width: none; order: 2; }
	.kz-phead { grid-template-columns: minmax(0, 1fr); }
	.kz-phead__panel { margin-left: 0; max-width: none; }
}
@media (max-width: 781px) {
	.kz-hero { padding: 24px 20px 28px; }
	.kz-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	.kz-hero__text { padding-bottom: 0; }
	.kz-hero__text .kz-h1 { font-size: 2.75rem; }
	.kz-btn .wp-block-button__link, .kz-btn .wp-element-button { min-width: 0; width: 100%; }
	.kz-hero__btns .wp-block-button, .kz-hero__btns.wp-block-buttons { width: 100%; }
	.kz-hero__photo { aspect-ratio: 4 / 3; }
	.kz-shelf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; margin: -24px -20px 0; padding: 0 20px 4px; gap: 16px; scrollbar-width: none; }
	.kz-shelf::-webkit-scrollbar { display: none; }
	.kz-frost { flex: 0 0 86%; scroll-snap-align: start; grid-template-columns: 80px minmax(0, 1fr); background: rgba(255, 255, 255, .6); }
	.kz-dots { display: flex; }
	.kz-row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
	.kz-row::after { display: none; }
	.kz-row__img, .kz-row__img img { width: 112px; height: 84px; }
	.kz-row__t { font-size: 1.0625rem; }
	.kz-row__p { font-size: .875rem; }
	.kz-figures__row { gap: 24px; }
	.kz-fig__n { font-size: 2.5rem; }
	.kz-brief__band { padding: calc(min(25vw, 380px) + 40px) 20px 64px; margin-top: -120px; }
	.kz-brief__bg { clip-path: polygon(0 min(25vw, 380px), 100% 0, 100% 100%, 0 100%); }
	.kz-pills { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 14px; }
	.kz-statement .kz-c { font-size: 1.25rem; }
	.kz-statement { text-align: left; }
	.kz-room { min-height: 360px; }
	.kz-room .wp-block-cover__inner-container { padding-bottom: 24px; }
	.kz-room__card { padding: 20px; }
	.kz-fees :is(table, tbody, tr, td) { display: block; width: auto; }
	.kz-fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.kz-fees tr { padding: 16px 0; border-top: 1px solid var(--kz-line); }
	.kz-fees tbody tr:last-child { border-bottom: 1px solid var(--kz-line); }
	.kz-fees td { padding: 0; border: 0 !important; min-height: 0; }
	.kz-fees-sec .kz-fees-intro { padding-right: 0; }
	.kz-fees :is(th, td):last-child { text-align: left; white-space: normal; width: auto; padding: 6px 0 0; }
	.kz-person { flex-basis: 156px; }
	.kz-nrow { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 0; }
	.kz-aurora { padding: 28px 20px; border-radius: 20px; }
	.kz-btn--wide .wp-block-button__link { height: 64px; }
	.kz-fcols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.kz-footer { padding-top: 56px; }
	.kz-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--kz-ground); }
}
@media (prefers-reduced-motion: reduce) {
	.kz-btn .wp-block-button__link, .kz-row::after { transition: none; }
	.kz-people, .kz-shelf { scroll-behavior: auto; }
}
.kz-formbox { max-width: 560px; }

/* ---------- inner pages: page head strip, split text, wedge, rows ---------- */
.kz-phead--inner .kz-phead__panel .kz-phead__lead { margin-top: 18px !important; }
.kz-phead__img { overflow: clip; border-radius: 12px; --sp-par: 6%; aspect-ratio: 21 / 9; position: relative; }
.kz-phead__img img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.kz-phead--cards { padding-bottom: 40px; row-gap: 0; }
.kz-phead--cards .kz-shelf { grid-column: 1 / -1; width: 100%; max-width: 1120px; margin-inline: auto; box-sizing: border-box; }
.kz-phead--cards + .kz-sec, .kz-phead--cards + .kz-fees-sec { padding-top: calc(var(--kz-rhythm) * .8); }
.kz-pagehead--plain .kz-pagehead__lead { margin-top: 16px; max-width: 720px; }
.kz-h2 { font-family: var(--kz-display); font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: .5px; margin: 0; }
.kz-split__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.kz-split__body { display: grid; gap: 18px; }
.kz-split__body > * { margin: 0; }
.kz-split__body .kz-body { line-height: 1.75; max-width: 68ch; }
.kz-split + .kz-split .kz-split__in { border-top: 1px solid var(--kz-line); padding-top: calc(var(--kz-rhythm) * .5); margin-top: calc(var(--kz-rhythm) * -.1); }
.kz-formbox-wrap { margin-top: 12px; }
.kz-sendlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 1rem; line-height: 1.7; }
.kz-sendlist li { margin: 0; padding-left: 22px; position: relative; }
.kz-sendlist li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--kz-accent); }
.kz-sendlist strong { font-family: var(--kz-display); font-weight: 700; }

/* T2: plum wedge band with a rising edge */
.kz-wedge { position: relative; margin-top: 24px; padding: calc(min(12vw, 150px) + 56px) 20px 88px; box-sizing: border-box; color: #fff; }
.kz-wedge__bg { position: absolute; inset: 0; background: var(--wp--preset--gradient--wedge); clip-path: polygon(0 min(12vw, 150px), 100% 0, 100% 100%, 0 100%); }
.kz-wedge__in { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.kz-wedge__l > * { margin: 0; }
.kz-wedge__eyebrow { font-family: var(--kz-display); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #E6E0EB; margin-bottom: 14px !important; }
.kz-statement--wedge { text-align: left; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 500; line-height: 1.15; }
.kz-wedge__text { display: grid; gap: 18px; }
.kz-wedge__text > * { margin: 0; }
.kz-wedge__text .kz-body { line-height: 1.75; color: #fff; }
.kz-btn--onplum .wp-block-button__link { background: #fff; color: var(--kz-plum-d); }
.kz-btn--onplum .wp-block-button__link:hover { background: var(--kz-haze); color: var(--kz-plum-d); }
.kz-wedge .kz-btns.wp-block-buttons { margin-top: 12px; }

/* seven people: rows, not a grid */
.kz-people-sec .kz-title { margin-bottom: 32px; }
.kz-prows { max-width: 1120px; border-bottom: 1px solid var(--kz-line); }
.kz-prow { display: grid; grid-template-columns: 72px minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: center; border-top: 1px solid var(--kz-line); padding: 16px 0; box-sizing: border-box; }
.kz-prow > * { margin: 0; }
.kz-prow__ph img { display: block; width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.kz-prow__id > * { margin: 0; }
.kz-prow__n { font-family: var(--kz-display); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.kz-prow__r { font-size: .875rem; line-height: 1.43; color: var(--kz-muted); }
.kz-prow__b { font-size: .9375rem; line-height: 1.65; }

/* engagements: hairline rows */
.kz-erows { max-width: 1120px; border-bottom: 1px solid var(--kz-line); }
.kz-erow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; border-top: 1px solid var(--kz-line); padding: 40px 0; scroll-margin-top: 24px; }
.kz-erow__head > *, .kz-erow__body > * { margin: 0; }
.kz-erow__body { display: grid; gap: 16px; }
.kz-erow__body .kz-body { line-height: 1.75; max-width: 68ch; }
.kz-erow__t { font-family: var(--kz-display); font-size: 1.5rem; font-weight: 500; line-height: 1.3; margin-bottom: 18px !important; }
.kz-erow__k { font-family: var(--kz-display); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kz-muted); }
.kz-erow__fee { font-family: var(--kz-display); font-size: 1.5rem; font-weight: 500; color: var(--kz-plum); line-height: 1.3; }
.kz-erow__dur { font-size: .875rem; color: var(--kz-muted); margin-top: 4px !important; }
.kz-fees-note { margin-top: 24px; max-width: 70ch; }
.kz-fees-sec--inner .kz-fees { margin-bottom: 0; }
.kz-room--inner .kz-room__by { margin-top: 8px; }

/* T3: aurora panel on inner pages */
.kz-auroraSec { padding-bottom: calc(var(--kz-rhythm) * .5); }
.kz-aurora__l .kz-nl__form { max-width: 520px; }
.kz-aurora__l .kz-body { line-height: 1.7; }
.kz-fcard__list { margin: 0; padding: 4px 8px 8px 28px; font-size: .9375rem; line-height: 1.6; display: grid; gap: 8px; }
.kz-fcard__list li { margin: 0; }
.kz-legal__in { max-width: 720px; margin-inline: auto; }
.kz-legal__in .kz-h2 { margin: 40px 0 12px; }
.kz-legal__in .kz-h2:first-child { margin-top: 0; }
.kz-legal__in .kz-body { line-height: 1.75; margin-bottom: 14px; }
.kz-jnote { max-width: 1120px; margin: 32px auto 0; font-size: .9375rem; line-height: 1.7; color: var(--kz-muted); }
@media (max-width: 900px) {
	.kz-split__in, .kz-erow, .kz-wedge__in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.kz-phead--inner.kz-phead--cards { row-gap: 24px; }
}
@media (max-width: 781px) {
	.kz-phead--cards { padding-bottom: 28px; }
	.kz-phead--cards .kz-shelf { margin: -24px -20px 0; width: auto; max-width: none; }
	.kz-wedge { padding: calc(min(12vw, 150px) + 36px) 20px 56px; }
	.kz-wedge__bg { clip-path: polygon(0 min(8vw, 60px), 100% 0, 100% 100%, 0 100%); }
	.kz-prow { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; }
	.kz-prow__b { grid-column: 1 / -1; }
	.kz-erow { padding: 28px 0; }
}
@media (min-width: 901px) {
	.kz-phead--cards { align-items: start; }
	.kz-phead--cards .kz-phead__panel { padding-bottom: 56px; }
}
