/* One header and footer for every tadrik.com page (CEO card, 1 Dec 2026).
   The same masthead and footer as the v3 pages (assets/v3/site.css), scoped to
   .masthead and .footer so the older pages' own rules (site.css) stay untouched. */
@font-face{font-family:Archivo;src:url("/fonts/archivo-var.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:Plex;src:url("/fonts/plexmono-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url("/fonts/plexmono-500.woff2") format("woff2");font-weight:500;font-display:swap}
.masthead,.footer{--c-paper:#f8f5ef;--c-sheet:#fffdf9;--c-ink:#141a24;--c-body:#454c59;--c-mute:#6a707b;--c-rule:#d8d3c8;--c-rule-soft:#e7e2d8;--c-blue:#24489c;--c-blue-dark:#163683;--c-mono:Plex,ui-monospace,monospace;
  color-scheme:light;background:var(--c-paper);color:var(--c-ink);font:400 1rem/1.62 Archivo,sans-serif;font-variation-settings:"wdth" 100;font-stretch:100%;letter-spacing:normal}
.masthead *,.footer *{box-sizing:border-box}
.masthead .wrap,.footer .wrap{max-width:76rem;margin-inline:auto;padding-inline:clamp(1.15rem,4vw,3.25rem)}
.masthead a:focus-visible,.masthead summary:focus-visible,.footer a:focus-visible{outline:2px solid var(--c-blue);outline-offset:4px}

.masthead{border-bottom:1px solid var(--c-rule);position:relative;z-index:10}
.masthead .wrap{display:flex;align-items:center;gap:1.4rem;min-height:4.5rem}
.masthead .logo,.footer .logo{display:flex;align-items:center;gap:.45rem;font-size:1.36rem;font-weight:760;letter-spacing:-.06em;color:var(--c-ink);text-decoration:none}
.masthead .logo img,.footer .logo img{width:1.85rem;height:1.85rem;flex:none}
.masthead .nav{display:flex;gap:clamp(.9rem,1.9vw,1.55rem);margin-left:auto}
.masthead .nav a{color:var(--c-ink);font-weight:530;text-decoration:none;font-size:.95rem}
.masthead .nav a:hover,.masthead .nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.4em}
.masthead .btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;margin-left:.4rem;min-height:44px;padding:.42rem .8rem;border:1px solid var(--c-blue);border-radius:2px;background:var(--c-blue);color:#fffdf8;font:600 .86rem/1.2 Archivo,sans-serif;letter-spacing:normal;text-decoration:none}
.masthead .btn:hover{background:var(--c-blue-dark)}
.masthead .menu{display:none;position:relative}
.masthead .menu summary{list-style:none;cursor:pointer;font:500 .74rem/1 var(--c-mono);letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--c-rule);padding:.5rem .65rem;min-height:44px;display:flex;align-items:center;background:var(--c-sheet);color:var(--c-ink);margin:0}
.masthead .menu summary::-webkit-details-marker{display:none}
.masthead .menu[open] summary{background:var(--c-ink);color:var(--c-sheet);border-color:var(--c-ink)}
.masthead .menu nav{position:absolute;right:0;top:calc(100% + .4rem);background:var(--c-sheet);border:1px solid var(--c-ink);display:grid;min-width:13rem;z-index:30}
.masthead .menu nav a{padding:.8rem 1rem;color:var(--c-ink);text-decoration:none;border-bottom:1px solid var(--c-rule-soft);font-weight:560}
.masthead .menu nav a:last-child{border-bottom:0}

.footer{border-top:1px solid var(--c-rule);padding-block:clamp(2rem,4vw,3rem) 2rem;margin-top:0}
.footer .cols{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:1.6rem 1.5rem}
.footer h3{font:500 .72rem/1.4 var(--c-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--c-mute);margin:0 0 .7rem}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.42rem}
.footer li{margin:0}
.footer li a{color:var(--c-ink);text-decoration:none;font-size:.89rem}
.footer li a:hover{text-decoration:underline}
.footer p{margin:0;color:var(--c-body)}
.footer a{color:var(--c-blue)}
.footer .brandblock p{font-size:.86rem;max-width:26ch;margin-top:.7rem}
.footer .ft-line{font-weight:650;font-size:1.25rem;letter-spacing:-.03em;color:var(--c-ink);margin:.75rem 0 .25rem}
.footer .bottom{display:flex;gap:1rem 2rem;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--c-rule);margin-top:2rem;padding-top:1.1rem;font:.78rem/1.5 var(--c-mono);color:var(--c-mute)}

@media (max-width:1100px){.masthead .nav{gap:.9rem}.masthead .nav a{font-size:.9rem}}
@media (max-width:960px){
  .masthead .nav{display:none}
  .masthead .menu{display:block;margin-left:auto}
  .footer .cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer .brandblock{grid-column:1/-1}
}
@media (max-width:600px){.masthead .wrap{gap:.6rem}.masthead .btn{padding:.42rem .6rem}}
