/* TFN website review, December 2026. Scope excludes the employee portal. */
body.tfn-web-2026 {
  --green:#173f35; --yellow:#f1c10f; --ink:#1d1d1b;
  --muted:#53685e; --line:#dce2d9; --pale:#e7efe1; --bg:#f6f7f2;
  --tfn-green:#173f35; --tfn-yellow:#f1c10f;
  --wp--preset--color--green:#173f35; --wp--preset--color--yellow:#f1c10f;
  --wp--preset--color--ink:#1d1d1b; --wp--preset--font-family--system:Arial,sans-serif;
  font-family:Arial,sans-serif; color:var(--ink); background:var(--bg);
}
html.tfn-web-ui { scroll-padding-top:calc(var(--tfn-header-height,86px) + 20px); }
.tfn-web-2026 .wrap { width:min(1260px,calc(100% - 48px)); }
.tfn-web-2026 :is(h1,h2,h3) { font-family:Arial,sans-serif; font-weight:700; letter-spacing:-.025em; text-wrap:balance; }
.tfn-web-2026 h1 { font-size:clamp(34px,4.7vw,60px); line-height:1.12; }
.tfn-web-2026 :is(.section h2,.split h2,.section-head h2,.prose h2) { font-size:clamp(28px,3vw,40px); line-height:1.16; }
.tfn-web-2026 :is(.card h3,.side-note h3,.cp-pillar h3) { font-size:clamp(21px,2.1vw,25px); line-height:1.2; }
.tfn-web-2026 .section { margin-top:64px; }
.tfn-web-2026 :is(.eyebrow,.hero .eyebrow,.pale-block .eyebrow) { font:700 11px/1.5 Arial,sans-serif; letter-spacing:.065em; margin-bottom:18px; }
.tfn-web-2026 .tag { letter-spacing:.065em; line-height:1.5; }
.tfn-web-2026 .content-grid { grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr); gap:48px; }
.tfn-web-2026 .prose { max-width:760px; }
.tfn-web-2026 .section>.prose:only-child { margin-inline:auto; width:100%; }
.tfn-web-2026 .split { gap:48px; }
.tfn-web-2026 .split h2 { max-width:none; }
.tfn-web-2026 .section-head { gap:30px; margin-bottom:28px; }
.tfn-web-2026 .pale-block { padding:clamp(24px,3.8vw,48px); }
.tfn-web-2026 :is(.hero,.feature,.pale-block,.cta,.side-note,.card,.row-link,.cp-pillar,.contact-box,.wp-block-image img,.tfn-latest-news li) { border-radius:4px; }
.tfn-web-2026 .hero>.wp-block-image img { border-radius:0; }
.tfn-web-2026 .tfn-back-row { display:none; }

/* Small, consistent controls. Informational cards remain still. */
.tfn-web-2026 :is(.btn,.wp-block-button.btn>.wp-block-button__link,.contact-form button[type=submit],.jetpack_subscription_widget button) { font-family:Arial,sans-serif; border-radius:4px; }
.tfn-web-2026 .wp-block-button.btn>.wp-block-button__link { font:700 14px/1.45 Arial,sans-serif; gap:16px; min-height:48px; color:var(--ink); padding:13px 20px; white-space:normal; text-align:left; }
.tfn-web-2026 .wp-block-button.btn.green>.wp-block-button__link { color:white; }
.tfn-web-2026 .wp-block-button.btn:not(.green):not(.outline)>.wp-block-button__link { background:var(--yellow); }
.tfn-web-2026 .wp-block-button.btn:not(.green):not(.outline)>.wp-block-button__link:hover { background:#f8db62; }
.tfn-web-2026 :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid var(--yellow); outline-offset:3px; box-shadow:0 0 0 2px var(--green); }
.tfn-web-2026 .card:hover { transform:none; border-color:var(--line); }
.tfn-web-2026 :is(.tfn-link-card,.tfn-project-card) { position:relative; }
.tfn-web-2026 .tfn-card-link { position:static; }
.tfn-web-2026 .tfn-card-link::after { content:""; position:absolute; inset:0; z-index:1; border-radius:4px; }
.tfn-web-2026 :is(.tfn-link-card,.tfn-project-card):hover { border-color:#a1b19b; }
.tfn-web-2026 .tfn-card-link:focus-visible { outline:none; box-shadow:none; }
.tfn-web-2026 .tfn-card-link:focus-visible::after { outline:3px solid var(--green); outline-offset:3px; }
.tfn-web-2026 .text-link { gap:12px; }
.tfn-web-2026 .text-link:hover { text-decoration:none; }
.tfn-web-2026 .text-link:hover .tfn-link-label { text-decoration:underline; text-underline-offset:5px; }
.tfn-web-2026 .text-link .arrow { flex:none; text-decoration:none; }
.tfn-web-2026 .faq { max-width:800px; }
.tfn-web-2026 .faq details { padding:20px 0; }
.tfn-web-2026 .faq details p { margin:14px 0 0; max-width:760px; }
.tfn-web-2026 .faq summary { min-height:44px; align-items:center; }

/* Keep the familiar green header; make it smaller while reading. */
.tfn-web-2026 .site-header { box-shadow:0 1px 0 #ffffff20; }
.tfn-web-2026 .site-header .navrow { height:86px; gap:22px; transition:height .18s ease; }
.tfn-web-2026 .site-header .logo { width:210px; transition:width .18s ease; }
.tfn-web-2026 .site-header .topline { max-height:44px; transition:max-height .18s ease; }
.tfn-web-2026 .site-header .topline .wrap.tfn-language-topline { height:35px; }
.tfn-web-2026 .tfn-menu { gap:17px; }
.tfn-web-2026 .nav { font-size:13px; }
.tfn-web-2026 .nav a[aria-current=page] { color:white; box-shadow:inset 0 -2px var(--yellow); }
.tfn-web-2026 .nav a:hover { color:var(--yellow); }
.tfn-web-2026 .nav .contact-link { border-radius:4px; padding:8px 13px; }
.tfn-web-2026 .menu-button { border-radius:4px; }
.tfn-web-2026.tfn-scrolled .site-header .topline { max-height:0; overflow:hidden; visibility:hidden; pointer-events:none; border-width:0; }
.tfn-web-2026.tfn-scrolled .site-header .navrow { height:66px; }
.tfn-web-2026.tfn-scrolled .site-header .logo { width:190px; }
.tfn-web-2026 .nav .tfn-language-menu-item { padding:0; }
.tfn-web-2026 .nav .tfn-language-picker summary { font-size:12px; min-height:36px; }
.tfn-web-2026 .tfn-language-options { border-radius:4px; }

/* Reusable, editable project references and actual latest posts. */
.tfn-web-2026 .tfn-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.tfn-web-2026 .tfn-project-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.tfn-web-2026 .tfn-project-grid-one { grid-template-columns:1fr; max-width:760px; }
.tfn-web-2026 .tfn-project-card { display:flex; flex-direction:column; padding:0; overflow:hidden; background:white; border:1px solid var(--line); border-radius:4px; }
.tfn-web-2026 .tfn-project-card .wp-block-image { margin:0; }
.tfn-web-2026 .tfn-project-card .wp-block-image img { height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:0; }
.tfn-web-2026 .tfn-project-card figcaption { font-size:12px; line-height:1.45; color:var(--muted); padding:8px 22px 0; margin:0; }
.tfn-web-2026 .tfn-project-card :is(.tfn-project-card-body,.tfn-card-body) { padding:24px; display:flex; flex-direction:column; flex:1; }
.tfn-web-2026 .tfn-project-card-action { color:var(--green); font-weight:700; margin-top:auto; padding-top:16px; }
.tfn-web-2026 .tfn-project-card h3 { font-size:24px; }
.tfn-web-2026 .tfn-project-card p { margin-top:14px; font-size:15px; }
.tfn-web-2026 .tfn-project-status { display:flex; align-items:center; gap:8px; color:var(--green); font-size:13px; font-weight:700; margin-top:0; }
.tfn-web-2026 .tfn-project-status .tfn-status-icon { flex:none; }
.tfn-web-2026 .tfn-project-detail .page-intro { max-width:900px; }
.tfn-web-2026 .tfn-project-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:28px; }
.tfn-web-2026 .tfn-project-facts p { margin-top:4px; }
.tfn-web-2026 .tfn-project-gallery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.tfn-web-2026 .tfn-project-gallery img { height:auto; max-height:440px; object-fit:contain; background:white; }
.tfn-web-2026 .tfn-project-gallery figcaption { font-size:13px; color:var(--muted); line-height:1.5; }
.tfn-web-2026 .tfn-project-hero>.wp-block-image img { aspect-ratio:3/2; height:auto; object-fit:cover; }
.tfn-web-2026 .tfn-project-hero>.wp-block-image figcaption { font-size:12px; line-height:1.5; color:var(--muted); }
.tfn-web-2026 .tfn-project-data :is(h2,h3) { font-size:23px; }
.tfn-web-2026 .tfn-latest-news { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.tfn-web-2026 ul.wp-block-latest-posts.tfn-latest-news { display:grid; }
.tfn-web-2026 ul.wp-block-latest-posts.tfn-latest-news>li { width:auto; max-width:none; margin:0; }
.tfn-web-2026 .tfn-latest-news li { position:relative; padding:24px; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__featured-image { margin:-24px -24px 20px; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__featured-image img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:4px 4px 0 0; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__post-title { font-size:23px; line-height:1.2; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__post-title:after { content:""; position:absolute; inset:0; z-index:1; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__post-date { color:var(--muted); font-size:12px; margin-top:10px; }
.tfn-web-2026 .tfn-latest-news .wp-block-latest-posts__post-excerpt { margin-top:14px; line-height:1.6; }
.tfn-web-2026 .tfn-latest-news li:hover { border-color:#a1b19b; }
.tfn-web-2026 .tfn-innovation-grid,.tfn-web-2026 .tfn-passport-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; align-items:start; }
.tfn-web-2026 .tfn-innovation-grid .prose,.tfn-web-2026 .tfn-passport-grid .prose { max-width:none; }

/* Contact: form first on phones, compact people and details beside it on desktop. */
.tfn-web-2026 .contact-grid { grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr); gap:48px; align-items:start; }
.tfn-web-2026 .tfn-contact-aside { min-width:0; }
.tfn-web-2026 .tfn-contact-aside>.wp-block-heading { font-size:28px; margin-bottom:22px; }
.tfn-web-2026 .tfn-contact-aside .contact-box { background:white; color:var(--ink); border:1px solid var(--line); padding:26px; }
.tfn-web-2026 .tfn-contact-aside .contact-box h2 { font-size:26px; line-height:1.2; margin:0 0 16px; }
.tfn-web-2026 .tfn-contact-aside .contact-box p { color:var(--muted); margin:12px 0; }
.tfn-web-2026 .tfn-contact-aside .contact-box a { color:var(--green); margin:0; }
.tfn-web-2026 .tfn-contact-aside .tfn-sales { margin-top:28px; }
.tfn-web-2026 .tfn-sales-grid { display:grid; grid-template-columns:1fr; gap:20px; }
.tfn-web-2026 .tfn-sales-card { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:center; gap:20px; background:white; border:1px solid var(--line); border-radius:4px; padding:18px; }
.tfn-web-2026 .tfn-sales-portrait { overflow:hidden; border-radius:4px; margin:0; }
.tfn-web-2026 .tfn-sales-portrait img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:center 25%; transform:none; }
.tfn-web-2026 .tfn-sales-details h3 { font-size:21px; }
.tfn-web-2026 .tfn-sales-details p { margin-top:8px; font-size:14px; }
.tfn-web-2026 .tfn-sales-details a { overflow-wrap:anywhere; color:var(--green); }
.tfn-web-2026 .contact-form>.grunion-field-wrap { margin:0 0 16px; }
.tfn-web-2026 .contact-form>br { display:none; }
.tfn-web-2026 .contact-form label { margin-bottom:6px; }
.tfn-web-2026 .contact-form :is(input[type=text],input[type=email],input[type=tel],select,textarea) { font-family:Arial,sans-serif; font-size:16px; border-radius:4px; padding:11px 12px; }
.tfn-web-2026 .contact-form textarea { min-height:140px; }

/* One poster treatment and one accessible, lazily created video player. */
.tfn-web-2026 .tfn-video-poster { display:block; position:relative; overflow:hidden; border-radius:4px; background:var(--green); color:white; }
.tfn-web-2026 .tfn-video-poster img { width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; opacity:.9; }
.tfn-web-2026 .tfn-video-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; width:66px; height:66px; border-radius:50%; background:var(--yellow); color:var(--ink); font-size:26px; box-shadow:0 3px 20px #0003; }
.tfn-web-2026 .tfn-video-caption { display:block; padding:14px 20px; font-size:15px; font-weight:700; }
.tfn-web-2026 .tfn-video-poster:hover .tfn-video-play { background:#f8db62; }
.tfn-web-2026 .tfn-video-card { margin:0; max-width:100%; }
.tfn-web-2026 .tfn-video-card>a { display:block; position:relative; border-radius:4px; overflow:hidden; background:var(--green); }
.tfn-web-2026 .tfn-video-card img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.tfn-web-2026 .tfn-video-card .tfn-video-play { width:auto; height:auto; min-height:50px; border-radius:4px; padding:13px 20px; gap:12px; font-size:16px; font-weight:700; white-space:nowrap; }
.tfn-web-2026 .tfn-video-card>a:hover .tfn-video-play { background:#f8db62; }
.tfn-web-2026 .tfn-video-dialog { max-width:min(1000px,calc(100vw - 32px)); width:1000px; max-height:calc(100dvh - 32px); padding:0; border:0; border-radius:4px; background:var(--green); color:white; box-shadow:0 18px 70px #0005; overflow:auto; }
.tfn-web-2026 .tfn-video-dialog::backdrop { background:#071e17d9; }
.tfn-web-2026 .tfn-video-dialog-top { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 20px; }
.tfn-web-2026 .tfn-video-dialog h2 { color:white; margin:0; font-size:20px; line-height:1.25; }
.tfn-web-2026 .tfn-video-close { flex:none; border:1px solid #ffffff80; border-radius:4px; padding:8px 12px; min-height:44px; background:transparent; color:white; font:700 14px/1.4 Arial,sans-serif; }
.tfn-web-2026 .tfn-video-dialog-media { background:#000; }
.tfn-web-2026 .tfn-video-dialog :is(video,iframe) { display:block; width:100%; aspect-ratio:16/9; max-height:calc(100dvh - 120px); border:0; }
.tfn-web-2026 .tfn-video-dialog video { object-fit:contain; }

.tfn-web-2026 .site-footer { margin-top:60px; padding:40px 0 20px; }
.tfn-web-2026 .footer-grid { gap:32px; }
.tfn-web-2026 .footer-grid a:not(.logo) { line-height:1.5; }
.tfn-web-2026 .footer-bottom { margin-top:28px; }

@media(max-width:1150px) and (min-width:851px) {
  .tfn-web-2026 .site-header .logo { width:180px; }
  .tfn-web-2026 .tfn-menu { gap:12px; }
  .tfn-web-2026 .nav { font-size:12px; }
  .tfn-web-2026 .nav .contact-link { padding:8px 10px; }
}
@media(max-width:1000px) {
  .tfn-web-2026 .contact-grid { grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr); gap:32px; }
  .tfn-web-2026 .tfn-sales-card { grid-template-columns:80px minmax(0,1fr); gap:14px; padding:16px; }
}
@media(max-width:850px) {
  .tfn-web-2026 .site-header .navrow { height:68px; }
  .tfn-web-2026 .site-header .navrow .logo { width:min(200px,55vw); }
  .tfn-web-2026.tfn-scrolled .site-header .navrow { height:60px; }
  .tfn-web-2026 .site-header .nav { background:white; color:var(--green); border-top:1px solid var(--line); padding:10px 24px 20px; }
  .tfn-web-2026 .site-header .nav.open { max-height:calc(100dvh - var(--tfn-header-height,103px)); overflow-y:auto; overscroll-behavior:contain; }
  .tfn-web-2026 .nav .tfn-menu>li>a { min-height:44px; padding:10px 13px; font-size:16px; white-space:normal; }
  .tfn-web-2026 .nav a[aria-current=page] { background:var(--pale); color:var(--green); box-shadow:inset 3px 0 var(--yellow); }
  .tfn-web-2026 .nav a:hover { background:var(--bg); color:var(--green); }
  .tfn-web-2026 .nav .contact-link { border:1px solid var(--line); margin-top:8px; padding:0; }
  .tfn-web-2026 .nav .contact-link a { justify-content:center; }
  .tfn-web-2026 .nav .tfn-language-menu-item { padding:12px 13px 0; }
  .tfn-web-2026 .nav .tfn-language-picker { color:var(--green); }
  .tfn-web-2026 .nav .tfn-language-picker summary { border-color:var(--line); width:fit-content; min-height:44px; }
  .tfn-web-2026 .nav .tfn-language-picker summary:hover { background:var(--pale); }
  .tfn-web-2026 .nav .tfn-language-options { position:static; margin-top:8px; }
  .tfn-web-2026 :is(.content-grid,.split,.contact-grid) { grid-template-columns:1fr; gap:32px; }
  .tfn-web-2026 .prose { max-width:760px; }
  .tfn-web-2026 .tfn-contact-aside { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  .tfn-web-2026 .tfn-contact-aside>.wp-block-heading { grid-column:1/-1; margin:0; }
  .tfn-web-2026 .tfn-contact-aside .tfn-sales { margin:0; }
  .tfn-web-2026 .tfn-sales-grid { gap:16px; }
  .tfn-web-2026 .tfn-project-grid,.tfn-web-2026 .tfn-latest-news { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tfn-web-2026 .tfn-project-grid-one { grid-template-columns:1fr; }
  .tfn-web-2026 .tfn-project-grid>*,.tfn-web-2026 .tfn-latest-news>* { min-width:0; }
  .tfn-web-2026 .tfn-innovation-grid,.tfn-web-2026 .tfn-passport-grid { gap:28px; }
}
@media(max-width:600px) {
  .tfn-web-2026 .wrap { width:calc(100% - 32px); }
  .tfn-web-2026 .site-header .topline { display:none; }
  .tfn-web-2026 .hero,.tfn-web-2026.home .hero { border-radius:4px; }
  .tfn-web-2026 .section { margin-top:44px; }
  .tfn-web-2026 .eyebrow,.tfn-web-2026 .hero .eyebrow { font-size:10px; letter-spacing:.065em; }
  .tfn-web-2026 .promise-row { display:grid; grid-template-columns:1fr; justify-items:start; gap:10px; padding:20px 0; font-size:13px; }
  .tfn-web-2026 .promise-row>p,.tfn-web-2026 .promise-row>p:last-child,.tfn-web-2026 .promise-row>span:last-child { display:flex; }
  .tfn-web-2026 .promise-row .check { display:inline; }
  .tfn-web-2026 :is(.section h2,.split h2,.section-head h2,.prose h2) { font-size:clamp(27px,7vw,32px); }
  .tfn-web-2026 .pale-block { padding:26px 22px; }
  .tfn-web-2026 .steps { gap:24px; }
  .tfn-web-2026 .step-number { font-size:12px; margin-bottom:10px; }
  .tfn-web-2026 :is(.tfn-project-grid,.tfn-latest-news,.tfn-project-gallery-grid,.tfn-innovation-grid,.tfn-passport-grid,.tfn-contact-aside) { grid-template-columns:1fr; gap:24px; }
  .tfn-web-2026 .tfn-contact-aside>.wp-block-heading { grid-column:auto; }
  .tfn-web-2026 .tfn-contact-aside .contact-box h2 { font-size:24px; }
  .tfn-web-2026 .tfn-sales-card { grid-template-columns:96px minmax(0,1fr); gap:18px; }
  .tfn-web-2026 .tfn-project-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .tfn-web-2026 .tfn-project-card :is(.tfn-project-card-body,.tfn-card-body) { padding:22px; }
  .tfn-web-2026 .tfn-video-dialog-top { padding:12px; gap:12px; }
  .tfn-web-2026 .tfn-video-dialog h2 { font-size:17px; }
  .tfn-web-2026 .tfn-video-play { width:56px; height:56px; font-size:22px; }
  .tfn-web-2026 .site-footer { margin-top:44px; padding-top:32px; }
  .tfn-web-2026 .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 20px; }
  .tfn-web-2026 .footer-grid>div:first-child,.tfn-web-2026 .footer-grid>div:last-child { grid-column:1/-1; }
  .tfn-web-2026 .footer-grid a:not(.logo) { min-height:44px; margin:0; font-size:13px; }
  .tfn-web-2026 .footer-grid p { margin-top:12px; }
  .tfn-web-2026 .footer-grid .logo { width:210px; }
  .tfn-web-2026 .footer-bottom { margin-top:22px; }
}
@media(orientation:landscape) and (max-width:1024px) and (max-height:500px) {
  .tfn-web-2026 .site-header { display:block; padding:0; }
  .tfn-web-2026 .site-header .topline { display:none; }
  .tfn-web-2026 .site-header .navrow,.tfn-web-2026.tfn-scrolled .site-header .navrow { display:flex; height:52px; }
  .tfn-web-2026 .site-header .navrow .logo { width:155px; }
  .tfn-web-2026 .site-header .menu-button { margin-left:auto; }
  .tfn-web-2026 .site-header .nav { background:white; color:var(--green); }
  .tfn-web-2026 .site-header .nav.open { max-height:calc(100dvh - 52px); }
  .tfn-web-2026 .site-header .nav a[aria-current=page] { color:var(--green); background:var(--pale); box-shadow:inset 3px 0 var(--yellow); }
  .tfn-web-2026 .site-header .nav .tfn-language-picker { color:var(--green); }
  .tfn-web-2026 .site-header .nav .tfn-language-picker summary { border-color:var(--line); }
  .tfn-web-2026 .site-header .nav .tfn-language-options { position:static; }
}
@media(prefers-reduced-motion:reduce) {
  .tfn-web-2026 .site-header :is(.navrow,.topline,.logo) { transition:none; }
}
