.footer-social{display:flex;flex-wrap:wrap;gap:14px}.footer-social-link,.footer-meta a{color:inherit;font:10px var(--mono);letter-spacing:.08em;text-transform:uppercase;text-decoration:none}.footer-social-link:hover,.footer-meta a:hover{text-decoration:underline;text-underline-offset:4px}.footer-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px 18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.25)}.package-number{font:10px var(--mono)!important;letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px!important}.packages .package-price{align-self:start;justify-self:end;font:clamp(22px,2.5vw,38px)/1 var(--serif);letter-spacing:-.04em;white-space:nowrap}.packages .package-note{margin-top:17px;font:10px var(--mono);letter-spacing:.06em;text-transform:uppercase}.pricing-terms{display:grid;grid-template-columns:1fr 1fr;gap:8vw;padding-top:0;padding-bottom:150px}.pricing-terms ul{margin:25px 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}.pricing-terms li{display:flex;justify-content:space-between;gap:24px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45}.pricing-terms b{font:10px var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;font-weight:500}.pricing-disclaimer{margin:25px 0 0;font-size:12px;line-height:1.55;max-width:330px}.legal-page{padding-top:70px}.legal-content{max-width:880px;padding-top:115px;padding-bottom:120px}.legal-content .eyebrow{margin-bottom:32px}.legal-content h1{font:clamp(54px,7vw,100px)/.88 var(--serif);letter-spacing:-.065em;margin:0 0 55px}.legal-content h2{font:clamp(28px,3.2vw,43px)/1 var(--serif);letter-spacing:-.045em;margin:65px 0 20px}.legal-content h3{font:17px/1.3 var(--sans);margin:36px 0 12px}.legal-content p{max-width:720px;font-size:15px;line-height:1.75;margin:0 0 18px}.legal-content .legal-intro{font:16px/1.7 var(--sans);max-width:550px;margin-bottom:38px}.legal-content address{font:15px/1.75 var(--sans);font-style:normal;margin:0 0 18px}.legal-content a{color:inherit;text-underline-offset:3px}@media(max-width:700px){.site-footer{grid-template-columns:1fr auto;align-items:center;gap:12px 16px;padding:16px 24px 14px}.site-footer .brand-mark{width:70px;height:auto}.site-footer .brand-mark img{transform:none}.site-footer span{font-size:9px}.footer-social{grid-column:auto;justify-self:end;gap:10px}.footer-social-link,.footer-tg,.footer-meta a{font-size:9px;letter-spacing:.065em}.footer-meta{grid-column:1/-1;gap:8px 13px;padding-top:11px}.packages .package-price{grid-column:2;justify-self:start;margin:2px 0 0}.pricing-terms{grid-template-columns:1fr;gap:55px;padding-bottom:80px}.pricing-terms li{display:block}.pricing-terms b{display:block;margin-top:6px}.legal-page{padding-top:58px}.legal-content{padding-top:80px;padding-bottom:80px}.legal-content h1{font-size:58px;margin-bottom:43px}.legal-content h2{font-size:32px;margin-top:50px}.legal-content p,.legal-content address{font-size:14px}}

/* Legal documents do not load menu.css, so size both logo images here. */
.site-header .brand-mark{display:flex;align-items:center;width:78px;height:46px;overflow:visible}
.site-header .brand-mark img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
.site-footer .brand-mark img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.site-footer .brand-mark{display:block;width:104px;height:auto;overflow:hidden}
.legal-page + .site-footer .brand-mark img{filter:invert(1)}
.legal-content{overflow-wrap:anywhere}
@media(max-width:700px){
  .site-header .brand-mark{width:70px;height:42px}
  .site-footer .brand-mark{width:58px;height:auto}
  .footer-meta a{font-size:10px}
}

/* Legal pages use the very same compact closing signature. */
body.legal-page .site-footer{min-height:136px;padding:17px clamp(24px,4vw,54px) 13px;grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"brand social year" "meta meta meta";gap:12px 26px;align-items:center}body.legal-page .site-footer .brand-mark{grid-area:brand;width:76px;height:52px;margin:0}body.legal-page .site-footer .brand-mark img{object-position:left center}body.legal-page .site-footer .footer-social{grid-area:social;gap:20px;margin:0;align-self:center}body.legal-page .site-footer>span{grid-area:year;justify-self:end;margin:0}body.legal-page .site-footer .footer-meta{grid-area:meta;grid-column:auto;flex-wrap:nowrap;justify-content:flex-start;gap:9px 15px;margin:0;padding-top:11px;white-space:nowrap}body.legal-page .site-footer .footer-social a,body.legal-page .site-footer>span,body.legal-page .site-footer .footer-meta a{font-size:10px}@media(max-width:700px){body.legal-page .site-footer{min-height:126px;padding:14px 20px 11px;grid-template-columns:60px minmax(0,1fr) auto;gap:10px 14px}body.legal-page .site-footer .brand-mark{width:60px;height:42px}body.legal-page .site-footer .footer-social{gap:10px}body.legal-page .site-footer .footer-meta{flex-wrap:nowrap;gap:7px;padding-top:9px;white-space:nowrap}body.legal-page .site-footer .footer-social a,body.legal-page .site-footer>span,body.legal-page .site-footer .footer-meta a{font-size:8px;letter-spacing:.035em}}
body.legal-page .site-footer .brand-mark img{filter:none!important}

/* Legal pages stay pure white while the fixed header is over the content. */
body{background:#fff}
body .grain{display:none}
.site-header{background:#fff!important;backdrop-filter:none!important}

/* Legal documents use the same compact project navigation as the portfolio. */
body.legal-page.story-page{min-height:100vh;background:#fff;color:var(--ink);display:flex;flex-direction:column}
body.legal-page .site-header .desktop-nav,
body.legal-page .site-header .tg-head{display:none!important}
body.legal-page .site-header .brand-mark img{filter:none!important}
body.legal-page.project-menu-open .site-header .brand-mark img{filter:invert(1)!important}
body.legal-page .legal-lang-switch{position:absolute;top:50%;right:70px;z-index:110;display:flex;align-items:center;gap:7px;transform:translateY(-50%);font:10px var(--mono);letter-spacing:.08em}
body.legal-page .legal-lang-switch a{padding:3px 0;color:inherit;text-decoration:none;border-bottom:1px solid transparent}
body.legal-page .legal-lang-switch a[aria-current="page"]{border-bottom-color:currentColor}
body.legal-page .legal-lang-switch span{opacity:.45}
body.legal-page > main.legal-page{flex:1 0 auto}
body.legal-page .site-footer{display:grid!important;flex:0 0 auto;width:100%;min-height:250px;padding:38px clamp(28px,6vw,72px) 30px;grid-template-columns:minmax(150px,1fr) auto auto;gap:28px 52px;align-items:start;background:#000!important;color:#f7f6f2}
body.legal-page .site-footer .brand-mark{display:block;width:142px;height:106px;overflow:visible}
body.legal-page .site-footer .brand-mark img{display:block;width:100%;height:100%;object-fit:contain;object-position:left top;filter:invert(1)}
body.legal-page .site-footer .footer-social{display:flex;gap:30px;align-self:center}
body.legal-page .site-footer .footer-social a,body.legal-page .site-footer>span,body.legal-page .site-footer .footer-meta a{color:inherit;font:500 15px/1.2 var(--mono);letter-spacing:.08em;text-decoration:none;text-transform:uppercase}
body.legal-page .site-footer>span{align-self:center;white-space:nowrap}
body.legal-page .site-footer .footer-meta{display:flex;grid-column:1/-1;gap:30px;width:100%;padding-top:28px;border-top:1px solid rgba(255,255,255,.35)}
body.legal-page .legal-page{padding-top:164px}
body.legal-page .legal-content{padding-top:44px}
@media(max-width:700px){
  body.legal-page .legal-lang-switch{right:62px;font-size:9px}
  body.legal-page .legal-page{padding-top:136px}
  body.legal-page .legal-content{padding-top:30px}
  body.legal-page .site-footer{min-height:210px;padding:20px 24px 18px;grid-template-columns:88px 1fr auto;gap:16px 18px}
  body.legal-page .site-footer .brand-mark{width:88px;height:66px}
  body.legal-page .site-footer .footer-social{gap:15px;align-self:center}
  body.legal-page .site-footer .footer-social a,body.legal-page .site-footer>span,body.legal-page .site-footer .footer-meta a{font-size:10px}
  body.legal-page .site-footer .footer-meta{flex-wrap:nowrap;gap:10px;padding-top:12px;white-space:nowrap}
}

/* Final mobile footer rule: legal pages use the exact same compact row as every project. */
@media(max-width:700px){body.legal-page .site-footer{min-height:126px!important;padding:14px 20px 11px!important;grid-template-columns:60px minmax(0,1fr) auto!important;grid-template-areas:"brand social year" "meta meta meta"!important;gap:10px 14px!important;align-items:center!important}body.legal-page .site-footer .brand-mark{grid-area:brand!important;width:60px!important;height:42px!important;margin:0!important}body.legal-page .site-footer .footer-social{grid-area:social!important;gap:10px!important;margin:0!important}body.legal-page .site-footer>span{grid-area:year!important;justify-self:end!important;margin:0!important}body.legal-page .site-footer .footer-meta{grid-area:meta!important;grid-column:auto!important;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:7px!important;margin:0!important;padding-top:9px!important;white-space:nowrap!important}body.legal-page .site-footer .footer-social a,body.legal-page .site-footer>span,body.legal-page .site-footer .footer-meta a{font-size:8px!important;letter-spacing:.035em!important}}
/* Keep the services page tight at the end on phones; the footer follows the
   disclaimer instead of leaving a large blank panel. */
@media (max-width: 700px) {
  .pricing-terms { padding-bottom: 24px; }
}
