/*
 * Theme Name: 321 Child Theme
 * Theme URI: https://www.321webmarketing.com/
 * Author: 321 Web Marketing
 * Author URI: https://www.321webmarketing.com/
 * Description: 321 inspired child theme for the Genesis Framework.
 * Version: 1.0.1
 * License: GPL-3.0-or-later
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: tto-child
 * Domain Path: /languages
 * Template: genesis
 */

@charset 'UTF-8';

/*
 * Tidal Shield Insurance — design system (sister-site build, 2026-08-10)
 * Original work by 321 Web Marketing, derived from our Coastal Shield system
 * and re-skinned for the Tidal brand.
 * Palette: gulf navy / logo aqua / mist / coral. Type: Space Grotesk + Public Sans.
 * All sizes in px (tto-parent sets html font-size 62.5%).
 */

:root {
	--t-navy: #16455c;
	--t-navy-deep: #0e3245;
	--t-ink: #1b2b33;
	--t-mist: #e1f1f6;
	--t-shell: #f5f9fa;
	--t-body: #4e6069;
	--t-line: #dbe5e9;
	--t-accent-ink: #23708c;
	--t-aqua: #6fc7df;
	--t-aqua-deep: #4bb3d2;
	--t-coral: #e8836b;
	--t-white: #fff;
	--f-display: "Space Grotesk", Verdana, sans-serif;
	--f-body: "Public Sans", -apple-system, Segoe UI, sans-serif;
	--container: 1180px;
	--pad-x: 24px;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 10px 30px rgba(14, 50, 69, 0.10);
	--sec-y: 88px;
}

/* ---------- base ---------- */
body {
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--t-body);
	background: var(--t-white);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	color: var(--t-ink);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0;
	font-weight: 700;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.tsi-ic { width: 22px; height: 22px; flex: none; }

.tsi-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--pad-x);
}
.tsi-section { padding-block: var(--sec-y); }
.tsi-section--shell { background: var(--t-shell); }
.tsi-section--navy { background: var(--t-navy); }
.tsi-section--mist { background: var(--t-mist); }
.tsi-section--tight { padding-block: 56px; }

/* ---------- type & shared bits ---------- */
.tsi-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--t-accent-ink);
	margin-bottom: 14px;
}
.tsi-eyebrow__ic { width: 20px; height: 20px; color: var(--t-aqua-deep); }
.tsi-h1 { font-size: clamp(38px, 4.6vw, 58px); }
.tsi-h2 { font-size: clamp(28px, 3.2vw, 40px); }
.tsi-h3 { font-size: 20px; font-weight: 600; }
.tsi-lede { margin-top: 14px; font-size: 17px; max-width: 640px; }
.tsi-head { margin-bottom: 44px; }
.tsi-head--center { text-align: center; }
.tsi-head--center .tsi-eyebrow { justify-content: center; }
.tsi-head--center .tsi-lede { margin-inline: auto; }
.tsi-head--light .tsi-h2, .tsi-head--light .tsi-lede { color: var(--t-white); }
.tsi-head--light .tsi-lede { opacity: 0.8; }
.tsi-head--light .tsi-eyebrow { color: var(--t-mist); }
.tsi-head--light .tsi-eyebrow__ic { color: var(--t-aqua); }

.tsi-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--t-aqua);
	color: var(--t-ink);
	font-weight: 700;
	font-size: 15px;
	padding: 14px 22px;
	border-radius: var(--radius);
	border: 2px solid var(--t-aqua);
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.tsi-btn:hover {
	background: var(--t-navy);
	border-color: var(--t-navy);
	color: var(--t-white);
	transform: translateY(-1px);
}
.tsi-btn__ic { width: 18px; height: 18px; }
.tsi-btn--ghost {
	background: transparent;
	border-color: rgba(27, 43, 51, 0.25);
	color: var(--t-ink);
}
.tsi-btn--ghost:hover { background: rgba(27, 43, 51, 0.06); color: var(--t-ink); transform: none; }
.tsi-btn--light { color: var(--t-ink); }
.tsi-btn--ghost.tsi-btn--light { color: var(--t-white); border-color: rgba(255,255,255,0.4); }
.tsi-btn--ghost.tsi-btn--light:hover { background: rgba(255,255,255,0.12); color: var(--t-white); }

.tsi-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	padding: 8px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--t-ink);
	width: fit-content;
}
.tsi-chip__ic { width: 18px; height: 18px; color: var(--t-aqua-deep); }
.tsi-chip--light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: var(--t-white); }
.tsi-chip--light .tsi-chip__ic { color: var(--t-aqua); }

.tsi-iconbox {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--t-mist);
	color: var(--t-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* framed imagery (the Tidal take on the donor arch: squared frame + offset aqua panel) */
.tsi-frame {
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	border: 6px solid var(--t-white);
	box-shadow: var(--shadow);
}
.tsi-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.tsi-frame--wide img { aspect-ratio: 4 / 3.1; }

/* ---------- topbar (dark navy strip — inverted vs the sister site) ---------- */
.tsi-topbar {
	background: var(--t-navy-deep);
	font-size: 13px;
}
.tsi-topbar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 38px;
	padding-block: 4px;
}
.tsi-topbar__cluster { display: flex; align-items: center; gap: 18px; }
.tsi-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	transition: color .15s ease;
}
.tsi-topbar__item:hover { color: var(--t-aqua); }
.tsi-topbar__ic { width: 14px; height: 14px; opacity: 0.8; color: var(--t-aqua); }
.tsi-topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.25); }
.tsi-topbar__social { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- header ---------- */
.tsi-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--t-white);
	border-bottom: 1px solid var(--t-line);
	transition: box-shadow .25s ease;
}
.tsi-header.is-scrolled { box-shadow: var(--shadow); }
.tsi-header__bar {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 86px;
}
.tsi-logo { display: flex; }
.tsi-logoimg { height: 58px; width: auto; }
.tsi-logoimg--light { filter: brightness(0) invert(1); opacity: 0.95; }
.tsi-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tsi-nav > li { position: relative; }
.tsi-nav a, .tsi-nav button {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--t-ink);
	background: none;
	border: 0;
	cursor: pointer;
	border-radius: 8px;
	font-family: var(--f-body);
}
.tsi-nav a:hover, .tsi-nav button:hover { background: var(--t-shell); }
.tsi-nav .tsi-ic { width: 15px; height: 15px; transition: transform .2s ease; }
.tsi-nav li.is-open > button .tsi-ic { transform: rotate(180deg); }
.tsi-drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 290px;
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.tsi-nav li.is-open > .tsi-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.tsi-drop a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	font-weight: 600;
	border-radius: 8px;
}
.tsi-drop .tsi-iconbox { width: 36px; height: 36px; border-radius: 9px; }
.tsi-drop .tsi-iconbox .tsi-ic { width: 18px; height: 18px; }
.tsi-header__cta { display: flex; align-items: center; gap: 14px; }
.tsi-header__cta .tsi-btn { padding: 9px 16px; font-size: 14px; gap: 8px; }
.tsi-header__cta .tsi-btn .tsi-btn__ic { width: 16px; height: 16px; }
.tsi-header__tel { font-weight: 700; font-size: 15px; color: var(--t-navy); display: flex; align-items: center; gap: 8px; }
.tsi-header__tel:hover { color: var(--t-navy-deep); }
.tsi-header__telic { width: 18px; height: 18px; }
.tsi-burger { display: none; background: none; border: 0; color: var(--t-ink); cursor: pointer; padding: 8px; }
.tsi-burger .tsi-ic { width: 26px; height: 26px; }

/* mobile drawer */
.tsi-drawer {
	position: fixed;
	inset: 0;
	z-index: 990;
	background: rgba(14, 50, 69, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s;
}
.tsi-drawer.is-open { opacity: 1; visibility: visible; }
.tsi-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(380px, 88vw);
	background: var(--t-white);
	padding: 22px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .3s ease;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.tsi-drawer.is-open .tsi-drawer__panel { transform: translateX(0); }
.tsi-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.tsi-drawer__nav a, .tsi-drawer__nav button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--t-ink);
	border: 0;
	border-bottom: 1px solid var(--t-line);
	background: none;
	font-family: var(--f-body);
	cursor: pointer;
}
.tsi-drawer__sub { padding: 6px 0 6px 14px; display: none; }
.tsi-drawer__sub.is-open { display: block; }
.tsi-drawer__sub a { border: 0; font-weight: 500; color: var(--t-body); padding: 9px 4px; }
.tsi-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ---------- home hero (wave divider at the base — the Tidal signature) ---------- */
.tsi-hero {
	position: relative;
	background: var(--t-navy-deep);
	color: var(--t-white);
	overflow: hidden;
}
.tsi-hero__img { position: absolute; inset: 0; }
.tsi-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.tsi-hero__img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(14,50,69,0.94) 24%, rgba(14,50,69,0.5) 66%, rgba(14,50,69,0.28) 100%);
}
.tsi-hero__inner { position: relative; padding-block: 118px 132px; max-width: 640px; }
.tsi-hero__inner .tsi-h1 { color: var(--t-white); margin: 18px 0; }
.tsi-hero__copy { font-size: 18px; opacity: 0.88; max-width: 560px; }
.tsi-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.tsi-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 54px;
	color: var(--t-white);
	display: block;
	z-index: 2;
}
.tsi-hero__wave svg { width: 100%; height: 100%; display: block; }

/* ---------- page hero (interior) ---------- */
.tsi-phero { background: var(--t-mist); overflow: hidden; }
.tsi-phero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
	padding-block: 72px;
}
.tsi-phero .tsi-h1 { font-size: clamp(32px, 3.8vw, 46px); margin: 16px 0; }
.tsi-phero__copy { font-size: 17px; max-width: 520px; }
.tsi-phero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- stats split (home intro) ---------- */
.tsi-stats { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.tsi-stats__copy .tsi-lede { max-width: 560px; }
.tsi-stats__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.tsi-statcards { display: flex; flex-direction: column; gap: 18px; }
.tsi-statcard {
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-left: 5px solid var(--t-coral);
	border-radius: var(--radius);
	padding: 24px 26px;
	box-shadow: var(--shadow);
}
.tsi-statcard strong {
	display: block;
	font-family: var(--f-display);
	font-size: 27px;
	color: var(--t-navy);
	margin-bottom: 6px;
}
.tsi-statcard p { font-size: 14.5px; }
.tsi-stats__img { grid-column: 1 / -1; margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; }
.tsi-stats__img img { width: 100%; max-height: 420px; object-fit: cover; }

/* ---------- services grid ---------- */
.tsi-svcgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.tsi-svc {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	padding: 26px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tsi-svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--t-mist); }
.tsi-svc p { font-size: 14.5px; }
.tsi-svc__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--t-navy); margin-top: auto; }
.tsi-svc__go .tsi-ic { width: 16px; height: 16px; transition: transform .2s ease; }
.tsi-svc:hover .tsi-svc__go .tsi-ic { transform: translateX(4px); }

/* ---------- numbered points + photo (2x2 point cards — Tidal variant) ---------- */
.tsi-points { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.tsi-points__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 12px;
}
.tsi-point {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--t-shell);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	padding: 20px;
}
.tsi-point__num {
	font-family: var(--f-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--t-coral);
	line-height: 1.3;
}
.tsi-point h3 { margin-bottom: 2px; font-size: 17px; }
.tsi-point p { font-size: 14.5px; }
.tsi-points__cta { margin-top: 26px; }
.tsi-points__lead { margin-top: 4px; font-size: 16px; }

/* ---------- dark prop band ---------- */
.tsi-props { color: var(--t-white); }
.tsi-props__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tsi-props--three .tsi-props__grid { grid-template-columns: repeat(3, 1fr); }
.tsi-prop {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.tsi-prop .tsi-iconbox { background: rgba(111, 199, 223, 0.14); color: var(--t-aqua); }
.tsi-prop h3 { color: var(--t-white); }
.tsi-prop p { font-size: 14.5px; opacity: 0.8; }
.tsi-prop .tsi-btn { margin-top: auto; width: fit-content; }
.tsi-props__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid rgba(255,255,255,0.14);
}

/* ---------- media rows ---------- */
.tsi-media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tsi-media--flip .tsi-media__img { order: 2; }
.tsi-media__img { position: relative; }
.tsi-media__img::before {
	content: "";
	position: absolute;
	inset: 26px -26px -26px 26px;
	border-radius: var(--radius-lg);
	background: var(--t-mist);
}
.tsi-media--flip .tsi-media__img::before { inset: 26px 26px -26px -26px; }
.tsi-media__logo {
	position: absolute;
	bottom: 18px;
	left: 18px;
	background: var(--t-white);
	border-radius: 10px;
	padding: 12px 16px;
	box-shadow: var(--shadow);
}
.tsi-media__logo img { height: 34px; width: auto; }
.tsi-media__body p + p { margin-top: 14px; }
.tsi-media__body p { font-size: 15.5px; }
.tsi-media__cta { margin-top: 26px; }

/* ---------- coverage checklist ---------- */
.tsi-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.tsi-cover__item {
	display: flex;
	gap: 16px;
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	padding: 20px 22px;
}
.tsi-cover__check {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--t-mist);
	color: var(--t-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	margin-top: 2px;
}
.tsi-cover__check .tsi-ic { width: 16px; height: 16px; }
.tsi-cover__item h3 { font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.tsi-cover__item h3 em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--t-accent-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.tsi-cover__item p { font-size: 14.5px; margin-top: 5px; }
.tsi-cover__cta { display: flex; justify-content: center; margin-top: 36px; }
.tsi-cover__item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- testimonials grid (3-up) ---------- */
.tsi-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tsi-quote {
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 4px 14px rgba(14,50,69,0.05);
}
.tsi-quote__stars { display: flex; gap: 3px; }
.tsi-quote__stars .tsi-ic { width: 15px; height: 15px; color: var(--t-coral); fill: var(--t-coral); }
.tsi-quote__text { font-size: 15px; color: var(--t-ink); }
.tsi-quote__by { font-size: 13.5px; font-weight: 700; color: var(--t-body); margin-top: auto; }
.tsi-quote__by span { font-weight: 500; opacity: 0.75; }
.tsi-quotes__foot { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- team (4-up — the shared family-of-agencies team) ---------- */
.tsi-team {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.tsi-member { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--f-body); width: 100%; display: block; color: var(--t-body); }
.tsi-member__photo { border-radius: var(--radius-lg); overflow: hidden; position: relative; display: block; }
.tsi-member__photo img { aspect-ratio: 1 / 1.15; width: 100%; object-fit: cover; transition: transform .3s ease; }
.tsi-member:hover .tsi-member__photo img { transform: scale(1.04); }
.tsi-member__photo::after {
	content: "View bio";
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: var(--t-white);
	color: var(--t-ink);
	font-size: 12px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: var(--radius);
	opacity: 0;
	transition: opacity .2s ease;
}
.tsi-member:hover .tsi-member__photo::after { opacity: 1; }
.tsi-member h3 { font-size: 17px; margin-top: 14px; }
.tsi-member p { font-size: 13.5px; margin-top: 2px; }

/* modal */
.tsi-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(14, 50, 69, 0.55);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.tsi-modal.is-open { display: flex; }
.tsi-modal__card {
	background: var(--t-white);
	border-radius: var(--radius-lg);
	max-width: 860px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	display: block;
	position: relative;
}
.tsi-modal__photo img { height: 100%; width: 100%; object-fit: cover; }
.tsi-modal__body { padding: 34px; }
.tsi-modal__body .tsi-eyebrow { margin-bottom: 6px; }
.tsi-modal__body h2 { font-size: 26px; margin-bottom: 12px; }
.tsi-modal__meta { font-size: 14px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.tsi-modal__meta a { color: var(--t-navy); font-weight: 600; }
.tsi-modal__bio { font-size: 15px; }
.tsi-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var(--t-white);
	border: 1px solid var(--t-line);
	border-radius: var(--radius);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--t-ink);
	z-index: 2;
	padding: 0;
}
.tsi-modal__panel { display: none; }
.tsi-modal__panel.is-open { display: grid; grid-template-columns: 300px 1fr; grid-column: 1 / -1; }

/* ---------- areas band ---------- */
.tsi-areas { text-align: center; color: var(--t-white); }
.tsi-areas .tsi-h2 { color: var(--t-white); }
.tsi-areas__states {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin: 36px 0 26px;
	flex-wrap: wrap;
}
.tsi-areas__state {
	font-family: var(--f-display);
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 700;
	color: var(--t-mist);
	display: flex;
	align-items: center;
	gap: 18px;
}
.tsi-areas__state small {
	font-family: var(--f-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--t-aqua);
	text-align: left;
	line-height: 1.4;
}
.tsi-areas__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.tsi-areas__chips span {
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: var(--radius);
	padding: 7px 16px;
	font-size: 13.5px;
	color: rgba(255,255,255,0.85);
}

/* ---------- CTA split ---------- */
.tsi-cta { background: var(--t-navy-deep); color: var(--t-white); position: relative; }
.tsi-cta__wave {
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	width: 100%;
	height: 44px;
	color: var(--t-white);
	transform: scaleY(-1);
	display: block;
}
.tsi-cta__wave svg { width: 100%; height: 100%; display: block; }
.tsi-section--shell + .tsi-cta .tsi-cta__wave, .tsi-cta__wave--shell { color: var(--t-shell); }
.tsi-cta__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
	align-items: center;
}
.tsi-cta__left .tsi-h2 { color: var(--t-white); margin-bottom: 14px; }
.tsi-cta__left p { opacity: 0.82; font-size: 16px; max-width: 480px; }
.tsi-cta__rows { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.tsi-cta__row { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.tsi-cta__row .tsi-iconbox { background: rgba(255,255,255,0.1); color: var(--t-aqua); width: 40px; height: 40px; }
.tsi-cta__row strong { display: block; color: var(--t-white); }
.tsi-cta__row a:hover strong { color: var(--t-aqua); }
.tsi-cta__chip { margin-top: 26px; }
.tsi-formcard {
	background: var(--t-white);
	border-radius: var(--radius-lg);
	padding: 34px;
	color: var(--t-body);
	box-shadow: var(--shadow);
}
.tsi-formcard h3 { font-size: 22px; margin-bottom: 4px; }
.tsi-formcard > p { font-size: 14px; margin-bottom: 20px; }
.tsi-formcard__legal { font-size: 12.5px; opacity: 0.7; margin-top: 16px; }

/* ---------- contact page ---------- */
.tsi-contactpg { background: var(--t-shell); }
.tsi-contactpg .tsi-cta__row .tsi-iconbox { background: var(--t-white); color: var(--t-navy); }
.tsi-contactpg .tsi-cta__row strong { color: var(--t-ink); }
.tsi-contactpg .tsi-cta__left .tsi-h2, .tsi-contactpg .tsi-cta__left h1 { color: var(--t-ink); }
.tsi-contactpg .tsi-cta__left > p { color: var(--t-body); opacity: 1; }
.tsi-contactpg .tsi-cta__row { color: var(--t-body); }

/* ---------- footer ---------- */
.tsi-footer { background: var(--t-navy-deep); color: rgba(255,255,255,0.75); }
.tsi-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 1fr;
	gap: 44px;
	padding-block: 72px 48px;
}
.tsi-footer__brand p { font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.tsi-footer__brand .tsi-logoimg { height: 42px; }
.tsi-footer h4 {
	color: var(--t-white);
	font-family: var(--f-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.tsi-footer ul { display: flex; flex-direction: column; gap: 10px; }
.tsi-footer ul a { font-size: 14.5px; }
.tsi-footer ul a:hover { color: var(--t-aqua); }
.tsi-footer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.tsi-footer__contact a, .tsi-footer__contact span { display: flex; gap: 10px; align-items: center; }
.tsi-footer__contact .tsi-ic { width: 16px; height: 16px; color: var(--t-aqua); flex: none; }
.tsi-footer__news p { font-size: 13.5px; margin-bottom: 14px; }
.tsi-footer__legal {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-block: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	font-size: 13px;
}
.tsi-footer__legal a { color: var(--t-aqua); font-weight: 600; }

/* ---------- Gravity Forms ---------- */
.tsi-gform .gform_required_legend, .tsi-gform .gfield_required, .tsi-gform .gform-field-decorator { display: none !important; }
.tsi-gform .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tsi-gform .gform_wrapper .gfield { grid-column: span 1; }
.tsi-gform .gform_wrapper .gfield--type-name, .tsi-gform .gform_wrapper .gfield--type-textarea { grid-column: 1 / -1; }
.tsi-gform .gform_wrapper .ginput_complex { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tsi-gform .gform_wrapper label.gfield_label, .tsi-gform .gform_wrapper .ginput_complex label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--t-ink);
	margin-bottom: 7px;
	display: block;
}
.tsi-gform .gform_wrapper input[type="text"], .tsi-gform .gform_wrapper input[type="email"],
.tsi-gform .gform_wrapper input[type="tel"], .tsi-gform .gform_wrapper textarea {
	width: 100% !important;
	padding: 13px 15px !important;
	border-radius: var(--radius) !important;
	border: 1.5px solid var(--t-line) !important;
	background: var(--t-shell) !important;
	color: var(--t-ink) !important;
	font-size: 14.5px !important;
	line-height: 1.45 !important;
	outline: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	height: auto !important;
	transition: border-color .15s ease;
}
.tsi-gform .gform_wrapper input:focus, .tsi-gform .gform_wrapper textarea:focus { border-color: var(--t-aqua-deep) !important; background: var(--t-white) !important; }
.tsi-gform .gform_wrapper textarea { height: 120px !important; min-height: 120px !important; }
.tsi-gform .gform_footer { margin-top: 18px; padding: 0; }
.tsi-gform .gform_footer button[type="submit"] {
	background: var(--t-aqua) !important;
	color: var(--t-ink) !important;
	border: none !important;
	border-radius: var(--radius) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 14px 26px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	cursor: pointer !important;
	transition: background .2s ease, color .2s ease !important;
	width: auto !important;
	font-family: var(--f-body) !important;
}
.tsi-gform .gform_footer button[type="submit"]:hover { background: var(--t-navy) !important; color: var(--t-white) !important; }
.tsi-gform .gform_wrapper .gform_validation_errors { border-radius: var(--radius); padding: 12px 16px; }

/* ---------- shells & wp integration ---------- */
.tsi-gb-shell, .tsi-gb-shell > .gb-layout-column-wrap,
.tsi-gb-shell .gb-block-layout-column, .tsi-gb-shell .gb-block-layout-column-inner {
	max-width: none; width: auto; margin: 0; padding: 0; display: block;
}
.entry-content { display: block; overflow: clip; margin: 0; }
.site-header > .wrap, .site-footer > .wrap { max-width: none; width: auto; padding: 0; display: block; }
.site-header, .site-footer { background: transparent; padding: 0; border: none; }
.site-inner, .content-sidebar-wrap, .content, .entry { max-width: none; width: auto; margin: 0; padding: 0; float: none; }
.site-inner > .wrap { max-width: none; width: auto; padding: 0; }

/* privacy prose page */
.tsi-prose-shell .gb-block-layout-column-inner {
	max-width: var(--container);
	margin-inline: auto;
	padding: 72px var(--pad-x) 40px;
}
.tsi-prose-shell h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.tsi-prose-shell p { max-width: 820px; margin-bottom: 14px; font-size: 15.5px; }
.tsi-prose-shell p a { color: var(--t-navy); font-weight: 600; text-decoration: underline; }

/* ---------- parent-CSS leak sweeps (recurring on every tto-parent build) ---------- */
.tsi-nav li::marker, .tsi-nav li::before, .tsi-nav li::after,
.tsi-footer li::marker, .tsi-footer li::before, .tsi-footer li::after,
.tsi-drop a::before, .tsi-drop a::after,
.tsi-drawer__nav a::before, .tsi-drawer__nav a::after,
.tsi-areas__chips span::before, .tsi-svcgrid a::before {
	content: none !important;
	display: none !important;
}
.tsi-nav > li, .tsi-footer li { list-style: none !important; }

/* parent forces position:absolute on pseudo-elements — keep ours in flow */
.tsi-member__photo::after {
	position: absolute !important;
}
.tsi-cover__item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* parent's global button{} rule breaks fixed-size icon buttons — assert padding */
.tsi-burger, .tsi-modal__close, .tsi-member { padding: 0; }
.tsi-nav button { padding: 10px 14px; }
.tsi-drawer__nav button { padding: 13px 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
	:root { --sec-y: 64px; }
	.tsi-nav, .tsi-header__tel, .tsi-header__cta .tsi-btn { display: none; }
	.tsi-burger { display: flex; margin-left: auto; }
	.tsi-stats, .tsi-points, .tsi-media, .tsi-cta__grid, .tsi-phero__grid { grid-template-columns: 1fr; gap: 40px; }
	.tsi-media--flip .tsi-media__img { order: 0; }
	.tsi-svcgrid { grid-template-columns: repeat(2, 1fr); }
	.tsi-props__grid, .tsi-props--three .tsi-props__grid { grid-template-columns: repeat(2, 1fr); }
	.tsi-team { grid-template-columns: repeat(2, 1fr); }
	.tsi-quotes { grid-template-columns: 1fr; }
	.tsi-cover { grid-template-columns: 1fr; }
	.tsi-footer__grid { grid-template-columns: 1fr 1fr; }
	.tsi-modal__panel.is-open { grid-template-columns: 1fr; }
	.tsi-modal__photo img { max-height: 260px; }
	.tsi-hero__inner { padding-block: 84px 96px; }
	.tsi-topbar__addr, .tsi-topbar__social, .tsi-topbar__sep { display: none; }
	.tsi-topbar__row { justify-content: center; }
}
@media (max-width: 639px) {
	:root { --sec-y: 52px; --pad-x: 18px; }
	.tsi-svcgrid, .tsi-props__grid, .tsi-props--three .tsi-props__grid, .tsi-footer__grid { grid-template-columns: 1fr; }
	.tsi-team { grid-template-columns: 1fr; }
	.tsi-points__list { grid-template-columns: 1fr; }
	.tsi-gform .gform_wrapper .gform_fields, .tsi-gform .gform_wrapper .ginput_complex { grid-template-columns: 1fr; }
	.tsi-hero__ctas .tsi-btn, .tsi-phero__ctas .tsi-btn { width: 100%; justify-content: center; }
	.tsi-formcard { padding: 24px; }
}
