/*
Theme Name: The Frame Mechanic
Theme URI: https://theframemechanic.com/
Author: The Frame Mechanic
Description: A lightweight editorial and professional WordPress theme for The Frame Mechanic.
Version: 2.1.0
License: GPL-2.0-or-later
Text Domain: the-frame-mechanic
*/
:root{--tfm-ink:#11161a;--tfm-cream:#f6f2e9;--tfm-paper:#fbf9f3;--tfm-gold:#b4873c;--tfm-line:#d9d2c5;--tfm-muted:#5f625f;--tfm-dark:#081116;--tfm-white:#fff;--tfm-max:1240px;--tfm-serif:Georgia,"Times New Roman",serif;--tfm-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tfm-paper);color:var(--tfm-ink);font-family:var(--tfm-sans);line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{color:#6f5425}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.container{width:min(var(--tfm-max),calc(100% - 48px));margin:0 auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(246,242,233,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--tfm-line)}.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:14px;min-width:240px}.brand img{width:48px;height:48px;object-fit:contain}.brand-name{font-size:14px;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap}.main-nav ul{display:flex;gap:26px;align-items:center;list-style:none;margin:0;padding:0}.main-nav a{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.menu-toggle{display:none;background:none;border:1px solid var(--tfm-line);padding:8px 10px}
.hero{display:grid;grid-template-columns:1.18fr .82fr;min-height:620px}.hero-copy{padding:88px 56px 72px 0;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--tfm-gold);margin-bottom:16px;font-weight:700}.hero h1{font-family:var(--tfm-serif);font-size:clamp(40px,5vw,72px);line-height:1.05;font-weight:400;letter-spacing:-.025em;margin:0 0 30px}.hero-split{display:grid;grid-template-columns:1fr 1fr;gap:32px}.hero-split p{margin:0 0 12px;font-size:15px}.hero-visual{min-height:620px;background-size:cover;background-position:center}
.callout{margin-top:34px;border:1px solid var(--tfm-line);background:#f1ece2;display:grid;grid-template-columns:1fr 1fr 1fr;gap:0}.callout>div{padding:20px 22px;border-right:1px solid var(--tfm-line)}.callout>div:last-child{border-right:0}.callout strong{font-family:var(--tfm-serif);font-size:17px;font-weight:400}.callout .accent{color:#9a6f2d;font-family:var(--tfm-serif);font-size:20px}
.four-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--tfm-line);border-bottom:1px solid var(--tfm-line)}.feature{padding:42px 28px;border-right:1px solid var(--tfm-line)}.feature:last-child{border-right:0}.feature h2{font-family:var(--tfm-serif);font-size:20px;line-height:1.15;font-weight:400;margin:0 0 18px;text-transform:uppercase}.feature p{font-size:14px;color:#333;margin:0 0 14px}.feature ul{margin:14px 0 0;padding-left:18px}.feature li{font-size:13px;margin:8px 0}.feature .feature-label{color:var(--tfm-gold);font-weight:700;letter-spacing:.07em;font-size:11px;text-transform:uppercase;margin-bottom:10px}
.dark-section{background:var(--tfm-dark);color:var(--tfm-white);padding:52px 0}.dark-inner{display:grid;grid-template-columns:1fr 1.5fr;gap:40px;align-items:center}.dark-image{min-height:220px;background-size:cover;background-position:center;filter:grayscale(.2) brightness(.75)}.dark-copy h2{font-family:var(--tfm-serif);font-weight:400;font-size:36px;margin:0 0 10px}.dark-copy p{color:#d7d7d7}.method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px}.method h3{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#d1a65c}.method p{font-size:13px;margin:0;color:#e2e2e2}
.content-band{padding:42px 0}.section-title{font-family:var(--tfm-serif);font-size:28px;font-weight:400;margin:0 0 22px}.thinking-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px}.list-card{border-top:1px solid var(--tfm-line);padding:20px 0;display:grid;grid-template-columns:160px 1fr auto;gap:20px;align-items:center}.list-card img{width:160px;height:90px;object-fit:cover}.list-card h3{font-size:16px;margin:0 0 6px}.list-card p{margin:0;color:#565656;font-size:14px}.btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--tfm-ink);padding:11px 14px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:transparent}.btn:hover{background:var(--tfm-ink);color:var(--tfm-white)}.publication-card{border:1px solid var(--tfm-line);padding:20px;background:#f3efe7}.publication-cover{width:100%;max-width:190px;margin-bottom:18px;border:1px solid #ddd5c9}.pub-title{font-family:var(--tfm-serif);font-size:24px;margin:0 0 8px}.pub-copy{font-size:14px;color:#444}
.advisory{border:1px solid var(--tfm-line);padding:28px;background:#fbf9f3}.flow{margin:22px 0}.flow-item{background:#eee7dc;border-bottom:1px solid #d8cfc2;padding:10px;text-align:center;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:700}.flow-arrow{text-align:center;color:var(--tfm-gold);font-size:18px;line-height:1}.cta{background:#101519;color:#fff;border:0}.closing{padding:54px 0;border-top:1px solid var(--tfm-line)}.closing h2{font-family:var(--tfm-serif);font-size:34px;font-weight:400;margin:0 0 14px}.closing p{max-width:700px;font-size:16px}.site-footer{background:var(--tfm-dark);color:#fff;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1.2fr 2fr 1fr;gap:28px;align-items:start}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:44px}.footer-name{font-size:13px;letter-spacing:.14em;text-transform:uppercase}.footer-menu{display:flex;flex-wrap:wrap;gap:8px 18px}.footer-menu a{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#ddd}.footer-social{display:flex;justify-content:flex-end;gap:10px}.social-link{width:36px;height:36px;border:1px solid #777;display:grid;place-items:center;border-radius:50%;font-size:12px}.copyright{margin-top:20px;color:#aaa;font-size:11px}
.editorial-archive{padding:56px 0}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.archive-card{border:1px solid var(--tfm-line);background:#fff}.archive-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.archive-card .card-body{padding:18px}.archive-card h2{font-family:var(--tfm-serif);font-size:23px;line-height:1.15;margin:0 0 10px}.meta{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#8a6c35;margin-bottom:10px}.single-wrap{padding:60px 0}.single-wrap article{max-width:860px;margin:0 auto}.single-wrap h1{font-family:var(--tfm-serif);font-size:clamp(40px,5vw,68px);line-height:1.08;font-weight:400}.single-wrap .lead{font-size:20px;color:#444}.entry-content{font-size:17px}.entry-content h2,.entry-content h3{font-family:var(--tfm-serif);font-weight:400}.entry-content img{margin:28px auto}.wp-block-image img{width:auto}
.not-found{padding:120px 0;text-align:center}.not-found h1{font-family:var(--tfm-serif);font-size:56px;font-weight:400}
@media(max-width:1100px){.main-nav ul{gap:15px}.hero-copy{padding-right:36px}.feature{padding:34px 22px}.list-card{grid-template-columns:120px 1fr}.list-card .btn{grid-column:2;justify-self:start}.footer-grid{grid-template-columns:1fr 2fr}.footer-social{justify-content:flex-start;grid-column:1/-1}}
@media(max-width:820px){.container{width:min(var(--tfm-max),calc(100% - 32px))}.menu-toggle{display:block}.main-nav{position:absolute;left:0;right:0;top:72px;background:var(--tfm-paper);border-bottom:1px solid var(--tfm-line);display:none}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;align-items:flex-start;padding:18px 20px;gap:16px}.hero{grid-template-columns:1fr}.hero-visual{min-height:340px;order:-1}.hero-copy{padding:54px 0}.hero-split{grid-template-columns:1fr}.callout{grid-template-columns:1fr}.callout>div{border-right:0;border-bottom:1px solid var(--tfm-line)}.callout>div:last-child{border-bottom:0}.four-grid{grid-template-columns:1fr 1fr}.feature:nth-child(2n){border-right:0}.feature:nth-child(n+3){border-top:1px solid var(--tfm-line)}.dark-inner{grid-template-columns:1fr}.method-grid{grid-template-columns:1fr}.thinking-grid{grid-template-columns:1fr}.archive-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.footer-social{grid-column:auto}}
@media(max-width:560px){.brand-name{font-size:11px;letter-spacing:.1em}.hero h1{font-size:38px}.four-grid{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid var(--tfm-line)}.feature:last-child{border-bottom:0}.archive-grid{grid-template-columns:1fr}.list-card{grid-template-columns:1fr}.list-card img{width:100%;height:auto;aspect-ratio:16/9}.list-card .btn{grid-column:auto}.closing h2{font-size:30px}}
.tfm-form{margin-top:24px}.tfm-form p{margin:0 0 16px}.tfm-form label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-bottom:6px}.tfm-form input,.tfm-form textarea{width:100%;padding:12px 14px;border:1px solid var(--tfm-line);background:#fff;font:inherit;color:var(--tfm-ink)}.tfm-form input:focus,.tfm-form textarea:focus{outline:2px solid rgba(180,135,60,.25);border-color:var(--tfm-gold)}.tfm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-note{font-size:13px;color:var(--tfm-muted)}.publication-grid{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:56px;align-items:start}.publication-hero-cover{width:100%;max-width:480px;margin:0 auto}.publication-grid h1{font-family:var(--tfm-serif);font-size:clamp(44px,6vw,76px);line-height:1.04;font-weight:400;margin:0 0 12px}.pub-subtitle{font-family:var(--tfm-serif);font-size:24px;color:#6f668f}.publication-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.source-note{border-top:1px solid var(--tfm-line);padding-top:16px;font-size:13px;color:var(--tfm-muted)}.insum-layout{display:grid;grid-template-columns:320px 1fr;gap:48px;align-items:start;margin-top:32px}.insum-layout img{width:100%;max-width:320px}.insum-layout h2{font-family:var(--tfm-serif);font-weight:400;font-size:36px}.single-publication{padding:70px 0}.tfm-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tfm-admin-grid p{margin:0 0 10px}.tfm-admin-grid label{display:block;margin-bottom:4px}@media(max-width:820px){.tfm-form-grid,.publication-grid,.insum-layout{grid-template-columns:1fr}.publication-grid{gap:28px}.insum-layout{gap:28px}}
.brand img{width:54px;height:54px;object-fit:contain}.brand-name{display:none}.footer-brand img{width:210px;height:auto;max-height:54px;object-fit:contain}
@media(max-width:560px){.brand img{width:48px}.footer-brand img{width:180px}}

.footer-abbrev{font-size:9px;letter-spacing:.08em;color:#999;margin-left:4px}.footer-brand{flex-direction:column;align-items:flex-start;gap:6px}.footer-brand img{width:58px;height:auto}.footer-name{display:block}.insum-strip{margin:28px 0 36px;padding:24px;border:1px solid var(--tfm-line);background:#f3efe7;display:grid;grid-template-columns:180px 1fr;gap:30px;align-items:center}.insum-strip-cover img{width:180px;max-width:100%;height:auto;display:block}.insum-strip h2{font-family:var(--tfm-serif);font-weight:400;margin:0 0 8px}.single-insum{margin-top:44px}.form-success{padding:14px 16px;background:#edf4ea;border-left:3px solid #668a5b}.form-error{padding:14px 16px;background:#f7ecea;border-left:3px solid #9a4f45}.tfm-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.publication-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:820px){.insum-strip{grid-template-columns:1fr}.footer-brand{flex-direction:row;align-items:center}}


/* Final responsive/header/content corrections */
.brand{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:190px;padding:6px 0}.brand-monogram{width:56px;height:auto;max-height:58px;object-fit:contain;display:block}.brand-name{display:block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;line-height:1.1;white-space:nowrap}.site-header{min-height:92px}.header-inner{min-height:92px}.hero h1{text-transform:none}.dark-section{overflow:visible}.dark-inner{min-height:0}.dark-copy{min-width:0}.method-grid{align-items:start}.advisory{text-align:center;max-width:820px;margin:0 auto}.advisory .flow{max-width:560px;margin:24px auto}.advisory .cta{margin-top:10px}.closing{text-align:center}.closing .container{display:flex;flex-direction:column;align-items:center}.closing p{margin-left:auto;margin-right:auto}.footer-brand{align-items:center;text-align:center}.footer-name{display:block}.footer-brand .copyright{text-align:center}.footer-abbrev{display:none}.advisory-page{text-align:center}.advisory-page .tfm-form,.advisory-page .tfm-form-grid,.advisory-page .publication-actions{max-width:780px;margin-left:auto;margin-right:auto}.advisory-page .tfm-form{text-align:left}.advisory-page h1,.advisory-page .meta,.advisory-page>p{text-align:center}
@media(max-width:820px){.site-header,.header-inner{min-height:88px}.brand{min-width:160px}.brand-monogram{width:48px;max-height:50px}.brand-name{font-size:10px;letter-spacing:.12em}.main-nav{top:88px}.hero h1{font-size:clamp(34px,8vw,54px)}.dark-copy{padding-bottom:12px}.method-grid{gap:20px}.advisory{padding:28px 22px}.closing{padding:48px 0}}
.identity-structural-brief .tfm-property-mark{background:#081116}
.identity-structural-brief .tfm-property-logo{width:100%;max-width:294px;height:auto;display:block;object-fit:contain}
.identity-structural-brief .tfm-property-mark:before{display:none}
@media(max-width:560px){.brand-monogram{width:44px}.brand-name{font-size:9px}.hero h1{font-size:34px;line-height:1.08}.feature h2{font-size:19px}.dark-copy h2{font-size:31px}}

/* Current content corrections */
.archive-intro{max-width:820px;font-size:17px;color:#4b4d4b;margin:0 0 28px}
.hero h1{font-size:clamp(38px,4.5vw,64px)}
.hero-visual{min-height:570px}
@media(max-width:820px){.hero-visual{min-height:310px}.hero h1{font-size:clamp(32px,7.5vw,50px)}}
.tfm-challenge-form select{width:100%;padding:12px 14px;border:1px solid var(--tfm-line);background:#fff;font:inherit;color:var(--tfm-ink)}

.internal-link-strip{display:flex;flex-wrap:wrap;gap:10px;margin:42px 0 8px;padding-top:24px;border-top:1px solid var(--tfm-line)}
.internal-link-strip a{display:inline-block;padding:9px 13px;border:1px solid var(--tfm-line);text-decoration:none;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.internal-link-strip a:hover{border-color:currentColor}

.tfm-property-identity{margin:0 0 34px;border:1px solid var(--tfm-line);display:grid;grid-template-columns:220px 1fr;min-height:220px;background:#fff;overflow:hidden}
.tfm-property-mark{display:flex;align-items:center;justify-content:center;padding:18px}
.tfm-property-mark svg{width:100%;height:auto;max-height:190px;display:block}
.tfm-property-copy{display:flex;flex-direction:column;justify-content:center;padding:30px 34px;border-left:1px solid var(--tfm-line)}
.tfm-property-name{font-family:var(--tfm-serif);font-size:clamp(28px,4vw,48px);line-height:1.02;font-weight:400;margin-bottom:14px}
.tfm-property-tagline{font-size:11px;letter-spacing:.13em;line-height:1.6;text-transform:uppercase;color:var(--tfm-gold);font-weight:700;max-width:620px}
.tfm-property-note{margin-top:16px;font-family:var(--tfm-serif);font-size:16px;color:#4a4a46;max-width:650px}
.identity-pop .tfm-property-mark{background:#f8f3ea;color:#111116}
.identity-pop .tfm-property-mark rect{fill:#8b78a8}
.identity-pop .tfm-property-name{letter-spacing:.02em}
.identity-structural-brief{background:#081116;color:#f4f1e8;border-color:#253039}
.identity-structural-brief .tfm-property-copy{border-left-color:#253039}
.identity-structural-brief .tfm-property-name{color:#f4f1e8}
.identity-structural-brief .tfm-property-tagline{color:#c5963e}
.identity-structural-brief .tfm-property-mark{background:#081116}
.identity-frame-room{background:#081116;color:#f4f1e8;border-color:#253039}
.identity-frame-room .tfm-property-copy{border-left-color:#253039}
.identity-frame-room .tfm-property-name{color:#f4f1e8}
.identity-frame-room .tfm-property-tagline{color:#c99a3d}
.identity-frame-room .tfm-property-mark{background:#081116}
.archive-instruction{font-size:13px;color:var(--tfm-muted);margin:0 0 22px}
.card-link{display:inline-block;margin-top:10px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a6c35}
.tfm-consent{font-size:13px!important;color:#3f413f}
.tfm-consent label{display:flex!important;gap:10px;align-items:flex-start;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;line-height:1.5}
.tfm-consent input[type="checkbox"]{width:auto!important;margin-top:4px}
@media(max-width:820px){.tfm-property-identity{grid-template-columns:1fr}.tfm-property-mark{min-height:190px}.tfm-property-copy{border-left:0;border-top:1px solid var(--tfm-line);padding:24px}.identity-structural-brief .tfm-property-copy,.identity-frame-room .tfm-property-copy{border-top-color:#253039}}

