/*
Theme Name: TAGCarts Charge Line
Theme URI: https://www.tagcarts.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: TAGCarts® (wireless charging for healthcare). Sierra direction: light, photo-led, restrained. The line along a hospital wall where carts charge: their logo's cyan + cross and 45° cut, the TAG-X Smart Rail as a rule. Fira Sans + Fira Sans Condensed.
Version: 1.0.0
Requires at least: 6.6
License: Proprietary (client site)
Text Domain: tgc-chargeline
*/

/* ---------- fonts (self-hosted, latin; three preloaded) ---------- */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-400i.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/fira-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-700.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/fira-sans-condensed-500.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/fira-sans-condensed-600.woff2) format('woff2'); }

:root {
	--graphite: #16191D;   /* headings, footer */
	--text: #33393F;
	--muted: #5B636B;      /* 6.1:1 on white, 5.5:1 on wall grey */
	--royal: #0058A6;      /* logo "TAG": buttons, links (7.1:1 on white) */
	--royal-deep: #003F78;
	--cyan: #008BC2;       /* logo cross: marks and focus only (3.8:1 on white) */
	--wall: #F1F3F4;       /* bands */
	--rail: #E2E6E9;       /* the rail's vinyl cover */
	--line: #D5DADE;
	--field: #7D868F;      /* form borders, 3.6:1 */
	--error: #B0132B;
	--white: #FFFFFF;
	--body: 'Fira Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--cond: 'Fira Sans Condensed', 'Arial Narrow', 'Fira Sans', sans-serif;
	--max: 1240px;
	--gut: 20px;
	--sec: 56px;
	--cut: 22px;           /* the 45° chamfer on photos (the logo's slant) */
	--head-h: 72px;
}
@media (min-width: 768px) { :root { --gut: 32px; --sec: 72px; } }
@media (min-width: 1280px) { :root { --gut: 40px; --sec: 88px; --head-h: 84px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--royal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--body); font-weight: 700; color: var(--graphite); line-height: 1.12; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.45rem + 3.1vw, 3.75rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.55vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; color: var(--graphite); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tgc-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: var(--white); padding: 10px 16px; font-weight: 600; }
.tgc-skip:focus { top: 12px; color: var(--white); }
.tgc-main { display: block; }
.tgc-main > .wp-block-post-content > * { margin-block: 0; }
.wp-block-group { margin: 0; }

/* ---------- small type: the label (logo cross + spaced caps), lead ---------- */
.tgc-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 0.8125rem/1.2 var(--cond); letter-spacing: 0.13em; text-transform: uppercase; color: var(--graphite); }
.tgc-label::before { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 3px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 3px 100% no-repeat; }
.tgc-lead { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); line-height: 1.55; color: var(--text); max-width: 46rem; }
.tgc-small { font-size: 0.9375rem; color: var(--muted); }

/* ---------- buttons: square, bottom-right corner cut on the logo's 45° ---------- */
.tgc-btn, .wp-block-button__link, .tgc-nf input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 30px 12px 24px; border: 0; border-radius: 0;
	background: linear-gradient(135deg, var(--royal) calc(100% - 8px), transparent calc(100% - 8px)); color: var(--white);
	font: 600 1.0625rem/1.2 var(--cond); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.tgc-btn:hover, .wp-block-button__link:hover, .tgc-nf input[type="submit"]:hover { background: linear-gradient(135deg, var(--graphite) calc(100% - 8px), transparent calc(100% - 8px)); color: var(--white); }
.tgc-btn .tgc-ico, .wp-block-button__link .tgc-ico { width: 20px; height: 20px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.wp-block-button { margin: 0; }
.wp-block-button.is-style-line .wp-block-button__link { background: transparent; color: var(--royal); box-shadow: inset 0 0 0 2px var(--royal); padding: 12px 24px; }
.wp-block-button.is-style-line .wp-block-button__link:hover { background: var(--wall); color: var(--royal-deep); }

/* ---------- icons ---------- */
.tgc-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.tgc-ico--play { fill: currentColor; stroke: none; }

/* ---------- header (sticky) ---------- */
.tgc-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.tgc-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(22, 25, 29, 0.06); }
.tgc-bar__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.tgc-brand { flex: none; display: block; }
.tgc-brand img { width: 93px; height: auto; }
@media (min-width: 1280px) { .tgc-brand img { width: 108px; } }
.tgc-nav { display: none; margin-left: auto; }
.tgc-bar__cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.tgc-nav + .tgc-bar__cta { margin-left: 0; }
.tgc-bar__tel { display: none; align-items: center; gap: 8px; color: var(--graphite); font: 600 1.0625rem/1 var(--cond); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.tgc-bar__tel .tgc-ico { color: var(--royal); width: 20px; height: 20px; }
.tgc-bar__tel:hover { color: var(--royal); text-decoration: underline; }
.tgc-bar__quote { display: none; }
.tgc-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--graphite); background: var(--white); color: var(--graphite); font: 600 1rem/1 var(--cond); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
.tgc-bar__menu .tgc-ico--close, .tgc-bar__menu[aria-expanded="true"] .tgc-ico--menu { display: none; }
.tgc-bar__menu[aria-expanded="true"] .tgc-ico--close { display: block; }
@media (min-width: 768px) {
	.tgc-bar__tel, .tgc-bar__quote { display: inline-flex; }
	.tgc-bar__quote { min-height: 46px; padding: 10px 26px 10px 20px; }
}
@media (min-width: 1280px) {
	.tgc-nav { display: block; }
	.tgc-bar__menu { display: none; }
	.tgc-bar__in { gap: 28px; }
}
.tgc-menu { list-style: none; margin: 0; padding: 0; }
.tgc-menu--bar { display: flex; align-items: center; gap: 2px; }
.tgc-menu--bar > .tgc-menu__item { position: relative; }
.tgc-menu__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 9px; border: 0; background: none; color: var(--graphite); font: 600 1.0625rem/1 var(--cond); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.tgc-menu__link .tgc-ico { width: 16px; height: 16px; stroke-width: 2.25; }
.tgc-menu__link:hover, .tgc-menu__link[aria-current="page"] { color: var(--royal); }
.tgc-menu--bar > .tgc-menu__item.is-in > .tgc-menu__link { box-shadow: inset 0 -3px 0 var(--cyan); }
.tgc-menu__toggle[aria-expanded="true"] .tgc-ico { transform: rotate(180deg); }
.tgc-sub { list-style: none; margin: 0; padding: 0; }
.tgc-menu--bar .tgc-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; padding: 10px 0; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--graphite); box-shadow: 0 14px 30px rgba(22, 25, 29, 0.1); }
.tgc-menu--bar .tgc-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 12px; } /* hover bridge */
.tgc-menu--bar .is-open > .tgc-sub { display: block; }
@media (hover: hover) { .tgc-menu--bar .has-sub:hover > .tgc-sub { display: block; } }
.tgc-menu--bar .tgc-sub a { display: block; padding: 9px 18px 9px 9px; margin-left: 0; color: var(--graphite); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.tgc-menu--bar .tgc-sub a:hover, .tgc-menu--bar .tgc-sub a[aria-current="page"] { color: var(--royal); text-decoration: underline; }
.tgc-menu--bar .tgc-sub li { padding-left: 0; }
.tgc-panel { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - var(--head-h)); overflow: auto; }
.tgc-panel[hidden] { display: none; }
.tgc-panel > nav, .tgc-panel__contact { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 8px var(--gut); }
.tgc-menu--panel > li { border-bottom: 1px solid var(--line); }
.tgc-menu--panel .tgc-menu__link { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 1.1875rem; min-height: 52px; }
.tgc-menu--panel .tgc-sub { display: none; padding: 0 0 12px 14px; border-left: 3px solid var(--cyan); margin-bottom: 12px; }
.tgc-menu--panel .is-open > .tgc-sub { display: block; }
.tgc-menu--panel .tgc-sub a { display: block; padding: 9px 0; color: var(--text); text-decoration: none; font-size: 1.0625rem; }
.tgc-menu--panel .tgc-sub a[aria-current="page"] { color: var(--royal); font-weight: 600; }
.tgc-panel__contact { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 16px; padding-bottom: 22px; }
.tgc-panel__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* ---------- sections ---------- */
.tgc-sec { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: var(--sec) var(--gut); }
.tgc-sec--tight { padding-top: 0; }
.tgc-band + .tgc-sec--tight { padding-top: var(--sec); }
.tgc-band { background: var(--wall); }
.tgc-sec__intro { max-width: 46rem; margin-bottom: 36px; }
.tgc-sec__intro > :last-child { margin-bottom: 0; }
.tgc-sec__intro--last { margin-bottom: 0; }
.tgc-split { display: grid; gap: 36px; align-items: center; }
.tgc-split > * > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
	.tgc-split { grid-template-columns: 1fr 1fr; gap: 64px; }
	.tgc-split--top { align-items: start; }
	.tgc-split--wide { grid-template-columns: 1.25fr 1fr; }
	.tgc-split--narrow { grid-template-columns: 1fr 1.25fr; }
}
.tgc-links { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tgc-links a { display: inline-flex; align-items: center; gap: 8px; font: 600 1.0625rem/1.3 var(--cond); letter-spacing: 0.01em; text-decoration: none; }
.tgc-links a:hover { text-decoration: underline; }
.tgc-links .tgc-ico { width: 18px; height: 18px; }
.tgc-links--big { flex-direction: column; gap: 12px; }
.tgc-prose { max-width: 46rem; }
.tgc-prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); }
.tgc-prose h3 { margin-top: 1.4em; }
.tgc-prose > :first-child { margin-top: 0; }
.tgc-plain { list-style: none; padding: 0; }
.tgc-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tgc-checks { list-style: none; padding: 0; }
.tgc-checks li { position: relative; padding: 0 0 0 28px; margin: 0 0 10px; }
.tgc-checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 11px; height: 11px; background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 3px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 3px 100% no-repeat; }
@media (min-width: 760px) { .tgc-checks--2 { columns: 2; column-gap: 40px; } .tgc-checks--2 li { break-inside: avoid; } }

/* page head: crumbs, label, H1, lead, and the rail under it */
.tgc-head { padding-bottom: 40px; }
.tgc-head::after { content: ""; display: block; height: 8px; margin-top: 36px; background: linear-gradient(90deg, var(--cyan) 0 64px, var(--rail) 64px); box-shadow: inset 0 -2px 0 rgba(22, 25, 29, 0.06); }
.tgc-head h1 { max-width: 20ch; }
.tgc-head .tgc-lead { margin-bottom: 0; }
.tgc-head + .tgc-sec { padding-top: calc(var(--sec) * 0.6); }
.tgc-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 0.9375rem/1.4 var(--cond); color: var(--muted); }
.tgc-crumbs li + li::before { content: "/"; margin: 0 9px; color: var(--field); }
.tgc-crumbs a { color: var(--muted); }
.tgc-crumbs a:hover { color: var(--royal); }

/* ---------- photos: square corners, one 45° cut top-right ---------- */
.tgc-frame, .tgc-fig { margin: 0; }
.tgc-frame img, .tgc-fig img, .tgc-strip img, .wp-block-gallery.tgc-work img { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.tgc-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tgc-fig img { width: 100%; height: auto; }
.tgc-fig.tgc-crop img { aspect-ratio: 4 / 3; object-fit: cover; }
.tgc-fig.tgc-wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.tgc-fig.tgc-screen img { clip-path: none; border: 1px solid var(--line); }
.wp-block-image + .wp-block-heading, .tgc-pair + .wp-block-heading, .tgc-trio + .wp-block-heading { margin-top: 36px; }
.tgc-fig figcaption, .wp-block-image figcaption { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.tgc-trio { display: grid; gap: 28px; margin: 8px 0 0; }
@media (min-width: 700px) { .tgc-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tgc-trio .tgc-fig img { aspect-ratio: 4 / 3; object-fit: cover; }
.tgc-pair { display: grid; gap: 28px; }
@media (min-width: 700px) { .tgc-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- home hero: headline across, photo left + intro right, the rail under both ---------- */
.tgc-hero { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 40px var(--gut) 0; }
.tgc-hero__top { margin-bottom: 30px; }
.tgc-hero__top h1 { max-width: 19ch; margin-bottom: 0; }
.tgc-hero__body { display: grid; gap: 0; }
@media (max-width: 899px) { /* phones: headline, photo, the rail with its controls, then the intro */
	.tgc-hero { display: flex; flex-direction: column; }
	.tgc-hero__body { display: contents; }
	.tgc-hero__top { order: 1; } .tgc-hero__stage { order: 2; } .tgc-rail { order: 3; } .tgc-hero__side { order: 4; }
}
.tgc-hero__stage { position: relative; aspect-ratio: 4 / 3; background: var(--rail); overflow: hidden; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.tgc-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.tgc-hero__slide.is-on { opacity: 1; }
.tgc-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.tgc-hero__side { padding: 28px 0 0; }
.tgc-hero__side .tgc-lead { margin-bottom: 0; }
.tgc-hero__award { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.tgc-hero__award strong { display: block; color: var(--graphite); font: 600 1.0625rem/1.3 var(--cond); }
@media (min-width: 900px) {
	.tgc-hero { padding-top: 56px; }
	.tgc-hero__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-bottom: 36px; }
	.tgc-hero__body { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 48px; align-items: end; }
	.tgc-hero__stage { aspect-ratio: 16 / 10; }
	.tgc-hero__side { padding: 0 0 6px; }
}
/* the rail: a wall guard running under the photo and the intro; the cyan "charging spot" carries the controls */
.tgc-rail { display: flex; align-items: stretch; flex-wrap: wrap; margin-top: 0; background: var(--rail); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(22, 25, 29, 0.08); }
.tgc-rail__cap { flex: 1 1 260px; margin: 0; padding: 14px 18px; font-size: 0.9375rem; line-height: 1.4; color: var(--text); }
.tgc-rail__ctl { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 4px 4px 16px; background: var(--graphite); }
.tgc-rail__dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.tgc-rail__dot::after { content: ""; position: absolute; left: 10px; right: 10px; top: 19px; height: 6px; background: #6D767E; }
.tgc-rail__dot[aria-current="true"]::after { background: var(--cyan); }
.tgc-rail__dot:hover::after { background: var(--white); }
.tgc-rail__pause { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--cyan); color: var(--graphite); cursor: pointer; }
.tgc-rail__pause .tgc-ico { width: 20px; height: 20px; stroke-width: 2.5; }
.tgc-rail__pause .tgc-ico--play, .tgc-rail__pause.is-paused .tgc-ico--pause { display: none; }
.tgc-rail__pause.is-paused .tgc-ico--play { display: block; }
.tgc-rail :focus-visible { outline-color: var(--white); outline-offset: -3px; }
@media (min-width: 900px) { .tgc-rail { margin-top: 28px; } }
.tgc-hero + .tgc-sec { padding-top: calc(var(--sec) * 0.9); }

/* ---------- cards: the product lines ---------- */
.tgc-cards { display: grid; gap: 40px 32px; }
@media (min-width: 760px) { .tgc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tgc-card .tgc-frame { margin-bottom: 18px; }
.tgc-card__kind { margin: 0 0 6px; font: 600 0.875rem/1.2 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tgc-card__h { font-size: 1.375rem; margin-bottom: 10px; }
.tgc-card__h a { color: var(--graphite); text-decoration: none; }
.tgc-card__h a:hover { color: var(--royal); text-decoration: underline; }
.tgc-card p:last-child { margin-bottom: 0; }

/* ---------- who we serve ---------- */
.tgc-aud { display: grid; gap: 32px 24px; }
@media (min-width: 600px) { .tgc-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tgc-aud { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tgc-aud__item .tgc-frame { margin-bottom: 14px; }
.tgc-aud__h { font-size: 1.125rem; margin-bottom: 8px; }
.tgc-aud__h a { color: var(--graphite); text-decoration: none; }
.tgc-aud__h a:hover { color: var(--royal); text-decoration: underline; }
.tgc-aud__item p { font-size: 0.9875rem; line-height: 1.55; margin: 0; }
.tgc-aud--rows { grid-template-columns: 1fr !important; gap: 0; }
.tgc-aud--rows .tgc-aud__item { display: grid; gap: 24px; padding: 44px 0; border-top: 1px solid var(--line); }
.tgc-aud--rows .tgc-aud__item:first-child { border-top: 0; padding-top: 0; }
.tgc-aud--rows .tgc-aud__h { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem); }
.tgc-aud--rows .tgc-aud__item p { font-size: 1.0625rem; line-height: 1.65; }
@media (min-width: 900px) {
	.tgc-aud--rows .tgc-aud__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
	.tgc-aud--rows .tgc-aud__item:nth-child(even) .tgc-frame { order: 2; }
}

/* ---------- credentials: four rail segments ---------- */
.tgc-creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 32px; }
@media (min-width: 600px) { .tgc-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tgc-creds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tgc-creds li { padding-top: 18px; background: linear-gradient(90deg, var(--cyan) 0 40px, var(--graphite) 40px) top / 100% 3px no-repeat; }
.tgc-creds strong { display: block; margin-bottom: 6px; font-size: 1.1875rem; line-height: 1.25; }
.tgc-creds span { display: block; font-size: 0.9875rem; line-height: 1.5; color: var(--muted); }

/* ---------- testimonials ---------- */
.tgc-quotes { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 900px) { .tgc-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tgc-quotes--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tgc-quote { margin: 0; padding: 26px 26px 24px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tgc-band .tgc-quote { border-color: transparent; }
.tgc-quote__img { margin: -26px -26px 22px; }
.tgc-quote__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.tgc-quotes-wrap { margin-top: 56px; }
.tgc-quotes-wrap > h3 { margin-bottom: 18px; }
.tgc-quote blockquote { margin: 0 0 18px; flex: 1; }
.tgc-quote blockquote p { margin: 0; font-style: italic; font-size: 1.0625rem; line-height: 1.6; color: var(--graphite); }
.tgc-quote figcaption strong { display: block; font: 600 1.0625rem/1.3 var(--cond); }
.tgc-quote figcaption span { display: block; font-size: 0.9375rem; color: var(--muted); }

/* ---------- photo strip ---------- */
.tgc-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; --cut: 14px; }
@media (min-width: 760px) { .tgc-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .tgc-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tgc-strip__a { display: block; }
.tgc-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tgc-strip__a:hover img { opacity: 0.86; }

/* ---------- map + places ---------- */
.tgc-map { margin: 0; }
.tgc-map svg { display: block; width: 100%; height: auto; }
.tgc-map figcaption { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.tgc-places { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 36px; }
@media (min-width: 700px) { .tgc-places { grid-template-columns: 1fr 1fr; } }
.tgc-places li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tgc-places strong { display: block; font: 600 1.0625rem/1.3 var(--cond); }
.tgc-places span { font-size: 0.9875rem; color: var(--muted); }

/* ---------- closing call to action ---------- */
.tgc-cta { display: grid; gap: 24px; align-items: center; padding: 34px 28px; border: 1px solid var(--line); border-top: 4px solid var(--graphite); background: var(--white); position: relative; }
.tgc-cta::before { content: ""; position: absolute; left: -1px; top: -4px; width: 64px; height: 4px; background: var(--cyan); }
.tgc-cta h2 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); margin-bottom: 8px; }
.tgc-cta p { margin: 0; max-width: 40rem; }
.tgc-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.tgc-cta__tel { display: inline-flex; align-items: center; gap: 8px; font: 600 1.125rem/1.2 var(--cond); color: var(--graphite); text-decoration: none; white-space: nowrap; }
.tgc-cta__tel .tgc-ico { color: var(--royal); }
.tgc-cta__tel:hover { color: var(--royal); text-decoration: underline; }
@media (min-width: 900px) { .tgc-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 42px 44px; gap: 40px; } }

/* ---------- spec sheet (TAG-X, TAHOE) ---------- */
.tgc-spec { margin: 0; display: grid; border-top: 2px solid var(--graphite); }
.tgc-spec > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .tgc-spec > div { grid-template-columns: 13rem minmax(0, 1fr); gap: 24px; } }
.tgc-spec dt { font: 600 0.9375rem/1.4 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.tgc-spec dd { margin: 0; }
.tgc-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .tgc-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.tgc-steps > li { counter-increment: s; padding-top: 14px; border-top: 3px solid var(--graphite); }
.tgc-steps > li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 8px; font: 600 1rem/1 var(--cond); letter-spacing: 0.08em; color: var(--royal); }
.tgc-steps strong { display: block; font-size: 1.125rem; margin-bottom: 4px; }
.tgc-stat { display: grid; gap: 18px; margin: 0 0 8px; padding: 0; list-style: none; }
@media (min-width: 700px) { .tgc-stat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tgc-stat li { padding: 20px 22px; background: var(--white); border-left: 4px solid var(--cyan); }
.tgc-band .tgc-stat li { background: var(--white); }
.tgc-stat b { display: block; font: 700 2rem/1.1 var(--body); color: var(--graphite); }
.tgc-stat span { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }

/* ---------- downloads ---------- */
.tgc-dl { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--graphite); }
.tgc-dl li { border-bottom: 1px solid var(--line); }
.tgc-dl a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 6px; color: var(--graphite); text-decoration: none; }
@media (min-width: 600px) { .tgc-dl a { grid-template-columns: auto minmax(0, 1fr) auto; } }
.tgc-dl a:hover { background: var(--wall); }
.tgc-dl a:hover .tgc-dl__t { color: var(--royal); text-decoration: underline; }
.tgc-dl .tgc-ico { color: var(--royal); }
.tgc-dl__t { font-weight: 600; line-height: 1.35; }
.tgc-dl__n { grid-column: 2; font: 500 0.875rem/1.2 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 600px) { .tgc-dl__n { grid-column: 3; } }
.tgc-band .tgc-dl a:hover { background: var(--white); }

/* ---------- people ---------- */
.tgc-people { display: grid; gap: 0; }
.tgc-person { display: grid; gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.tgc-person:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 760px) { .tgc-person { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; } .tgc-person > div:only-child { grid-column: 2; } }
.tgc-person__img { margin: 0; }
.tgc-person__img img { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.tgc-person__h { font-size: 1.375rem; margin-bottom: 4px; }
.tgc-person__role { margin: 0 0 12px; font: 600 1rem/1.3 var(--cond); letter-spacing: 0.04em; color: var(--royal); }
.tgc-person p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.tgc-faq { border-top: 2px solid var(--graphite); }
.tgc-faq__item { border-bottom: 1px solid var(--line); }
.tgc-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; color: var(--graphite); }
.tgc-faq__item summary::-webkit-details-marker { display: none; }
.tgc-faq__item summary .tgc-ico { color: var(--royal); }
.tgc-faq__item[open] summary .tgc-ico { transform: rotate(45deg); }
.tgc-faq__item summary:hover { color: var(--royal); }
.tgc-faq__item p { margin: 0 0 20px; max-width: 46rem; }

/* ---------- savings calculator ---------- */
.tgc-calc { margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--royal); }
.tgc-calc__in { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: flex-end; }
.tgc-calc__f label { display: block; margin-bottom: 6px; font: 600 0.9375rem/1.3 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.tgc-calc__step { display: flex; }
.tgc-calc__step button { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--field); background: var(--wall); color: var(--graphite); cursor: pointer; border-radius: 0; }
.tgc-calc__step button:hover { background: var(--rail); }
.tgc-calc__step input { width: 100px; height: 48px; border: 1.5px solid var(--field); border-left: 0; border-right: 0; text-align: center; font: 600 1.25rem/1 var(--body); color: var(--graphite); border-radius: 0; -moz-appearance: textfield; }
.tgc-calc__step input::-webkit-outer-spin-button, .tgc-calc__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tgc-calc select { height: 48px; padding: 0 40px 0 14px; border: 1.5px solid var(--field); border-radius: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2316191D' stroke-width='2.2'/%3E%3C/svg%3E") right 12px center no-repeat; -webkit-appearance: none; appearance: none; font: 400 1.0625rem var(--body); color: var(--graphite); }
.tgc-calc__out { margin: 22px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tgc-calc__lbl { font: 600 1rem/1.3 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.tgc-calc output { font: 700 clamp(2.25rem, 1.8rem + 1.6vw, 3rem)/1 var(--body); color: var(--royal); letter-spacing: -0.02em; }
.tgc-calc__note { margin: 8px 0 0; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Our Work: filters + gallery ---------- */
.tgc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.tgc-filters button { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--graphite); background: var(--white); color: var(--graphite); font: 600 1rem/1.2 var(--cond); letter-spacing: 0.02em; cursor: pointer; border-radius: 0; }
.tgc-filters button:hover { background: var(--wall); }
.tgc-filters button[aria-pressed="true"] { background: var(--graphite); color: var(--white); }
.tgc-filters__count { margin: 0 0 22px; font-size: 0.9375rem; color: var(--muted); }
.wp-block-gallery.tgc-work { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px !important; margin: 0; --cut: 16px; }
@media (min-width: 768px) { .wp-block-gallery.tgc-work { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px !important; } }
@media (min-width: 1100px) { .wp-block-gallery.tgc-work { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wp-block-gallery.tgc-work figure.wp-block-image { width: auto !important; margin: 0 !important; display: block !important; }
.wp-block-gallery.tgc-work figure.wp-block-image[hidden] { display: none !important; }
.wp-block-gallery.tgc-work figure.wp-block-image a { display: block; height: auto !important; flex: none !important; }
.wp-block-gallery.tgc-work figure.wp-block-image img { aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; width: 100% !important; display: block; }
.wp-block-gallery.tgc-work figure.wp-block-image a:hover img { opacity: 0.86; }
.wp-block-gallery.tgc-work figure.wp-block-image figcaption { position: static !important; background: none !important; color: var(--muted) !important; padding: 8px 0 0 !important; margin: 0 !important; font-size: 0.875rem !important; line-height: 1.4 !important; text-align: left !important; max-height: none !important; overflow: visible !important; text-shadow: none !important; }
.wp-block-gallery.tgc-work figure.wp-block-image::before { display: none !important; }

/* lightbox */
.tgc-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 16, 19, 0.96); color: var(--white); }
.tgc-lb::backdrop { background: rgba(14, 16, 19, 0.6); }
.tgc-lb[open] { display: flex; align-items: center; justify-content: center; }
.tgc-lb__fig { margin: 0; padding: 64px 64px 80px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.tgc-lb__fig img { max-width: min(1400px, calc(100vw - 128px)); max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.tgc-lb__cap { margin: 14px 0 0; max-width: 60rem; text-align: center; font-size: 1rem; color: #DADFE3; }
.tgc-lb__n { color: #A9B1B8; margin-left: 8px; font: 600 0.9375rem var(--cond); }
.tgc-lb__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--graphite); color: var(--white); cursor: pointer; }
.tgc-lb__btn:hover { background: var(--royal); }
.tgc-lb__btn :where(svg) { width: 26px; height: 26px; }
.tgc-lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.tgc-lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.tgc-lb__close { right: 8px; top: 8px; }
.tgc-lb :focus-visible { outline-color: var(--cyan); }
@media (max-width: 700px) {
	.tgc-lb__fig { padding: 64px 12px 96px; }
	.tgc-lb__fig img { max-width: calc(100vw - 24px); max-height: calc(100vh - 200px); }
	.tgc-lb__prev, .tgc-lb__next { top: auto; bottom: 16px; transform: none; }
	.tgc-lb__prev { left: calc(50% - 60px); }
	.tgc-lb__next { right: calc(50% - 60px); }
}

/* ---------- jump nav (long pages, news topics) ---------- */
.tgc-jump ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tgc-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--line); color: var(--graphite); font: 600 1rem/1.2 var(--cond); text-decoration: none; }
.tgc-jump a:hover { border-color: var(--graphite); }
.tgc-jump a[aria-current="page"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }

/* ---------- contact + form ---------- */
.tgc-contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .tgc-contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.tgc-ccard { padding: 28px; background: var(--wall); border-top: 4px solid var(--graphite); position: relative; }
.tgc-ccard::before { content: ""; position: absolute; left: 0; top: -4px; width: 64px; height: 4px; background: var(--cyan); }
.tgc-ccard__big { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 1.5rem/1.2 var(--body); }
.tgc-ccard__big a { color: var(--graphite); text-decoration: none; }
.tgc-ccard__big a:hover { color: var(--royal); text-decoration: underline; }
.tgc-ccard__big .tgc-ico { color: var(--royal); }
.tgc-ccard__list { list-style: none; padding: 0; margin: 0; }
.tgc-ccard__list li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.tgc-ccard__list .tgc-ico { color: var(--royal); margin-top: 2px; }
.tgc-ccard__list a { overflow-wrap: anywhere; }
.tgc-nf .nf-form-fields-required { font-size: 0.9375rem; color: var(--muted); margin-bottom: 14px; }
.tgc-nf .nf-field-container { margin-bottom: 18px; }
.tgc-nf .nf-field-label label { font: 600 1rem/1.3 var(--body); color: var(--graphite); }
.tgc-nf .ninja-forms-req-symbol { color: var(--error); }
.tgc-nf input[type="text"], .tgc-nf input[type="email"], .tgc-nf input[type="tel"], .tgc-nf input[type="number"], .tgc-nf select, .tgc-nf textarea {
	width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--field); border-radius: 0; background: var(--white); color: var(--graphite); font: 400 1.0625rem/1.4 var(--body); }
.tgc-nf select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2316191D' stroke-width='2.2'/%3E%3C/svg%3E") right 12px center no-repeat; }
.tgc-nf textarea { min-height: 150px; }
.tgc-nf input:focus, .tgc-nf select:focus, .tgc-nf textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--graphite); }
.tgc-nf .nf-field-description { font-size: 0.9375rem; color: var(--muted); margin-top: 5px; }
.tgc-nf .nf-field-description p { margin: 0; }
.tgc-nf .nf-error .ninja-forms-field { border-color: var(--error); }
.tgc-nf .nf-error-msg, .tgc-nf .nf-form-errors .nf-error-msg { color: var(--error); font-weight: 600; font-size: 0.9375rem; margin-top: 6px; }
.tgc-nf input[type="submit"] { min-height: 54px; padding: 12px 36px 12px 28px; font-size: 1.125rem; }
.tgc-nf .nf-pass, .tgc-nf .nf-after-field .nf-input-limit { display: none; }
@media (min-width: 700px) {
	.tgc-nf nf-fields-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.tgc-nf nf-fields-wrap > nf-field { grid-column: 1 / -1; }
	.tgc-nf nf-fields-wrap > nf-field:has(.tgc-half) { grid-column: auto; }
}
.tgc-formbox h2 { margin-bottom: 18px; }
.tgc-thanks { padding: 30px 28px; border: 1px solid var(--line); border-top: 4px solid var(--royal); background: var(--white); }
.tgc-thanks:focus { outline: none; }
.tgc-thanks__check { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--royal); color: var(--white); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.tgc-thanks__check .tgc-ico { width: 30px; height: 30px; stroke-width: 2.5; }
.tgc-thanks h2 { font-size: 1.75rem; }
.tgc-thanks ol { padding-left: 1.3em; }
.tgc-confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ---------- news ---------- */
.tgc-news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 800px) { .tgc-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tgc-news__item { padding: 24px 0; border-top: 1px solid var(--line); }
.tgc-news__date { font: 600 0.875rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tgc-news__h { font-size: 1.25rem; margin-bottom: 8px; }
.tgc-news__h a { color: var(--graphite); text-decoration: none; }
.tgc-news__h a:hover { color: var(--royal); text-decoration: underline; }
.tgc-news__ex p { margin: 0; font-size: 0.9875rem; color: var(--text); }
.tgc-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 36px; font: 600 1.0625rem/1 var(--cond); }
.tgc-pager a, .tgc-pager .page-numbers { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 6px 12px; border: 1.5px solid var(--line); text-decoration: none; color: var(--graphite); }
.tgc-pager .current { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.tgc-head--post h1 { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem); max-width: 28ch; }
.tgc-postmeta { margin: 14px 0 0; font: 600 0.9375rem/1.4 var(--cond); letter-spacing: 0.04em; color: var(--muted); }
.tgc-postmeta a { color: var(--muted); }
.tgc-post { padding-top: 0; }
.tgc-post .wp-block-post-content { max-width: 46rem; overflow-wrap: anywhere; } /* old posts carry long bare URLs and ─── rules */
.tgc-post .wp-block-post-content img { height: auto; margin: 1.2em 0; }
.tgc-post .wp-block-post-content iframe { max-width: 100%; }
.tgc-post .wp-block-post-content .alignleft, .tgc-post .wp-block-post-content .alignright { float: none; margin: 1.2em 0; }
.tgc-post .wp-block-post-content table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.tgc-post .wp-block-post-content td, .tgc-post .wp-block-post-content th { border: 1px solid var(--line); padding: 6px 8px; }
.tgc-postfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; max-width: 46rem; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.tgc-postfoot a { display: inline-flex; align-items: center; gap: 8px; font: 600 1.0625rem/1.3 var(--cond); text-decoration: none; }
.tgc-postfoot a:hover { text-decoration: underline; }
.tgc-postfoot .tgc-ico { width: 18px; height: 18px; }

/* ---------- footer: the one dark band ---------- */
.tgc-foot { background: var(--graphite); color: #C3C9CF; font-size: 0.9875rem; line-height: 1.55; }
.tgc-foot a { color: var(--white); text-decoration: none; }
.tgc-foot a:hover { text-decoration: underline; }
.tgc-foot :focus-visible { outline-color: var(--cyan); }
.tgc-foot__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 56px var(--gut) 36px; display: grid; gap: 36px; }
@media (min-width: 700px) { .tgc-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tgc-foot__in { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } }
.tgc-foot__logo { width: 124px; height: auto; margin-bottom: 18px; }
.tgc-foot__tag { margin: 0 0 18px; max-width: 22rem; }
.tgc-foot__facts { list-style: none; padding: 0; margin: 0; }
.tgc-foot__facts li { display: flex; gap: 10px; margin-bottom: 10px; }
.tgc-foot__facts .tgc-ico { color: var(--cyan); width: 20px; height: 20px; margin-top: 2px; }
.tgc-foot__h { margin: 0 0 14px; padding-top: 12px; font: 600 0.875rem/1.2 var(--cond); letter-spacing: 0.13em; text-transform: uppercase; color: var(--white); background: linear-gradient(90deg, var(--cyan) 0 28px, #3A4048 28px) top / 100% 2px no-repeat; }
.tgc-foot__col ul { list-style: none; padding: 0; margin: 0; }
.tgc-foot__col li { margin-bottom: 9px; }
.tgc-foot__base { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 20px var(--gut) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #30353B; font-size: 0.9375rem; }
.tgc-foot__base p { margin: 0; }
.tgc-credit a { text-decoration: underline; text-decoration-thickness: 1px; }
.tgc-credit a:hover { text-decoration-thickness: 2px; }

/* ---------- phones: the bottom bar, exactly Call + Request a Quote ---------- */
.tgc-callbar { display: none; }
@media (max-width: 767px) {
	.tgc-callbar { display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(22, 25, 29, 0.08); padding-bottom: env(safe-area-inset-bottom); }
	.tgc-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 600 1.125rem/1 var(--cond); letter-spacing: 0.02em; text-decoration: none; }
	.tgc-callbar__call { color: var(--graphite); }
	.tgc-callbar__call .tgc-ico { color: var(--royal); }
	.tgc-callbar__quote { background: var(--royal); color: var(--white); }
	.tgc-callbar__quote:hover { color: var(--white); background: var(--royal-deep); }
	.tgc-callbar :focus-visible { outline-offset: -4px; }
	.tgc-foot { padding-bottom: 56px; }
}

/* ---------- the one quiet fade-in (site.js adds .tgc-rise below the fold; never with reduced motion) ---------- */
.tgc-rise { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.tgc-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tgc-hero__slide { transition: none; }
	.tgc-rise { opacity: 1; transform: none; transition: none; }
}

/* ---------- map (inc/area-map.svg, tools/make-map.py) ---------- */
.tgc-map__st { fill: #E3E7EA; stroke: var(--white); stroke-width: 1; }
.tgc-map__st.is-served { fill: #C7DAEC; }
.tgc-map__names text { font: 600 11px var(--cond); letter-spacing: 0.08em; fill: #3D5A78; }
.tgc-map__dots rect { fill: var(--royal); }
.tgc-map__dots text, .tgc-map__hq text { font: 600 13px var(--cond); fill: var(--graphite); paint-order: stroke; stroke: var(--white); stroke-width: 3px; stroke-linejoin: round; }
.tgc-map__hq path { stroke: var(--cyan); stroke-width: 5; stroke-linecap: square; }

/* ---------- installation guide ---------- */
.tgc-warn { margin: 0 0 24px; padding: 18px 22px; border-left: 5px solid var(--error); background: #FBEFF1; }
.tgc-warn p { margin: 0 0 6px; color: var(--error); font: 600 1rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.tgc-warn ul { margin: 0; }
.tgc-sec--step { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.tgc-band + .tgc-sec--step, .tgc-sec--step:first-child { border-top: 0; }
.tgc-sec--step h3 { font-size: 1.5rem; }
.tgc-screen img { background: var(--white); }
.tgc-band > .tgc-sec > .tgc-fig + .tgc-pair, .tgc-band > .tgc-sec > .tgc-pair + .tgc-fig { margin-top: 28px; }
.tgc-band .tgc-sec > .tgc-fig.tgc-screen, .tgc-band .tgc-sec > .tgc-pair { max-width: 960px; }
