/* haurylovich.com: the studio's sheet. Same paper, ink and type as the Flopline site, without its lime: the studio is
   neutral, each app brings its own accent (--accent on .app). Type sizes and breakpoints are in rem, so the reader's
   font size applies. Dark follows the system unless the header switch (theme.js) sets data-theme on <html>.
   No gradients, shadows or cards. */
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(fonts/inter_regular.otf) format("opentype")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(fonts/inter_semibold.otf) format("opentype")}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-display:swap;src:url(fonts/jetbrains_mono_regular.ttf) format("truetype")}

:root{--paper:#F3F2EE;--ink:#121417;--muted:#5B616A;--hair:#DEDCD5;--rule:#B4B7BB;
--mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#0C0E11;--ink:#E7E9EC;--muted:#8C939D;
--hair:#242930;--rule:#3A414A}}
:root[data-theme=dark]{--paper:#0C0E11;--ink:#E7E9EC;--muted:#8C939D;--hair:#242930;--rule:#3A414A}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;color-scheme:light dark}
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1.0625rem/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
a[href^="mailto:"]{overflow-wrap:anywhere}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
h1,h2,h3,strong{font-weight:600}
p{margin:0 0 1rem}
.wrap{width:min(100% - 32px,80rem);margin:0 auto}
@media (min-width:48rem){.wrap{width:min(100% - 64px,80rem)}}
.muted,.sub{color:var(--muted)}

/* Header: the monogram and name, three links, one ink rule. */
.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding:14px 0 12px;
border-bottom:1px solid var(--ink)}
.brand{display:inline-flex;align-items:center;gap:.6rem;min-height:2.25rem;margin-right:auto;font:600 1.125rem/1.2 Inter,sans-serif;
letter-spacing:-.015em;text-decoration:none}
.mono-mark{flex:none;width:24px;height:24px}
.mono-mark rect{fill:var(--ink)}
.mono-mark path{fill:var(--paper)}
nav{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;font-size:.9375rem}
nav a{color:var(--muted);text-decoration:none;padding:.25rem 0}
nav a:hover,nav a[aria-current]{color:var(--ink)}
nav a[aria-current]{text-decoration:underline}
/* Theme button: one line icon, no frame; a moon while the page is light, a sun while it is dark. The right margin
   lines the icon up with the header rule; on phones it stays beside the name and the nav takes its own row. Hidden until theme.js runs. */
.theme{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;margin:0 -.5625rem 0 -.5rem;padding:0;
border:0;background:none;color:var(--muted);cursor:pointer}
.theme[hidden]{display:none}
.theme{order:1}
@media (max-width:37.5rem){.top nav{order:2;flex-basis:100%}.theme{margin-left:auto}}
.theme:hover{color:var(--ink)}
.theme svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme .sun{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme .sun{display:block}
:root:not([data-theme=light]) .theme .moon{display:none}}
:root[data-theme=dark] .theme .sun{display:block}
:root[data-theme=dark] .theme .moon{display:none}

/* Hero: who and what on the left, the now note on the right. */
.hero{display:grid;gap:2.5rem;padding:2.5rem 0 3rem}
.hero h1,.page-head h1{margin:0 0 1rem;font-size:max(min(2.75rem,9.4vw),1.5rem);line-height:1.04;letter-spacing:-.032em}
.lead{margin:0 0 1rem;max-width:34em;font-size:1.125rem;line-height:1.5;color:var(--muted)}
.now-card{align-self:start;padding-top:.75rem;border-top:1px solid var(--rule)}
.now-card h2{margin:0 0 .75rem;font-size:.8125rem;font-weight:400;font-family:var(--mono);letter-spacing:.06em;
text-transform:uppercase;color:var(--muted)}
.now-card .now p:not(.when){font-size:1.0625rem}
.more{margin:0;font-size:.9375rem}
@media (min-width:60rem){
.hero{grid-template-columns:minmax(0,7fr) minmax(0,4fr);column-gap:clamp(2.5rem,5vw,5rem);padding:4rem 0 4.5rem}
.hero h1{font-size:min(4.25rem,5vw)}
.hero .lead{font-size:1.25rem}
.now-card{margin-top:.75rem}}
.when{margin:0 0 .375rem;font:400 .8125rem/1.45 var(--mono);color:var(--muted)}

/* Inner pages */
.page-head{padding:2.5rem 0 2rem}
.page-head .facts{margin:1.5rem 0}
.ask{font-size:1.125rem;max-width:36em}
.ask a{text-decoration-thickness:2px}
@media (min-width:60rem){.page-head{padding:3.5rem 0 3rem}.page-head h1{font-size:min(4.25rem,5vw)}}

/* Sections: a heading in the margin column, the text in the main column. */
.sec{padding:2.5rem 0 3rem;border-top:1px solid var(--ink)}
.sec h2{display:flex;align-items:center;gap:.75rem;margin:0 0 .75rem;font-size:max(min(1.75rem,7.5vw),1.25rem);
line-height:1.15;letter-spacing:-.02em}
.side .sub{max-width:30em;font-size:.9375rem}
@media (min-width:60rem){
.sec{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(2.5rem,5vw,5rem);padding:3.5rem 0 4rem}}
.main>:last-child{margin-bottom:0}

/* An app: icon, name with its accent, store texts, facts, links. */
.app{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 1.25rem;padding:0 0 2rem}
.app+.app{padding-top:2rem;border-top:1px solid var(--rule)}
.app:last-child{padding-bottom:0}
.icon{display:block;width:64px;height:64px;border-radius:22.5%;outline:1px solid var(--hair);outline-offset:-1px}
.icon.small{width:40px;height:40px}
.app h3{margin:.125rem 0 .5rem;font-size:1.5rem;line-height:1.2;letter-spacing:-.02em}
.app h3 a{text-decoration-color:var(--accent,var(--ink));text-decoration-thickness:3px;text-underline-offset:.25em}
.what{font-size:1.125rem;max-width:36em}
.promo{color:var(--muted);max-width:36em}
.links{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;margin:0;font-size:.9375rem}
@media (max-width:30rem){.app{grid-template-columns:minmax(0,1fr)}.app .icon{margin-bottom:1rem}}

/* Facts: label / value rows in mono, hairlines between. */
.facts{margin:1.25rem 0;max-width:36rem;font:400 .875rem/1.45 var(--mono);font-variant-numeric:tabular-nums}
.facts div{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,2fr);gap:1rem;padding:.45rem 0;
border-bottom:1px solid var(--hair)}
.facts div:first-child{border-top:1px solid var(--hair)}
.facts dt{color:var(--muted)}
.facts dd{margin:0}

/* Uses */
.uses{margin:0}
.uses div{padding:.875rem 0;border-bottom:1px solid var(--hair)}
.uses div:first-child{padding-top:0}
.uses div:last-child{border-bottom:0}
.uses dt{font-weight:600}
.uses .v{margin-left:.5rem;font:400 .875rem var(--mono);font-variant-numeric:tabular-nums;color:var(--muted)}
.uses dd{margin:.25rem 0 0;max-width:36em;color:var(--muted)}

footer{padding-top:1.5rem;padding-bottom:2.5rem;border-top:1px solid var(--ink);font-size:.875rem;color:var(--muted)}
footer p{margin:0 0 .5rem;max-width:52rem}
