@font-face{font-family:"Selawik";src:url("assets/fonts/selawkl.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Selawik";src:url("assets/fonts/selawk.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Selawik";src:url("assets/fonts/selawksb.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Selawik";src:url("assets/fonts/selawkb.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

:root{
  --ink:#131216;--paper:#f6f2ec;
  --grey-300:#a8a39b;--grey-500:#77726c;
  --rule:#2a2930;--ink-700:#1b1a20;--ink-600:#232228;
  --violet:#9f5cff;--violet-bright:#b488ff; /* unslop-ignore: brand accent, limited to the logo stroke, page-head tick, one dividing rule and focus rings */
  --font:"Selawik","Segoe UI",system-ui,sans-serif;
  --r-sm:2px;--r-md:4px;
  --container:1200px;--gutter:24px;
  --ease:cubic-bezier(.2,.6,.2,1);--dur:200ms;
  --measure:68ch;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ink);color:var(--paper);font-family:var(--font);font-size:1rem;line-height:1.6;font-weight:400;overflow-wrap:break-word}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--paper);text-decoration-color:var(--grey-500);text-underline-offset:.2em;transition:color var(--dur) var(--ease)}
a:hover{text-decoration-color:var(--paper)}
:focus-visible{outline:2px solid var(--violet-bright);outline-offset:3px;border-radius:var(--r-sm)} /* unslop-ignore: functional focus state */
::selection{background:rgba(246,242,236,.2)}
img{max-width:100%;display:block}

.skip{position:absolute;left:var(--gutter);top:-100px;background:var(--paper);color:var(--ink);padding:8px 16px;border-radius:var(--r-sm);z-index:10;transition:top var(--dur) var(--ease)}
.skip:focus{top:8px;color:var(--ink)}
.wrap{max-width:var(--container);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}

.banner{background:var(--ink-700);border-bottom:1px solid var(--rule);color:var(--grey-300);font-size:.75rem;line-height:1.4;padding:6px 0;text-align:center;letter-spacing:.02em}

header.site{border-bottom:1px solid var(--rule)}
.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 32px;padding-top:12px;padding-bottom:12px}
.logo{display:inline-flex;align-items:center;min-height:44px;gap:12px;text-decoration:none;color:var(--paper);font-weight:600;font-size:1.125rem;letter-spacing:-.01em}
.logo img{height:32px;width:auto}
nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
nav a.link{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:600;text-decoration:none;color:var(--grey-300)}
nav a.link:hover{color:var(--paper)}
nav a.link[aria-current="page"],nav details.current summary{color:var(--paper);background:linear-gradient(var(--paper),var(--paper)) left calc(50% + 15px)/100% 1px no-repeat}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:var(--r-sm);font:600 .9375rem/1 var(--font);text-decoration:none;border:1px solid transparent;transition:background var(--dur) var(--ease),color var(--dur) var(--ease),border-color var(--dur) var(--ease)}
.btn-primary{background:var(--paper);color:var(--ink)}
.btn-primary:hover{background:var(--grey-300);color:var(--ink)}
.btn-secondary{border-color:var(--grey-500);color:var(--paper)}
.btn-secondary:hover{border-color:var(--paper);color:var(--paper)}
nav .btn{min-height:44px;padding:0 18px;font-size:.875rem}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

.eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-300);margin-bottom:16px}
h1{font-weight:300;font-size:clamp(2.5rem,5vw,3.75rem);line-height:1.04;letter-spacing:-.02em}
h2{font-weight:400;font-size:clamp(1.625rem,3vw,2.25rem);line-height:1.15;letter-spacing:-.01em;max-width:28ch}
h3{font-weight:600;font-size:1.125rem;line-height:1.3}
.lede{font-size:1.125rem;color:var(--grey-300);max-width:var(--measure);margin-top:24px}
p+p{margin-top:16px}
.body{max-width:var(--measure);color:var(--grey-300);margin-top:24px}
strong{font-weight:600;color:var(--paper)}

section{border-top:1px solid var(--rule);padding:96px 0}
section.first{border-top:0}
.hero{padding:96px 0 80px}
.page-head{padding:96px 0 80px}
.page-head .tick{display:block;width:1px;height:48px;background:var(--violet);margin-bottom:24px} /* unslop-ignore: brand rule */
.page-head h1{max-width:20ch}

/* the line: home hero */
.hero-line{display:grid;grid-template-columns:1fr 2px 1fr;gap:0 48px;align-items:stretch}
.hero-line h1{display:contents}
.hero-line .h-a,.hero-line .h-b{display:block}
.hero-line .h-a{text-align:right}
.vline{background:var(--violet);width:2px;min-height:100%} /* unslop-ignore: brand rule */
.hero-sub{max-width:640px;margin:56px auto 0;text-align:left}
.hero .btns{margin-top:32px}
.hero .eyebrow{text-align:left}

/* table */
.tablewrap{margin-top:48px}
table{width:100%;border-collapse:collapse;font-size:1rem}
caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
th,td{text-align:left;vertical-align:top;padding:20px 24px 20px 0;border-bottom:1px solid var(--rule);font-weight:400;color:var(--grey-300)}
thead th{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--grey-300);border-bottom-color:var(--grey-500)}
tbody th{color:var(--paper);font-weight:600;width:22%}
.col-m{background:var(--ink-700);padding-left:24px;color:var(--paper)}
thead th.col-m{color:var(--paper)}

/* columns */
.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:48px;margin-top:56px}
.cols2{display:grid;grid-template-columns:repeat(2,1fr);gap:48px 64px;margin-top:56px}
.cols3>li,.cols2>li{border-top:1px solid var(--grey-500);padding-top:20px;color:var(--grey-300)}
.cols3 strong,.cols2 strong{display:block;font-size:1.25rem;font-weight:600;margin-bottom:8px}
.plain{margin-top:40px;max-width:var(--measure)}
.plain li{padding:16px 0;border-bottom:1px solid var(--rule);color:var(--grey-300)}
.plain li:first-child{border-top:1px solid var(--rule)}
.plain strong{margin-right:.4em}
.steps{counter-reset:s;margin-top:48px;max-width:var(--measure)}
.steps li{counter-increment:s;display:grid;grid-template-columns:48px 1fr;padding:20px 0;border-bottom:1px solid var(--rule);color:var(--grey-300)}
.steps li:first-child{border-top:1px solid var(--rule)}
.steps li::before{content:counter(s);color:var(--grey-500);font-weight:600}
.steps strong{margin-right:.4em}
.panels{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:48px}
.panels>li{background:var(--ink-700);border-radius:var(--r-md);padding:32px;color:var(--grey-300)}
.panels strong{display:block;font-size:1.25rem;margin-bottom:8px}
.closing{margin-top:40px;font-size:1.125rem}
.pull{font-size:clamp(1.5rem,3vw,2.25rem);font-weight:300;line-height:1.25;letter-spacing:-.01em;max-width:30ch}
.sec-cta h2{max-width:20ch}
.link-more{display:inline-block;margin-top:32px;font-weight:600}

/* ownership line */
.the-line{display:grid;grid-template-columns:minmax(0,1.5fr) 4px minmax(0,1fr);gap:0 64px;margin-top:64px}
.the-line .vline{width:4px;min-height:100%}
.the-line h2{font-size:clamp(2rem,4vw,3rem);font-weight:300;margin-bottom:32px}
.col-yours h2{color:var(--paper);font-size:clamp(2.5rem,5vw,3.75rem)}
.col-mid h2{color:var(--grey-300)}
.col-yours li{font-size:1.25rem;padding:24px 0;border-top:1px solid var(--grey-500);color:var(--paper)}
.col-yours li strong{display:block;font-size:1.5rem;margin-bottom:4px}
.col-mid li{padding:16px 0;border-top:1px solid var(--rule);color:var(--grey-300);font-size:.9375rem}
.col-mid li strong{display:block;color:var(--paper);font-size:1.0625rem}
.col-yours ul,.col-mid ul{border-bottom:1px solid var(--rule)}
.note{display:block;font-size:.8125rem;font-style:italic;color:var(--grey-300);margin-top:24px}
span.note{display:inline;margin:0}
.qa{margin-top:48px;max-width:var(--measure)}
.qa p{padding:24px 0;border-top:1px solid var(--rule);color:var(--grey-300);margin:0}
.qa p:last-child{border-bottom:1px solid var(--rule)}
.qa strong{display:block;font-size:1.125rem;margin-bottom:6px}

footer.site{border-top:1px solid var(--rule);padding:64px 0 48px;color:var(--grey-300);font-size:.875rem}
footer.site .f1{color:var(--paper);font-size:1.125rem;font-weight:300;margin-bottom:12px}
footer.site .f2{max-width:var(--measure)}
footer.site ul{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px}
footer.site a{color:var(--grey-300)}
footer.site a:hover{color:var(--paper)}

/* v0.4: services menu */
nav details{position:relative}
nav summary{display:flex;align-items:center;min-height:44px;list-style:none;cursor:pointer;font-size:.875rem;font-weight:600;color:var(--grey-300);transition:color var(--dur) var(--ease)}
nav summary::-webkit-details-marker{display:none}
nav summary::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:8px;margin-top:-4px;transition:transform var(--dur) var(--ease)}
nav details[open] summary::after{transform:rotate(225deg);margin-top:3px}
nav summary:hover,nav details[open] summary{color:var(--paper)}
nav ul.menu{display:block;position:absolute;top:100%;left:-16px;z-index:5;min-width:200px;margin-top:4px;padding:8px 0;background:var(--ink-700);border:1px solid var(--rule);border-radius:var(--r-md);box-shadow:0 16px 40px rgba(0,0,0,.45)}
nav ul.menu a{display:flex;align-items:center;min-height:44px;padding:0 16px;font-size:.875rem;font-weight:600;text-decoration:none;color:var(--grey-300)}
nav ul.menu a:hover,nav ul.menu a[aria-current="page"]{color:var(--paper)}

/* v0.4: page parts */
.hero-h1{max-width:18ch}
.hero .lede{max-width:var(--measure)}
.btns .text-link{align-self:center;padding:0 12px;font-weight:600}
.cards h3{font-size:1.25rem;margin-bottom:8px}
.cards h3 a{text-decoration:none}
.cards h3 a:hover{text-decoration:underline;text-decoration-color:var(--paper)}
.rhythm{font-size:clamp(1.25rem,2.4vw,1.625rem);font-weight:300;line-height:1.35;max-width:36ch}
.scale{display:flex;justify-content:space-between;margin-top:48px;padding-bottom:12px;border-bottom:1px solid var(--grey-500);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--grey-300)}
.panels.three{grid-template-columns:repeat(3,1fr);margin-top:24px}
.the-line h3{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:300;margin-bottom:24px}
.col-mid h3{color:var(--grey-300)}

/* v0.5: imagery */
.hero-photo{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:center;gap:48px;padding:0;overflow:hidden}
.hero-photo .hero-text{max-width:none;margin:0;padding-top:88px;padding-right:0;padding-bottom:88px;padding-left:max(var(--gutter),calc((100vw - var(--container))/2 + var(--gutter)))}
.hero-img{margin:0;align-self:stretch;min-height:520px}
.hero-img img{width:100%;height:100%;object-fit:cover;object-position:left center;filter:brightness(.8)}
.photo-band{margin:0;height:clamp(240px,38vw,520px);overflow:hidden;border-top:1px solid var(--rule)}
.photo-band img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(.8)}
.graphic{margin:48px 0 0;max-width:720px}
.graphic svg{display:block;width:100%;height:auto}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:64px;align-items:center}
.split .graphic{margin-top:0}

@media (max-width:900px){
  .cols3{grid-template-columns:1fr;gap:32px}
  .cols2,.panels,.panels.three{grid-template-columns:1fr}
  .hero.hero-photo{grid-template-columns:1fr;gap:0;padding:0}
  .hero-photo .hero-text{padding:64px var(--gutter) 48px}
  .hero-img{min-height:0;aspect-ratio:16/10}
  .split{grid-template-columns:1fr;gap:40px}
  .hero-line{grid-template-columns:1fr;gap:0}
  .hero-line .h-a{text-align:left}
  .hero-line .vline{width:100%;height:2px;min-height:2px;margin:24px 0}
  .hero-sub,.hero .btns{margin-left:0;margin-right:0}
  .hero .eyebrow{text-align:left}
  .the-line{grid-template-columns:1fr;gap:0}
  .the-line .vline{width:100%;height:4px;min-height:4px;margin:48px 0}
  section,.hero,.page-head{padding:64px 0}
}
@media (max-width:700px){
  table,thead,tbody,tr,th,td{display:block}
  thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  tbody tr{border-top:1px solid var(--grey-500);padding:20px 0}
  tbody th{width:auto;border:0;padding:0 0 8px;font-size:1.125rem}
  td{border:0;padding:8px 0}
  td::before{content:attr(data-label);display:block;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--grey-300)}
  td.col-m{background:var(--ink-700);padding:12px 16px;margin-top:8px;border-radius:var(--r-md)}
  td.col-m::before{color:var(--grey-300)}
}
@media (max-width:560px){:root{--gutter:16px}.btn{width:100%}.nav-btn{width:auto}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* v0.6 after: Isotype pass */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.split.top{align-items:start}
.split.wide-graphic{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.split.top .graphic{margin-top:40px}
.split > div > h2{max-width:22ch}
.tablewrap table td{color:var(--grey-300)}
.tablewrap thead th{color:var(--paper)}

/* review-only options, hidden until switched on */
.opt{display:none}
.opt-glyphs .opt.glyph{display:block}
.opt-founders .opt.founders{display:block}
.card-glyph{width:72px;height:72px;margin-bottom:16px}
.card-glyph svg{width:100%;height:100%;display:block}
.opt-qmarks .qlist li{display:flex;align-items:baseline;gap:16px}
.opt-qmarks .qlist li::before{content:"";flex:none;width:4px;height:20px;border-radius:2px;background:var(--paper);transform:translateY(3px)}

/* review panel: not part of the site */
.review-ui{position:fixed;right:16px;bottom:16px;z-index:50;width:260px;background:var(--ink-700);border:1px solid var(--grey-500);border-radius:var(--r-md);padding:14px 16px;font-size:.8125rem;color:var(--grey-300);box-shadow:0 8px 24px rgba(0,0,0,.4)}
.review-ui p{color:var(--paper);font-weight:600;margin-bottom:8px}
.review-ui p span{font-weight:400;color:var(--grey-300)}
.review-ui label{display:flex;align-items:center;gap:8px;padding:4px 0;color:var(--paper);cursor:pointer}
.review-ui label em{margin-left:auto;font-style:normal;color:var(--grey-500)}
.review-ui input{accent-color:var(--paper);width:16px;height:16px}
.review-ui a{display:inline-block;margin-top:8px;margin-right:12px;color:var(--grey-300)}
@media (max-width:560px){.review-ui{left:16px;width:auto}}
@media (max-width:900px){.split.wide-graphic{grid-template-columns:1fr}.split.top .graphic{margin-top:24px}}

/* v0.7 demo: switches between before and after states */
.gv-new{display:none}
.c-symbols .gv-new{display:block}
.c-symbols .gv-old{display:none}
.split.prob-split{display:block}
.prob-split .cad{display:none}
.c-cadence .split.prob-split{display:grid}
.c-cadence .prob-split .cad{display:block}
.split.svc-split{display:block}
.svc-split > div + div{margin-top:96px;padding-top:96px;border-top:1px solid var(--rule)}
.c-twocol .split.svc-split{display:grid}
.c-twocol .svc-split > div + div{margin-top:0;padding-top:0;border-top:0}
.tiers-new{display:none}
.c-table .tiers-new{display:block}
.c-table .tiers-old{display:none}
.split.std-split{display:block}
.std-split .rec{display:none}
.c-record .split.std-split{display:grid}
.c-record .std-split .rec{display:block}
@media (max-width:900px){.c-cadence .split.prob-split,.c-twocol .split.svc-split,.c-record .split.std-split{grid-template-columns:1fr}.svc-split > div + div{margin-top:64px;padding-top:64px}}

/* demo switch panel: review aid, not part of the site */
.demo-ui{position:fixed;right:16px;bottom:16px;z-index:50;width:280px;background:var(--ink-700);border:1px solid var(--grey-500);border-radius:var(--r-md);padding:12px 16px;font-size:.8125rem;color:var(--grey-300);box-shadow:0 8px 24px rgba(0,0,0,.45)}
.demo-ui summary{cursor:pointer;color:var(--paper);font-weight:600;list-style:none}
.demo-ui summary::-webkit-details-marker{display:none}
.demo-ui summary::after{content:"Hide";float:right;font-weight:400;color:var(--grey-500)}
.demo-ui:not([open]) summary::after{content:"Show"}
.demo-ui[open] summary{margin-bottom:8px}
.demo-ui label{display:flex;align-items:center;gap:8px;padding:4px 0;color:var(--paper);cursor:pointer}
.demo-ui label.master{padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid var(--rule);font-weight:600}
.demo-ui label em{margin-left:auto;font-style:normal;color:var(--grey-500);font-size:.75rem}
.demo-ui p{margin:10px 0 2px;padding-top:8px;border-top:1px solid var(--rule);font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--grey-300)}
.demo-ui input{accent-color:var(--paper);width:16px;height:16px;flex:none}
.demo-ui button{margin-top:10px;background:none;border:1px solid var(--grey-500);color:var(--paper);font:inherit;padding:6px 10px;border-radius:var(--r-sm);cursor:pointer}
.demo-ui button:hover{border-color:var(--paper)}
@media (max-width:560px){.demo-ui{left:16px;width:auto}}
.embed .demo-ui{display:none}
.cmp-flash{outline:2px solid #9f5cff;outline-offset:-2px;transition:outline-color .6s}
/* photo cut-outs on Home service cards (set-aside option, Vienna-style shaped crops) */
.opt-cutouts .opt.cutout{display:block}
.cutout{height:200px;overflow:hidden;margin-bottom:24px;background:var(--ink-700)}
.cutout img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(.85)}
.cutout.shape-rect{width:100%}
.cutout.shape-circle{width:200px;border-radius:50%}
.cutout.shape-arch{width:240px;border-radius:0 0 120px 120px / 0 0 100px 100px}
.cutout.shape-quarter{width:240px;border-radius:0 0 100% 0}

/* v0.8 Vienna layouts (each behind its own switch) */
/* L1 standards as stat blocks */
.stat-grid{display:none;list-style:none;margin:48px 0 0;padding:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;background:var(--rule)}
.stat-grid li{background:var(--ink);padding:28px 24px 32px;min-height:260px;display:flex;flex-direction:column}
.stat-grid li:nth-child(2n){background:var(--ink-700)}
.stat-n{font-size:clamp(3.5rem,6vw,5rem);font-weight:300;line-height:1;color:var(--paper)}
.stat-l{margin-top:auto;padding-top:24px;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--paper)}
.stat-grid p{margin-top:8px;color:var(--grey-300);font-size:.9375rem}
.l-stats .std-split .plain{display:none}
.l-stats .stat-grid{display:grid}
.l-stats .split.std-split,.l-stats.c-record .split.std-split{display:block}
.l-stats .std-split .rec{margin-top:64px;max-width:720px}
@media (max-width:900px){.stat-grid{grid-template-columns:1fr 1fr}.stat-grid li{min-height:200px}}
@media (max-width:560px){.stat-grid{grid-template-columns:1fr}}

/* L2 services as a block mosaic: unequal spans, square corners, one paper block per row */
.l-mosaic .cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;background:var(--rule)}
.l-mosaic .cards > li{border-top:0;padding:36px 32px 40px;min-height:260px;background:var(--ink-700)}
.l-mosaic .cards > li:nth-child(1){grid-column:span 4;background:var(--paper)}
.l-mosaic .cards > li:nth-child(1) h3 a,.l-mosaic .cards > li:nth-child(1) p{color:var(--ink)}
.l-mosaic .cards > li:nth-child(1) h3 a{text-decoration-color:var(--ink)}
.l-mosaic .cards > li:nth-child(2){grid-column:span 2}
.l-mosaic .cards > li:nth-child(3){grid-column:span 2;background:var(--ink-600)}
.l-mosaic .cards > li:nth-child(4){grid-column:span 4;background:var(--ink);outline:1px solid var(--grey-500);outline-offset:-1px}
.l-mosaic .cards h3{font-size:1.5rem;margin-bottom:12px}
@media (max-width:900px){.l-mosaic .cards{grid-template-columns:1fr}.l-mosaic .cards > li{grid-column:auto!important}}

/* L3 thirteen-square week motif */
.motif{display:none;gap:8px;margin-bottom:40px}
.motif span{width:20px;height:20px;background:var(--paper)}
.l-motif .motif{display:flex;flex-wrap:wrap}

/* L4 chequer band on the Home contact section, built from the same square */
.chequer{display:none;grid-template-rows:20px 20px;grid-auto-flow:column;grid-auto-columns:20px;height:40px;overflow:hidden;margin-bottom:56px}
.chequer span:nth-child(4n+1),.chequer span:nth-child(4n){background:var(--paper)}
.l-border .chequer{display:grid}

/* L5 split panel: Yours as a solid paper block beside Midnight's dark block */
.l-split .the-line{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:0}
.l-split .the-line .vline{display:none}
.l-split .col-yours{background:var(--paper);color:var(--ink);padding:40px}
.l-split .col-yours h3{color:var(--ink)}
.l-split .col-yours li{color:var(--ink);border-top-color:rgba(19,18,22,.25)}
.l-split .col-yours ul{border-bottom-color:rgba(19,18,22,.25)}
.l-split .col-mid{background:var(--ink-700);padding:40px}
@media (max-width:900px){.l-split .the-line{grid-template-columns:1fr}}

/* site build: privacy body without inline style (strict CSP) */
.body.flush{margin-top:0}

/* site build: contact form */
.contact-sec{padding-top:0}
.contact-form{max-width:640px}
.contact-form[hidden]{display:none}
.field{margin-bottom:28px}
.field label{display:block;font-size:.875rem;font-weight:600;color:var(--paper);margin-bottom:8px}
.field input,.field textarea{display:block;width:100%;min-height:48px;padding:12px 14px;background:var(--ink-700);color:var(--paper);border:1px solid var(--grey-500);border-radius:var(--r-sm);font:400 1rem/1.5 var(--font);transition:border-color var(--dur) var(--ease)}
.field textarea{min-height:168px;resize:vertical}
.field input:hover,.field textarea:hover{border-color:var(--grey-300)}
.field input:focus-visible,.field textarea:focus-visible{border-color:var(--paper);outline-offset:2px}
.field [aria-invalid="true"]{border-color:#ff9b8f}
.field-error{margin-top:8px;font-size:.875rem;color:#ff9b8f}
.field-error::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;background:#ff9b8f;vertical-align:1px}
.ts-field{margin-top:8px;min-height:65px;max-width:100%}
.ts-field .form-note{margin:0}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:8px}
.form-actions .btn{min-width:140px;cursor:pointer}
.form-actions .btn:disabled{opacity:.6;cursor:progress}
.form-note{font-size:.875rem;color:var(--grey-300)}
.form-note a{display:inline-block;padding:12px 0;margin:-12px 0;color:var(--grey-300)}
.form-status{max-width:640px;margin-bottom:40px;padding:20px 24px;border-left:2px solid var(--paper);background:var(--ink-700);color:var(--paper);font-size:1.125rem}
.form-status.error{border-left-color:#ff9b8f}
.form-status:focus{outline:none}
.form-status:focus-visible{outline:2px solid var(--violet-bright)}

/* site build: keep chart labels at 11px or more on narrow phones; the figure scrolls sideways instead */
@media (max-width:440px){
  .graphic{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}
  .graphic svg{min-width:400px}
  .split > *{min-width:0}
}

/* launch polish */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
main{flex:1 0 auto}
h1,h2,h3,.pull,.rhythm,.closing,.f1,.form-status{text-wrap:balance}
p,li,td{text-wrap:pretty}
section[id]{scroll-margin-top:16px}
.page-head+section.first{padding-top:0}
.page-head:has(+section.first){padding-bottom:56px}

/* inline links: 44px targets */
.btns .text-link{display:inline-flex;align-items:center;min-height:44px}
.link-more{display:inline-flex;align-items:center;min-height:44px;margin-top:20px}

/* service cards: the whole block is the link */
.cards>li{position:relative}
.cards h3 a::after{content:"";position:absolute;inset:0}
.cards h3 a:focus-visible{outline:0}
.cards h3 a:focus-visible::after{outline:2px solid var(--violet-bright);outline-offset:-6px}
.l-mosaic .cards>li:nth-child(1) h3 a:focus-visible::after{outline-color:var(--ink)}
.l-mosaic .cards>li{transition:background var(--dur) var(--ease)}

/* how we work: step chart beside its steps on wide screens */
@media (min-width:1000px){
  .sec-pair>.wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0 72px;align-items:center}
  .sec-pair>.wrap>h2,.sec-pair>.wrap>.closing{grid-column:1/-1}
  .sec-pair .steps{margin-top:48px}
}

/* five standards: number, label and text share rows so labels line up across blocks */
@supports (grid-template-rows:subgrid){
  @media (min-width:561px){
    .stat-grid li{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0;min-height:0;align-content:start}
    .stat-grid .stat-l{margin-top:0;padding-top:32px;align-self:end}
  }
}

/* footer */
footer.site ul{gap:0 24px;margin-top:16px}
footer.site li a{display:inline-flex;align-items:center;min-height:44px}

/* mobile menu (details/summary, no JavaScript): a full-width sheet under the header */
.m-only{display:none}
@media (max-width:700px){
  header.site{position:relative;z-index:6}
  .bar{flex-wrap:nowrap;gap:12px}
  nav ul{flex-wrap:nowrap;gap:8px}
  nav>ul>li.d-only{display:none}
  nav>ul>li.m-only{display:block}
  nav details.mmenu{position:static}
  .mmenu summary{padding:0 0 0 12px}
  nav .mmenu ul.menu{left:0;right:0;top:100%;min-width:0;margin:0;padding:8px 0 12px;background:var(--ink);border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--grey-500);border-radius:0;box-shadow:0 24px 40px rgba(0,0,0,.6)}
  nav .mmenu ul.menu a{min-height:48px;padding:0 var(--gutter);font-size:1rem;color:var(--paper)}
  nav .mmenu ul.menu li+li a{border-top:1px solid var(--rule)}
  nav .mmenu ul.menu a[aria-current="page"]{box-shadow:inset 2px 0 0 var(--paper)}
}

@media (max-width:900px){
  .l-mosaic .cards>li{min-height:0;padding:28px 24px 32px}
  .l-split .col-yours,.l-split .col-mid{padding:32px 24px}
  .stat-grid li{min-height:0}
  .stat-l{margin-top:24px;padding-top:0}
  .stat-grid li:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:560px){
  .btns .text-link{width:100%;justify-content:center;padding:0}
  .hero-img{aspect-ratio:4/3}
  .stat-grid li{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;padding:20px 20px 24px}
  .stat-n{grid-row:1/3;font-size:3rem}
  .stat-l{margin-top:0;padding-top:8px}
  .stat-grid li:last-child:nth-child(odd){grid-column:auto}
  .steps li{grid-template-columns:32px 1fr}
  .form-actions{gap:8px}
  .form-note{width:100%;text-align:center}
  .form-status{padding:16px 20px;font-size:1rem}
  footer.site{padding:48px 0 32px}
  footer.site ul{display:grid;grid-template-columns:1fr 1fr}
}
/* phones: charts scroll sideways; let them run to the screen edge so the cut reads as scrollable */
@media (max-width:440px){
  .graphic{margin-right:calc(-1*var(--gutter));padding-right:var(--gutter)}
}
@media (max-width:400px){
  .motif{gap:6px;flex-wrap:nowrap}
  .motif span{width:18px;height:18px}
}
