/*
Theme Name: The True Machinists
Theme URI: https://truemachinists.com/
Author: The True Machinists
Author URI: https://truemachinists.com/
Description: Clean, technical WordPress block theme for The True Machinists machining tools and resources platform.
Version: 4.3.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: the-true-machinists
*/

:root {
  --ttm-navy:#101820;
  --ttm-blue:#1769AA;
  --ttm-orange:#F28C28;
  --ttm-bg:#F5F7F9;
  --ttm-white:#FFFFFF;
  --ttm-text:#25313C;
  --ttm-muted:#647383;
  --ttm-border:#D9E0E6;
  --ttm-soft:#ECF3F8;
  --ttm-radius:14px;
  --ttm-shadow:0 8px 28px rgba(16,24,32,.07);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--ttm-bg); color:var(--ttm-text); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height:1.65; }
a { color:var(--ttm-blue); text-decoration:none; }
a:hover { text-decoration:underline; }
button,input,select,textarea { font:inherit; }
img { max-width:100%; height:auto; }

.wp-site-blocks > * { margin-block-start:0; }

.ttm-container { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.ttm-wide { width:min(1280px, calc(100% - 40px)); margin-inline:auto; }

.ttm-header { background:var(--ttm-navy); color:#fff; border-bottom:1px solid rgba(255,255,255,.09); }
.ttm-header-inner { min-height:78px; display:flex; align-items:center; gap:30px; justify-content:space-between; }
.ttm-brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none !important; min-width:max-content; }
.ttm-brand-mark-wrap{width:54px;height:54px;display:block;flex:0 0 54px}.ttm-brand-mark { width:54px; height:54px; display:block; }
.ttm-brand-copy { display:grid; gap:0; line-height:1.05; }
.ttm-brand-name { font-family:Manrope,Inter,sans-serif; font-size:19px; font-weight:850; letter-spacing:.02em; }
.ttm-brand-name span { color:var(--ttm-orange); }
.ttm-brand-sub { margin-top:5px; font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:#AEBCC7; }
.ttm-nav { display:flex !important; align-items:center; gap:24px; flex-wrap:wrap; justify-content:flex-end; }
.ttm-nav .wp-block-navigation__container{gap:24px}
.ttm-nav a { color:#E5EDF2; font-size:14px; font-weight:650; }
.ttm-nav a:hover { color:#fff; text-decoration:none; }
.ttm-nav .wp-block-navigation__responsive-container-open{color:#fff}.ttm-nav .wp-block-navigation__responsive-container{background:var(--ttm-navy);color:#fff}
.ttm-nav .ttm-nav-cta { background:var(--ttm-orange); color:#fff; border-radius:10px; padding:10px 15px; }

.ttm-hero { background:linear-gradient(135deg,#0D1820 0%,#122735 68%,#142E40 100%); color:#fff; position:relative; }
.ttm-hero-inner { padding:88px 0 76px; position:relative; }
.ttm-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:50px; align-items:center; }
.ttm-eyebrow { color:#BFD1DD; text-transform:uppercase; font-size:12px; letter-spacing:.15em; font-weight:800; }
.ttm-hero h1 { font-family:Manrope,Inter,sans-serif; font-size:clamp(42px,5.3vw,72px); line-height:1.03; letter-spacing:-.035em; margin:12px 0 20px; max-width:840px; }
.ttm-hero h1 .accent { color:var(--ttm-orange); }
.ttm-hero-lead { color:#D8E3EA; font-size:19px; max-width:760px; margin:0 0 28px; }
.ttm-search { display:flex; max-width:760px; border:1px solid rgba(255,255,255,.2); background:#fff; border-radius:12px; padding:5px; box-shadow:0 12px 34px rgba(0,0,0,.16); }
.ttm-search input { border:0; outline:0; background:#fff; color:var(--ttm-text); min-width:0; flex:1; padding:13px 14px; border-radius:8px; }
.ttm-search button { border:0; background:var(--ttm-orange); color:#fff; font-weight:800; border-radius:8px; padding:0 20px; cursor:pointer; }
.ttm-popular { margin-top:14px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.ttm-popular strong { color:#E2EDF3; font-size:13px; margin-right:2px; }
.ttm-chip { color:#DDEAF1; border:1px solid rgba(255,255,255,.21); padding:5px 10px; border-radius:999px; font-size:12px; }
.ttm-chip:hover { color:#fff; background:rgba(255,255,255,.05); text-decoration:none; }
.ttm-hero-panel { border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.045); border-radius:18px; padding:24px; }
.ttm-hero-panel-title { font-weight:800; font-size:15px; margin-bottom:16px; }
.ttm-stat { padding:13px 0; display:flex; gap:12px; align-items:flex-start; border-top:1px solid rgba(255,255,255,.10); }
.ttm-stat:first-of-type { border-top:0; padding-top:0; }
.ttm-stat-dot { width:10px; height:10px; background:var(--ttm-orange); border-radius:50%; margin-top:7px; flex:0 0 10px; }
.ttm-stat strong { display:block; color:#fff; font-size:14px; }
.ttm-stat span { display:block; color:#B7C8D3; font-size:12px; }

.ttm-section { padding:72px 0; }
.ttm-section.compact { padding:52px 0; }
.ttm-section.alt { background:#EDF2F5; }
.ttm-section.dark { background:var(--ttm-navy); color:#fff; }
.ttm-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.ttm-section-head h2 { font-family:Manrope,Inter,sans-serif; font-size:32px; line-height:1.1; letter-spacing:-.02em; margin:0; color:var(--ttm-navy); }
.ttm-section.dark .ttm-section-head h2 { color:#fff; }
.ttm-section-head p { margin:8px 0 0; color:var(--ttm-muted); max-width:740px; }
.ttm-section.dark .ttm-section-head p { color:#B9C8D2; }
.ttm-kicker { font-size:12px; text-transform:uppercase; letter-spacing:.13em; font-weight:850; color:var(--ttm-blue); margin-bottom:8px; }
.ttm-grid { display:grid; gap:18px; }
.ttm-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ttm-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ttm-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ttm-card { background:#fff; border:1px solid var(--ttm-border); border-radius:var(--ttm-radius); padding:22px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ttm-card:hover { transform:translateY(-2px); box-shadow:var(--ttm-shadow); border-color:#C6D1DA; }
.ttm-card h3 { color:var(--ttm-navy); font-family:Manrope,Inter,sans-serif; font-size:18px; line-height:1.25; margin:12px 0 7px; }
.ttm-card p { margin:0; color:var(--ttm-muted); font-size:14px; }
.ttm-card .ttm-link { margin-top:15px; display:inline-flex; gap:7px; align-items:center; font-size:14px; font-weight:800; }
.ttm-icon { width:44px; height:44px; border-radius:11px; background:var(--ttm-soft); color:var(--ttm-blue); display:flex; align-items:center; justify-content:center; font-weight:900; }
.ttm-category-card { min-height:190px; }
.ttm-category-card .ttm-icon { border:1px solid #D6E6F1; }
.ttm-tool-card { display:flex; gap:16px; }
.ttm-tool-card .ttm-icon { flex:0 0 44px; }
.ttm-resource-grid { display:grid; grid-template-columns:1.15fr .95fr .95fr; gap:18px; }
.ttm-resource-card { min-height:160px; }
.ttm-cta-row { margin-top:20px; display:flex; gap:10px; flex-wrap:wrap; }
.ttm-btn { display:inline-flex; justify-content:center; align-items:center; gap:7px; border-radius:10px; padding:11px 16px; font-size:14px; font-weight:800; text-decoration:none !important; border:1px solid transparent; }
.ttm-btn-primary { background:var(--ttm-orange); color:#fff; }
.ttm-btn-secondary { background:#fff; color:var(--ttm-navy); border-color:var(--ttm-border); }
.ttm-btn-dark { background:var(--ttm-navy); color:#fff; }

.ttm-page-hero { background:#EAF0F4; border-bottom:1px solid var(--ttm-border); }
.ttm-page-hero-inner { padding:50px 0 44px; }
.ttm-breadcrumbs { color:#6F7E89; font-size:13px; margin-bottom:10px; }
.ttm-breadcrumbs a { color:#61707C; }
.ttm-page-hero h1 { margin:0; color:var(--ttm-navy); font-family:Manrope,Inter,sans-serif; font-size:clamp(36px,4.5vw,56px); line-height:1.05; letter-spacing:-.03em; }
.ttm-page-hero p { margin:12px 0 0; max-width:800px; color:var(--ttm-muted); font-size:18px; }

.ttm-content { padding:58px 0 72px; }
.ttm-content-inner { max-width:900px; }
.ttm-content h2,.ttm-content h3,.ttm-content h4 { font-family:Manrope,Inter,sans-serif; color:var(--ttm-navy); line-height:1.2; }
.ttm-content h2 { margin-top:44px; }
.ttm-content h3 { margin-top:32px; }
.ttm-content p,.ttm-content li { color:#3F4D59; }
.ttm-note { background:#FFF7EF; border-left:4px solid var(--ttm-orange); padding:15px 18px; border-radius:0 10px 10px 0; margin:20px 0; }
.ttm-table-wrap { overflow-x:auto; }
.ttm-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--ttm-border); }
.ttm-table th,.ttm-table td { border-bottom:1px solid var(--ttm-border); padding:11px 12px; text-align:left; font-size:14px; }
.ttm-table th { background:#EFF3F6; color:var(--ttm-navy); font-weight:800; }

.ttm-calculator-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr); gap:22px; align-items:start; }
.ttm-calculator-box { background:#fff; border:1px solid var(--ttm-border); border-radius:18px; box-shadow:var(--ttm-shadow); padding:26px; }
.ttm-calculator-box h2 { margin-top:0; font-size:23px; }
.ttm-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ttm-field label { display:flex; justify-content:space-between; gap:10px; font-size:13px; font-weight:800; color:var(--ttm-navy); margin-bottom:7px; }
.ttm-field input,.ttm-field select { width:100%; border:1px solid var(--ttm-border); background:#fff; color:var(--ttm-text); border-radius:9px; padding:11px 12px; outline:none; }
.ttm-field input:focus,.ttm-field select:focus { border-color:#8DB7D4; box-shadow:0 0 0 3px rgba(23,105,170,.10); }
.ttm-field small { color:#748390; font-size:11px; }
.ttm-calc-actions { display:flex; gap:10px; margin-top:20px; }
.ttm-calc-results { margin-top:24px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ttm-result { background:#F4F7F9; border:1px solid var(--ttm-border); border-radius:12px; padding:14px; }
.ttm-result-label { display:block; font-size:12px; color:#70808C; }
.ttm-result-value { display:block; margin-top:2px; font-family:Manrope,Inter,sans-serif; font-size:25px; font-weight:850; color:var(--ttm-navy); }
.ttm-result-unit { font-size:12px; color:#778792; }
.ttm-calc-sidebar { position:sticky; top:24px; }
.ttm-side-card { background:#fff; border:1px solid var(--ttm-border); border-radius:14px; padding:20px; }
.ttm-side-card + .ttm-side-card { margin-top:14px; }
.ttm-side-card h3 { font-family:Manrope,Inter,sans-serif; font-size:17px; color:var(--ttm-navy); margin:0 0 10px; }
.ttm-side-card ul { margin:0; padding-left:20px; }
.ttm-side-card li { margin:7px 0; color:#566572; }

.ttm-tool-filter { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.ttm-filter-btn { border:1px solid var(--ttm-border); background:#fff; color:var(--ttm-navy); padding:8px 12px; border-radius:999px; font-size:13px; font-weight:750; cursor:pointer; }
.ttm-filter-btn.active,.ttm-filter-btn:hover { border-color:#AFC9DC; background:var(--ttm-soft); }

.ttm-footer { background:#0B1116; color:#B9C5CD; margin-top:40px; }
.ttm-footer-inner { padding:58px 0 34px; display:grid; grid-template-columns:1.6fr repeat(3,1fr); gap:36px; }
.ttm-footer h3 { color:#fff; margin:0 0 12px; font-family:Manrope,Inter,sans-serif; font-size:15px; }
.ttm-footer p { color:#AAB7C0; max-width:390px; font-size:14px; }
.ttm-footer a { color:#B9C5CD; display:block; margin:7px 0; font-size:14px; }
.ttm-footer a:hover { color:#fff; text-decoration:none; }
.ttm-footer-bottom { border-top:1px solid #232D35; padding:18px 0 22px; font-size:13px; color:#8F9DA6; }

.ttm-search-results { padding:58px 0 72px; }
.ttm-empty { background:#fff; border:1px dashed var(--ttm-border); border-radius:14px; padding:30px; color:var(--ttm-muted); }

/* Core block styling for visual editing */
.wp-block-button__link { border-radius:10px; font-weight:800; }
.wp-block-table { margin:22px 0; }
.wp-block-group.ttm-narrow { max-width:900px; margin-inline:auto; }
.wp-block-cover { min-height:460px; }

@media (max-width:1020px) {
  .ttm-hero-grid,.ttm-calculator-layout { grid-template-columns:1fr; }
  .ttm-hero-panel { max-width:640px; }
  .ttm-grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ttm-resource-grid { grid-template-columns:1fr 1fr; }
  .ttm-resource-grid .ttm-resource-card:first-child { grid-column:1/-1; }
  .ttm-footer-inner { grid-template-columns:repeat(2,1fr); }
  .ttm-nav { gap:15px; }
}
@media (max-width:720px) {
  .ttm-container,.ttm-wide { width:min(100% - 28px,1180px); }
  .ttm-header-inner { min-height:70px; }
  .ttm-brand-mark-wrap{width:46px;height:46px;flex-basis:46px}.ttm-brand-mark { width:46px; height:46px; }
  .ttm-brand-sub { display:none; }
  .ttm-brand-name { font-size:16px; }
  .ttm-nav { display:flex !important; }
  .ttm-hero-inner { padding:62px 0 58px; }
  .ttm-hero h1 { font-size:40px; }
  .ttm-hero-lead { font-size:16px; }
  .ttm-search { display:block; background:transparent; border:0; box-shadow:none; padding:0; }
  .ttm-search input { width:100%; margin-bottom:8px; }
  .ttm-search button { width:100%; height:48px; }
  .ttm-grid-4,.ttm-grid-3,.ttm-grid-2,.ttm-resource-grid,.ttm-fields,.ttm-calc-results { grid-template-columns:1fr; }
  .ttm-resource-grid .ttm-resource-card:first-child { grid-column:auto; }
  .ttm-section { padding:54px 0; }
  .ttm-section-head { display:block; }
  .ttm-section-head > a { display:inline-flex; margin-top:12px; }
  .ttm-page-hero-inner { padding:40px 0 36px; }
  .ttm-content { padding:44px 0 60px; }
  .ttm-footer-inner { grid-template-columns:1fr; padding:46px 0 28px; }
  .ttm-calculator-box { padding:20px; }
}

/* The True Machinists block-theme components */
.ttm-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; display:block; }
.ttm-home-hero { background:linear-gradient(135deg,#0D1820 0%,#112631 100%); color:#fff; }
.ttm-home-hero .ttm-container { padding-top:74px; padding-bottom:70px; }
.ttm-home-hero .wp-block-columns { margin-bottom:0; }
.ttm-hero-title { max-width:780px; font-family:Manrope,Inter,sans-serif; font-size:clamp(42px,5.4vw,68px); line-height:1.02; letter-spacing:-.04em; margin:10px 0 18px; color:#fff !important; }
.ttm-hero-accent { color:var(--ttm-orange); }
.ttm-site-search { max-width:760px; margin-top:26px; }
.ttm-site-search .wp-block-search__input { min-height:52px; border:0; border-radius:10px 0 0 10px; padding:0 16px; font-size:15px; }
.ttm-site-search .wp-block-search__button { min-height:52px; border:0; border-radius:0 10px 10px 0; background:var(--ttm-orange); color:#fff; font-weight:800; padding:0 20px; }
.ttm-popular-label { margin:13px 0 0; color:#C8D6DF; font-size:13px; }
.ttm-popular-label strong { color:#fff; margin-right:3px; }
.ttm-popular-label a { display:inline-block; margin:3px 4px; color:#DDE9F0; padding:5px 9px; border:1px solid rgba(255,255,255,.16); border-radius:999px; font-size:12px; text-decoration:none; }
.ttm-popular-label a:hover { background:rgba(255,255,255,.06); }
.ttm-hero-panel { height:100%; border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:25px; background:rgba(255,255,255,.04); }
.ttm-hero-panel h2 { color:#fff !important; font-size:26px; margin:5px 0 10px; }
.ttm-hero-panel p { color:#B8C8D2; }
.ttm-panel-label { margin:0; color:#8FB8D2; text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:800; }
.ttm-panel-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:24px; }
.ttm-panel-stats > div { border-top:1px solid rgba(255,255,255,.1); padding-top:12px; }
.ttm-panel-stats strong { display:block; color:#fff; font:800 26px/1 Manrope,Inter,sans-serif; }
.ttm-panel-stats span { display:block; margin-top:4px; color:#AABCC7; font-size:12px; }
.ttm-feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.ttm-feature-card { background:#fff; border:1px solid var(--ttm-border); border-radius:14px; padding:21px; }
.ttm-feature-card h3 { margin:0 0 8px; color:var(--ttm-navy); font:800 18px/1.25 Manrope,Inter,sans-serif; }
.ttm-feature-card p { margin:0 0 14px; color:var(--ttm-muted); font-size:14px; }
.ttm-feature-card a { color:var(--ttm-blue); font-size:13px; font-weight:800; text-decoration:none; }
.ttm-resource-card { min-height:172px; }
.ttm-final-cta { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.ttm-final-cta h2 { margin:0; color:#fff; max-width:780px; font:800 clamp(28px,3.2vw,42px)/1.1 Manrope,Inter,sans-serif; letter-spacing:-.025em; }
.ttm-final-cta p { margin:9px 0 0; color:#B8C8D2; max-width:760px; }
.ttm-library-toolbar { display:grid; gap:15px; margin-bottom:26px; }
.ttm-library-search-wrap { position:relative; max-width:700px; }
.ttm-library-search { width:100%; padding:13px 15px 13px 42px; border:1px solid var(--ttm-border); border-radius:11px; background:#fff; color:var(--ttm-text); outline:none; }
.ttm-library-search:focus { border-color:#8DB7D4; box-shadow:0 0 0 3px rgba(23,105,170,.10); }
.ttm-library-search-icon { position:absolute; left:15px; top:50%; transform:translateY(-50%); color:#73828E; font-size:21px; line-height:1; }
.ttm-tool-filter { margin-bottom:0; }
.ttm-calculator-card[hidden] { display:none; }
.ttm-card-meta { margin-top:10px; color:#7B8994; font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.ttm-card-kicker { margin:0 0 6px !important; color:var(--ttm-blue) !important; text-transform:uppercase; letter-spacing:.10em; font-weight:800; font-size:11px !important; }
.ttm-contact-form { margin-top:24px; padding:24px; background:#fff; border:1px solid var(--ttm-border); border-radius:16px; }
.ttm-contact-form textarea { width:100%; resize:vertical; min-height:170px; border:1px solid var(--ttm-border); border-radius:9px; padding:11px 12px; color:var(--ttm-text); }
.ttm-contact-form .ttm-btn { border:0; cursor:pointer; }
.ttm-honeypot { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ttm-form-success { background:#EEF8F2; border:1px solid #C8E6D2; color:#235C34; border-radius:10px; padding:13px 15px; margin-bottom:16px; }
.wp-block-post-template { margin:0; }
.wp-block-query-pagination { margin-top:26px; }
.wp-block-read-more { display:inline-flex; margin-top:14px; font-weight:800; }

@media (max-width:1020px) { .ttm-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ttm-final-cta { align-items:flex-start; flex-direction:column; } }
@media (max-width:720px) { .ttm-home-hero .ttm-container { padding-top:54px; padding-bottom:54px; } .ttm-panel-stats { grid-template-columns:1fr 1fr; } .ttm-feature-grid { grid-template-columns:1fr; } .ttm-final-cta { gap:18px; } }

.ttm-header-actions { margin:0; flex:0 0 auto; }
.ttm-header-actions .wp-block-button__link { background:var(--ttm-orange); color:#fff; padding:10px 14px; }
.ttm-header-actions .wp-block-button__link:hover { background:#E77D1D; text-decoration:none; }
.ttm-footer .wp-block-navigation { margin:0; }
.ttm-footer .wp-block-navigation__container { gap:0; align-items:flex-start; }
.ttm-footer .wp-block-navigation-item__content { color:#B9C5CD; font-size:14px; padding:0; margin:5px 0; }
.ttm-footer .wp-block-navigation-item__content:hover { color:#fff; text-decoration:none; }
@media (max-width:1100px) { .ttm-header-actions { display:none; } }


/* ==========================================================
 * v3 interface refinements
 * ========================================================== */
.ttm-site-header{background:#0B1116;box-shadow:0 1px 0 rgba(255,255,255,.06);color:#fff}.ttm-site-header a{color:#fff}.ttm-site-header a:hover{color:#F28C28}
.ttm-brand-logo{margin:0!important;flex:0 0 auto}.ttm-brand-logo img{display:block;height:auto}.ttm-header-shell{min-height:80px}.ttm-header-actions{gap:18px;flex:1 1 auto}.ttm-main-nav{flex:1 1 auto}.ttm-main-nav .wp-block-navigation__container{gap:4px}.ttm-main-nav .wp-block-navigation-item__content{padding:9px 8px;color:#F3F6F8;font-size:13px;font-weight:750}.ttm-main-nav .wp-block-navigation-item__content:hover{color:var(--ttm-orange);text-decoration:none}.ttm-main-nav .wp-block-navigation__submenu-container{min-width:250px;padding:9px;background:#101820;border:1px solid var(--ttm-border);border-radius:11px;box-shadow:0 12px 28px rgba(16,24,32,.09)}.ttm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:8px 10px;border-radius:7px}.ttm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:#16232C;color:#F28C28}
.ttm-header-search .wp-block-search__inside-wrapper{background:#F7FAFC;border-color:#D5DFE5}.ttm-header-cta{margin:0}.ttm-header-cta .wp-block-button__link{padding:11px 16px}
.ttm-home-hero{background:#101820;color:#fff;position:relative;overflow:hidden}.ttm-home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,24,32,.98) 0%,rgba(16,24,32,.94) 44%,rgba(16,24,32,.78) 100%);pointer-events:none}.ttm-home-hero:before{content:"";position:absolute;width:520px;height:520px;right:-160px;top:-170px;border:1px solid rgba(144,189,216,.16);border-radius:50%;box-shadow:0 0 0 45px rgba(144,189,216,.03),0 0 0 90px rgba(144,189,216,.025)}.ttm-home-hero .ttm-container{position:relative;z-index:1;padding-top:82px;padding-bottom:76px}.ttm-home-hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:72px;align-items:center}.ttm-eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:850;color:#A9BAC5;margin:0 0 14px}.ttm-home-copy h1{font-size:clamp(44px,5.6vw,72px);max-width:900px;letter-spacing:-.045em;margin:0;color:#fff}.ttm-hero-lead{max-width:770px!important;margin:18px 0 26px!important;color:#CDD8DE!important;font-size:18px!important;line-height:1.65!important}.ttm-hero-search .wp-block-search__inside-wrapper{max-width:760px;background:#fff;border:0;padding:5px;border-radius:11px}.ttm-hero-search .wp-block-search__input{height:48px;border:0;padding:0 14px;font-size:15px}.ttm-hero-search .wp-block-search__button{min-width:112px;height:48px;margin:0;border-radius:8px;background:var(--ttm-orange);color:#fff;font-weight:850}.ttm-popular-label{margin:18px 0 9px;color:#9FB1BC;font-size:12px;font-weight:800}.ttm-inline-links{display:flex;flex-wrap:wrap;gap:8px}.ttm-inline-links a{display:inline-flex;padding:8px 11px;border:1px solid rgba(153,188,208,.22);border-radius:8px;color:#D7E1E6;font-size:12px;font-weight:750;background:rgba(255,255,255,.035)}.ttm-inline-links a:hover{border-color:rgba(242,140,40,.6);color:#fff;text-decoration:none;background:rgba(242,140,40,.08)}
.ttm-hero-panel{padding:26px;border:1px solid rgba(154,190,210,.18);background:rgba(255,255,255,.035);border-radius:14px}.ttm-hero-panel h2{margin:4px 0 12px!important;color:#fff;font:850 23px/1.2 Manrope,Inter,sans-serif}.ttm-hero-panel a{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid rgba(154,190,210,.13);color:#E1E8EC;font-size:14px;font-weight:750}.ttm-hero-panel a:last-child{border-bottom:1px solid rgba(154,190,210,.13)}.ttm-hero-panel a:hover{color:#fff;text-decoration:none}.ttm-hero-panel a span{color:var(--ttm-orange)}
.ttm-section{padding:82px 0}.ttm-section-muted{background:#EEF3F6}.ttm-section-white{background:#fff}.ttm-section-head{margin-bottom:34px}.ttm-section-head h2{margin:2px 0 8px!important;font-size:clamp(27px,3vw,38px);letter-spacing:-.035em}.ttm-section-head p{max-width:690px;margin:0;color:var(--ttm-muted)}.ttm-section-kicker,.ttm-card-kicker{margin:0 0 7px!important;color:var(--ttm-blue);font-size:10px!important;font-weight:900;text-transform:uppercase;letter-spacing:.16em}.ttm-card-kicker{font-size:9px!important;color:#72828D}.ttm-section-head .ttm-btn{align-self:flex-start}
.ttm-category-card{min-height:210px;background:#F7FAFC}.ttm-category-card:hover{background:#F1F6F9}.ttm-category-card .ttm-icon{background:#EAF2F7}.ttm-tool-card{min-height:154px;background:#F4F8FA}.ttm-tool-card:hover{background:#F0F5F8}.ttm-tool-card .ttm-icon{background:#EAF2F7}.ttm-calculator-card{background:#F4F8FA}.ttm-calculator-card:hover{background:#F0F5F8}.ttm-grid-4 .ttm-card{padding:20px}.ttm-card{box-shadow:none}.ttm-card:hover{box-shadow:0 10px 24px rgba(16,24,32,.07)}
.ttm-feature-split{display:grid;grid-template-columns:1.35fr .65fr;gap:44px;align-items:start}.ttm-feature-split h2{margin:2px 0 10px!important;font-size:38px;letter-spacing:-.035em}.ttm-feature-split>div:first-child>p:not(.ttm-section-kicker){max-width:720px;color:#52616B}.ttm-feature-note{padding:24px;background:#F3F7FA;border:1px solid #D8E2E8;border-radius:12px}.ttm-feature-note strong{font:800 17px/1.2 Manrope,Inter,sans-serif;color:var(--ttm-navy)}.ttm-feature-note p{margin:9px 0 16px;color:#5D6B75;font-size:14px}.ttm-feature-note .ttm-btn{font-size:12px}.ttm-tool-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:20px}.ttm-tool-list a{padding:12px 0;border-bottom:1px solid #E2E8EC;font-size:13px;font-weight:750;color:#24313B}.ttm-tool-list a:hover{text-decoration:none;color:var(--ttm-blue)}
.ttm-reference-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 16px!important}.ttm-reference-card{background:#F7FAFC;border-color:#DCE5EA;padding:24px}.ttm-reference-card:hover{background:#F2F7FA}.ttm-reference-card h3{font-size:19px}.ttm-reference-card p{font-size:14px}.ttm-reference-card a{font-weight:800}.ttm-resource-card{min-height:205px}
.ttm-home-cta{background:#101820}.ttm-cta-panel{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:34px 36px;background:#16232C;border:1px solid rgba(164,192,208,.14);border-radius:14px}.ttm-home-cta h2{margin:2px 0 10px!important;max-width:760px;color:#fff;font-size:34px;letter-spacing:-.03em}.ttm-home-cta p:not(.ttm-section-kicker){max-width:700px;color:#AFC0C9}.ttm-home-cta .ttm-section-kicker{color:#90BDD8}.ttm-search-card{padding:22px 0;border-bottom:1px solid var(--ttm-border)}.ttm-search-card h2{margin:0 0 5px!important}.ttm-search-card p{margin:0;color:var(--ttm-muted)}
.ttm-calculator-hero{background:#fff;border-bottom:1px solid var(--ttm-border)}.ttm-calculator-hero .ttm-container{padding:46px 0 42px}.ttm-calculator-hero h1{margin:4px 0 9px!important;max-width:880px;font-size:clamp(36px,4.7vw,56px);letter-spacing:-.04em}.ttm-calculator-hero .wp-block-post-excerpt{margin:0;max-width:800px;color:#62717B;font-size:16px}.ttm-calculator-page{padding-top:48px}.ttm-page-lead{max-width:800px;color:#52616B;font-size:17px;line-height:1.7}.ttm-back-link{margin-top:34px;font-size:13px}.ttm-back-link a{font-weight:800}
.ttm-calculator-box{background:#fff;box-shadow:0 8px 24px rgba(16,24,32,.05)}.ttm-result{background:#F1F6F9;border-color:#D9E4E9}.ttm-result-value{font-size:28px}.ttm-field input{background:#FBFCFD}.ttm-field input:hover{border-color:#C7D4DC}.ttm-calc-results{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-calc-actions .ttm-btn{min-width:106px}
.ttm-content-inner{max-width:900px}.ttm-content-inner h2{font-size:30px;letter-spacing:-.025em}.ttm-content-inner h3{font-size:21px}.ttm-content-inner p,.ttm-content-inner li{font-size:15px}.ttm-table{background:#fff}.ttm-table th{background:#EEF3F6}
.ttm-site-footer{background:#0B1116}.ttm-footer-main{padding:62px 0 38px}.ttm-footer-brand-col .wp-block-image{margin:0}.ttm-footer-brand-col img{display:block}.ttm-footer-description{max-width:390px!important}.ttm-footer-links a{margin:8px 0}.ttm-footer-title{font-size:11px!important;letter-spacing:.12em}.ttm-footer-bottom{background:#080D11}.ttm-footer-bottom-inner{padding:16px 0}
@media(max-width:1000px){.ttm-header-actions{gap:10px}.ttm-main-nav .wp-block-navigation-item__content{padding-left:6px;padding-right:6px}.ttm-header-cta{display:none!important}.ttm-home-hero-grid{grid-template-columns:1fr}.ttm-hero-panel{max-width:720px}.ttm-feature-split{grid-template-columns:1fr}.ttm-reference-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:780px){.ttm-brand-logo{width:225px!important}.ttm-home-hero .ttm-container{padding-top:62px;padding-bottom:58px}.ttm-home-copy h1{font-size:42px}.ttm-hero-lead{font-size:16px!important}.ttm-section{padding:58px 0}.ttm-grid-4,.ttm-grid-3,.ttm-grid-2,.ttm-reference-grid,.ttm-tool-list{grid-template-columns:1fr!important}.ttm-library-toolbar{grid-template-columns:1fr}.ttm-footer-grid{grid-template-columns:1fr 1fr}.ttm-footer-brand-col{grid-column:1/-1}.ttm-cta-panel{display:block;padding:28px}.ttm-cta-panel .ttm-btn{margin-top:12px}.ttm-header-shell{min-height:72px}.ttm-header-actions{gap:4px}.ttm-page-intro .ttm-container,.ttm-calculator-hero .ttm-container{padding-top:40px;padding-bottom:36px}}
@media(max-width:560px){.ttm-brand-logo{width:205px!important}.ttm-main-nav .wp-block-navigation__responsive-container-open{padding:7px 9px;background:#F3F6F8;border-radius:8px}.ttm-hero-search .wp-block-search__inside-wrapper{display:flex}.ttm-hero-search .wp-block-search__input{min-width:0}.ttm-hero-search .wp-block-search__button{min-width:86px}.ttm-calc-results{grid-template-columns:1fr}.ttm-footer-grid{grid-template-columns:1fr}.ttm-footer-brand-col{grid-column:auto}.ttm-footer-bottom-inner{display:block}.ttm-footer-bottom-inner>*+*{margin-top:5px}}

.ttm-search-form{display:flex;gap:5px;max-width:760px;background:#fff;padding:5px;border-radius:11px}.ttm-search-form input{flex:1;min-width:0;height:48px;border:0;outline:0;padding:0 14px;font-size:15px}.ttm-search-form button{height:48px;border:0;border-radius:8px;background:var(--ttm-orange);color:#fff;padding:0 20px;font-weight:850;cursor:pointer}.ttm-search-form button:hover{background:#E27A18}
@media(max-width:560px){.ttm-search-form button{padding:0 15px}}

/* v4 landing page and calculator UI */
.ttm-page-intro{background:#EAF0F4;border-bottom:1px solid var(--ttm-border)}
.ttm-page-intro .ttm-container{padding:50px 0 44px}
.ttm-page-intro h1{margin:3px 0 9px!important;color:var(--ttm-navy);font-family:Manrope,Inter,sans-serif;font-size:clamp(36px,4.7vw,56px);line-height:1.05;letter-spacing:-.035em}
.ttm-page-intro .wp-block-post-excerpt{margin:0;max-width:820px;color:#62717B;font-size:17px;line-height:1.65}
.ttm-page-intro .wp-block-post-date{margin:10px 0 0;color:#788792;font-size:12px}
.ttm-breadcrumb-current{display:inline!important;font-size:12px!important;font-weight:600!important;color:#6C7A84!important;margin:0!important}
.ttm-calculator-overview{display:grid;grid-template-columns:minmax(0,1.7fr) 100px 100px minmax(180px,.75fr);gap:0;border:1px solid #D8E2E8;background:#F4F8FA;border-radius:14px;margin:0 0 20px;padding:0;overflow:hidden}
.ttm-calculator-overview>div{padding:18px 20px;border-right:1px solid #DCE5EA}
.ttm-calculator-overview>div:last-child{border-right:0}
.ttm-calculator-overview-label{display:block;margin:0 0 4px;color:#71818C;font-size:9px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.ttm-calculator-overview strong{display:block;color:var(--ttm-navy);font:800 16px/1.25 Manrope,Inter,sans-serif}
.ttm-calculator-overview p{margin:5px 0 0!important;color:#5E6C76!important;font-size:13px!important;line-height:1.5!important}
.ttm-overview-stat span,.ttm-overview-results>span{display:block;color:#7A8993;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.ttm-overview-stat strong{margin-top:4px;font-size:24px}
.ttm-overview-results>div{margin-top:5px;color:#3E4D58;font-size:12px;line-height:1.6}
.ttm-content-inner a{font-weight:650}
.ttm-content-inner>h2:first-child{margin-top:8px}
.ttm-content-inner .wp-block-list{padding-left:22px}
.ttm-calculator-card .ttm-icon,.ttm-tool-card .ttm-icon{border:1px solid #D6E4EC}
@media(max-width:850px){.ttm-calculator-overview{grid-template-columns:1fr 1fr}.ttm-calculator-overview>div:nth-child(2){border-bottom:1px solid #DCE5EA}.ttm-calculator-overview>div:nth-child(3){border-right:0;border-bottom:1px solid #DCE5EA}.ttm-calculator-overview>div:first-child,.ttm-calculator-overview>div:last-child{grid-column:1/-1;border-right:0}.ttm-calculator-overview>div:first-child{border-bottom:1px solid #DCE5EA}}

.ttm-footer-detail{display:block;margin-top:9px;color:#8FA0AB;font-size:12px}

/* v4.3 dark global chrome and content polish */
.ttm-site-header .wp-block-search__input{background:#fff;color:#18242C;border:0}.ttm-site-header .wp-block-search__button{background:#F28C28;color:#fff;border:0}.ttm-site-header .wp-block-navigation__responsive-container-open{color:#fff;background:#16232C}.ttm-site-header .wp-block-navigation__responsive-container.is-menu-open{background:#0B1116;color:#fff}.ttm-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#fff}.ttm-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover{color:#F28C28}.ttm-category-keywords{max-width:900px;margin:24px 0 0;color:#5C6B75;font-size:14px;line-height:1.7}.ttm-site-footer a{color:#C5D0D7}.ttm-site-footer a:hover{color:#F28C28}.ttm-resource-card{background:#F4F8FA;border-color:#D9E4E9}.ttm-resource-card:hover{background:#EFF5F8}
