/* Sorkin Capital: "Editorial Ink". Mobile first. Light and dark follow the visitor's device setting.
   Fonts are our own files (Geist for text, Bricolage Grotesque for headlines). Nothing loads from other sites. */

@font-face{font-family:"Geist";src:url("/assets/fonts/geist-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}

:root{
  --bg:#F6F5F1; --bg-alt:#EDECE6; --surface:#FFFFFF;
  --ink:#14130F; --muted:#55524B; --line:#D6D3C8; --line-strong:#14130F;
  --accent:#2B3FD6; --on-accent:#FFFFFF; --accent-soft:#E4E7FB;
  --display:"Bricolage Grotesque","Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --text:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --max:1120px; --gutter:20px; --radius:10px;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0E0E0C; --bg-alt:#151512; --surface:#1A1A17;
    --ink:#F2F0EA; --muted:#A9A69C; --line:#2E2D28; --line-strong:#F2F0EA;
    --accent:#8C9BFF; --on-accent:#0E0E0C; --accent-soft:#1D2142;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.65 var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg{max-width:100%;display:block}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
h1,h2,h3{font-family:var(--display);font-weight:600;letter-spacing:-.025em;line-height:1.05;margin:0 0 .5em;text-wrap:balance}
h1{font-size:clamp(2.35rem,8.5vw,4.6rem)}
h2{font-size:clamp(1.8rem,5.5vw,2.9rem)}
h3,.h3{font-size:1.3rem;line-height:1.2;letter-spacing:-.015em}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.wrap.narrow{max-width:760px}
.skip{position:absolute;left:var(--gutter);top:-100px;z-index:100;background:var(--accent);color:var(--on-accent);padding:.7rem 1rem;border-radius:var(--radius);font-weight:600;text-decoration:none}
.skip:focus{top:12px;color:var(--on-accent)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:64px;gap:.25rem 1rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;text-decoration:none;font-family:var(--display);font-weight:600;font-size:1.2rem;letter-spacing:-.02em}
.brand:hover{color:var(--ink)}
.mark-box{fill:var(--ink)}
.mark-s{fill:none;stroke:var(--bg);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.site-nav ul{list-style:none;display:flex;gap:1.4rem;flex-wrap:wrap}
.site-nav a{display:inline-block;padding:.65rem 0;text-decoration:none;font-size:.97rem;font-weight:500;color:var(--muted);border-bottom:1px solid transparent}
.site-nav a:hover{color:var(--ink)}
.site-nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--accent)}
.nav-toggle{display:none;font:inherit;font-size:.95rem;font-weight:600;color:var(--ink);background:transparent;border:1px solid var(--line-strong);border-radius:999px;padding:.45rem 1rem;min-height:44px;cursor:pointer}
/* With JavaScript on a small screen, fold the menu behind a button. Without it, the links simply show. */
.js .nav-toggle{display:inline-flex;align-items:center}
.js .site-nav{display:none;width:100%;padding-bottom:.75rem}
.js .site-nav[data-open="true"]{display:block}
.js .site-nav ul{flex-direction:column;gap:0}
.js .site-nav a{display:block;padding:.85rem 0;border-top:1px solid var(--line);font-size:1.05rem}
@media (min-width:720px){
  .js .nav-toggle{display:none}
  .js .site-nav,.js .site-nav[data-open]{display:block;width:auto;padding:0}
  .js .site-nav ul{flex-direction:row;gap:1.8rem}
  .js .site-nav a{border-top:0;padding:.65rem 0;font-size:.97rem;border-bottom:1px solid transparent}
  .js .site-nav a[aria-current="page"]{border-bottom-color:var(--accent)}
}

/* Shared pieces */
.eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 1.1rem}
.lead{font-size:clamp(1.1rem,3.2vw,1.3rem);line-height:1.55;color:var(--muted);max-width:40rem}
.meta{color:var(--muted);font-size:.95rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.8rem}
.btn{display:inline-flex;align-items:center;gap:.6rem;min-height:48px;padding:.75rem 1.4rem;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:1rem;text-decoration:none;border:1.5px solid var(--accent);transition:transform .2s ease,background-color .2s ease}
.btn:hover{color:var(--on-accent);transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn.ghost:hover{color:var(--ink);background:var(--bg-alt)}
.arrow{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.btn:hover .arrow,.link:hover .arrow{transform:translateX(3px)}
.link{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;font-weight:600;text-decoration-color:var(--accent)}
.link.small{font-size:.95rem;margin-top:.5rem}
.section{padding:clamp(3.5rem,9vw,6.5rem) 0}
.section.tight{padding-top:clamp(1.5rem,4vw,2.5rem)}
.section.alt{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:44rem;margin-bottom:clamp(1.5rem,4vw,2.5rem)}
.page-head{padding:clamp(3rem,9vw,6rem) 0 clamp(1rem,3vw,2rem)}
.page-head h1{max-width:18ch}
.page-head .wrap.narrow h1{max-width:none}
.num{font-family:var(--display);font-weight:500;color:var(--accent);font-size:1rem;letter-spacing:.02em}
.more{margin-top:2rem}

/* Hero */
.hero{padding:clamp(2.5rem,8vw,6rem) 0 clamp(2.5rem,7vw,5rem)}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
.hero h1{max-width:15ch}
.hero-visual{max-width:440px;width:100%;margin:0 auto}
.hero-art{width:100%;height:auto;overflow:visible}
.art-grid{fill:none;stroke:var(--line);stroke-width:1}
.art-frame{fill:none;stroke:var(--line-strong);stroke-width:1.5}
.art-lines path{fill:none;stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4 7}
.art-nodes rect{fill:var(--ink);stroke:var(--ink);stroke-width:1.5}
.art-nodes rect.hollow{fill:var(--bg);}
.art-nodes rect.accent{fill:var(--accent);stroke:var(--accent)}
.art-dot{fill:var(--accent)}
@media (min-width:880px){.hero-grid{grid-template-columns:1.15fr .85fr;gap:4rem}}

/* Numbered rows (home services) */
.rows{list-style:none;border-top:1px solid var(--line-strong)}
.row{display:grid;gap:.4rem 2rem;padding:1.8rem 0;border-bottom:1px solid var(--line)}
.row p{margin:0;color:var(--muted);max-width:38rem}
.row-title h3{margin:0;font-size:1.5rem}
.row .num{padding-top:.2rem}
@media (min-width:820px){.row{grid-template-columns:4rem 1fr 1.4fr;align-items:baseline}}

/* Two-column text blocks */
.split{display:grid;gap:2.5rem}
@media (min-width:880px){.split{grid-template-columns:1fr 1fr;gap:5rem;align-items:start}}
.prose{max-width:42rem}
.prose h2{font-size:1.5rem;margin:2.2rem 0 .6rem;letter-spacing:-.02em}
.prose h2.h3{font-size:1.3rem}
.prose ul:not(.ticks){padding-left:1.2rem;margin:0 0 1em}
.prose li{margin-bottom:.4rem}
.ticks{list-style:none;margin:0 0 1.2rem}
.ticks li{position:relative;padding-left:1.6rem;margin-bottom:.55rem}
.ticks li::before{content:"";position:absolute;left:0;top:.72em;width:.8rem;height:1.5px;background:var(--accent)}
.notice{padding:1rem 1.2rem;border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 var(--radius) var(--radius) 0;font-size:.98rem;margin-top:1.8rem}
.legal h2{font-size:1.3rem}
.big-link{font-family:var(--display);font-size:clamp(1.4rem,5vw,2.1rem);font-weight:600;letter-spacing:-.02em;word-break:break-word}
.big-link a{text-decoration-color:var(--accent);text-decoration-thickness:2px}

/* Fact lists */
.facts{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:.4rem 1.4rem 1.4rem}
.facts dl{margin:0}
.facts dl>div{padding:1rem 0;border-bottom:1px solid var(--line)}
.facts dl>div:last-child{border-bottom:0}
.facts dt{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--muted);margin-bottom:.25rem}
.facts dd{margin:0;word-break:break-word}
.facts address{font-style:normal}
.facts .more{margin:.5rem 0 0}

/* Services page */
.service{display:grid;gap:1rem;padding:2.2rem 0;border-top:1px solid var(--line)}
.service:first-child{border-top:1px solid var(--line-strong)}
.service-side h2{margin:.4rem 0 0;font-size:clamp(1.6rem,4.5vw,2.2rem)}
.service-body p{color:var(--muted)}
@media (min-width:880px){.service{grid-template-columns:1fr 1.3fr;gap:4rem}}
.steps{list-style:none;display:grid;gap:0;border-top:1px solid var(--line-strong)}
.steps li{padding:1.4rem 0;border-bottom:1px solid var(--line)}
.steps h3{margin:.2rem 0 .3rem}
.steps p{margin:0;color:var(--muted)}
@media (min-width:880px){.steps{grid-template-columns:repeat(5,1fr);gap:1.5rem;border-top:0}.steps li{border-top:1px solid var(--line-strong);border-bottom:0;padding:1.2rem 0 0}}

/* Call to action */
.cta>*{max-width:46rem}
.cta h2{max-width:16ch}
.notfound .small-list{display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;margin-top:2rem}
.notfound .small-list li{padding-left:1.6rem}

/* Footer */
.site-footer{border-top:1px solid var(--line-strong);padding:clamp(2.5rem,7vw,4rem) 0 2rem;margin-top:0;font-size:.97rem}
.foot-grid{display:grid;gap:2rem}
@media (min-width:820px){.foot-grid{grid-template-columns:1.2fr 1fr 1fr;gap:3rem}}
.foot-brand{font-family:var(--display);font-weight:600;font-size:1.4rem;letter-spacing:-.02em;margin-bottom:.5rem}
.foot-note{color:var(--muted);max-width:30rem}
.foot-label{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--muted);margin:0 0 .35rem}
.foot-contact{font-style:normal}
.foot-contact p{margin-bottom:1.1rem}
.foot-links ul{list-style:none;margin:0 0 1.1rem}
.foot-links li{margin-bottom:.1rem}
.foot-links a,.foot-contact a{display:inline-block;padding:.45rem 0}
.copyright{margin:2.5rem 0 0;padding-top:1.2rem;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}

/* Motion: small, and fully off when the visitor asks for less motion. */
@keyframes drift{to{stroke-dashoffset:-22}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:no-preference){
  .art-lines path{animation:drift 3.2s linear infinite}
  .art-dot.pulse{animation:pulse 2.4s ease-in-out infinite}
  [data-reveal].pre{opacity:0;transform:translateY(14px)}
  [data-reveal]{transition:opacity .7s ease,transform .7s ease}
  [data-reveal].in{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@media print{.site-header,.skip,.hero-visual{display:none}body{background:#fff;color:#000}}
