/*
Theme Name: The Franchise Shop
Theme URI: https://thefranchiseshop.com/
Author: Vision Fox, LLC
Description: A premium, editable WordPress theme for a boutique franchise resale advisory and brokerage practice.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: franchise-shop
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, block-styles, wide-blocks
*/

:root {
  --tfs-navy: #0c2531;
  --tfs-navy-deep: #071a23;
  --tfs-navy-soft: #123541;
  --tfs-ink: #1c2930;
  --tfs-slate: #58686f;
  --tfs-paper: #fffefd;
  --tfs-ivory: #f7f4ed;
  --tfs-sand: #e8e1d5;
  --tfs-white: #ffffff;
  --tfs-teal: #008eae;
  --tfs-teal-dark: #006f88;
  --tfs-cyan: #2bb9d2;
  --tfs-brass: #aa8758;
  --tfs-line: #dcdedb;
  --tfs-line-dark: rgba(255, 255, 255, .16);
  --tfs-shadow: 0 30px 80px rgba(5, 27, 36, .14);
  --tfs-shadow-soft: 0 16px 50px rgba(5, 27, 36, .08);
  --tfs-radius: 4px;
  --tfs-content: 810px;
  --tfs-wide: 1280px;
  --tfs-display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --tfs-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tfs-paper);
  color: var(--tfs-ink);
  font-family: var(--tfs-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tfs-teal-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--tfs-teal); }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  z-index: 100000;
}

.tfs-container { width: min(calc(100% - 64px), var(--tfs-wide)); margin-inline: auto; }
.tfs-narrow { width: min(calc(100% - 64px), var(--tfs-content)); margin-inline: auto; }
.site-main { min-height: 55vh; overflow: clip; }
.tfs-section { position: relative; padding: clamp(88px, 9vw, 136px) 0; }

h1, h2, h3, h4 {
  margin: 0 0 .48em;
  color: inherit;
  font-family: var(--tfs-display);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.042em;
}
h1 { font-size: clamp(3.7rem, 7.2vw, 7rem); }
h2 { font-size: clamp(3rem, 5vw, 5.1rem); }
h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.05; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.25em; }

.tfs-eyebrow {
  margin: 0 0 18px;
  color: var(--tfs-teal-dark);
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.tfs-eyebrow--light { color: #7bd5e5; }
.tfs-eyebrow--light > span {
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: currentColor;
}
.tfs-lead { color: #384a52; font-size: clamp(1.18rem, 1.8vw, 1.45rem); line-height: 1.52; }
.tfs-meta { color: #758087; font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tfs-meta--light, .tfs-meta--light a { color: rgba(255, 255, 255, .68); }

.tfs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.tfs-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid var(--tfs-teal-dark);
  border-radius: var(--tfs-radius);
  background: var(--tfs-teal-dark);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.tfs-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: var(--tfs-teal); border-color: var(--tfs-teal); }
.tfs-button--light { background: var(--tfs-paper); border-color: var(--tfs-paper); color: var(--tfs-navy) !important; }
.tfs-button--light:hover { background: #dff6f9; border-color: #dff6f9; }
.tfs-button--ink { background: var(--tfs-navy); border-color: var(--tfs-navy); }
.tfs-button--secondary { background: transparent; border-color: var(--tfs-navy); color: var(--tfs-navy) !important; }
.tfs-button--secondary:hover { color: #fff !important; }
.tfs-button--outline-light { background: transparent; border-color: rgba(255, 255, 255, .58); color: #fff !important; }
.tfs-button--outline-light:hover { background: #fff; border-color: #fff; color: var(--tfs-navy) !important; }
.tfs-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tfs-navy);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.tfs-text-link span { color: var(--tfs-teal); font-size: 1.15em; transition: transform .2s ease; }
.tfs-text-link:hover span { transform: translateX(4px); }
.tfs-text-link--light { color: #fff; }
.tfs-fineprint { color: #6c777c; font-size: .75rem; line-height: 1.55; }

/* Header */
.tfs-utility-bar { background: var(--tfs-navy-deep); color: rgba(255, 255, 255, .72); }
.tfs-utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tfs-utility-bar__brokerage { color: #76ccda; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(12, 37, 49, .11);
  background: rgba(255, 254, 253, .97);
  box-shadow: 0 6px 28px rgba(6, 26, 34, .04);
  backdrop-filter: blur(15px);
}
body.admin-bar .site-header { top: 32px; }
.tfs-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 32px; }
.site-branding { flex: 0 0 auto; line-height: 0; }
.custom-logo { width: 225px; max-height: 74px; object-fit: contain; }
.custom-logo-link { display: block; line-height: 0; }
.tfs-nav { margin-left: auto; }
.tfs-nav ul, .tfs-nav__menu { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.tfs-nav li { margin: 0; }
.tfs-nav a {
  position: relative;
  color: var(--tfs-ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.tfs-nav li:not(.menu-item-cta) > a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--tfs-teal);
  transition: right .2s ease;
}
.tfs-nav li:not(.menu-item-cta) > a:hover:after,
.tfs-nav .current-menu-item:not(.menu-item-cta) > a:after { right: 0; }
.tfs-nav .menu-item-cta > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--tfs-navy);
  border-radius: var(--tfs-radius);
  background: var(--tfs-navy);
  color: #fff;
}
.tfs-nav .menu-item-cta > a:hover { background: var(--tfs-teal-dark); border-color: var(--tfs-teal-dark); }
.tfs-menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid #d8dcda; background: transparent; }
.tfs-menu-toggle > span:not(.screen-reader-text) { display: block; width: 21px; height: 1px; margin: 6px auto; background: var(--tfs-navy); transition: transform .2s ease; }
.tfs-menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.tfs-menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.tfs-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 126px) 0 clamp(78px, 8vw, 120px);
  background:
    radial-gradient(circle at 88% 18%, rgba(43, 185, 210, .13), transparent 28%),
    linear-gradient(120deg, var(--tfs-navy-deep), var(--tfs-navy) 55%, #0b303d);
  color: #fff;
}
.tfs-hero:before {
  content: "";
  position: absolute;
  width: min(52vw, 780px);
  height: min(52vw, 780px);
  right: -22vw;
  top: -48%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .018), 0 0 0 140px rgba(255, 255, 255, .012);
}
.tfs-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(360px, .72fr); align-items: center; gap: clamp(60px, 8vw, 128px); }
.tfs-hero__copy { padding-bottom: 18px; }
.tfs-hero h1 { max-width: 790px; color: var(--tfs-ivory); font-size: clamp(4rem, 7.35vw, 7.35rem); text-wrap: balance; }
.tfs-hero__lead { max-width: 710px; margin-top: 28px; color: #dce8ea; font-family: var(--tfs-display); font-size: clamp(1.45rem, 2.25vw, 2.05rem); line-height: 1.35; }
.tfs-hero__support { max-width: 650px; color: rgba(255, 255, 255, .68); font-size: .98rem; }
.tfs-hero__assurance { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: rgba(255, 255, 255, .54); font-size: .67rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
.tfs-hero__assurance span { position: relative; padding-left: 14px; }
.tfs-hero__assurance span:before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--tfs-cyan); }
.tfs-hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #008bb0 0 25%, #eb1687 25% 50%, #f28b00 50% 75%, #afc900 75%); opacity: .82; }

.tfs-advisor-card { position: relative; width: min(100%, 440px); justify-self: end; }
.tfs-advisor-card:before { content: ""; position: absolute; top: -16px; right: -16px; width: 72%; height: 68%; border: 1px solid rgba(123, 213, 229, .34); }
.tfs-advisor-card__image { position: relative; z-index: 2; overflow: hidden; aspect-ratio: .92; background: #f4f4f2; box-shadow: 0 34px 85px rgba(0, 0, 0, .3); }
.tfs-advisor-card__image > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.82) contrast(1.03); }
.tfs-advisor-card__image:after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(4, 22, 29, .78)); pointer-events: none; }
.tfs-advisor-card__label { position: absolute; z-index: 3; left: 28px; bottom: 24px; color: #fff; }
.tfs-advisor-card__label strong { display: block; font-family: var(--tfs-display); font-size: 1.85rem; font-weight: 500; line-height: 1; }
.tfs-advisor-card__label span { display: block; margin-top: 7px; color: #95ddea; font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tfs-advisor-card__note { position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr; gap: 16px; width: 89%; margin: -2px 0 0 auto; padding: 24px 26px; background: var(--tfs-ivory); color: var(--tfs-navy); box-shadow: var(--tfs-shadow); }
.tfs-advisor-card__note p { margin: 0; font-family: var(--tfs-display); font-size: 1.05rem; line-height: 1.4; }
.tfs-advisor-card__mark { color: var(--tfs-teal); font-family: var(--tfs-display); font-size: 3rem; line-height: .8; }

/* Proof strip */
.tfs-proof { border-bottom: 1px solid var(--tfs-line); background: #fff; }
.tfs-proof__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); min-height: 104px; }
.tfs-proof__intro, .tfs-proof__item { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; border-right: 1px solid var(--tfs-line); }
.tfs-proof__intro { padding-left: 0; color: var(--tfs-slate); font-family: var(--tfs-display); font-size: 1.15rem; line-height: 1.25; }
.tfs-proof__item:last-child { border-right: 0; }
.tfs-proof__item strong { color: var(--tfs-navy); font-family: var(--tfs-display); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.tfs-proof__item span { margin-top: 5px; color: #6f7a7e; font-size: .66rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }

/* Homepage video */
.tfs-video-story { overflow: hidden; background: var(--tfs-ivory); }
.tfs-video-story:before { content: ""; position: absolute; left: -260px; top: -360px; width: 620px; height: 620px; border: 1px solid rgba(12, 37, 49, .055); border-radius: 50%; box-shadow: 0 0 0 75px rgba(12, 37, 49, .018); }
.tfs-video-story__heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(60px, 9vw, 140px); margin-bottom: 58px; }
.tfs-video-story__heading h2 { max-width: 770px; margin-bottom: 0; }
.tfs-video-story__intro { padding-bottom: 8px; }
.tfs-video-story__intro > p:first-child { color: #43545b; font-family: var(--tfs-display); font-size: 1.28rem; line-height: 1.5; }
.tfs-video-story__identity { position: relative; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #d7d2c8; color: #66747a; font-size: .72rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.tfs-video-story__identity span { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border: 2px solid var(--tfs-teal); border-radius: 50%; }
.tfs-video-frame { position: relative; z-index: 2; width: min(100%, 1140px); margin-inline: auto; border: 10px solid #fff; background: var(--tfs-navy); box-shadow: 0 32px 85px rgba(6, 28, 36, .18); }
.tfs-video-frame:before { content: "▶"; position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; width: 82px; height: 82px; padding-left: 5px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(7, 26, 35, .72); color: #fff; font-size: 1.25rem; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .2s ease; }
.tfs-video-frame.is-player-loaded:before { opacity: 0; }
.tfs-video-frame__accent { position: absolute; z-index: -1; inset: 28px -28px -28px 28px; border: 1px solid #c9c2b6; }
.tfs-video-frame .muse-video-player { width: 100%; min-height: 280px; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--tfs-navy), #0b4b5b); }
.tfs-video-frame iframe, .tfs-video-frame video { display: block; width: 100% !important; max-width: 100%; aspect-ratio: 16 / 9; }
.tfs-video-fallback { display: grid; place-items: center; min-height: 320px; margin: 0; }
.tfs-video-fallback a { color: #fff; }
.tfs-video-story__caption { display: grid; grid-template-columns: .35fr 1.65fr; gap: 35px; width: min(100%, 1140px); margin: 45px auto 0; padding-top: 22px; border-top: 1px solid #d3cec4; }
.tfs-video-story__caption span { color: var(--tfs-teal-dark); font-size: .67rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tfs-video-story__caption p { max-width: 760px; margin: 0; color: #6a777c; font-size: .8rem; line-height: 1.6; }

/* Homepage editorial sections */
.tfs-section--editorial { background: var(--tfs-paper); }
.tfs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 140px); }
.tfs-split--intro { align-items: start; }
.tfs-section-heading h2 { max-width: 650px; }
.tfs-section-heading--wide { max-width: 760px; margin-bottom: 54px; }
.tfs-section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.tfs-section-heading--row h2 { margin-bottom: 0; }
.tfs-editorial-copy { padding-top: 42px; }
.tfs-editorial-copy > .tfs-text-link { margin-top: 12px; }
.tfs-deal-factors { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 92px; border-top: 1px solid var(--tfs-line); border-bottom: 1px solid var(--tfs-line); }
.tfs-deal-factors > div { min-height: 225px; padding: 28px 28px 28px 0; border-right: 1px solid var(--tfs-line); }
.tfs-deal-factors > div:not(:first-child) { padding-left: 28px; }
.tfs-deal-factors > div:last-child { border-right: 0; }
.tfs-deal-factors span { color: var(--tfs-teal); font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.tfs-deal-factors strong { display: block; margin: 34px 0 10px; font-family: var(--tfs-display); font-size: 1.52rem; font-weight: 500; }
.tfs-deal-factors p { margin: 0; color: var(--tfs-slate); font-size: .9rem; line-height: 1.6; }

.tfs-section--warm { overflow: hidden; background: var(--tfs-ivory); }
.tfs-section--warm:after { content: ""; position: absolute; width: 450px; height: 450px; right: -290px; bottom: -300px; border: 1px solid rgba(12, 37, 49, .08); border-radius: 50%; box-shadow: 0 0 0 65px rgba(12, 37, 49, .025), 0 0 0 130px rgba(12, 37, 49, .018); }
.tfs-paths { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tfs-path-card { display: flex; flex-direction: column; min-height: 420px; padding: 40px 38px; border: 1px solid #dcd6ca; background: rgba(255, 255, 255, .7); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.tfs-path-card:hover { transform: translateY(-7px); background: #fff; box-shadow: var(--tfs-shadow-soft); }
.tfs-path-card__top { display: flex; align-items: center; gap: 14px; color: var(--tfs-teal-dark); font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.tfs-path-card__line { flex: 1; height: 1px; background: #d8d2c7; }
.tfs-path-card h3 { margin-top: 72px; font-size: clamp(2.6rem, 4vw, 4rem); }
.tfs-path-card p { color: var(--tfs-slate); }
.tfs-path-card > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 24px; border-top: 1px solid #d8d2c7; color: var(--tfs-navy); font-size: .75rem; font-weight: 800; letter-spacing: .065em; text-decoration: none; text-transform: uppercase; }
.tfs-path-card > a span { color: var(--tfs-teal); }

.tfs-section--navy { overflow: hidden; background: var(--tfs-navy); color: #fff; }
.tfs-section--navy:before { content: ""; position: absolute; left: 51%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .1); }
.tfs-objectivity { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 160px); }
.tfs-objectivity__statement { position: relative; }
.tfs-display-number { position: absolute; top: -91px; left: -12px; color: rgba(255, 255, 255, .035); font-family: var(--tfs-display); font-size: 16rem; line-height: 1; }
.tfs-objectivity h2 { position: relative; max-width: 600px; color: var(--tfs-ivory); }
.tfs-objectivity__copy { padding-top: 42px; }
.tfs-objectivity__copy .tfs-lead { color: #c9d7da; }
.tfs-objectivity blockquote { margin: 54px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.tfs-objectivity blockquote p { margin: 0; color: #fff; font-family: var(--tfs-display); font-size: 1.4rem; font-style: italic; line-height: 1.45; }

.tfs-section--valuation { background: #fff; }
.tfs-valuation { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .68fr); align-items: center; gap: clamp(70px, 10vw, 150px); }
.tfs-valuation__copy h2 { max-width: 700px; }
.tfs-valuation__copy .tfs-lead { max-width: 760px; }
.tfs-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 34px; margin: 34px 0 42px; padding: 0; list-style: none; }
.tfs-checks li { position: relative; padding: 9px 0 9px 25px; border-bottom: 1px solid #e6e7e4; color: #405159; font-size: .91rem; }
.tfs-checks li:before { content: ""; position: absolute; left: 0; top: 1.1em; width: 8px; height: 8px; border: 2px solid var(--tfs-teal); border-radius: 50%; }
.tfs-investment-card { position: relative; padding: 48px 45px; border-top: 4px solid var(--tfs-teal); background: var(--tfs-ivory); box-shadow: var(--tfs-shadow-soft); }
.tfs-investment-card:before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid #d6d0c5; }
.tfs-investment-card__label { margin: 0; color: var(--tfs-teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tfs-investment-card__price { margin: 14px 0 22px; color: var(--tfs-navy); font-family: var(--tfs-display); font-size: clamp(4.3rem, 6vw, 6.2rem); line-height: .95; letter-spacing: -.05em; }
.tfs-investment-card__credit { display: grid; grid-template-columns: auto 1fr; gap: 15px; margin: 26px 0; padding: 22px 0; border-top: 1px solid #d7d2c8; border-bottom: 1px solid #d7d2c8; }
.tfs-investment-card__credit > span { color: var(--tfs-teal); font-size: 1.5rem; }
.tfs-investment-card__credit p { margin: 0; font-size: .88rem; line-height: 1.55; }

.tfs-section--readiness { overflow: hidden; background: linear-gradient(125deg, #087890, #00647b); color: #fff; }
.tfs-section--readiness:after { content: ""; position: absolute; right: -170px; top: -280px; width: 660px; height: 660px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .018); }
.tfs-readiness { position: relative; z-index: 2; display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(70px, 10vw, 160px); align-items: start; }
.tfs-readiness__label { padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .5); }
.tfs-readiness__label span { font-family: var(--tfs-display); font-size: 1.45rem; font-style: italic; }
.tfs-readiness__copy { max-width: 800px; }
.tfs-readiness h2 { color: #fff; }
.tfs-readiness__copy > p:not(.tfs-eyebrow) { max-width: 720px; color: rgba(255, 255, 255, .8); }
.tfs-readiness__copy .tfs-button { margin-top: 14px; }

.tfs-section--advisor { background: var(--tfs-paper); }
.tfs-experience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 150px); }
.tfs-experience__heading { position: sticky; top: 160px; align-self: start; }
.tfs-experience__heading .tfs-text-link { margin-top: 16px; }
.tfs-experience__roles { counter-reset: role; border-top: 1px solid var(--tfs-line); }
.tfs-experience__roles > div { position: relative; min-height: 154px; padding: 31px 25px 31px 74px; border-bottom: 1px solid var(--tfs-line); }
.tfs-experience__roles > div:before { counter-increment: role; content: "0" counter(role); position: absolute; left: 0; top: 33px; color: var(--tfs-teal); font-size: .69rem; font-weight: 850; letter-spacing: .1em; }
.tfs-experience__roles span { color: var(--tfs-navy); font-family: var(--tfs-display); font-size: 1.75rem; }
.tfs-experience__roles p { max-width: 470px; margin: 7px 0 0; color: var(--tfs-slate); font-size: .91rem; }

.tfs-section--insights { background: var(--tfs-ivory); }
.tfs-insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tfs-insight-card { display: flex; flex-direction: column; min-height: 345px; padding: 34px; border: 1px solid #dcd6ca; background: rgba(255, 255, 255, .72); }
.tfs-insight-card h3 { margin-top: 20px; font-size: 2rem; line-height: 1.12; }
.tfs-insight-card h3 a { color: var(--tfs-navy); text-decoration: none; }
.tfs-insight-card > p:not(.tfs-meta) { color: var(--tfs-slate); font-size: .9rem; }
.tfs-insight-card__link { margin-top: auto; color: var(--tfs-navy); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }

/* Final CTA */
.tfs-final-cta { overflow: hidden; padding: clamp(90px, 10vw, 145px) 0; background: var(--tfs-navy-deep); color: #fff; }
.tfs-final-cta:before { content: ""; position: absolute; width: 520px; height: 520px; right: -230px; bottom: -360px; border: 1px solid rgba(123, 213, 229, .18); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255,255,255,.016), 0 0 0 144px rgba(255,255,255,.011); }
.tfs-final-cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.tfs-final-cta h2 { max-width: 850px; color: var(--tfs-ivory); }
.tfs-final-cta__side { padding-bottom: 10px; }
.tfs-final-cta__side > p { color: #c6d2d5; }
.tfs-final-cta .tfs-actions { gap: 12px; }
.tfs-final-cta .tfs-fineprint { max-width: 760px; margin: 30px 0 0; color: rgba(255,255,255,.42); }

/* Interior pages */
.tfs-page-hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: var(--tfs-navy); color: #fff; }
.tfs-page-hero:after { content: ""; position: absolute; right: -12%; top: -68%; width: 580px; height: 580px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.018), 0 0 0 150px rgba(255,255,255,.012); }
.tfs-page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: end; gap: 90px; }
.tfs-page-hero h1 { max-width: 900px; color: var(--tfs-ivory); font-size: clamp(3.8rem, 6.4vw, 6.4rem); }
.tfs-page-hero__summary { padding: 8px 0 8px 32px; border-left: 1px solid rgba(255,255,255,.27); }
.tfs-page-hero__summary > span { display: block; width: 34px; height: 2px; margin-bottom: 22px; background: var(--tfs-cyan); }
.tfs-page-hero__summary p { margin: 0; color: #d5e1e3; font-family: var(--tfs-display); font-size: 1.35rem; line-height: 1.45; }
.tfs-breadcrumbs { margin-bottom: 32px; color: rgba(255,255,255,.48); font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tfs-breadcrumbs a { color: rgba(255,255,255,.68); text-decoration: none; }
.tfs-breadcrumbs span { margin-left: 7px; }

.tfs-content { width: min(calc(100% - 64px), var(--tfs-content)); margin-inline: auto; padding: 90px 0 118px; }
.tfs-content > * { max-width: var(--tfs-content); margin-left: auto; margin-right: auto; }
.tfs-content > .alignwide { width: min(100vw - 64px, var(--tfs-wide)); max-width: var(--tfs-wide); margin-left: 50%; transform: translateX(-50%); }
.tfs-content > .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.tfs-content h2 { margin-top: 1.45em; color: var(--tfs-navy); font-size: clamp(2.6rem, 4.4vw, 4rem); }
.tfs-content h3 { margin-top: 1.6em; color: var(--tfs-navy); font-size: clamp(1.75rem, 3vw, 2.4rem); }
.tfs-content h4 { margin-top: 1.5em; }
.tfs-content p, .tfs-content li { color: #3f5058; }
.tfs-content > p:first-of-type { color: #2f4149; font-family: var(--tfs-display); font-size: 1.38rem; line-height: 1.52; }
.tfs-content ul, .tfs-content ol { margin: 1.5em auto 2em; padding-left: 1.3em; }
.tfs-content li { margin-bottom: .65em; }
.tfs-content blockquote { margin: 58px auto; padding: 42px 48px; border: 0; border-left: 3px solid var(--tfs-teal); background: var(--tfs-ivory); }
.tfs-content blockquote p { margin: 0; color: var(--tfs-navy); font-family: var(--tfs-display); font-size: 1.55rem; font-style: italic; line-height: 1.45; }
.tfs-content .wp-block-columns { gap: 18px; margin-top: 45px; margin-bottom: 55px; }
.tfs-content .wp-block-column { padding: 30px; border: 1px solid var(--tfs-line); background: #fff; }
.tfs-content .wp-block-column h3 { margin-top: 0; font-size: 1.8rem; }
.tfs-page-featured, .tfs-article-featured { overflow: hidden; margin-top: -145px; margin-bottom: 80px; box-shadow: var(--tfs-shadow); }
.tfs-page-featured img, .tfs-article-featured img { width: 100%; max-height: 600px; object-fit: cover; }
.tfs-content--embedded { padding-top: 0; padding-bottom: 0; }
.tfs-home-editorial { border-top: 1px solid var(--tfs-line); }

.tfs-page-hero--article { padding-bottom: 110px; }
.tfs-article-hero { position: relative; z-index: 2; max-width: 1080px; }
.tfs-article-hero h1 { max-width: 1040px; font-size: clamp(3.45rem, 6vw, 6.2rem); }
.tfs-article-deck { max-width: 810px; margin-top: 28px; color: #d3dfe1; font-family: var(--tfs-display); font-size: 1.4rem; line-height: 1.5; }
.tfs-article-content { font-size: 1.06rem; }
.tfs-article-content > p:first-of-type { font-size: 1.5rem; }

/* Insights archive */
.tfs-section--archive { background: var(--tfs-ivory); }
.tfs-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tfs-archive-card { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 330px; border: 1px solid #d9d5cc; background: #fff; }
.tfs-archive-card__image { overflow: hidden; background: var(--tfs-navy); }
.tfs-archive-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tfs-archive-card:hover .tfs-archive-card__image img { transform: scale(1.035); }
.tfs-archive-card__image--fallback { display: grid; place-items: end start; padding: 24px; background: linear-gradient(145deg, var(--tfs-navy), #0a5363); }
.tfs-archive-card__image--fallback span { color: rgba(255,255,255,.55); font-family: var(--tfs-display); font-size: 1.1rem; font-style: italic; }
.tfs-archive-card__body { display: flex; flex-direction: column; padding: 32px; }
.tfs-archive-card h2 { margin: 18px 0; font-size: 2.1rem; line-height: 1.08; }
.tfs-archive-card h2 a { color: var(--tfs-navy); text-decoration: none; }
.tfs-archive-card__body > p:not(.tfs-meta) { color: var(--tfs-slate); font-size: .87rem; }
.tfs-archive-card__body .tfs-text-link { margin-top: auto; }
.tfs-pagination { margin-top: 55px; }
.tfs-pagination .nav-links { display: flex; gap: 8px; }
.tfs-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid #d2cec5; color: var(--tfs-navy); text-decoration: none; }
.tfs-pagination .current { background: var(--tfs-navy); color: #fff; }
.tfs-empty-state { max-width: 680px; padding: 60px; border: 1px solid #d9d5cc; background: #fff; }

/* Forms */
.tfs-form { position: relative; margin-top: 42px; padding: clamp(28px, 5vw, 54px); border: 1px solid #d9d9d5; background: var(--tfs-ivory); box-shadow: var(--tfs-shadow-soft); }
.tfs-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tfs-field label { display: block; margin-bottom: 8px; color: var(--tfs-navy); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfs-field input, .tfs-field select, .tfs-field textarea { width: 100%; padding: 14px 15px; border: 1px solid #bec5c4; border-radius: 0; background: #fff; color: var(--tfs-ink); }
.tfs-field textarea { resize: vertical; }
.tfs-field input:focus, .tfs-field select:focus, .tfs-field textarea:focus { outline: 3px solid rgba(0, 142, 174, .15); border-color: var(--tfs-teal); }
.tfs-field--full { grid-column: 1 / -1; }
.tfs-form > p { color: #657278; font-size: .84rem; }
.tfs-form .tfs-brokerage-note { margin-top: 28px; }
.tfs-alert { padding: 14px 16px; margin-bottom: 22px; border-left: 3px solid; }
.tfs-alert--success { border-color: #3b8c5a; background: #edf7f0; color: #155d32; }
.tfs-alert--error { border-color: #9b3333; background: #fff0f0; color: #7c2424; }

/* Brokerage notes */
.tfs-brokerage-note { padding: 16px 18px; border: 1px solid #b9d6dc; background: #f0f8f9; color: #42545b; font-size: .74rem; line-height: 1.6; }
.tfs-brokerage-note strong { color: var(--tfs-navy); }

/* Footer */
.site-footer { background: #06161d; color: #b8c4c7; }
.tfs-footer-top { display: grid; grid-template-columns: 1.45fr .65fr .9fr; gap: clamp(55px, 8vw, 120px); padding: 86px 0 62px; }
.tfs-footer-logo { display: block; width: 240px; padding: 10px 14px; background: #fff; }
.tfs-footer-logo img { width: 100%; }
.tfs-footer-brand > p:not(.tfs-footer-signature) { max-width: 470px; margin-top: 24px; color: #aebbc0; font-size: .88rem; }
.tfs-footer-signature { color: #6ed0df; font-family: var(--tfs-display); font-size: 1.3rem; font-style: italic; }
.tfs-footer-heading { margin: 0 0 24px; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: #d3dcde; text-decoration-color: rgba(255,255,255,.3); }
.tfs-footer-nav a { font-size: .86rem; text-decoration: none; }
.tfs-footer-contact__intro { max-width: 350px; color: #aebbc0; font-family: var(--tfs-display); font-size: 1.15rem; line-height: 1.45; }
.tfs-footer-contact > p:not(.tfs-footer-heading):not(.tfs-footer-contact__intro) { font-size: .85rem; }
.tfs-footer-cta { display: inline-flex; gap: 10px; color: #7ad5e3 !important; font-size: .75rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.tfs-footer-disclosure { padding-bottom: 38px; }
.site-footer .tfs-brokerage-note { max-width: 780px; border-color: rgba(122,213,227,.25); background: rgba(255,255,255,.035); color: #9facb0; }
.site-footer .tfs-brokerage-note strong { color: #d5dfe1; }
.tfs-footer-bottom { display: grid; grid-template-columns: .55fr 1.45fr; gap: 60px; padding: 28px 0 34px; border-top: 1px solid rgba(255,255,255,.12); color: #78878c; font-size: .68rem; line-height: 1.65; }
.tfs-footer-bottom p { margin: 0; }

/* Legacy utility classes retained for editable blocks */
.tfs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tfs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tfs-card { padding: 34px; border: 1px solid var(--tfs-line); background: #fff; box-shadow: var(--tfs-shadow-soft); }
.tfs-card__number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border: 1px solid var(--tfs-teal); border-radius: 50%; color: var(--tfs-teal-dark); font-weight: 850; }
.tfs-process { counter-reset: step; }
.tfs-process__step { position: relative; padding: 28px 22px 28px 76px; border-bottom: 1px solid var(--tfs-line); }
.tfs-process__step:before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 25px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--tfs-navy); border-radius: 50%; color: var(--tfs-navy); font-weight: 850; }

/* Responsive */
@media (max-width: 1180px) {
  .tfs-menu-toggle { display: block; flex: 0 0 auto; }
  .tfs-nav {
    display: none;
    position: fixed;
    inset: 129px 0 0;
    z-index: 99;
    margin: 0;
    overflow-y: auto;
    padding: 42px 32px;
    background: var(--tfs-paper);
  }
  body.admin-bar .tfs-nav { top: 161px; }
  .tfs-nav.is-open { display: block; }
  .tfs-nav ul, .tfs-nav__menu { display: grid; align-items: stretch; gap: 0; max-width: 760px; margin: auto; }
  .tfs-nav li { border-bottom: 1px solid var(--tfs-line); }
  .tfs-nav a { display: block; padding: 19px 0; font-family: var(--tfs-display); font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; text-transform: none; }
  .tfs-nav li:not(.menu-item-cta) > a:after { display: none; }
  .tfs-nav .menu-item-cta { margin-top: 22px; border: 0; }
  .tfs-nav .menu-item-cta > a { justify-content: center; font-family: var(--tfs-sans); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .tfs-hero__grid { grid-template-columns: 1.1fr .75fr; gap: 60px; }
  .tfs-proof__grid { grid-template-columns: repeat(4, 1fr); }
  .tfs-proof__intro { grid-column: 1 / -1; min-height: 62px; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--tfs-line); }
  .tfs-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .tfs-container, .tfs-narrow, .tfs-content { width: min(calc(100% - 40px), var(--tfs-wide)); }
  .tfs-hero__grid, .tfs-split, .tfs-objectivity, .tfs-valuation, .tfs-readiness, .tfs-experience, .tfs-final-cta__grid, .tfs-page-hero__grid, .tfs-video-story__heading { grid-template-columns: 1fr; }
  .tfs-hero__copy { max-width: 780px; }
  .tfs-advisor-card { width: min(100%, 520px); justify-self: start; }
  .tfs-video-story__heading { gap: 25px; }
  .tfs-video-story__intro { max-width: 720px; }
  .tfs-paths, .tfs-insight-grid { grid-template-columns: 1fr; }
  .tfs-path-card { min-height: 340px; }
  .tfs-path-card h3 { margin-top: 45px; }
  .tfs-section--navy:before { display: none; }
  .tfs-objectivity__copy { padding-top: 0; }
  .tfs-investment-card { max-width: 560px; }
  .tfs-readiness { gap: 45px; }
  .tfs-readiness__label { max-width: 230px; }
  .tfs-experience__heading { position: static; }
  .tfs-page-hero__grid { gap: 40px; }
  .tfs-page-hero__summary { max-width: 700px; }
  .tfs-footer-top { grid-template-columns: 1.25fr .75fr; }
  .tfs-footer-contact { grid-column: 1 / -1; max-width: 500px; }
  .tfs-footer-bottom { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  body.admin-bar .site-header { top: 46px; }
  .tfs-container, .tfs-narrow, .tfs-content { width: min(calc(100% - 28px), var(--tfs-wide)); }
  .tfs-utility-bar__inner { justify-content: center; min-height: 32px; text-align: center; }
  .tfs-utility-bar__brokerage { display: none; }
  .tfs-header-inner { min-height: 78px; }
  .custom-logo { width: 174px; max-height: 58px; }
  .tfs-nav { inset: 110px 0 0; padding: 28px 20px; }
  body.admin-bar .tfs-nav { top: 156px; }
  .tfs-hero { padding-top: 66px; }
  .tfs-hero h1 { font-size: clamp(3.55rem, 17vw, 5.3rem); }
  .tfs-hero__lead { font-size: 1.35rem; }
  .tfs-actions { align-items: stretch; gap: 18px; }
  .tfs-actions .tfs-button { width: 100%; }
  .tfs-hero__assurance { display: grid; }
  .tfs-advisor-card:before { right: -8px; }
  .tfs-advisor-card__label { left: 20px; bottom: 20px; }
  .tfs-advisor-card__note { width: 94%; padding: 20px; }
  .tfs-video-frame { border-width: 5px; }
  .tfs-video-frame:before { width: 62px; height: 62px; }
  .tfs-video-frame__accent { display: none; }
  .tfs-video-story__caption { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .tfs-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .tfs-proof__item { min-height: 94px; padding: 18px 14px; }
  .tfs-proof__item:nth-child(3) { border-right: 0; }
  .tfs-deal-factors { grid-template-columns: 1fr 1fr; margin-top: 58px; }
  .tfs-deal-factors > div, .tfs-deal-factors > div:not(:first-child) { min-height: 200px; padding: 23px 18px; }
  .tfs-deal-factors > div:nth-child(2) { border-right: 0; }
  .tfs-deal-factors > div:nth-child(-n+2) { border-bottom: 1px solid var(--tfs-line); }
  .tfs-deal-factors strong { margin-top: 24px; }
  .tfs-path-card { min-height: 0; padding: 30px 26px; }
  .tfs-path-card h3 { font-size: 3rem; }
  .tfs-display-number { font-size: 10rem; top: -40px; }
  .tfs-checks { grid-template-columns: 1fr; }
  .tfs-investment-card { padding: 36px 28px; }
  .tfs-investment-card:before { display: none; }
  .tfs-section-heading--row { display: block; }
  .tfs-section-heading--row .tfs-text-link { margin-top: 24px; }
  .tfs-experience__roles > div { padding-left: 55px; }
  .tfs-page-hero { padding: 64px 0 70px; }
  .tfs-page-hero h1 { font-size: clamp(3.25rem, 15vw, 4.65rem); }
  .tfs-page-hero__summary { padding-left: 20px; }
  .tfs-content { padding: 65px 0 86px; }
  .tfs-content > .alignwide { width: calc(100vw - 28px); }
  .tfs-content blockquote { padding: 30px 25px; }
  .tfs-content .wp-block-columns { display: grid; }
  .tfs-article-deck { font-size: 1.2rem; }
  .tfs-archive-card { grid-template-columns: 1fr; }
  .tfs-archive-card__image { aspect-ratio: 16 / 9; }
  .tfs-form { padding: 24px 18px; }
  .tfs-form-grid { grid-template-columns: 1fr; }
  .tfs-field--full { grid-column: auto; }
  .tfs-footer-top { grid-template-columns: 1fr; gap: 42px; padding-top: 64px; }
  .tfs-footer-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
