/* Shared by every page on the site: fonts, palette, base type, the header and the footer.
   Page-specific styles stay inline in each page. */
/* The font files are cached for a year (vercel.json), so a changed font gets a new file name, never
   an edit in place. Each page's <head> preloads Archivo and Plex Mono 400 by name. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 700;font-display:swap;src:url("fe4a8d5d-0370-45cc-aa1e-bc58d16f4deb.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url("2ad2f578-8297-43fd-8c49-e39547635277.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url("1b60e943-3d90-40d3-9920-e3ac4144c71d.woff2") format('woff2')}

:root{
  --paper:#FBFAF7;
  --ink:#111110;
  --ink-2:rgba(17,17,16,.66);
  --ink-3:rgba(17,17,16,.5);
  --rule:rgba(17,17,16,.14);
  --accent:#CE3208;
  --pace:#2f95dc;
  --pace-wash:#e6f1fb;
  --bubble:#fff;
  --night:#111110;
  --night-ink:#F5F2EC;
  --night-ink-2:rgba(245,242,236,.62);
  --night-rule:rgba(245,242,236,.16);
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --gutter:clamp(16px,4.5vw,56px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Archivo','Helvetica Neue',system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,figure,blockquote{margin:0}
ul{margin:0;padding:0;list-style:none}
a{color:inherit}
::selection{background:var(--accent);color:var(--paper)}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}

.wrap{max-width:1120px;margin:0 auto;padding:0 var(--gutter)}
.eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3)}

/* Header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(251,250,247,.86);backdrop-filter:saturate(150%) blur(12px);-webkit-backdrop-filter:saturate(150%) blur(12px);border-bottom:1px solid var(--rule)}
.site-header .wrap{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:16px;letter-spacing:-.01em;text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;background:var(--ink);color:var(--paper);font:inherit;font-size:15px;font-weight:500;padding:13px 22px;cursor:pointer;text-decoration:none;transition:background .2s ease,transform .2s ease;white-space:nowrap}
.btn:hover{background:#2a2a28}
.btn:active{transform:translateY(1px)}
.btn-sm{padding:9px 16px;font-size:14px}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule)}
.btn-ghost:hover{background:rgba(17,17,16,.05)}
.site-header .actions{display:flex;align-items:center;gap:8px}
/* Phone width: the wordmark gives way so both header buttons fit; screen readers still get the name. */
@media (max-width:440px){.brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* Footer */
.foot{background:var(--night);color:var(--night-ink)}
.offices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border-top:1px solid var(--night-rule);padding:28px 0}
.offices .eyebrow{color:var(--night-ink-2)}
.offices p{margin-top:8px;font-size:18px;letter-spacing:-.01em}
.legal{border-top:1px solid var(--night-rule);padding:24px 0 34px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 28px;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--night-ink-2)}
.legal nav{display:flex;flex-wrap:wrap;gap:10px 24px}
.legal a{text-decoration:none}
.legal a:hover{color:var(--night-ink)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important;transition:none !important}html{scroll-behavior:auto}}
