/* =============================================================
  THE PERFORMANCE LENS - web design system (Sep 2026 rebuild)
  Navy dominates, bright blue is accent only and never body text.
  Real workshop photography only: photo slots collapse until an
  image is supplied, so no section ever shows an empty frame.
  ============================================================= */

:root {
  --qc-font-archivo-hw7f: Archivo, sans-serif;
  --qc-font-saira-condensed-dy8p: 'Saira Condensed', sans-serif;
  --qc-font-saira-semi-condensed-qa6j: 'Saira Semi Condensed', sans-serif;
}

:root {
  --navy-900: #0A1645;
  --navy-800: #0E2A47;
  --blue-500: #2979FF;
  --blue-600: #1D4ED8;
  --blue-300: #7BA8FF;
  --ink-900: #1A1A2E;
  --callout: #EAF1FE;
  --grey-50: #F5F6F8;
  --rule-200: #DCE1EA;
  --white: #FFFFFF;
  --on-navy: rgba(255, 255, 255, 0.92);
  --on-navy-soft: rgba(255, 255, 255, 0.70);
  --on-navy-rule: rgba(255, 255, 255, 0.16);
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-head: "Saira Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --t-display: clamp(3rem, 7.5vw, 4.75rem);
  --t-h1: clamp(2.125rem, 4.6vw, 3rem);
  --t-h2: clamp(1.625rem, 3vw, 2.125rem);
  --t-sub: clamp(1.125rem, 1.7vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-label: 0.8125rem;
  --track-label: 0.18em;
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --gut: 28px;
  --radius: 4px;
  --radius-sm: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 160ms;
  --dur-slow: 200ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

h1 {
  font-size: var(--t-h1);
}

h2 {
  font-size: var(--t-h2);
}

h3 {
  font-size: var(--t-sub);
  font-weight: 600;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

p {
  color: var(--ink-900);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

strong,
b {
  font-weight: 700;
  color: var(--navy-900);
}

::selection {
  background: var(--blue-500);
  color: #fff;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.4);
  border-radius: var(--radius-sm);
}

/* ---------------- layout ---------------- */
.tpl-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.tpl-narrow {
  max-width: var(--maxw-narrow);
}

.tpl-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.tpl-section--tight {
  padding: clamp(44px, 5vw, 68px) 0;
}

.tpl-section--grey {
  background: var(--grey-50);
}

.tpl-section--navy {
  background: var(--navy-900);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}

.tpl-section--navy h1,
.tpl-section--navy h2,
.tpl-section--navy h3,
.tpl-section--navy h4 {
  color: #fff;
}

.tpl-section--navy p {
  color: var(--on-navy-soft);
}

.tpl-section--navy strong,
.tpl-section--navy b {
  color: #fff;
}

.tpl-section--navy .tpl-container {
  position: relative;
  z-index: 1;
}

.tpl-watermark::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 62vw);
  aspect-ratio: 1;
  background: var(--wm-src) center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.tpl-rule {
  height: 1px;
  border: 0;
  background: var(--rule-200);
}

/* ---------------- labels, heads ---------------- */
.tpl-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--blue-600);
  line-height: 1.4;
}

.tpl-section--navy .tpl-label {
  color: var(--blue-300);
}

.tpl-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.tpl-head>*+* {
  margin-top: 14px;
}

.tpl-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tpl-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--t-display);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.tpl-section--navy .tpl-display {
  color: #fff;
}

.tpl-display--accent {
  color: var(--blue-500);
  display: block;
}

.tpl-section--navy .tpl-display--accent {
  color: var(--blue-300);
}

.tpl-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  max-width: 64ch;
}

.tpl-measure {
  max-width: 68ch;
}

.tpl-prose>*+* {
  margin-top: 16px;
}

.tpl-prose p {
  max-width: 68ch;
}

/* ---------------- buttons, links ---------------- */
.tpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tpl-btn--primary {
  background: var(--blue-600);
  color: #fff;
}

.tpl-btn--primary:hover {
  background: #17369f;
}

.tpl-btn--navy {
  background: var(--navy-900);
  color: #fff;
}

.tpl-btn--navy:hover {
  background: #060e2e;
}

.tpl-btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--rule-200);
}

.tpl-btn--ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.tpl-btn--light {
  background: #fff;
  color: var(--navy-900);
}

.tpl-btn--light:hover {
  background: var(--grey-50);
}

.tpl-section--navy .tpl-btn--ghost,
.tpl-hero .tpl-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.tpl-section--navy .tpl-btn--ghost:hover,
.tpl-hero .tpl-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.tpl-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.tpl-list--unstyled {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.tpl-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy-900);
  border-bottom: 1px solid var(--rule-200);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tpl-link::after {
  content: "\2192";
}

.tpl-link:hover {
  color: var(--blue-600);
  border-bottom-color: var(--blue-500);
}

.tpl-section--navy .tpl-link {
  color: #fff;
  border-bottom-color: var(--on-navy-rule);
}

.tpl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------------- grids, cards ---------------- */
.tpl-grid {
  display: grid;
  gap: 24px;
}

.tpl-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.tpl-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.tpl-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.tpl-grid--split {
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.tpl-card {
  background: var(--white);
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--dur) var(--ease);
}

.tpl-card:hover {
  border-color: var(--blue-500);
}

.tpl-card--fill {
  background: var(--grey-50);
  border-color: transparent;
}

.tpl-card--fill:hover {
  border-color: var(--rule-200);
}

.tpl-card p {
  font-size: 0.9688rem;
  line-height: 1.6;
}

.tpl-card__foot {
  margin-top: auto;
  padding-top: 8px;
}

.tpl-card--flag {
  border-color: var(--navy-900);
  border-width: 2px;
}

.tpl-section--navy .tpl-card {
  background: transparent;
  border-color: var(--on-navy-rule);
}

.tpl-callout {
  background: var(--callout);
  border-left: 3px solid var(--blue-500);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tpl-callout__line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--t-sub);
  color: var(--navy-900);
  line-height: 1.25;
}

.tpl-callout__line em {
  font-style: normal;
  color: var(--blue-600);
}

.tpl-note {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-900);
}

.tpl-section--navy .tpl-note {
  color: #fff;
}

/* ---------------- steps ---------------- */
.tpl-steps {
  border-top: 1px solid var(--rule-200);
}

.tpl-section--navy .tpl-steps {
  border-top-color: var(--on-navy-rule);
}

.tpl-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--rule-200);
  align-items: start;
}

.tpl-section--navy .tpl-step {
  border-bottom-color: var(--on-navy-rule);
}

.tpl-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 0.9;
  color: var(--blue-500);
}

.tpl-section--navy .tpl-step__num {
  color: var(--blue-300);
}

.tpl-step__title {
  margin-bottom: 8px;
}

.tpl-step__body {
  max-width: 64ch;
}

.tpl-step__body+.tpl-step__body {
  margin-top: 12px;
}

/* ---------------- proof bar ---------------- */
.tpl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-200);
  border-bottom: 1px solid var(--rule-200);
}

.tpl-stat {
  padding: clamp(22px, 3vw, 32px) 24px clamp(22px, 3vw, 32px) 0;
}

.tpl-stat+.tpl-stat {
  border-left: 1px solid var(--rule-200);
  padding-left: 24px;
}

.tpl-stat__fig {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 0.92;
  color: var(--navy-900);
}

.tpl-stat__of {
  font-size: 0.45em;
  opacity: 0.5;
}

.tpl-stat__cap {
  font-size: 0.9375rem;
  opacity: 0.78;
  margin-top: 10px;
  line-height: 1.45;
}

.tpl-proof__asof {
  margin-top: 12px;
  font-size: 0.8125rem;
  opacity: 0.6;
}

tpl-proof,
tpl-logos,
tpl-quotes,
tpl-cta,
tpl-video,
tpl-sample {
  display: block;
}

.tpl-block {
  display: block;
}

/* ---------------- table ---------------- */
.tpl-tablewrap {
  overflow-x: auto;
}

.tpl-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.tpl-table th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--blue-600);
  text-align: left;
  padding: 0 20px 12px 0;
  border-bottom: 1px solid var(--rule-200);
  vertical-align: bottom;
}

.tpl-table td {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--rule-200);
  vertical-align: top;
  font-size: 0.9688rem;
  line-height: 1.55;
}

.tpl-table td:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy-900);
  white-space: nowrap;
}

.tpl-table tr:last-child td {
  border-bottom: 0;
}

/* ---------------- pills ---------------- */
.tpl-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule-200);
  color: var(--navy-900);
  background: var(--white);
  align-self: flex-start;
}

.tpl-pill--live {
  color: var(--blue-600);
  border-color: rgba(41, 121, 255, 0.4);
}

.tpl-pill--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
}

.tpl-pill--soon {
  color: var(--ink-900);
  opacity: 0.72;
}

/* ---------------- photo slots ---------------- */
.tpl-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-50);
}

.tpl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-photo--wide {
  aspect-ratio: 16 / 9;
}

.tpl-photo--card {
  aspect-ratio: 3 / 2;
}

.tpl-photo:not(:has(img)) {
  display: none;
}

/* ---------------- hero (photo, navy overlay on the left) ---------------- */
.tpl-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
}

.tpl-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-hero:has(.tpl-hero__img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 69, .94) 0%, rgba(10, 22, 69, .86) 33%, rgba(10, 22, 69, .25) 70%, rgba(10, 22, 69, .1) 100%);
}

.tpl-hero:not(:has(.tpl-hero__img))::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, 70vw);
  aspect-ratio: 1;
  background: var(--wm-src) center / contain no-repeat;
  opacity: 0.08;
}

.tpl-hero .tpl-container {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.tpl-hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(3rem, 8.4vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.004em;
  max-width: 12ch;
}

.tpl-hero__h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--blue-300);
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  line-height: 1;
  margin-top: 18px;
}

.tpl-hero__line {
  margin-top: 22px;
  font-size: 1.125rem;
  color: var(--on-navy-soft);
}

.tpl-hero .tpl-actions {
  margin-top: 34px;
}

@media (max-width: 820px) {
  .tpl-hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .tpl-hero__img {
    position: relative;
    height: 56vw;
    max-height: 420px;
  }

  .tpl-hero:has(.tpl-hero__img)::after {
    display: none;
  }
}

/* ---------------- page hero (inner pages) ---------------- */
.tpl-pagehero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}

.tpl-pagehero h1 {
  max-width: 20ch;
}

.tpl-pagehero .tpl-display {
  max-width: 16ch;
}

.tpl-pagehero .tpl-lead {
  margin-top: 20px;
}

.tpl-pagehero__sub {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  color: var(--blue-300);
  line-height: 1;
}

.tpl-pagehero .tpl-actions {
  margin-top: 30px;
}

.tpl-pagehero .tpl-photo {
  margin-top: clamp(36px, 5vw, 56px);
}

/* ---------------- track cards ---------------- */
.tpl-track {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.tpl-track:hover {
  border-color: var(--blue-500);
}

.tpl-track .tpl-photo {
  border-radius: 0;
}

.tpl-track__body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tpl-track__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 0.95;
  color: var(--navy-900);
}

.tpl-track .tpl-btn {
  margin-top: auto;
  align-self: flex-start;
}

.tpl-track--dark {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.tpl-track--dark .tpl-track__title {
  color: #fff;
}

.tpl-track--dark p {
  color: var(--on-navy-soft);
}

/* ---------------- product cards (three ways) ---------------- */
.tpl-way {
  position: relative;
}

.tpl-way h3 {
  font-size: 1.375rem;
}

.tpl-way__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------------- workshop family ---------------- */
.tpl-family {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tpl-fam__name {
  font-size: 1.375rem;
}

.tpl-fam__skills {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue-600);
  letter-spacing: 0.02em;
}

.tpl-fam--soon .tpl-fam__skills {
  color: var(--ink-900);
  opacity: 0.7;
}

/* ---------------- what you receive ---------------- */
.tpl-receive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--navy-900);
}

.tpl-receive__col {
  padding: 24px 24px 8px 0;
}

.tpl-receive__col+.tpl-receive__col {
  padding-left: 24px;
  border-left: 1px solid var(--rule-200);
}

.tpl-receive ul {
  list-style: none;
  margin-top: 14px;
}

.tpl-receive li {
  padding: 12px 0 12px 20px;
  position: relative;
  border-bottom: 1px solid var(--rule-200);
  font-size: 0.9688rem;
  line-height: 1.5;
}

.tpl-receive li:last-child {
  border-bottom: 0;
}

.tpl-receive li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}

/* ---------------- sample profile ---------------- */
.tpl-sample {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.tpl-sample__mark {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* ---------------- timeline (annual program) ---------------- */
.tpl-timeline {
  border-top: 1px solid var(--rule-200);
}

.tpl-section--navy .tpl-timeline {
  border-top-color: var(--on-navy-rule);
}

.tpl-tl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-200);
}

.tpl-section--navy .tpl-tl {
  border-bottom-color: var(--on-navy-rule);
}

.tpl-tl__when {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--blue-600);
}

.tpl-section--navy .tpl-tl__when {
  color: var(--blue-300);
}

.tpl-tl__what b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.125rem;
  margin-bottom: 2px;
}

/* ---------------- focused sessions ---------------- */
.tpl-sessions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tpl-session__meta {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.tpl-session--soon .tpl-session__meta {
  color: var(--ink-900);
  opacity: 0.7;
}

.tpl-session h3 {
  font-size: 1.25rem;
}

/* ---------------- guarantees ---------------- */
.tpl-guar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(28px, 4vw, 44px);
}

.tpl-guar__card {
  border: 1px solid var(--on-navy-rule);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.tpl-guar__card h3 {
  margin-bottom: 10px;
}

.tpl-guar__lead {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  line-height: 1;
  color: #fff;
  max-width: 22ch;
}

.tpl-guar__lead span {
  color: var(--blue-300);
  display: block;
}

/* ---------------- testimonials ---------------- */
.tpl-quote {
  margin: 0;
  max-width: 60ch;
}

.tpl-quote blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  line-height: 1.35;
  color: var(--navy-900);
}

.tpl-quote figcaption {
  margin-top: 18px;
  font-size: 0.9375rem;
  opacity: 0.8;
}

.tpl-quote figcaption b,
.tpl-quote figcaption strong {
  display: block;
}

.tpl-section--navy .tpl-quote blockquote {
  color: #fff;
}

.tpl-section--navy .tpl-quote figcaption {
  color: var(--on-navy-soft);
  opacity: 1;
}

.tpl-tquotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tpl-tquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.tpl-tquote blockquote {
  font-size: 0.9875rem;
  line-height: 1.6;
  color: var(--ink-900);
}

.tpl-tquote figcaption {
  font-size: 0.875rem;
  opacity: 0.8;
}

.tpl-tquote figcaption b {
  display: block;
}

.tpl-section--grey .tpl-tquote {
  border-color: transparent;
}

/* ---------------- client logos ---------------- */
tpl-logos,
.tpl-logos {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--rule-200);
}

.tpl-logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 44px;
  margin-top: 16px;
}

.tpl-logos__item img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
}

.tpl-logos__item--type {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-900);
  opacity: 0.7;
}

/* ---------------- video ---------------- */
.tpl-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
}

.tpl-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- FAQ ---------------- */
.tpl-faq {
  border-top: 1px solid var(--rule-200);
}

.tpl-faq details {
  border-bottom: 1px solid var(--rule-200);
}

.tpl-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--navy-900);
}

.tpl-faq summary::-webkit-details-marker {
  display: none;
}

.tpl-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 1.5rem;
  color: var(--blue-600);
  transition: transform var(--dur) var(--ease);
}

.tpl-faq details[open] summary::after {
  transform: rotate(45deg);
}

.tpl-faq details p {
  padding: 0 0 22px;
  max-width: 68ch;
}

/* ---------------- beliefs ---------------- */
.tpl-beliefs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  border-top: 1px solid var(--rule-200);
}

.tpl-belief {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule-200);
}

.tpl-belief h3 {
  margin-bottom: 8px;
}

/* ---------------- team ---------------- */
.tpl-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tpl-person {
  background: #fff;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tpl-person__photo {
  aspect-ratio: 1;
  background: var(--grey-50);
  display: grid;
  place-items: center;
}

.tpl-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-person__initials {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  color: var(--navy-900);
  opacity: 0.18;
}

.tpl-person__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tpl-person__name {
  font-size: 1.375rem;
}

.tpl-person__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue-600);
  letter-spacing: 0.02em;
}

.tpl-person__bio {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tpl-person__lang {
  font-size: 0.875rem;
  opacity: 0.78;
}

.tpl-person__lang b {
  font-weight: 700;
}

.tpl-person .tpl-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* ---------------- strips ---------------- */
.tpl-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 30px 32px;
  background: var(--callout);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tpl-strip p,
.tpl-strip div {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--t-sub);
  color: var(--navy-900);
  line-height: 1.25;
  max-width: 40ch;
}

.tpl-strip p .tpl-subtext,
.tpl-strip div .tpl-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
}

.tpl-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.tpl-ctaband__head {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  max-width: 16ch;
}

/* ---------------- newsroom cards ---------------- */
.tpl-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.tpl-filter button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule-200);
  background: #fff;
  color: var(--navy-900);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tpl-filter button:hover {
  border-color: var(--blue-500);
}

.tpl-filter button[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.tpl-filter__desc {
  font-size: 0.9375rem;
  opacity: 0.78;
  min-height: 1.6em;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.tpl-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tpl-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.tpl-post:hover {
  border-color: var(--blue-500);
}

.tpl-post__img {
  aspect-ratio: 16 / 10;
  background: var(--grey-50);
}

.tpl-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-post__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tpl-post__title {
  font-size: 1.25rem;
  line-height: 1.2;
}

.tpl-post__ex {
  font-size: 0.9375rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tpl-post__meta {
  margin-top: auto;
  font-size: 0.8125rem;
  opacity: 0.65;
}

.tpl-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  transition: border-color var(--dur) var(--ease);
}

.tpl-feature:hover {
  border-color: var(--blue-500);
}

.tpl-feature .tpl-post__img {
  aspect-ratio: auto;
  min-height: 320px;
}

.tpl-feature .tpl-post__body {
  padding: clamp(26px, 4vw, 44px);
  justify-content: center;
}

.tpl-feature .tpl-post__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

/* ---------------- forms ---------------- */
.tplf {
  max-width: 720px;
}

.tplf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tplf-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tplf-row--wide {
  grid-column: 1 / -1;
}

.tplf-row label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.tplf-req {
  color: var(--blue-500);
}

.tplf-row input,
.tplf-row select,
.tplf-row textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.tplf-row textarea {
  resize: vertical;
  min-height: 130px;
}

.tplf-row input:focus,
.tplf-row select:focus,
.tplf-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.4);
}

.tplf-row.is-invalid input,
.tplf-row.is-invalid select,
.tplf-row.is-invalid textarea {
  border-color: #E5533C;
}

.tplf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

.tplf-status {
  margin-top: 14px;
  font-size: 0.9375rem;
  min-height: 1.3em;
}

.tplf-status.is-error,
.is-error {
  color: #C0392B;
}

.tplf-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.tplf-progress span {
  flex: 1;
  padding-top: 10px;
  border-top: 3px solid var(--rule-200);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-900);
  opacity: 0.55;
}

.tplf-progress span.is-on {
  border-top-color: var(--blue-500);
  opacity: 1;
  color: var(--navy-900);
}

.tplf-step h3 {
  margin-bottom: 18px;
}

.tplf-aside {
  grid-column: 1 / -1;
}

.tplf-done {
  border-left: 3px solid var(--blue-500);
  background: var(--callout);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px;
  max-width: 720px;
}

.tplf-done h3 {
  margin-bottom: 8px;
}

/* ---------------- lists ---------------- */
.tpl-ticks {
  list-style: none;
  border-top: 1px solid var(--rule-200);
}

.tpl-ticks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-200);
  line-height: 1.55;
}

.tpl-ticks li::before {
  content: "\2713";
  color: var(--blue-600);
  font-weight: 700;
}

.tpl-ticks b {
  font-family: var(--font-head);
  font-size: 1.0625rem;
}

.tpl-contactlist {
  list-style: none;
}

.tpl-contactlist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-200);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}

.tpl-contactlist li>span:first-child {
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding-top: 3px;
}

.tpl-contactlist a {
  color: var(--navy-900);
  font-weight: 600;
  border-bottom: 1px solid var(--rule-200);
}

.tpl-socrow {
  display: flex;
  gap: 10px;
}

.tpl-socrow a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rule-200);
  color: var(--navy-900);
  border-bottom: 1px solid var(--rule-200);
}

.tpl-socrow a:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

/* ---------------- utilities ---------------- */
.tpl-stack>*+* {
  margin-top: 16px;
}

.tpl-mt-s {
  margin-top: 14px;
}

.tpl-mt-m {
  margin-top: 28px;
}

.tpl-mt-l {
  margin-top: clamp(36px, 5vw, 60px);
}

.tpl-center {
  text-align: center;
}

.tpl-hide {
  display: none !important;
}

.tpl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* html.tpl-reveal-on [data-reveal] { */
/*   opacity: 0; */
/*   transform: translateY(8px); */
/*   transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); */
/* } */

/* html.tpl-reveal-on [data-reveal].is-in { */
/*   opacity: 1; */
/*   transform: none; */
/* } */

[data-reveal] {
  animation-timeline: view(block); /* still binds to nearest scroller */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.tpl-reveal-on [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {

  .tpl-grid--3,
  .tpl-grid--4,
  .tpl-family,
  .tpl-sessions,
  .tpl-posts,
  .tpl-team {
    grid-template-columns: repeat(2, 1fr);
  }

  .tpl-grid--split,
  .tpl-feature,
  .tpl-close__grid {
    grid-template-columns: 1fr;
  }

  .tpl-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tpl-stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .tpl-stat:nth-child(n+3) {
    border-top: 1px solid var(--rule-200);
  }

  .tpl-receive {
    grid-template-columns: 1fr;
  }

  .tpl-receive__col+.tpl-receive__col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule-200);
  }

  .tpl-watermark::before {
    right: -28%;
    opacity: 0.05;
  }
}

@media (max-width: 640px) {
  :root {
    --gut: 20px;
  }

  .tpl-grid--2,
  .tpl-grid--3,
  .tpl-grid--4,
  .tpl-family,
  .tpl-sessions,
  .tpl-posts,
  .tpl-team,
  .tpl-tquotes,
  .tpl-guar,
  .tpl-beliefs,
  .tplf-grid {
    grid-template-columns: 1fr;
  }

  .tpl-stats {
    grid-template-columns: 1fr;
  }

  .tpl-stat {
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .tpl-stat+.tpl-stat {
    border-top: 1px solid var(--rule-200);
  }

  .tpl-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tpl-tl {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tpl-contactlist li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tpl-table td:first-child {
    white-space: normal;
  }
}


/* Article detail ---------------------------------------------- */

.art { padding-top: clamp(32px, 4vw, 52px); }

.art__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--blue-600);
  transition: color var(--dur) var(--ease);
}
.art__back:hover { color: var(--navy-900); }

.art__head {
  padding: clamp(28px, 4vw, 44px) 0 clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--rule-200);
}
.art__eyebrow { display: block; margin-bottom: 14px; }
.art__title { font-size: var(--t-h1); max-width: 20ch; }
.art__lede { margin-top: 18px; max-width: 58ch; }
.art__meta {
  margin-top: 20px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-900);
  opacity: 0.55;
}

.art__media {
  margin: clamp(28px, 4vw, 44px) 0 0;
  border: 1px solid var(--rule-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-50);
}
.art__media img { width: 100%; height: auto; display: block; }

/* Body copy ---------------------------------------------------
   Richtext from the CMS, so these style bare tags rather than classes. */
.art__body { padding: clamp(32px, 4vw, 48px) 0 0; }
.art__body > * + * { margin-top: 1.15em; }
.art__body p { font-size: 1.0625rem; line-height: 1.72; }
.art__body h2 {
  font-size: var(--t-h2);
  margin-top: 1.8em;
  padding-top: 0.6em;
  border-top: 1px solid var(--rule-200);
}
.art__body h3 { font-size: var(--t-sub); margin-top: 1.6em; }
.art__body a {
  color: var(--blue-600);
  border-bottom: 1px solid var(--rule-200);
  transition: border-color var(--dur) var(--ease);
}
.art__body a:hover { border-bottom-color: var(--blue-500); }
.art__body ul, .art__body ol { padding-left: 1.25em; }
.art__body li + li { margin-top: 0.5em; }
.art__body img { border-radius: var(--radius); margin: 1.6em 0; }
.art__body blockquote {
  border-left: 3px solid var(--blue-500);
  background: var(--callout);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 1.8em 0;
}
.art__body blockquote p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--t-sub);
  line-height: 1.3;
  color: var(--navy-900);
}
.art__body hr { height: 1px; border: 0; background: var(--rule-200); margin: 2em 0; }

.art__foot { padding-top: clamp(36px, 5vw, 60px); }

/* ------------------------------------------------------------------------ */
/* Scroll effects */

@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Modern browsers: pure CSS */
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }

  /* Fallback: only hidden once JS has opted in */
  @supports not (animation-timeline: view()) {
    .tpl-reveal-on [data-reveal] {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s ease, transform .6s ease;
    }
    .tpl-reveal-on [data-reveal].is-in {
      opacity: 1;
      transform: none;
    }
  }
}
/* ------------------------------------------------------------------------ */
