/* Continue the photographic hero's ink, light type, and restrained blue accent. */
:root{
  --scene-ink:#0d151e;
  --scene-mid:#152330;
  --scene-raised:#1b2d3b;
  --scene-text:#f3f8fb;
  --scene-muted:#b7c7d2;
  --scene-accent:#9edfe9;
  --scene-line:#ffffff30;
}
body{background:var(--scene-ink)}
html{--tf-nav-height:85px;scroll-padding-top:calc(var(--tf-nav-height) - 1px)}
@media(max-width:980px){html{--tf-nav-height:69px}}
.hero-cinematic .lead .hero-lead-line{display:block}
body.home main{background:var(--scene-ink);color:var(--scene-text)}
body.home main .section{padding-top:112px;padding-bottom:112px}
body.home main .section .container,
body.home main .section.container{width:min(1512px,calc(100% - 160px));max-width:1512px}
body.home main .section h2{color:var(--scene-text);font-size:clamp(34px,3.25vw,52px);line-height:1.3;letter-spacing:-.045em}
body.home main .section h2 em{font-style:normal;color:var(--scene-accent)}
body.home main .section .eyebrow,
body.home main .section .section-aside{color:#a9bdca;letter-spacing:.15em}
body.home main .section .split-heading>p{color:var(--scene-muted);font-size:16px;line-height:1.9}
body.home main #capabilities>.section-top,
body.home main .saas-delivery .section-top,
body.home main .culture-about>.section-top{display:none}

/* Why Thinkfin: evidence-free capability labels and six editorial cards. */
body.home main .why-section{padding:66px 0 50px;background:#080e17;border-top:1px solid var(--scene-line)}
.why-heading{text-align:center;max-width:910px;margin:0 auto}
body.home main .why-heading h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:clamp(38px,3.8vw,58px);font-weight:760;letter-spacing:-.045em;line-height:1.4}
.why-heading p{max-width:800px;margin:30px auto 0;color:var(--scene-muted);font-size:17px;line-height:1.85}
.why-keywords{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:38px 0 28px;padding:0}
.why-keywords li{border-top:1px solid #5d9bb18c;padding:18px 6px 5px;color:var(--scene-accent);font-size:clamp(16px,1.45vw,21px);font-weight:700;line-height:1.55;text-align:center}
.why-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.why-card{min-width:0;min-height:194px;padding:21px 24px 22px;border:1px solid #2c5579;border-radius:19px;background:#102039;color:var(--scene-text);box-shadow:0 12px 28px #02091220;transition:background-color .24s ease,border-color .24s ease,color .24s ease,box-shadow .24s ease,transform .24s ease}
.why-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:12px}
.why-icon{width:35px;height:35px;flex:none;color:#89dce9;transition:color .24s ease}
.why-card h3{font-size:clamp(20px,1.75vw,25px);font-weight:700;line-height:1.35;color:inherit}
.why-card p{color:#bfd0dc;font-size:15px;line-height:1.7;transition:color .24s ease}
@media(hover:hover){.why-card:hover{transform:translateY(-6px);border-color:#a8c7e6;background:#dce9f7;color:#17283c;box-shadow:0 22px 40px #02091255}.why-card:hover p{color:#334860}.why-card:hover .why-icon{color:#397eac}}
.why-card:focus-visible{outline:3px solid var(--scene-accent);outline-offset:3px;transform:translateY(-4px);border-color:#a8c7e6;background:#dce9f7;color:#17283c;box-shadow:0 22px 40px #02091255}
.why-card:focus-visible p{color:#334860}
.why-card:focus-visible .why-icon{color:#397eac}
@media(max-width:1100px){.why-keywords{gap:12px}.why-keywords li{font-size:16px}.why-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:850px) and (max-width:1100px){.why-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:850px) and (max-height:800px){
  body.home main section.why-section{padding-top:40px;padding-bottom:30px}
  .why-heading p{margin-top:24px}
  .why-keywords{margin-top:24px;margin-bottom:16px}
  .why-keywords li{padding-top:12px}
  .why-cards{gap:10px}
  .why-card{min-height:170px;padding:16px 20px}
  .why-card-heading{gap:10px;margin-bottom:8px}
  .why-icon{width:30px;height:30px}
  .why-card h3{font-size:clamp(19px,1.6vw,22px)}
  .why-card p{font-size:14px;line-height:1.55}
}
@media(min-width:701px) and (max-width:849px){
  body.home main section.why-section{padding-top:50px;padding-bottom:36px}
  .why-keywords{margin-top:28px;margin-bottom:20px}
  .why-cards{gap:12px}
  .why-card{min-height:180px;padding:18px 20px}
}
@media(min-width:800px) and (max-width:849px) and (max-height:850px),
       (min-width:850px) and (max-width:949px) and (max-height:760px){
  .why-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  body.home main section.why-section{padding-top:25px;padding-bottom:22px}
  body.home main .why-heading h2{font-size:35px}
  .why-heading p{margin-top:17px;font-size:15px;line-height:1.6}
  .why-keywords{margin-top:17px;margin-bottom:10px}
  .why-keywords li{padding-top:8px;font-size:14px}
  .why-card{min-height:0;padding:12px 14px}
  .why-card-heading{gap:7px;margin-bottom:6px}
  .why-icon{width:27px;height:27px}
  .why-card h3{font-size:18px}
  .why-card p{font-size:13.5px;line-height:1.45}
}
@media(max-width:700px){body.home main .why-section{padding:82px 0 78px}.why-heading{text-align:left}.why-heading p{margin-top:23px;font-size:15px}.why-keywords{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:42px 0 36px}.why-keywords li{padding:17px 3px 4px;font-size:15px;text-align:left}.why-keywords li:last-child{grid-column:1/-1}.why-cards{grid-template-columns:1fr;gap:15px}.why-card-heading{gap:12px;margin-bottom:12px}.why-icon{width:33px;height:33px}.why-card h3{font-size:21px}.why-card p{font-size:14px;line-height:1.78}}
@media(prefers-reduced-motion:reduce){.why-card,.why-icon,.why-card p{transition:none}}

/* Culture: the four practices read as one continuous editorial grid. */
.culture-intro{background:#101a24;border-color:var(--scene-line);color:var(--scene-text)}
.culture-intro:before{display:none}
.culture-intro-copy{border-left-color:var(--scene-line)}
.culture-intro-copy p:first-child{color:var(--scene-text);font-size:19px}
.culture-intro-copy p{color:var(--scene-muted);font-size:16px}
.culture-practice-grid{gap:22px}
.culture-practice-grid article{min-height:160px;padding:24px 0 8px;border:0;border-top:1px solid var(--scene-line);border-radius:0;background:transparent;box-shadow:none}
.culture-practice-grid h3{color:var(--scene-text);font-size:18px}
.culture-practice-grid p{color:var(--scene-muted);font-size:14px;line-height:1.8}
.practice-icon{border-color:#9edfe961;border-radius:5px;background:#9edfe90f;color:var(--scene-accent)}
.practice-arrow{color:var(--scene-accent)}

/* Engineering: a subtle tonal shift keeps the dark chapter legible. */
body.home main .problem.container{width:100%;max-width:none;padding-inline:max(80px,calc((100vw - 1512px)/2));background:linear-gradient(115deg,#162533,#1c3141);color:var(--scene-text)}
.problem.container:before{display:none}
.problem .split-heading>p{color:var(--scene-muted)}
.problem .problem-grid{gap:18px}
.problem-grid article{padding:26px;border-color:var(--scene-line);border-radius:5px;background:#ffffff0a}
.problem-grid .index,.problem .split-heading h2 em{color:var(--scene-accent)}
.problem-grid h3{color:var(--scene-text)}
.problem-grid p{color:var(--scene-muted);font-size:14px}

/* Principles and cooperation use the same quiet lines and type scale. */
.culture-values{background:#101a24;border-color:var(--scene-line);color:var(--scene-text)}
.culture-values-head p{color:var(--scene-muted);font-size:16px}
.culture-values-grid{gap:26px}
.culture-values-grid article{padding:24px 0 0;border:0;border-top:1px solid var(--scene-line);border-radius:0;background:transparent;box-shadow:none}
.culture-index{color:var(--scene-accent)}
.culture-values-grid h3{color:var(--scene-text)}
.culture-values-grid p{color:var(--scene-muted);font-size:15px}
body.home main .platform-audiences{padding:64px 0;background:#0a1020;border-top:1px solid var(--scene-line);border-bottom:1px solid var(--scene-line)}
.platform-audiences-heading{max-width:1180px;margin:0 auto 34px;text-align:center}
body.home main .platform-audiences h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:clamp(34px,3.4vw,52px);font-weight:750;letter-spacing:-.04em;line-height:1.3}
.platform-audiences-heading p{max-width:1050px;margin:20px auto 0;color:var(--scene-muted);font-size:17px;line-height:1.85}
.platform-audiences-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.platform-audience-card{min-width:0;min-height:305px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:29px 26px 25px;border:1px solid #294b76;border-radius:13px;background:#10203b;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.platform-audience-copy h3{margin:0 0 20px;color:#f4f8ff;font-size:22px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.platform-audience-card p{margin:0;color:#d8e2ed;font-size:16px;line-height:1.86}
.platform-audience-icon{align-self:flex-end;width:45px;height:45px;color:var(--tf-accent,#9edfe9)}
@media(hover:hover){.platform-audience-card:hover{border-color:#75b4d1;transform:translateY(-4px);box-shadow:0 18px 32px #02081255}}
@media(min-width:800px) and (max-width:1100px){.platform-audience-card{min-height:250px;gap:12px;padding:18px}.platform-audience-copy h3{margin-bottom:10px;font-size:18px}.platform-audience-card p{font-size:14px;line-height:1.6}.platform-audience-icon{width:35px;height:35px}}
@media(max-width:799px){.platform-audiences-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-audience-card{min-height:240px}}
@media(min-width:801px) and (max-width:900px) and (max-height:760px){body.home main section.platform-audiences{padding:45px 0}}
@media(max-width:700px){body.home main .platform-audiences{padding:70px 0 78px}body.home main .platform-audiences h2{font-size:clamp(28px,7.8vw,32px);text-wrap:balance}.platform-audiences-heading{margin-bottom:32px;text-align:left}.platform-audiences-heading p{margin-top:18px;font-size:15px}.platform-audiences-grid{grid-template-columns:1fr;gap:15px}.platform-audience-card{min-height:205px;padding:23px 22px 19px}.platform-audience-copy h3{margin-bottom:13px;font-size:20px}.platform-audience-card p{font-size:15px}.platform-audience-icon{width:39px;height:39px}}
@media(max-width:360px){body.home main .why-heading h2{font-size:30px;line-height:1.35}.why-card h3{font-size:20px}body.home main .platform-audiences h2{font-size:26px;line-height:1.35}}
@media(prefers-reduced-motion:reduce){.platform-audience-card{transition:none}}
.saas-delivery{background:#15232f;border-top:1px solid var(--scene-line);border-bottom:1px solid var(--scene-line);color:var(--scene-text)}
.saas-delivery .section-top{margin-bottom:52px}
body.home main .saas-delivery{padding:80px 0}
.saas-layout{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:clamp(70px,8vw,140px);align-items:start}
.saas-intro{min-width:0}
body.home main .saas-intro h2{margin:0;font-size:clamp(38px,3.6vw,54px);font-weight:750;line-height:1.3;letter-spacing:-.045em}
.saas-intro h2 span,.saas-intro h2 em{display:block}
.saas-intro h2 em{font-style:normal;color:var(--scene-accent)}
.saas-lead{max-width:48ch;margin:29px 0 0;color:var(--scene-muted);font-size:17px;line-height:1.9}
.saas-points{border-bottom:1px solid var(--scene-line)}
.saas-point{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;align-items:start;padding:22px 0 24px;border-top:1px solid var(--scene-line)}
.saas-point-number{padding-top:7px;color:var(--scene-accent);font:13px ui-monospace,SFMono-Regular,monospace}
.saas-point h3{margin:0 0 11px;color:var(--scene-text);font-size:25px;font-weight:700;line-height:1.4;letter-spacing:-.025em}
.saas-point p{max-width:58ch;margin:0;color:var(--scene-muted);font-size:16px;line-height:1.85}
.saas-close{display:flex;align-items:flex-start;flex-direction:column;gap:20px;margin-top:42px}
.saas-close p{margin:0;color:var(--scene-text);font-size:16px;line-height:1.6}
.saas-close a{display:inline-flex;align-items:center;gap:18px;min-height:52px;padding:12px 24px;border:1px solid #9edfe9;border-radius:999px;background:#9edfe9;color:#102438;font-size:15px;font-weight:650;text-decoration:none;transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.saas-close a:hover{background:var(--tf-accent-hover,#b8edf3);border-color:var(--tf-accent-hover,#b8edf3);color:var(--tf-bg,#07111d);transform:translateY(-2px);box-shadow:0 8px 20px #19133314}
.saas-close a:active{background:var(--tf-accent-active,#7fc8d5);border-color:var(--tf-accent-active,#7fc8d5);color:var(--tf-bg,#07111d);transform:translateY(1px);box-shadow:none}
.saas-close a:focus-visible{outline:3px solid var(--tf-accent,#9edfe9);outline-offset:3px}
.saas-close a[aria-disabled="true"]{opacity:.6;cursor:not-allowed;pointer-events:none}
@media(max-width:799px){.saas-layout{grid-template-columns:1fr;gap:28px}.saas-lead{max-width:68ch}.saas-close{margin-top:18px}}
@media(min-width:800px) and (max-width:1100px){.saas-point{padding:16px 0}.saas-point h3{margin-bottom:8px;font-size:22px}.saas-point p{font-size:15px;line-height:1.7}.saas-lead{font-size:16px;line-height:1.75}.saas-close{margin-top:26px}}
@media(min-width:701px) and (max-width:850px){body.home main section.saas-delivery{padding:52px 0}.saas-lead{margin-top:20px}.saas-point{padding:18px 0}}
@media(min-width:800px) and (max-width:850px) and (max-height:760px){body.home main section.saas-delivery{padding:42px 0}.saas-point{padding:14px 0}.saas-point h3{margin-bottom:6px;font-size:20px}.saas-point p{font-size:14px;line-height:1.55}}
@media(max-width:700px){body.home main .saas-delivery{padding:72px 0 78px}.saas-delivery .section-top{margin-bottom:34px}.saas-layout{gap:35px}body.home main .saas-intro h2{font-size:clamp(31px,8vw,38px)}.saas-lead{margin-top:21px;font-size:15px}.saas-close{gap:16px;margin-top:24px}.saas-close p{font-size:15px}.saas-point{grid-template-columns:40px minmax(0,1fr);gap:13px;padding:24px 0 25px}.saas-point h3{margin-bottom:8px;font-size:22px}.saas-point p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.saas-close a,.saas-close a span{transition:none}}
#services{background:#15232f;border-color:var(--scene-line);color:var(--scene-text)}
#services .split-heading h2{font-size:clamp(34px,3.25vw,52px)}
#services .split-heading>p{color:var(--scene-muted)}
.tf-service-row{border-color:var(--scene-line)}
.tf-service-number,.tf-service-heading>p{color:var(--scene-accent)}
.tf-service-heading h3,.tf-service-heading h3 a{color:var(--scene-text)}
.tf-service-description{color:#e5eef3}
.tf-service-details li{border-color:#ffffff42;background:transparent;color:var(--scene-muted)}
.tf-service-bottom>span{color:var(--scene-muted)}
.tf-service-bottom a{color:var(--scene-text)}
.tf-service-bottom a span{color:var(--scene-accent)}

/* Company story and booking finish in the same ink palette. */
.culture-about{background:transparent;border-color:var(--scene-line);color:var(--scene-text);scroll-margin-top:0}
.culture-about-copy p:first-child{color:var(--scene-text)}
.culture-about-copy p{color:var(--scene-muted)}
.culture-location{color:var(--scene-accent)}
#booking-area{background:transparent}
.tf-booking{background:#172734;border:1px solid var(--scene-line);border-radius:6px;box-shadow:none;color:var(--scene-text)}
.tf-kicker{color:var(--scene-accent)}
.tf-intro h2{color:var(--scene-text)}
.tf-intro p,.tf-intro-note{color:var(--scene-muted)}
.tf-intro .tf-meta{color:var(--scene-text);border-top-color:var(--scene-line)}
.tf-intro-note{border-left-color:var(--scene-accent)}
.tf-booking-main{background:#f7fafc;border-color:#d9e5eb;border-radius:6px;box-shadow:none;color:#142239}
.tf-booking .tf-submit{background:#142239;color:#fff}
.tf-booking .tf-submit:hover:not(:disabled){background:#24465b;color:#fff}

/* Navigation, documents, and footer keep the identity across other pages. */
body:not(.home):not(.wp-admin) .nav-wrap{background:#0d151ef0;border-bottom-color:var(--scene-line);backdrop-filter:blur(18px)}
body:not(.home):not(.wp-admin) .nav .brand img{filter:invert(1)}
body:not(.home):not(.wp-admin) .brand-name,
body:not(.home):not(.wp-admin) .nav nav{color:var(--scene-text)}
body:not(.home):not(.wp-admin) .nav-cta.button.cyan{background:#ffffff17;border-color:#ffffff65;color:var(--scene-text)}
body:not(.home):not(.wp-admin) .menu{color:var(--scene-text)}
.document-page{padding-top:174px;padding-bottom:110px;color:var(--scene-text)}
.document-page h1{color:var(--scene-text);letter-spacing:-.045em}
.document-page .wp-block-post-content{max-width:880px}
.document-page .wp-block-post-content p{color:var(--scene-muted);font-size:17px;line-height:1.9}
.document-page a{color:var(--scene-accent)}
.tf-product-page .tf-product-page-kicker{margin:0 0 18px;color:var(--scene-accent);font-size:12px;font-weight:700;letter-spacing:.12em}
.tf-product-page h1{max-width:900px;font-size:clamp(34px,4vw,58px);line-height:1.3}
.tf-product-page .wp-block-post-excerpt{max-width:800px;margin-top:30px}
.tf-product-page .wp-block-post-excerpt__excerpt{color:var(--scene-muted);font-size:19px;line-height:1.85}
.tf-product-detail-meta{max-width:800px;margin-top:48px;padding-top:28px;border-top:1px solid var(--scene-line)}
.tf-product-detail-points>span{display:block;margin-bottom:15px;color:var(--scene-accent);font-size:12px;letter-spacing:.1em}
.tf-product-detail-points ul{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;list-style:none}
.tf-product-detail-points li{padding:8px 15px;border:1px solid #9edfe94d;border-radius:5px;color:var(--scene-text);font-size:14px}
.tf-product-detail-meta video{display:block;width:100%;max-width:800px;aspect-ratio:16/9;margin-top:32px;border-radius:8px;background:#071019;object-fit:contain}
.tf-product-detail-back{display:inline-flex;align-items:center;gap:12px;margin-top:35px;font-size:14px;font-weight:650;text-decoration:none}
.tf-product-detail-back:hover{text-decoration:underline;text-underline-offset:5px}
footer.container{width:100%;max-width:none;padding:72px max(80px,calc((100vw - 1512px)/2)) 34px;background:#0a1118;border-top:1px solid var(--scene-line);color:var(--scene-text)}
footer .brand img{filter:invert(1)}
footer .footer-top p,footer .footer-bottom{color:var(--scene-muted)}
footer .footer-bottom{border-top-color:var(--scene-line)}
footer a,footer .text-link{color:var(--scene-text)}
footer a:hover{color:var(--scene-accent)}

@media(max-width:800px){
  body.home main .section{padding-top:72px;padding-bottom:72px}
  body.home main .section .container,
  body.home main .section.container{width:calc(100% - 40px)}
  body.home main .problem.container{width:100%;max-width:none;padding-inline:20px}
  .culture-practice-grid article{min-height:0}
  .tf-booking{padding:24px 16px}
  footer.container{padding:58px 20px 28px}
  .document-page{padding-top:126px;padding-bottom:76px}
  .tf-product-page .wp-block-post-excerpt{margin-top:23px}
  .tf-product-page .wp-block-post-excerpt__excerpt{font-size:16px}
  .tf-product-detail-meta{margin-top:33px;padding-top:23px}
  body:not(.home):not(.wp-admin) .nav{width:calc(100% - 40px)}
body:not(.home):not(.wp-admin) .nav nav{background:#142431;border-color:var(--scene-line)}
}

/* Product showcase: horizontally browseable entries above a linked detail and video. */
.tf-products{margin-top:54px}
.tf-products-tabs{display:flex;gap:12px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#5b8397 transparent;scroll-snap-type:x proximity;padding:3px 2px 15px;margin:0 -2px 15px}
.tf-product-tab{flex:1 0 clamp(172px,18vw,230px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:122px;padding:16px 13px;border:1px solid #ffffff26;border-radius:12px;background:#101b27;color:#d8e6ed;text-align:center;cursor:pointer;scroll-snap-align:start;transition:background .2s,border-color .2s,transform .2s}
.tf-product-tab:hover,.tf-product-tab:focus-visible{background:#1b3041;border-color:#9edfe992;outline:none}
.tf-product-tab:focus-visible{outline:2px solid #b7f4fb;outline-offset:2px}
.tf-product-tab.is-active{background:#19344b;border-color:#91dce9;box-shadow:inset 0 0 0 1px #91dce955,0 10px 28px #00000020;color:#fff;transform:translateY(-2px)}
.tf-product-tab-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#246580;color:#eaffff;font-size:24px;line-height:1}
.tf-product-tab:nth-child(4n+2) .tf-product-tab-icon{background:#6156a3}
.tf-product-tab:nth-child(4n+3) .tf-product-tab-icon{background:#188a87}
.tf-product-tab:nth-child(4n+4) .tf-product-tab-icon{background:#9b5c31}
.tf-product-tab-title{font-size:14px;font-weight:650;line-height:1.5;text-wrap:balance}
.tf-products-panels{position:relative;overflow:hidden;border:1px solid #ffffff24;border-radius:14px;background:linear-gradient(125deg,#101925,#182735);box-shadow:0 24px 60px #07101a42}
.tf-products-panels.is-animating .tf-product-panel{position:absolute;top:0;left:0;width:100%}
.tf-product-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:clamp(30px,5vw,90px);align-items:center;min-height:390px;padding:clamp(30px,4vw,64px)}
.tf-product-panel[hidden]{display:none}
.tf-product-panel.is-leaving{z-index:1;pointer-events:none}
.tf-product-panel.is-entering{z-index:2}
.tf-product-panel.is-leaving .tf-product-copy,.tf-product-panel.is-leaving .tf-product-media{animation:tf-product-leave .12s ease-in both}
.tf-product-panel.is-entering .tf-product-copy,.tf-product-panel.is-entering .tf-product-media{animation:tf-product-enter .17s .03s cubic-bezier(.22,1,.36,1) both}
@keyframes tf-product-leave{to{opacity:0;transform:translateY(8px)}}
@keyframes tf-product-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tf-product-copy{min-width:0}
.tf-product-kicker{display:block;margin-bottom:20px;color:#9edfe9;font:12px ui-monospace,SFMono-Regular,monospace;letter-spacing:.14em}
.problem .tf-product-copy h3{margin:0 0 21px;color:#f2f8fa;font-size:clamp(27px,2.5vw,39px);line-height:1.28;letter-spacing:-.035em;overflow-wrap:anywhere}
.tf-product-copy p{max-width:58ch;margin:0;color:#b9cad5;font-size:16px;line-height:1.9}
.tf-product-features{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:25px 0 0}
.tf-product-features li{padding:8px 13px;border:1px solid #8bcbd558;border-radius:999px;background:#69b9c114;color:#c7eaf0;font-size:12px;line-height:1.35}
.tf-product-media{min-width:0;aspect-ratio:16/9;border:1px solid #90b6c342;border-radius:12px;background:#09131d;overflow:hidden;box-shadow:0 16px 36px #0005}
.tf-product-media video,.tf-product-media>img,.tf-product-media-placeholder,.tf-product-media-placeholder img{display:block;width:100%;height:100%}
.tf-product-media video{object-fit:contain;background:#050b12}
.tf-product-media>img{object-fit:cover}
.tf-product-media-placeholder{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:radial-gradient(circle at 50% 46%,#28556d 0%,#112434 48%,#09131d 100%);color:#c4dbe5}
.tf-product-media-placeholder:before{content:"";position:absolute;inset:0;opacity:.25;background-image:linear-gradient(#a3d6e926 1px,transparent 1px),linear-gradient(90deg,#a3d6e926 1px,transparent 1px);background-size:28px 28px;pointer-events:none}
.tf-product-media-placeholder img{position:absolute;inset:0;object-fit:cover;opacity:.65}
.tf-product-media-mark,.tf-product-media-label{position:relative;z-index:1}
.tf-product-media-mark{display:grid;place-items:center;width:72px;height:72px;border:1px solid #b6eff3ad;border-radius:18px;background:#9edfe923;color:#d9fbfc;font-size:40px}
.tf-product-media-label{padding:7px 12px;border-radius:99px;background:#07131bbd;font-size:13px;letter-spacing:.08em}
.tf-products-empty{color:#b9cad5}
@media(max-width:900px){.tf-product-panel{gap:28px;padding:30px}.tf-product-tab{flex-basis:190px}}
@media(max-width:700px){.tf-products{margin-top:34px}.tf-products-tabs{gap:9px;margin-bottom:8px}.tf-product-tab{flex:0 0 158px;min-height:102px;gap:9px;padding:13px 10px}.tf-product-tab-icon{width:34px;height:34px;font-size:21px}.tf-product-tab-title{font-size:12px}.tf-product-panel{grid-template-columns:1fr;min-height:0;gap:25px;padding:24px 20px}.tf-product-kicker{margin-bottom:12px}.problem .tf-product-copy h3{font-size:27px;margin-bottom:14px}.tf-product-copy p{font-size:14px}.tf-product-features{gap:7px;margin-top:20px}.tf-product-features li{font-size:11px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.tf-product-tab{transition:none}.tf-product-tab:hover,.tf-product-tab.is-active{transform:none}.tf-product-panel.is-leaving .tf-product-copy,.tf-product-panel.is-leaving .tf-product-media,.tf-product-panel.is-entering .tf-product-copy,.tf-product-panel.is-entering .tf-product-media{animation:none}}

/* Keep the homepage navigation and contact shortcuts available while scrolling. */
body.home .nav-wrap{position:fixed;top:0;left:0;right:0;z-index:100;background:#07111dc7;backdrop-filter:blur(18px);transition:background .2s,box-shadow .2s}
body.home .nav-wrap.is-scrolled{background:#0b1725f2;border-bottom-color:#9edfe938;box-shadow:0 12px 32px #02081157}
body.home .nav,body:not(.home):not(.wp-admin) .nav{display:flex;width:min(1450px,calc(100% - 24vw));max-width:1450px;justify-content:space-between;gap:clamp(32px,5vw,100px)}
body.home .nav .brand,body:not(.home):not(.wp-admin) .nav .brand{min-width:0;margin-right:0}
body.home .nav nav,body:not(.home):not(.wp-admin) .nav nav{flex:0 1 52%;justify-content:space-between;gap:clamp(18px,2vw,40px);white-space:nowrap}
@media(min-width:981px){
  body.home .nav,body:not(.home):not(.wp-admin) .nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px}
  body.home .nav .brand,body:not(.home):not(.wp-admin) .nav .brand{grid-column:1;justify-self:start}
  body.home .nav nav,body:not(.home):not(.wp-admin) .nav nav{grid-column:2;justify-self:center;gap:clamp(18px,2vw,40px)}
}
body.home .nav-cta{justify-self:end;white-space:nowrap}
body.home .nav nav a:focus-visible,body.home .nav .brand:focus-visible,body.home .nav-cta:focus-visible,body.home .menu:focus-visible{outline-color:#9edfe9}
.tf-quick-actions{position:fixed;z-index:95;top:50%;right:clamp(12px,1.6vw,28px);transform:translateY(-50%);display:flex;flex-direction:column;gap:9px;color:#f5fbff;font-family:inherit}
.tf-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:78px;min-height:76px;padding:9px 4px;border:1px solid #9edfe94a;border-radius:12px;background:#102033ed;box-shadow:0 8px 28px #0208114d;color:#f5fbff;font-size:11px;font-weight:650;line-height:1.3;text-align:center;cursor:pointer;backdrop-filter:blur(14px);transition:background .2s,border-color .2s,transform .2s}
.tf-quick-action:hover,.tf-quick-action:focus-visible{transform:translateX(-3px);background:#1a3950;border-color:#9edfe9;color:#fff}
.tf-quick-action:focus-visible{outline:2px solid #9edfe9;outline-offset:3px}
.tf-quick-action[hidden],.tf-wechat-panel[hidden]{display:none!important}
.tf-quick-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#267f9c;color:#fff}
.tf-quick-icon svg{display:block;width:22px;height:22px}
.tf-wechat-panel{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);width:208px;padding:16px;border:1px solid #9edfe968;border-radius:13px;background:#102033f7;box-shadow:0 15px 40px #0208118c;text-align:center;color:#f5fbff}
.tf-wechat-panel img{display:block;width:168px;height:168px;object-fit:contain;margin:auto;border-radius:7px;background:#fff}
.tf-wechat-panel p{margin:8px 0 0;font-size:13px;line-height:1.6}
.tf-wechat-panel a{display:inline-block;margin-top:10px;color:#9edfe9;font-size:13px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){body.home .nav,body:not(.home):not(.wp-admin) .nav{gap:24px}body.home .nav nav,body:not(.home):not(.wp-admin) .nav nav{gap:18px}}
@media(max-width:800px){body.home .nav{display:flex;gap:14px}body.home .nav .brand{margin-right:auto}body.home .nav nav{display:none;top:calc(100% - 4px);gap:15px;white-space:normal}body.home .nav nav.open{display:flex}body.home .menu{display:block;flex:0 0 36px;height:36px;color:#fff}.tf-quick-actions{top:auto;right:12px;bottom:calc(18px + env(safe-area-inset-bottom));transform:none;gap:7px}.tf-quick-action{width:52px;min-height:52px;padding:7px}.tf-quick-action>span:last-child{display:none}.tf-quick-icon{width:34px;height:34px}.tf-wechat-panel{top:auto;bottom:0;transform:none;right:calc(100% + 9px);width:190px}.tf-wechat-panel img{width:156px;height:156px}}
@media(max-width:800px){.tf-quick-actions{flex-direction:row}.tf-wechat-panel{right:0;bottom:calc(100% + 9px)}}
@media(max-width:980px){
  body.home .nav,body:not(.home):not(.wp-admin) .nav{display:flex;width:calc(100% - 40px);max-width:none;height:68px;gap:14px;margin-inline:auto}
  body.home .nav .brand,body:not(.home):not(.wp-admin) .nav .brand{margin-right:auto}
  .nav-cta{display:none}
  .menu,body.home .menu{display:block;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--scene-text);font-size:22px;line-height:1}
  .nav nav,body.home .nav nav{position:absolute;top:68px;right:20px;left:auto;display:none;width:min(320px,calc(100vw - 40px));padding:20px;border:1px solid #ffffff35;border-radius:14px;background:#142431;box-shadow:0 18px 36px #02081180;white-space:normal}
  .nav nav.open,body.home .nav nav.open,.nav nav.is-closing,body.home .nav nav.is-closing{display:flex;flex-direction:column;align-items:stretch;gap:16px}
  .tf-quick-actions{top:auto;right:12px;bottom:calc(18px + env(safe-area-inset-bottom));transform:none;flex-direction:row;gap:7px}
  .tf-quick-action{width:52px;min-height:52px;padding:7px}
  .tf-quick-action>span:last-child{display:none}
  .tf-quick-icon{width:34px;height:34px}
  .tf-wechat-panel{top:auto;right:0;bottom:calc(100% + 9px);transform:none}
}
@media(prefers-reduced-motion:reduce){body.home .nav-wrap,.tf-quick-action{transition:none}}

/* Third homepage section: one shared grid for the introduction, tabs, and showcase. */
body.home main #capabilities.problem.container{padding:40px max(112px,calc((100vw - 1512px)/2));scroll-margin-top:0}
#capabilities .split-heading{display:block;margin-bottom:18px}
#capabilities .split-heading h2{max-width:none;margin:0;font-size:clamp(34px,2.9vw,42px);line-height:1.2}
#capabilities .split-heading>p{max-width:none;margin:12px 0 0;font-size:15px;line-height:1.65}
#capabilities .tf-products{margin-top:0}
#capabilities .tf-products-tabs{display:flex;width:100%;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 4px;margin:0 0 14px}
#capabilities .tf-product-tab{flex:0 0 calc((100% - 36px)/4);min-width:0;min-height:72px;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:12px;border-radius:12px;text-align:left}
#capabilities .tf-product-tab-icon{flex:0 0 38px;width:38px;height:38px;border-radius:10px;font-size:22px}
#capabilities .tf-product-tab-title{min-width:0;font-size:15px;overflow-wrap:anywhere}
#capabilities .tf-product-tab-title:after{content:"";display:block;width:30px;height:2px;margin-top:5px;background:#7893a2}
#capabilities .tf-product-tab.is-active .tf-product-tab-title:after{background:#91dce9}
#capabilities .tf-product-panel{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);min-height:380px;gap:24px;padding:24px}
#capabilities .tf-product-media{width:100%;max-width:480px;justify-self:center}
#capabilities .tf-product-kicker{margin-bottom:16px}
#capabilities .tf-product-copy h3{margin-bottom:18px}
#capabilities .tf-product-features{margin-top:24px}
#capabilities .tf-products.has-many-products .tf-products-tabs{scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#688fa3 transparent;padding-bottom:10px;margin-bottom:0}
#capabilities .tf-products.has-many-products .tf-product-tab{flex-basis:clamp(220px,23vw,280px);scroll-snap-align:start}
#capabilities .tf-products-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 14px;color:#a9c3d1;font-size:12px}
#capabilities .tf-products-controls span{margin-right:auto}
#capabilities .tf-products-controls button{width:44px;height:44px;border:1px solid #9edfe970;border-radius:12px;background:#102538;color:#d7f5f8;font-size:21px;cursor:pointer}
#capabilities .tf-products-controls button:hover,#capabilities .tf-products-controls button:focus-visible{background:#214860;border-color:#9edfe9;outline:2px solid #9edfe9;outline-offset:2px}
#capabilities .tf-products-controls button:active{background:var(--tf-accent-active,#7fc8d5);color:var(--tf-bg,#07111d);transform:translateY(1px)}
#capabilities .tf-products-controls button:focus-visible{outline:3px solid var(--tf-accent,#9edfe9)}
#capabilities .tf-products-controls button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1100px){#capabilities .tf-product-tab{gap:8px;padding:10px}#capabilities .tf-product-tab-icon{flex-basis:34px;width:34px;height:34px;font-size:21px}#capabilities .tf-product-tab-title{font-size:13px}}
@media(min-width:981px) and (max-width:1200px){#capabilities .tf-product-panel{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:24px}}
@media(max-width:980px){body.home main #capabilities.problem.container{padding:40px}}
@media(min-width:801px) and (max-width:900px) and (max-height:760px){body.home main #capabilities.problem.container{padding-top:25px;padding-bottom:25px}}
@media(max-width:800px){body.home main #capabilities.problem.container{padding:40px 20px}#capabilities .split-heading>p{font-size:15px}#capabilities .tf-product-panel{padding:22px}}
@media(max-width:700px){#capabilities .tf-product-tab{flex-basis:158px;min-height:88px}#capabilities .tf-product-panel{grid-template-columns:1fr;min-height:0;gap:20px}#capabilities .tf-product-media{max-width:none}}
@media(max-width:560px){body.home main #capabilities.problem.container{padding-top:60px;padding-bottom:68px}#capabilities .split-heading h2{font-size:clamp(29px,8vw,36px)}#capabilities .split-heading>p{font-size:14px;line-height:1.75}#capabilities .tf-products-tabs{gap:9px;margin-bottom:16px}#capabilities .tf-product-tab{flex-basis:158px;min-height:100px;flex-direction:column;justify-content:center;gap:9px;padding:13px 9px;text-align:center}#capabilities .tf-product-tab-icon{flex:0 0 40px;width:40px;height:40px;border-radius:10px;font-size:23px}#capabilities .tf-product-tab-title{font-size:11px;line-height:1.4}#capabilities .tf-product-tab-title:after{margin:8px auto 0}#capabilities .tf-product-panel{gap:20px;padding:22px 20px}#capabilities .tf-product-copy h3{font-size:clamp(23px,6.3vw,28px)}#capabilities .tf-product-copy p{font-size:14px;line-height:1.75}}
@media(max-width:280px){#capabilities .tf-product-media{aspect-ratio:auto;min-height:132px}#capabilities .tf-product-media-placeholder{gap:8px}#capabilities .tf-product-media-mark{width:44px;height:44px;border-radius:12px;font-size:26px}#capabilities .tf-product-media-label{padding:4px 8px;font-size:11px}}
@media(max-width:560px){.tf-quick-actions{flex-direction:row;gap:6px;right:10px;bottom:calc(12px + env(safe-area-inset-bottom))}.tf-quick-action{width:44px;min-height:44px;padding:4px}.tf-quick-icon{width:32px;height:32px}.tf-wechat-panel{position:fixed;top:auto;right:10px;bottom:calc(65px + env(safe-area-inset-bottom));width:min(190px,calc(100vw - 20px));transform:none}}

/* Keep the main homepage chapters within the viewport below the fixed navigation. */
@media(min-width:701px){body.home .hero.hero-cinematic{height:100svh;min-height:0}.hero-cinematic .hero-inner{min-height:0}}
@media(min-width:801px){
  body.home main #culture,
  body.home main #capabilities,
  body.home main #cases,
  body.home main #audiences,
  body.home main #services,
  body.home main #about{min-height:calc(100svh - var(--tf-nav-height));display:flex;flex-direction:column;justify-content:center}
}
@media(min-width:701px) and (max-width:800px){
  body.home main #culture,
  body.home main #capabilities,
  body.home main #cases,
  body.home main #audiences,
  body.home main #services,
  body.home main #about{min-height:calc(100svh - var(--tf-nav-height));display:flex;flex-direction:column;justify-content:center}
}

/* Homepage booking invitation and the full booking page. */
body.home main .booking-teaser.section.container{position:relative;display:flex;align-items:center;justify-content:space-between;gap:50px;width:min(1450px,calc(100% - 220px));max-width:1450px;margin:72px auto 104px;padding:58px 64px;border:1px solid #9edfe94d;border-radius:14px;background:linear-gradient(120deg,#172b3a,#10202d);box-shadow:0 24px 50px #030a1252}
.booking-teaser-copy{min-width:0;scroll-margin-top:var(--tf-nav-height)}
.booking-teaser .eyebrow{margin-bottom:17px;color:var(--scene-accent);font-size:12px;letter-spacing:.18em}
body.home main .booking-teaser h2{margin:0 0 14px;font-size:clamp(30px,3vw,46px)}
.booking-teaser p{max-width:58ch;margin:0;color:var(--scene-muted);font-size:16px;line-height:1.8}
.booking-teaser .button.dark{flex:0 0 auto;min-height:52px;padding:12px 24px;border-color:#9edfe9;border-radius:999px;background:#9edfe9;color:#102438;gap:18px}
.booking-teaser .button.dark:hover{background:#cbf6fa;border-color:#cbf6fa;color:#102438}
.booking-teaser .button.dark:active{background:var(--tf-accent-active,#7fc8d5);border-color:var(--tf-accent-active,#7fc8d5);color:var(--tf-bg,#07111d);transform:translateY(1px)}
.booking-teaser .button.dark:focus-visible{outline:3px solid var(--tf-accent,#9edfe9);outline-offset:3px}
.booking-teaser .button.dark[aria-disabled="true"]{opacity:.6;cursor:not-allowed;pointer-events:none}
@media(min-width:1101px){
  body.home main .booking-teaser.section.container{display:grid;grid-template-columns:minmax(0,2fr) minmax(max-content,1fr);align-items:center}
  .booking-teaser-copy{max-width:none}
  .booking-teaser .button.dark{position:relative;top:auto;left:auto;justify-self:center;min-width:max-content;margin-left:0;transform:none;white-space:nowrap}
}
.tf-booking-page .document-page{width:min(1400px,calc(100% - 160px));max-width:1400px;padding-top:112px;padding-bottom:72px}
.tf-booking-page .document-page h1{margin-bottom:24px;font-size:clamp(34px,3.6vw,52px)}
.tf-booking-page .document-page .wp-block-post-content{max-width:none}
.tf-booking-page .booking-page-section,.tf-booking-page .tf-booking{width:100%;max-width:none}
.tf-booking-page .tf-booking{margin:0 auto}
@media(min-width:801px) and (max-width:1100px){
  body.home main .booking-teaser.section.container{width:calc(100% - 80px);flex-direction:column;align-items:flex-start;gap:26px;margin:60px auto 80px;padding:42px 48px}
  .tf-booking-page .document-page{width:calc(100% - 80px)}
}
@media(max-width:800px){body.home main .booking-teaser.section.container{width:calc(100% - 40px);flex-direction:column;align-items:flex-start;gap:26px;margin:48px auto 72px;padding:36px 28px}.booking-teaser p{font-size:14px}.tf-booking-page .document-page{width:calc(100% - 40px);padding-top:88px;padding-bottom:56px}}
@media(max-width:560px){body.home main .booking-teaser.section.container{padding:30px 22px}.booking-teaser .button.dark{width:100%}.tf-booking-page .document-page h1{margin-bottom:20px}}
.tf-booking-page .booking-page-section{margin-top:0}
@media(max-width:560px){.tf-booking-page .document-page{padding-top:80px}.tf-booking-page .document-page h1{margin-bottom:12px}}

/* Treat the closing statement and booking card as one viewport composition. */
body.home main #about{min-height:0;display:block;padding-bottom:0}
@media(min-width:901px){
  body.home main #about{padding-top:clamp(48px,calc((100svh - 640px)/2),400px)}
  body.home main #booking-area.booking-teaser.section.container{margin-top:clamp(28px,4svh,44px);margin-bottom:clamp(48px,calc((100svh - 640px)/2),400px)}
}
@media(min-width:701px) and (max-width:900px){
  body.home main #about{padding-top:48px}
  body.home main #booking-area.booking-teaser.section.container{margin-top:24px;margin-bottom:72px}
}
@media(min-width:701px) and (max-width:1100px){
  body.home main #booking-area.booking-teaser.section.container{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:32px 36px}
}
@media(max-width:700px){body.home main #booking-area.booking-teaser.section.container{margin-top:24px}}

/* Keep both brand marks at the same visual height and use one icon for booking actions. */
.nav .brand{gap:13px}
.nav .brand img{flex:0 0 auto}
.nav .brand-divider{flex:0 0 1px;width:1px;height:30px;background:#f3f8fb;opacity:.55}
.nav .brand-name{font-size:30px;font-weight:750;line-height:1;letter-spacing:0}
.booking-calendar-icon{display:inline-block;flex:0 0 18px;width:18px;height:18px;vertical-align:-3px;background:currentColor;-webkit-mask:url('booking-calendar.svg') center/contain no-repeat;mask:url('booking-calendar.svg') center/contain no-repeat}
.nav-cta .booking-calendar-icon,.button .booking-calendar-icon{font-size:inherit}
.saas-close a .booking-calendar-icon{margin-left:0}
.tf-wechat-panel a .booking-calendar-icon{width:14px;height:14px;margin-left:4px;vertical-align:-2px}
@media(max-width:800px){
  .nav .brand{gap:11px}
  .nav .brand-divider{height:26px}
  .nav .brand-name{font-size:25px}
}
@media(max-width:360px){
  .nav .brand{gap:8px}
  .nav .brand img{width:100px}
  .nav .brand-divider{height:22px}
  .nav .brand-name{font-size:20px}
}
