/* ══════════════════════════════════════════════
   FLAT DESIGN SYSTEM — .tlf
   One set of tokens and components for the calm, flat page style:
   white surfaces, hairline borders, one accent, no shadows or gradients.
   Used by single-tl_hire.php. Product and remote pages still carry their
   own copies (.tlp / .tlr) and can move here later.
   ══════════════════════════════════════════════ */

.tlf{--acc:#1045D4;--ink:#14161c;--body:#3f4451;--muted:#6b7080;--line:#e6e7eb;--soft:#f7f7f8;color:var(--body);font-family:'DM Sans',sans-serif}
.tlf *{box-sizing:border-box}
.tlf :where(h1,h2,h3){color:var(--ink);font-weight:600;margin:0}
.tlf :where(p){margin:0}
.tlf :where(a){text-decoration:none}
.tlf-wrap{max-width:1200px;margin:0 auto;padding:0 32px}

/* Buttons: one primary, one secondary */
.tlf-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 26px;border-radius:50px;font-size:15px;font-weight:600;border:1px solid transparent;transition:background-color .15s,border-color .15s,color .15s;white-space:nowrap}
.tlf-btn--primary{background:var(--acc);color:#fff}
.tlf-btn--primary:hover{background:var(--ink);color:#fff}
.tlf-btn--ghost{background:#fff;color:var(--ink);border-color:#d5d7dd}
.tlf-btn--ghost:hover{border-color:var(--ink);color:var(--ink)}
.tlf-link{color:var(--acc);font-weight:600}
.tlf-link:hover{color:var(--ink)}

/* Hero: short, text-first */
.tlf-hero{padding:132px 0 64px;border-bottom:1px solid var(--line)}
.tlf-crumb{font-size:14px;color:var(--muted);margin-bottom:28px}
.tlf-crumb a{color:var(--muted)}
.tlf-crumb a:hover{color:var(--ink)}
.tlf-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:start}
.tlf-kicker{font-size:14px;font-weight:600;color:var(--acc);margin-bottom:14px}
.tlf-hero h1{font-size:clamp(36px,4.6vw,56px);line-height:1.05;letter-spacing:-1px;margin-bottom:20px}
.tlf-lede{font-size:20px;line-height:1.5;color:var(--ink);max-width:640px;margin-bottom:30px}
.tlf-actions{display:flex;gap:12px;flex-wrap:wrap}

/* Facts: one plain row, shown once per page */
.tlf-facts{display:grid;grid-template-columns:repeat(4,1fr);margin-top:48px;border-top:1px solid var(--line)}
.tlf-fact{padding:22px 24px 0 0}
.tlf-fact strong{display:block;font-size:24px;font-weight:600;color:var(--ink);letter-spacing:-.3px;line-height:1.15}
.tlf-fact span{display:block;font-size:14px;color:var(--muted);margin-top:6px}

/* Side panel (e.g. skills) */
.tlf-panel{border:1px solid var(--line);border-radius:12px;padding:26px 28px}
.tlf-panel h2{font-size:15px;margin-bottom:14px}
.tlf-taglist{list-style:none;margin:0;padding:0}
.tlf-taglist li{padding:11px 0;border-top:1px solid var(--line);font-size:15.5px;color:var(--ink)}
.tlf-taglist li:first-child{border-top:0;padding-top:0}
.tlf-taglist li:last-child{padding-bottom:0}

/* Sections */
.tlf-section{padding:84px 0;border-bottom:1px solid var(--line)}
.tlf-section--soft{background:var(--soft)}
.tlf-head{max-width:680px;margin-bottom:40px}
.tlf-head h2{font-size:clamp(26px,3vw,36px);line-height:1.15;letter-spacing:-.5px}
.tlf-head p{font-size:17px;line-height:1.7;margin-top:12px}
.tlf-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.tlf-split .tlf-head{margin-bottom:0}

/* Hairline lists */
.tlf-grid{display:grid;gap:0 48px}
.tlf-grid--2{grid-template-columns:repeat(2,1fr)}
.tlf-grid--4{grid-template-columns:repeat(4,1fr)}
.tlf-item{padding:22px 0;border-top:1px solid var(--line)}
.tlf-item h3{font-size:17.5px;line-height:1.35;margin-bottom:6px}
.tlf-item p{font-size:15.5px;line-height:1.65}
.tlf-checks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:0 40px}
.tlf-checks li{position:relative;padding:14px 0 14px 24px;border-top:1px solid var(--line);font-size:16px;color:var(--ink);line-height:1.45}
.tlf-checks li::before{content:"";position:absolute;left:2px;top:20px;width:9px;height:5px;border-left:2px solid var(--acc);border-bottom:2px solid var(--acc);transform:rotate(-45deg)}

/* Pricing rows */
.tlf-rows{border-top:1px solid var(--line)}
.tlf-row{display:grid;grid-template-columns:220px 1fr 190px;gap:32px;align-items:baseline;padding:24px 0;border-bottom:1px solid var(--line)}
.tlf-row h3{font-size:18px}
.tlf-row p{font-size:15.5px;line-height:1.6}
.tlf-row-price{font-size:17px;font-weight:600;color:var(--ink);white-space:nowrap;text-align:right}
.tlf-note{font-size:14px;color:var(--muted);margin-top:20px}

/* Steps */
.tlf-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;list-style:none;margin:0;padding:0;counter-reset:tlf-step}
.tlf-step{border-top:2px solid var(--ink);padding-top:18px;counter-increment:tlf-step}
.tlf-step::before{content:"Step " counter(tlf-step);display:block;font-size:13px;font-weight:600;color:var(--acc);margin-bottom:10px}
.tlf-step h3{font-size:18px;margin-bottom:6px}
.tlf-step p{font-size:15px;line-height:1.6}

/* Link lists */
.tlf-links{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px}
.tlf-links a{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid var(--line);font-size:16px;font-weight:600;color:var(--ink)}
.tlf-links a::after{content:"→";color:var(--muted);font-weight:400}
.tlf-links a:hover{color:var(--acc)}
.tlf-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tlf-card{display:block;border:1px solid var(--line);border-radius:12px;padding:22px;background:#fff;color:var(--body);transition:border-color .15s}
.tlf-card:hover{border-color:var(--acc)}
.tlf-card strong{display:block;font-size:17px;font-weight:600;color:var(--ink);margin-bottom:6px}
.tlf-card span{display:block;font-size:14.5px;line-height:1.55}

/* Quote */
.tlf-quote{max-width:820px;border-left:3px solid var(--acc);padding-left:28px;margin:0}
.tlf-quote p{font-size:21px;line-height:1.55;color:var(--ink)}
.tlf-quote cite{display:block;font-style:normal;font-size:15px;margin-top:16px;color:var(--muted)}
.tlf-quote cite strong{color:var(--ink);font-weight:600}

/* FAQ */
.tlf-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start}
.tlf-faq .tlf-head{margin-bottom:0}
.tlf-faq-list{border-top:1px solid var(--line)}
.tlf-faq-list details{border-bottom:1px solid var(--line)}
.tlf-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:22px 0;font-size:17px;font-weight:600;color:var(--ink);line-height:1.4}
.tlf-faq-list summary::-webkit-details-marker{display:none}
.tlf-faq-list summary::after{content:"+";flex-shrink:0;font-size:22px;font-weight:400;line-height:1;color:var(--muted);transition:transform .15s}
.tlf-faq-list details[open] summary::after{transform:rotate(45deg)}
.tlf-faq-list summary:hover{color:var(--acc)}
.tlf-faq-list details p{font-size:15.5px;line-height:1.7;padding:0 40px 24px 0;margin-top:-6px}

/* Closing CTA */
.tlf-end{padding:72px 0}
.tlf-end .tlf-wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.tlf-end h2{font-size:clamp(26px,2.8vw,34px);letter-spacing:-.4px;line-height:1.2}
.tlf-end p{font-size:16.5px;margin-top:8px}

/* Photo hero — the original dark, image-led hero, kept shorter than full screen */
.tlf-photo-hero{position:relative;overflow:hidden;background:#0B0F1A;color:#fff;display:flex;flex-direction:column;min-height:min(640px,92vh)}
.tlf-photo-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tlf-photo-hero-shade{position:absolute;inset:0;background:linear-gradient(to right,rgba(4,6,14,.9) 0%,rgba(4,6,14,.68) 55%,rgba(4,6,14,.3) 100%)}
.tlf-photo-hero-body{position:relative;z-index:2;width:100%;flex:1;display:flex;flex-direction:column;justify-content:center;padding-top:calc(var(--nav-h,72px) + 56px);padding-bottom:56px}
.tlf-photo-hero .tlf-crumb,.tlf-photo-hero .tlf-crumb a{color:rgba(255,255,255,.7)}
.tlf-photo-hero .tlf-crumb a:hover{color:#fff}
.tlf-photo-hero .tlf-kicker{color:#9db8ff}
.tlf-photo-hero h1{color:#fff;font-size:clamp(36px,4.6vw,56px);line-height:1.05;letter-spacing:-1px;margin-bottom:18px;max-width:780px}
.tlf-photo-hero .tlf-lede{color:rgba(255,255,255,.88);max-width:600px;margin-bottom:24px}
.tlf-chips{list-style:none;margin:0 0 30px;padding:0;display:flex;flex-wrap:wrap;gap:8px;max-width:680px}
.tlf-chips li{font-size:13.5px;font-weight:500;color:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.28);padding:6px 14px;border-radius:50px}
.tlf-btn--onphoto{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.tlf-btn--onphoto:hover{border-color:#fff;color:#fff}
.tlf-photo-hero-facts{position:relative;z-index:2;border-top:1px solid rgba(255,255,255,.16);background:rgba(4,6,14,.72)}
.tlf-photo-hero-facts .tlf-wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.tlf-photo-hero-facts .tlf-wrap>div{padding:20px 24px 20px 0}
.tlf-photo-hero-facts strong{display:block;font-size:21px;font-weight:600;color:#fff;line-height:1.15}
.tlf-photo-hero-facts span{display:block;font-size:13.5px;color:rgba(255,255,255,.78);margin-top:4px}

/* Text beside an image */
.tlf-split--media{grid-template-columns:1.05fr .95fr;align-items:center}
.tlf-media{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--soft)}
.tlf-media img{display:block;width:100%;height:100%;max-height:460px;object-fit:cover}

@media(max-width:1024px){
  .tlf-hero-grid,.tlf-split,.tlf-split--media,.tlf-faq{grid-template-columns:1fr;gap:36px}
  .tlf-photo-hero-facts .tlf-wrap{grid-template-columns:repeat(2,1fr)}
  .tlf-photo-hero-facts .tlf-wrap>div{padding:16px 16px 16px 0}
  .tlf-grid--4,.tlf-steps,.tlf-cards{grid-template-columns:repeat(2,1fr)}
  .tlf-links{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .tlf-wrap{padding:0 20px}
  .tlf-hero{padding:104px 0 48px}
  .tlf-lede{font-size:18px}
  .tlf-facts{grid-template-columns:repeat(2,1fr)}
  .tlf-fact strong{font-size:20px}
  .tlf-section{padding:56px 0}
  .tlf-head{margin-bottom:26px}
  .tlf-grid--2,.tlf-grid--4,.tlf-steps,.tlf-links,.tlf-cards,.tlf-checks{grid-template-columns:1fr}
  .tlf-row{grid-template-columns:1fr;gap:6px}
  .tlf-row-price{text-align:left}
  .tlf-faq-list details p{padding-right:0}
  .tlf-end{padding:52px 0}
}
