/* Self-hosted fonts (SIL Open Font License). No third-party requests. */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Offhand: the services arm. Warm paper, ink type, one burnt-orange signal. Deliberately the opposite of the main site. */
:root {
  --bg: #F3EEE4; --bg2: #EAE3D6; --card: #FBF8F2; --ink: #14120F; --muted: #6B665E; --line: #D9D2C5;
  --acc: #E4572E; --acc-dark: #C94822; --dark: #1B1916; --dark-text: #F3EEE4; --dark-muted: #A8A197;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem); --max: 1180px; --r: 16px;
  --s1: 1.2rem; --s2: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); --s3: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }
.ohwrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ohlabel { font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin: 0 0 .75rem; }
.ohmono { font: 400 .78rem/1.5 var(--mono); color: var(--muted); }
.ohh2 { font: 400 var(--s2)/1.1 var(--serif); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
.ohh3 { font: 400 1.45rem/1.15 var(--serif); margin: 0 0 .6rem; }
.ohh4 { font: 600 .95rem/1.4 var(--sans); margin: 0 0 .35rem; }
.ohlede { color: var(--muted); font-size: var(--s1); margin: 1rem 0 1.75rem; max-width: 34em; }
p { margin: 0; }
.ohbtn { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--acc); color: #fff; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1px solid var(--acc); transition: transform .15s, background .15s; }
.ohbtn:hover { background: var(--acc-dark); transform: translateY(-1px); }
.ohbtn--small { min-height: 2.4rem; padding: 0 1rem; font-size: .85rem; }
.ohbtn--big { min-height: 3.6rem; padding: 0 2rem; font-size: 1.05rem; }
.ohbtn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); } .ohbtn--ghost:hover { background: var(--ink); color: var(--bg); }
.ohlink { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--acc); padding-bottom: 2px; } .ohlink:hover { color: var(--acc); }

/* nav */
.ohnav { position: sticky; top: 0; z-index: 50; background: rgba(243,238,228,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ohnav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.ohnav__mark { display: inline-flex; align-items: center; gap: .5rem; font: 400 1.35rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.ohnav__dot { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--acc); }
.ohnav__links { display: flex; gap: .6rem; margin-left: auto; align-items: center; }
.ohnav__links a { text-decoration: none; color: var(--muted); } .ohnav__links a:hover { color: var(--ink); }
.ohnav__back { color: var(--ink) !important; font-family: var(--mono); font-size: .78rem; }
@media (max-width: 560px) { .ohnav__links .ohbtn { white-space: nowrap; font-size: .78rem; padding-inline: .7rem; } .ohnav__links .ohbtn--ghost .t { display: none; } .ohnav__mark { font-size: 1.15rem; } }
.ohbtn { white-space: nowrap; }

/* hero */
.ohhero { padding-block: clamp(3rem, 6vw, 6rem) 0; }
.ohhero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ohhero__title { font: 400 var(--s3)/1.0 var(--serif); margin: 0 0 1.25rem; letter-spacing: -.015em; text-wrap: balance; }
.ohhero__title em { font-style: italic; color: var(--acc); }
.ohhero__sub { font-size: var(--s1); color: var(--muted); max-width: 32em; margin-bottom: 2rem; }
.ohhero__cta { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.ohhero__fig { margin: 0; }
.ohhero__fig img { border-radius: var(--r); aspect-ratio: 24/25; object-fit: cover; object-position: 50% 40%; }
.ohhero__fig figcaption { margin-top: .6rem; }
.ohproof { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.ohproof li { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.ohproof li + li { padding-left: 1.5rem; } .ohproof li:last-child { border-right: 0; }
.ohproof__n { font: 400 3rem/1 var(--serif); color: var(--acc); }
.ohproof__l { color: var(--muted); font-size: .92rem; }

/* sections */
.ohsec { padding-block: clamp(4rem, 7vw, 7rem); }
.ohsec--alt { background: var(--bg2); }
.ohsec--dark { background: var(--dark); color: var(--dark-text); }
.ohsec--dark .ohh3, .ohsec--dark .ohh2 { color: var(--dark-text); } .ohsec--dark p { color: var(--dark-muted); }
.ohsec__head { max-width: 40em; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ohgrid { display: grid; gap: 1.25rem; }
.ohgrid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ohgrid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.ohcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; }
.ohcard--flat { background: transparent; }
.ohcard p { color: var(--muted); font-size: .97rem; }

/* services */
.ohsvc { display: flex; flex-direction: column; gap: .8rem; }
.ohsvc__kicker { margin-bottom: 0; }
.ohsvc__desc { color: var(--muted); }
.ohsvc__inc { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.ohsvc__inc li { padding-left: 1.2rem; position: relative; }
.ohsvc__inc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--acc); }
.ohsvc__foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.ohsvc__price strong { font: 400 1.6rem/1 var(--serif); }
.ohsvc__price span { display: block; color: var(--muted); font-size: .85rem; margin-top: .25rem; }

/* proof builds */
.ohsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ohbuilds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ohbuilds li a { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ohbuilds li a:hover .ohbuilds__t { color: var(--acc); }
.ohbuilds .ohlabel { margin: 0; }
.ohbuilds__t { font: 400 1.25rem/1.2 var(--serif); }

/* process */
.ohsteps { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; counter-reset: s; }
.ohsteps li { border-top: 1px solid #3A3631; padding-top: 1.25rem; }
.ohsteps__n { display: block; font: 400 .8rem/1 var(--mono); color: var(--acc); margin-bottom: 1rem; }
.ohprin { border-top: 1px solid #3A3631; padding-top: 2rem; }
.ohprin p { font-size: .92rem; }

/* pricing table */
.ohtable { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.ohtable__row { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr .8fr; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); align-items: baseline; }
.ohtable__head { background: var(--bg2); border-top: 0; font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ohtable__row a { text-decoration: none; font: 400 1.15rem/1.2 var(--serif); } .ohtable__row a:hover { color: var(--acc); }
.ohtable__row strong { font-weight: 600; }
.ohtable__row span:nth-child(3) { color: var(--muted); font-size: .92rem; }
.ohnote { margin-top: 1.25rem; color: var(--muted); font-size: .88rem; max-width: 60em; }

/* faq */
.ohfaq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.ohfaq details:last-child { border-bottom: 1px solid var(--line); }
.ohfaq summary { cursor: pointer; font: 400 1.25rem/1.25 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ohfaq summary::-webkit-details-marker { display: none; }
.ohfaq summary::after { content: "+"; color: var(--acc); font-family: var(--mono); }
.ohfaq details[open] summary::after { content: "−"; }
.ohfaq p { margin-top: .75rem; color: var(--muted); max-width: 40em; }

/* close + footer */
.ohclose { background: var(--acc); color: #fff; }
.ohclose__inner { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 2rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.ohclose .ohh2 { color: #fff; } .ohclose .ohlede { color: rgba(255,255,255,.85); margin-bottom: 0; }
.ohclose__cta { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.ohclose .ohbtn { background: var(--ink); border-color: var(--ink); } .ohclose .ohbtn:hover { background: #000; }
.ohclose .ohmono { color: rgba(255,255,255,.85); } .ohclose .ohmono a { color: #fff; }
.ohfoot { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .9rem; color: var(--muted); }
.ohfoot__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.ohfoot nav { display: flex; flex-wrap: wrap; gap: 1rem; } .ohfoot nav a { text-decoration: none; } .ohfoot nav a:hover { color: var(--acc); }
.ohfoot strong { color: var(--ink); }

@media (max-width: 960px) {
  .ohgrid--3, .ohgrid--4, .ohsteps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ohproof { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ohproof li:nth-child(2n) { border-right: 0; } .ohproof li:nth-child(n+3) { border-top: 1px solid var(--line); } .ohproof li:nth-child(2n+1) { padding-left: 0; }
  .ohhero__grid, .ohsplit, .ohclose__inner { grid-template-columns: 1fr; }
  .ohhero__fig { max-width: 26rem; }
  .ohtable__row { grid-template-columns: 1fr 1fr; }
  .ohtable__head { display: none; }
  .ohtable__row span:nth-child(3), .ohtable__row span:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ohgrid--3, .ohgrid--4, .ohsteps { grid-template-columns: 1fr; }
  .ohproof { grid-template-columns: 1fr; } .ohproof li { border-right: 0; padding-left: 0; padding-right: 0; }
}

.ohlink--light { color: #fff; border-color: #fff; margin-top: .5rem; }
