@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --navy: #1e3a5f;
  --ink: #122c40;
  --teal: #2ec4b6;
  --muted: #465b64;
  --paper: #f4f7f6;
  --line: #d8e2e0;
  --deep-teal: #12685f;
  --section-space: clamp(3.5rem, 7.6vw, 7.25rem);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.65vw, 5.35rem); letter-spacing: -.058em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -.046em; }
h3 { font-size: 1.75rem; letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #087b71; outline-offset: 4px; }
.tep-wrap { width: min(100% - clamp(2.5rem, 8vw, 9rem), 76rem); margin-inline: auto; }
.tep-skip { position: fixed; z-index: 10; top: .65rem; left: .65rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.tep-skip:focus { transform: none; }
.tep-header { border-bottom: 1px solid var(--line); background: white; }
.tep-header-inner, .tep-footer-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 1.2rem; }
.tep-brand { flex: 0 0 auto; }
.tep-brand img { width: clamp(9rem, 17vw, 13.25rem); }
.tep-nav, .tep-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.tep-nav a, .tep-footer nav a, .tep-languages a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.tep-nav a:last-child { border: 1px solid var(--line); border-radius: 99rem; padding: .4rem .92rem; }
.tep-nav a:last-child:hover { background: var(--paper); }
.tep-nav a:hover, .tep-nav a[aria-current], .tep-footer nav a:hover { text-decoration: underline; }
.tep-languages { white-space: nowrap; display: flex; gap: .2rem; align-items: center; padding: .23rem; border-radius: 2rem; border: 1px solid var(--line); }
.tep-languages a { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2rem; border-radius: 50%; }
.tep-languages a[aria-current] { background: var(--navy); color: #fff !important; }
.tep-toggle { display: none; }
.tep-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.tep-hero-inner { padding-block: clamp(3.3rem, 7vw, 6.75rem); }
.tep-home { background: radial-gradient(ellipse at 90% 30%, #d9eee7, transparent 58%), #f7faf8; }
.tep-visual .tep-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.tep-home .tep-hero-inner { grid-template-columns: minmax(0, .98fr) minmax(0, 1.12fr); gap: clamp(2.2rem, 5vw, 5rem); padding-block: clamp(3.2rem, 7.4vw, 7.2rem); }
.tep-home h1 { font-size: clamp(2.85rem, 5.4vw, 5.3rem); text-wrap: initial; }
.tep-kicker { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.45rem; font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.tep-kicker::before { content: ''; width: 1.6rem; height: 2px; background: #138477; }
.tep-home h1 em { display: block; color: var(--deep-teal); font-size: .72em; font-weight: 500; margin-top: .24em; letter-spacing: -.047em; }
.tep-lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 37rem; margin-top: 1.4rem; }
.tep-actions, .tep-related { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.8rem; }
.tep-button { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; min-height: 50px; border: 1px solid transparent; border-radius: 99rem; padding: .72rem 1.35rem; font-weight: 700; text-decoration: none; text-align: center; }
.tep-button:hover { background: var(--deep-teal); color: #fff; }
.tep-outline { border-color: #a6b9b6; background: transparent; color: var(--ink); }
.tep-outline:hover { background: #e1f0eb; color: var(--ink); }
.tep-home .tep-kicker { color: var(--deep-teal); }
.tep-influence :focus-visible, .tep-teams :focus-visible, .tep-cta :focus-visible { outline-color: #86e9de; }
.tep-video { position: relative; min-width: 0; isolation: isolate; }
.tep-video::before { content: ''; position: absolute; z-index: -1; inset: .9rem -.9rem -.9rem .9rem; border: 1px solid #87ada6; border-radius: .63rem; }
.tep-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border-radius: .9rem; background: var(--ink); box-shadow: 0 1.2rem 3rem #173a3433; }
.tep-service-photo { overflow: hidden; border-radius: .9rem; }
.tep-service-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tep-teams .tep-service-photo img, .tep-hero.tep-method .tep-service-photo img { aspect-ratio: 16 / 9; }
.tep-about .tep-service-photo { width: min(100%, 20rem); justify-self: center; }
.tep-about .tep-service-photo img { aspect-ratio: auto; }
.tep-learn { background: #e6f7f3; }
.tep-influence, .tep-teams { background: var(--ink); color: white; }
.tep-influence .tep-button, .tep-teams .tep-button, .tep-cta .tep-button { background: var(--teal); color: var(--ink); }
.tep-influence .tep-button:hover, .tep-teams .tep-button:hover, .tep-cta .tep-button:hover { background: #8ae4d9; }
.tep-influence .tep-kicker::before, .tep-teams .tep-kicker::before { background: var(--teal); }
.tep-paths, .tep-detail { padding-block: var(--section-space); }
.tep-paths > h2 { margin-bottom: clamp(1.7rem, 3.5vw, 2.8rem); }
.tep-paths > h2:has(+ .tep-paths-intro) { margin-bottom: .85rem; }
.tep-paths-intro { max-width: 42rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-bottom: clamp(1.7rem, 3.5vw, 2.8rem); }
.tep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.75rem); }
.tep-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1rem; background: #eaf5ef; }
.tep-card-influence { background: #edf1f6; }
.tep-card h3 { text-wrap: initial; }
.tep-card img { width: 100%; aspect-ratio: 1.82; object-fit: cover; object-position: center 30%; }
.tep-card-influence img { object-position: center 15%; }
.tep-card-copy { padding: clamp(1.35rem, 3vw, 2.5rem); flex: 1; display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid #3a9788; }
.tep-card-influence .tep-card-copy { border-color: var(--navy); }
.tep-card-copy p { flex: 1; }
.tep-card p, .tep-detail p, .tep-method:where(:not(.tep-hero)) p { margin-top: .7rem; color: var(--muted); max-width: 39rem; }
.tep-card-link { color: var(--deep-teal); font-weight: 700; display: inline-block; margin-top: 1.15rem; }
.tep-card-influence .tep-card-link { color: var(--navy); }
.tep-detail .tep-grid { gap: 2.4rem; }
.tep-method-detail { align-items: start; }
.tep-detail h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.tep-detail article { border: 1px solid var(--line); border-top: 3px solid #79b8aa; border-radius: .75rem; padding: clamp(1.25rem, 2.7vw, 2rem); background: #fafcfb; }
.tep-notice { padding: 1rem 1.3rem; border-left: 3px solid #15988b; background: var(--paper); margin-bottom: 2rem; }
.tep-contact-panel { padding: clamp(1.3rem, 4vw, 3rem); margin-bottom: 3rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); max-width: 52rem; }
.tep-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.tep-contact-form label { display: grid; gap: .35rem; font-weight: 700; }
.tep-contact-form input, .tep-contact-form textarea { width: 100%; border: 1px solid #8197a7; border-radius: .35rem; padding: .65rem .8rem; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.tep-contact-form textarea { resize: vertical; }
.tep-contact-form p { margin: 0; }
.tep-full { grid-column: 1 / -1; }
.tep-contact-form button { cursor: pointer; }
.tep-contact-form button:disabled { background: #d1dedf; color: var(--muted); cursor: default; }
.tep-detail > .tep-button { margin-bottom: 2rem; }
.tep-method:where(:not(.tep-hero)) { background: var(--paper); padding-block: var(--section-space); }
.tep-outcomes { background: var(--ink); color: #fff; }
.tep-outcomes .tep-steps li { border-color: #79c6b7; }
.tep-section-title { margin-bottom: 1.65rem; }
.tep-steps { list-style: none; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0 2.2rem; padding: 0; }
.tep-steps li { padding: 1.2rem; border-top: 2px solid #7bb5a9; background: #fff; border-radius: 0 0 .7rem .7rem; }
.tep-outcomes .tep-steps li { background: #1b3a50; }
.tep-clients, .tep-quotes { padding-block: var(--section-space); }
.tep-detail:has(+ .tep-clients) { padding-block-end: clamp(1.25rem, 2.5vw, 2rem); }
.tep-detail + .tep-clients { padding-block-start: clamp(1.25rem, 2.5vw, 2rem); }
.tep-clients h2 { text-align: center; }
.tep-client-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 2.35rem 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tep-client-grid li { display: grid; place-items: center; min-height: 6.5rem; padding: .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tep-client-grid img { width: min(100%, 10rem); object-fit: contain; }
.tep-client-link { display: grid; place-items: center; min-height: 2.75rem; width: 100%; border-radius: .35rem; }
.tep-client-link:hover { background: var(--paper); }
.tep-quotes { background: #e9f3ef; }
.tep-quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.7vw, 1.35rem); margin-top: 1.5rem; }
.tep-quote-grid { align-items: start; }
.tep-quote-grid :is(figure, .tep-quote) { padding: clamp(1.35rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.tep-quote-grid .tep-quote figure { padding: 0; border: 0; }
.tep-quote-grid .tep-quote { padding: clamp(1rem, 2vw, 1.5rem); }
.tep-more-quotes { margin-top: 1.25rem; }
.tep-more-quotes > summary { width: fit-content; padding: .5rem .85rem; border: 1px solid #a6b9b6; border-radius: .65rem; background: #fff; cursor: pointer; color: var(--deep-teal); font-weight: 700; }
.tep-quote details { margin-top: 1.15rem; }
.tep-quote summary { color: var(--deep-teal); cursor: pointer; font-weight: 700; }
.tep-quote-grid details blockquote { font: inherit; margin-top: .8rem; }
.tep-quote details p + p { margin-top: .7rem; }
.tep-quote-grid blockquote { margin: 0; font: 500 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--serif); }
.tep-quote-grid figcaption { margin-top: 1.2rem; font-size: .95rem; font-weight: 700; color: #23655d; }
.tep-translation { color: var(--muted); font-size: .875rem; margin-top: 1rem; }
.tep-cta { background: var(--ink); color: white; }
.tep-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.tep-cta p { margin-top: .7rem; }
.tep-cta .tep-button { flex-shrink: 0; }
.tep-footer { padding-block: 1.25rem; background: var(--paper); }
.tep-legal { border-top: 1px solid var(--line); padding-block-start: 1rem; color: var(--muted); }
.tep-legal-hero { background: linear-gradient(120deg, #f7faf8, #e6f4ef); }
.tep-legal-hero .tep-wrap, .tep-legal-content { max-width: 52rem; }
.tep-legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.tep-legal-content { padding-block: clamp(2.5rem, 6vw, 5rem); overflow-wrap: anywhere; }
.tep-legal-content :is(h2, h3, h4) { margin-block: 1.6em .6em; }
.tep-legal-content h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.tep-legal-content h3 { font-size: 1.35rem; }
.tep-legal-content :is(p, ul, ol, figure) { margin-block: 0 1.05rem; }
.tep-legal-content a { color: var(--deep-teal); }

/* Preserve contrast when the WordPress theme sets its own text colors. */
#main > :is(.tep-influence, .tep-teams, .tep-outcomes, .tep-cta) :is(h1, h2, h3, a) { color: #fff !important; }
#main > :is(.tep-influence, .tep-teams, .tep-outcomes, .tep-cta) p { color: #e1eaf3 !important; }
#main .tep-button:not(.tep-outline, :disabled) { color: #fff !important; }
#main > :is(.tep-influence, .tep-teams, .tep-cta) .tep-button:not(.tep-outline) { color: var(--ink) !important; }

@media (min-width: 62rem) {
  .tep-method:where(:not(.tep-hero)) > .tep-wrap { display: grid; grid-template-columns: .8fr 2.2fr; column-gap: 2.5rem; align-items: start; }
  .tep-method .tep-steps { margin: .4rem 0 0; gap: 1.7rem; grid-row: span 2; }
  .tep-method:where(:not(.tep-hero)) .tep-button { justify-self: start; margin-top: 1.5rem; }
}
@media (max-width: 64rem) {
  .tep-header-inner { min-height: 70px; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; padding-block: .75rem; }
  .tep-header .tep-brand { margin-right: auto; }
  .tep-toggle:not([hidden]) { display: inline-flex; align-items: center; padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 99rem; background: white; color: inherit; font-weight: 700; }
  .tep-nav { order: 3; width: 100%; }
  .tep-toggle:not([hidden]) + .tep-nav:not(.tep-open) { display: none; }
  .tep-nav a { padding: .3rem 0; }
}
@media (max-width: 42rem) {
  .tep-contact-form { grid-template-columns: 1fr; }
  .tep-wrap { width: calc(100% - 2rem); }
  .tep-visual .tep-hero-inner, .tep-home .tep-hero-inner, .tep-grid, .tep-quote-grid { grid-template-columns: 1fr; }
  .tep-video::before { inset: .45rem -.45rem -.45rem .45rem; }
  .tep-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tep-client-grid li { min-height: 4.7rem; }
  .tep-cta-inner, .tep-footer-inner { align-items: flex-start; flex-direction: column; }
  .tep-footer-inner { min-height: auto; padding-block: .75rem; }
}
