/*
Theme Name: The Friedrich Team
Description: Layout of thefriedrichteam.com rebuilt for WordPress in the team's brand colors. The theme owns the header, footer, type and section styling; every page's content is native blocks, editable in the block editor.
Author: AgentSpotlight.ai
Version: 1.0.1
Text Domain: the-friedrich-team
*/
:root{--teal:#00A99D;--teal-d:#008f85;--ink:#0A0A0A;--grey:#A6A6A6;--mist:#f5f5f4;--line:#e4e4e2;--white:#fff;--display:"Gilda Display",Georgia,serif;--body:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;--wrap:1240px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-color:var(--teal) #eee}
body{margin:0;font-family:var(--body);font-size:15px;line-height:1.75;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%;display:block}
img{height:auto}
a{color:var(--teal-d);text-decoration:none}
a:hover{color:var(--ink)}
h1,h2,h3,h4{font-family:var(--display);font-weight:400;line-height:1.2;margin:0 0 .6em;letter-spacing:.03em}
p{margin:0 0 1.1em}
figure{margin:0}
.tft-skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:10px 16px;z-index:200}
.tft-skip:focus{left:0}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

/* ---------- header ---------- */
.tft-header{position:fixed;inset:0 0 auto 0;z-index:100;color:#fff;transition:background .3s,box-shadow .3s}
.tft-header-in{display:flex;align-items:center;gap:28px;padding:18px 36px;max-width:1600px;margin:0 auto}
.tft-logo img{height:64px;width:auto;transition:height .3s}
.tft-logo .tft-logo-d{display:none}
.tft-topnav{display:flex;gap:26px;list-style:none;margin:0 0 0 auto;padding:0;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:500}
.tft-topnav a{color:inherit;padding:6px 0;border-bottom:1px solid transparent}
.tft-topnav a:hover{border-color:var(--teal)}
.tft-burger{background:none;border:0;cursor:pointer;width:34px;height:26px;display:flex;flex-direction:column;justify-content:space-between;padding:3px 0;color:inherit}
.tft-burger span{display:block;height:2px;background:currentColor;transition:transform .3s,opacity .3s}
.tft-header.scrolled,.tft-header.open{background:#fff;color:var(--ink);box-shadow:0 1px 0 var(--line)}
.tft-header.scrolled .tft-logo img,.tft-header.open .tft-logo img{height:50px}
.tft-header.scrolled .tft-logo-w,.tft-header.open .tft-logo-w{display:none}
.tft-header.scrolled .tft-logo-d,.tft-header.open .tft-logo-d{display:block}
.tft-header.open .tft-burger span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.tft-header.open .tft-burger span:nth-child(2){opacity:0}
.tft-header.open .tft-burger span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
.tft-overlay{display:none;background:#fff;color:var(--ink);border-top:1px solid var(--line);max-height:calc(100vh - 86px);overflow:auto;padding:34px 36px 44px;text-align:center}
.tft-header.open .tft-overlay{display:block}
.tft-nav{list-style:none;margin:0 auto 26px;padding:0;columns:2;max-width:640px}
.tft-nav li{break-inside:avoid}
.tft-nav a{display:block;padding:9px 0;font-family:var(--display);font-size:21px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.tft-nav a:hover{color:var(--teal-d)}
.tft-cta,.wp-block-button__link,.submit-btn{display:inline-block;background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:0;padding:15px 34px;font-family:var(--body);font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.tft-cta:hover,.wp-block-button__link:hover,.submit-btn:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.is-style-outline .wp-block-button__link{background:transparent;border-color:#fff;color:#fff}
.is-style-outline .wp-block-button__link:hover{background:#fff;color:var(--ink);border-color:#fff}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:34px}
body.tft-no-posts .tft-nav a[href$="/blog/"],body.tft-no-posts .tft-updates{display:none}

/* ---------- sections ---------- */
.tft-sec{padding:92px 28px}
.tft-wrap{max-width:var(--wrap);margin:0 auto}
.tft-head{text-align:center;max-width:820px;margin:0 auto 48px}
.tft-title{font-size:clamp(28px,3.4vw,40px);text-transform:uppercase;letter-spacing:.06em}
.tft-title::after{content:"";display:block;width:56px;height:2px;background:var(--teal);margin:20px auto 0}
.tft-lede{font-size:16px;color:#333;max-width:780px;margin-left:auto;margin-right:auto}
.tft-dre{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:500}
.tft-center{text-align:center}
.tft-center .tft-wrap>p{max-width:780px;margin-left:auto;margin-right:auto}
.tft-bg{position:absolute;inset:0;margin:0}
.tft-bg img{width:100%;height:100%;object-fit:cover}

/* hero */
.tft-hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;overflow:hidden;background:var(--ink)}
.tft-bgvideo{position:absolute;inset:0;margin:0}
.tft-bgvideo video,.tft-bgvideo img{width:100%;height:100%;object-fit:cover}
.tft-hero::after,.tft-banner::after,.tft-band::after{content:"";position:absolute;inset:0;background:rgba(10,10,10,.46)}
.tft-hero-text{position:relative;z-index:2;padding:130px 24px 80px;max-width:1000px}
.tft-hero-title{font-size:clamp(40px,6.4vw,84px);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.25em}
.tft-hero-sub{font-size:15px;letter-spacing:.3em;text-transform:uppercase;font-weight:500;margin-bottom:1.4em}
.tft-hero .wp-block-button:not(:first-child) .wp-block-button__link{background:transparent;border-color:#fff}
.tft-hero .wp-block-button:not(:first-child) .wp-block-button__link:hover{background:#fff;color:var(--ink)}
/* inner-page banner */
.tft-banner{position:relative;min-height:52vh;display:flex;align-items:flex-end;justify-content:center;text-align:center;color:#fff;overflow:hidden;background:var(--ink)}
.tft-banner-text{position:relative;z-index:2;padding:150px 24px 64px}
.tft-banner-title{font-size:clamp(34px,5vw,62px);text-transform:uppercase;letter-spacing:.08em;margin:0}
/* intro */
.tft-intro{text-align:center}
.tft-intro-logo img{width:340px;margin:0 auto 34px}
/* grids, tiles, cards */
.tft-grid{display:grid;gap:26px}
.tft-grid-3{grid-template-columns:repeat(3,1fr)}
.tft-grid-2{grid-template-columns:repeat(2,1fr)}
.tft-grid-tiles{grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:26px}
.tft-tile{position:relative;overflow:hidden;background:var(--ink);aspect-ratio:3/4}
.tft-tile-wide{aspect-ratio:16/10}
.tft-grid-tiles .tft-tile{aspect-ratio:4/5}
.tft-tile figure,.tft-tile figure a{position:absolute;inset:0;display:block}
.tft-tile img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease,opacity .4s;opacity:.86}
.tft-tile:hover img{transform:scale(1.06);opacity:.7}
.tft-tile h3{position:absolute;left:0;right:0;bottom:0;margin:0;padding:60px 22px 22px;background:linear-gradient(transparent,rgba(10,10,10,.78));font-size:22px;text-transform:uppercase;letter-spacing:.08em;pointer-events:none}
.tft-tile h3 a{color:#fff;pointer-events:auto}
.tft-tile h3 a::after{content:"";position:absolute;inset:0}
.tft-grid-tiles .tft-tile h3{font-size:16px;padding:44px 14px 16px}
.tft-tiles{padding-top:0}
.tft-badges{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:28px 70px;margin-top:64px}
.tft-badges img{max-height:92px;width:auto;max-width:210px}
.tft-proof{background:var(--ink);color:#fff;padding-top:62px;padding-bottom:62px}
.tft-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.tft-stat-n{font-family:var(--display);font-size:clamp(30px,3.6vw,46px);color:var(--teal);margin:0;letter-spacing:.03em}
.tft-stat-l{font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin:6px 0 0;color:#e9e9e9}
.tft-card h3{font-size:22px;margin:18px 0 6px}
.tft-card h3 a{color:var(--ink)}
.tft-role{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#555}
.tft-agent{text-align:center}
.tft-agent img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;filter:saturate(.96)}
.tft-service{border:1px solid var(--line);border-top:3px solid var(--teal);padding:34px 30px;background:#fff}
.tft-service h3{margin-top:0;text-transform:uppercase;letter-spacing:.06em;font-size:20px}
.tft-services,.tft-areas+.tft-areas,.tft-faq{background:var(--mist)}
.tft-listing{position:relative;border:1px solid var(--line);padding-bottom:22px;text-align:center;background:#fff}
.tft-listing img{width:100%;aspect-ratio:3/2;object-fit:cover}
.tft-listing p{margin:0 14px 4px}
.tft-flag{position:absolute;top:14px;left:14px;margin:0!important;background:var(--teal);color:#fff;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;padding:5px 12px}
/* testimonials */
.tft-reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.tft-reviews.tft-scroll{grid-template-columns:repeat(3,1fr)}
.tft-review{border:1px solid var(--line);padding:38px 34px;background:#fff;position:relative}
.tft-review::before{content:"\201C";font-family:var(--display);font-size:70px;line-height:1;color:var(--teal);display:block;height:38px}
.tft-review blockquote{margin:0}
.tft-review cite{display:block;margin-top:14px;font-style:normal;font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:12px}
/* bands */
.tft-band{position:relative;color:#fff;text-align:center;overflow:hidden;background:var(--ink)}
.tft-band-text{position:relative;z-index:2;padding:120px 24px;max-width:860px;margin:0 auto}
.tft-band .tft-lede{color:#fff}
.tft-band .tft-title::after{background:#fff}
/* two columns, forms */
.tft-two{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.tft-two-narrow{grid-template-columns:380px 1fr}
.tft-two .tft-head{text-align:left;margin:0 0 24px}
.tft-two .tft-title::after{margin-left:0}
.tft-two .tft-lede{margin-left:0}
.tft-form{background:var(--mist);padding:40px 36px;border-top:3px solid var(--teal)}
.tft-form .tft-title{font-size:26px}
.tft-form label{display:block;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:14px 0 6px}
.tft-form input,.tft-form select,.tft-form textarea{width:100%;border:1px solid #cfcfcd;background:#fff;padding:13px 14px;font:inherit;border-radius:0;color:var(--ink)}
.tft-form input:focus,.tft-form select:focus,.tft-form textarea:focus{outline:2px solid var(--teal);outline-offset:0;border-color:var(--teal)}
.tft-form .submit-btn{margin-top:20px;width:100%}
.tft-form-mock .r{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tft-consent{font-size:11.5px;line-height:1.6;color:#555;margin:16px 0 0}
.tft-checks{list-style:none;padding:0;margin:22px 0}
.tft-checks li{padding:7px 0 7px 30px;position:relative}
.tft-checks li::before{content:"";position:absolute;left:2px;top:15px;width:14px;height:7px;border-left:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(-45deg)}
.tft-checks-row{display:flex;flex-wrap:wrap;gap:6px 34px;justify-content:center}
.tft-contact-people{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:6px 0 10px}
.tft-contact-info h4{font-size:19px;margin-bottom:.3em}
.tft-sub{font-size:22px;text-transform:uppercase;letter-spacing:.06em}
.tft-agent-card img{width:100%;margin-bottom:22px}
.tft-agent-card ul{list-style:none;padding:0;margin:0}
.tft-agent-card li{padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
/* guides, prose */
.tft-step{margin-bottom:70px;align-items:center}
.tft-step img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tft-flip>:first-child{order:2}
.tft-step h2{font-size:26px;text-transform:uppercase;letter-spacing:.05em}
.tft-step-text{max-width:820px;margin-left:auto;margin-right:auto;text-align:center}
.tft-callout{font-family:var(--display);font-size:clamp(22px,2.6vw,30px);text-align:center;max-width:860px;margin:0 auto 70px;padding:34px 0;border-top:1px solid var(--teal);border-bottom:1px solid var(--teal)}
.tft-prose .tft-wrap{max-width:900px}
.tft-prose h2{margin-top:1.6em}
.tft-prose h3{font-size:21px;margin-top:1.5em}
.tft-legal .tft-wrap{max-width:860px}
.tft-legal h2{font-size:26px}
.tft-sitemap{columns:2}
/* faq */
.tft-faq-list{max-width:900px;margin:0 auto}
.tft-faq-list details{border-bottom:1px solid #d9d9d6;padding:4px 0}
.tft-faq-list summary{cursor:pointer;list-style:none;padding:18px 44px 18px 0;position:relative;font-family:var(--display);font-size:19px;letter-spacing:.02em}
.tft-faq-list summary::-webkit-details-marker{display:none}
.tft-faq-list summary::after{content:"+";position:absolute;right:6px;top:12px;font-size:28px;color:var(--teal);font-family:var(--body);font-weight:300}
.tft-faq-list details[open] summary::after{content:"\2013"}
.tft-faq-list details p{margin:0 0 20px;color:#333}
/* video, posts, map */
.wp-block-embed__wrapper{position:relative;aspect-ratio:16/9;background:var(--ink)}
.wp-block-embed__wrapper iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tft-video .wp-block-embed{max-width:960px;margin:0 auto}
.tft-journal-row{position:relative}
.tft-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.tft-post{display:block;color:var(--ink);border:1px solid var(--line);background:#fff}
.tft-post img,.tft-post-ph{width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--mist)}
.tft-post-body{padding:22px}
.tft-post-body small{letter-spacing:.14em;text-transform:uppercase;color:#555;font-size:11px}
.tft-post-body h3{font-size:20px;margin:8px 0}
.tft-jarrow{position:absolute;top:38%;z-index:3;width:44px;height:44px;border:1px solid var(--teal);background:#fff;color:var(--teal-d);font-size:24px;cursor:pointer}
.tft-jarrow-prev{left:-22px}.tft-jarrow-next{right:-22px}
.tft-empty{text-align:center;color:#666;border:1px dashed #c9c9c6;padding:30px;max-width:760px;margin:0 auto}
.tft-map{padding:0}
.tft-map .tft-wrap{max-width:none}
.tft-map iframe{width:100%;height:420px;border:0;filter:grayscale(.4)}
.tft-article{max-width:820px;margin:0 auto;padding:70px 24px}
.tft-article h1{font-size:clamp(30px,4vw,46px)}
.tft-article img{margin:0 auto 1.4em}

/* ---------- footer ---------- */
.tft-footer{background:var(--ink);color:#d8d8d8;font-size:14px}
.tft-footer a{color:#fff}
.tft-footer a:hover{color:var(--teal)}
.tft-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:48px;max-width:var(--wrap);margin:0 auto;padding:76px 28px 50px}
.tft-footer h4{color:#fff;font-size:17px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:16px}
.tft-fcol p{margin:0 0 7px}
.tft-footer-logo{width:250px;margin-bottom:22px}
.tft-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.tft-social a{width:38px;height:38px;border:1px solid #555;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;letter-spacing:.06em}
.tft-social a:hover{border-color:var(--teal);background:var(--teal);color:#fff}
.tft-foot-cta a{display:inline-block;margin-top:12px;border:1px solid var(--teal);padding:11px 20px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.tft-legal{border-top:1px solid #2c2c2c;max-width:var(--wrap);margin:0 auto;padding:30px 28px 44px;text-align:center;font-size:12px;letter-spacing:.04em;color:#bdbdbd}
.tft-legal p{margin:0 0 10px}
.tft-legal-consent{font-size:11px;max-width:900px;margin-left:auto!important;margin-right:auto!important;color:#9c9c9c}
.tft-eho{height:54px;width:auto;margin:0 auto 18px;filter:invert(1) brightness(1.6)}

/* ---------- motion ---------- */
.tft-js .tft-rv{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s ease}
.tft-js .tft-rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.tft-js .tft-rv{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* ---------- responsive ---------- */
@media (max-width:1100px){.tft-topnav{display:none}.tft-burger{margin-left:auto}.tft-grid-tiles{grid-template-columns:repeat(3,1fr)}.tft-footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:860px){
.tft-sec{padding:64px 20px}.tft-header-in{padding:14px 20px}.tft-logo img{height:52px}
.tft-grid-3,.tft-grid-2,.tft-two,.tft-two-narrow,.tft-reviews,.tft-reviews.tft-scroll,.tft-posts{grid-template-columns:1fr}
.tft-two{gap:36px}.tft-stats{grid-template-columns:1fr 1fr;gap:34px 16px}.tft-grid-tiles{grid-template-columns:1fr 1fr}
.tft-tile{aspect-ratio:4/3}.tft-flip>:first-child{order:0}.tft-nav{columns:1}.tft-nav a{font-size:19px}
.tft-form{padding:30px 22px}.tft-band-text{padding:84px 22px}.tft-hero-sub{letter-spacing:.2em;font-size:13px}
.tft-jarrow{display:none}.tft-sitemap{columns:1}.tft-wp-block-buttons{flex-direction:column}
}
@media (max-width:520px){.tft-footer-grid{grid-template-columns:1fr;gap:34px}.tft-contact-people{grid-template-columns:1fr}.tft-form-mock .r{grid-template-columns:1fr}.wp-block-buttons .wp-block-button{width:100%}.wp-block-button__link{display:block;text-align:center}}
.tft-banner-plain{min-height:38vh}
.tft-banner-plain::after{display:none}
.tft-posts h2{font-size:20px;margin:8px 0}
.tft-topnav li{list-style:none}
/* lead form (rendered by the fleet form module) in the team's colors */
.tft-form .agentspot-contact-form-wrap{max-width:none;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.tft-form .agentspot-contact-form-wrap label{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:14px 0 6px}
.tft-form .agentspot-contact-form-wrap input,.tft-form .agentspot-contact-form-wrap select,.tft-form .agentspot-contact-form-wrap textarea{border:1px solid #cfcfcd;border-radius:0;padding:13px 14px;font-size:15px;background:#fff;color:var(--ink)}
.tft-form .agentspot-contact-form-wrap .agentspot-submit-btn{background:var(--teal);border:1px solid var(--teal);border-radius:0;padding:16px 18px;font-family:var(--body);font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;transition:background .25s,border-color .25s}
.tft-form .agentspot-contact-form-wrap .agentspot-submit-btn:hover{background:var(--ink);border-color:var(--ink)}
.tft-form .agentspot-form-consent{font-size:11.5px;color:#555}
.tft-form .agentspot-form-status,.tft-form [class*="agentspot-form-"][role]{font-weight:600;color:var(--teal-d)}
@media (max-width:520px){.tft-form .agentspot-contact-form-wrap .agentspot-form-row{grid-template-columns:1fr}}
