/* Sub-pages of jparkerco.com: the Enterprise look as plain pages. A label column on the left, content on the right. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg: #FFFFFF; --panel: #F5F7FA; --ink: #0D1321; --mut: #56607A; --line: #DFE3EC; --key: #2447F0; --ok: #17804F;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Onest", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0A0E18; --panel: #121829; --ink: #EEF1F8; --mut: #9AA4BD; --line: #232B40; --key: #6C86FF; --ok: #4CC38A; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--key); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.logo { display: block; overflow: visible; }
.mono { font: 500 12px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); background: var(--bg); }
.btn.pri { background: var(--ink); color: var(--bg); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); }
.top .home { text-decoration: none; }
.idx { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 12px var(--pad); background: var(--bg); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.idx a { font: 500 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.idx a:hover { color: var(--key); }
.crumb { margin: 0; padding: 18px var(--pad) 0; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--key); }
.hero { padding: clamp(20px, 3vw, 40px) var(--pad) clamp(36px, 5vw, 64px); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 10px 0 0; max-width: 16em; text-wrap: balance; }
.hero.art h1 { font-size: clamp(30px, 4.4vw, 58px); }
.hero .lede { font-size: 19px; line-height: 1.55; color: var(--mut); max-width: 38em; margin: 22px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero .byline { margin: 20px 0 0; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.live i { width: 8px; height: 8px; background: var(--ok); }
.row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0 48px; padding: clamp(32px, 4.4vw, 64px) var(--pad); border-top: 2px solid var(--ink); }
.lab { position: sticky; top: 64px; align-self: start; display: grid; gap: 10px; }
.lab b { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.lab span { display: flex; align-items: center; gap: 8px; font: 500 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); }
.sq { display: inline-block; width: 10px; height: 10px; background: var(--key); transform: skewX(-11deg); flex: none; }
.prose { max-width: 40rem; font-size: 18px; line-height: 1.65; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; margin: 1.7em 0 .5em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--key); text-underline-offset: 3px; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.figs figure { margin: 0; }
.figs img { width: 100%; border: 1px solid var(--ink); background: var(--panel); }
.figs figcaption { margin-top: 8px; font-size: 14px; color: var(--mut); }
.list { display: grid; }
.item { display: grid; grid-template-columns: 220px minmax(0, .9fr) minmax(0, 1.4fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; text-decoration: none; }
.item:first-child { border-top: 0; padding-top: 0; }
.item h2 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.item:hover h2 { color: var(--key); }
.item p { margin: 0; font-size: 15px; color: var(--mut); }
.end { padding: clamp(40px, 6vw, 88px) var(--pad); border-top: 2px solid var(--ink); display: grid; gap: 20px; }
.end .mail { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -.04em; text-decoration: underline; text-decoration-color: var(--key); text-decoration-thickness: .08em; text-underline-offset: .14em; overflow-wrap: anywhere; }
.end .tel { font-size: 20px; font-weight: 600; text-decoration: none; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px var(--pad); border-top: 1px solid var(--line); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--key); }
@media (max-width: 900px) {
  .where { display: none; }
  .idx { position: static; gap: 6px 20px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lab { position: static; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
  .lab b { font-size: 30px; }
  .figs { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
.figs figure.svg img { border: 1px solid var(--line); background: #FFFFFF; padding: 28px; }
@media (prefers-color-scheme: dark) { .figs figure.svg img { background: #F5F7FA; } }
.figs.brand { align-items: start; }
.figs.brand img { max-height: 300px; width: auto; max-width: 100%; margin: 0 auto; }

/* Brand page */
.bshow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.bshow figure { margin: 0; }
.bshow figure > img { width: 100%; display: block; padding: 40px; border: 1px solid var(--line); }
.bshow figure.light > img { background: #FFFFFF; }
.bshow figure.dark > img { background: #0D1321; border-color: #0D1321; }
.bshow figure.plain > img { background: var(--panel); padding: 24px; }
.bshow figure.sm > img { padding: 56px; }
.bshow figcaption { margin-top: 8px; font: 500 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sw span { display: block; height: 86px; border: 1px solid var(--line); }
.sw b { display: block; margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.sw code { display: block; margin-top: 2px; font: 500 12px/1.5 var(--mono); color: var(--key); }
.sw p { margin: 6px 0 0; font-size: 13px; color: var(--mut); }
.fgroup { padding-top: 26px; }
.fgroup:first-child { padding-top: 0; }
.fgroup > h2 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 0 0 10px; }
.item h3 { font-family: var(--display); font-weight: 600; font-size: 15px; margin: 0; overflow-wrap: anywhere; }
a.item:hover h3 { color: var(--key); }
@media (max-width: 900px) { .bshow, .swatches { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) and (max-width: 1200px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bshow figure.sm > img { padding: 0; max-width: 260px; margin: 0 auto; }
.bshow figure.sm { display: grid; align-content: start; padding: 40px; border: 1px solid var(--line); }
.bshow figure.sm.light { background: #FFFFFF; }
.bshow figure.sm.plain { background: var(--panel); }
.bshow figure.sm > img { border: 0; }

/* Fact list on a work page */
.row dl.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; max-width: 46rem; }
.row dl.facts dt { font: 500 11px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); padding-top: 3px; }
.row dl.facts dd { margin: 0; font-size: 17px; font-weight: 500; }
.row dl.facts dt, .row dl.facts dd { border-top: 1px solid var(--line); padding-top: 10px; }
.row dl.facts dt:first-of-type, .row dl.facts dd:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .row dl.facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .row dl.facts dd { border-top: 0; padding-top: 0; padding-bottom: 12px; } }

/* Hero window — a framed screen at the top of a work page */
.hwrap { padding: 0 var(--pad) clamp(28px, 4vw, 48px); }
.hero:has(+ .hwrap) { padding-bottom: clamp(16px, 2.4vw, 30px); }
.hwin { border: 1px solid var(--ink); background: var(--bg); box-shadow: 8px 8px 0 rgba(13,19,33,.14); margin: 0 0 8px; }
.hwin .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.hwin .chrome i { width: 9px; height: 9px; background: var(--line); }
.hwin .chrome i:first-child { background: var(--key); }
.hwin .chrome em { margin-left: 8px; font: 500 10px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.hwin .chrome .cap { margin-left: auto; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); }
.hwin .view { position: relative; overflow: hidden; background: var(--panel); aspect-ratio: 16 / 9; }
.hwin .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .5s; }
.hwin .view img.on { opacity: 1; }
.hwin.empty .view { aspect-ratio: auto; min-height: 210px; }
.hwin .nores { display: flex; align-items: center; justify-content: center; height: 100%; padding: 24px; text-align: center; }
.hwin .nores p { margin: 0; max-width: 32rem; color: var(--mut); font-size: 15px; }
.hwrap .hwnav { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; }
.hwrap .hwnav button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--ink); background: var(--bg); cursor: pointer; }
.hwrap .hwnav button[aria-current="true"] { background: var(--ink); }
.hwrap .hwnav .pz { width: auto; height: auto; padding: 5px 9px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-left: 4px; }
.hwrap .hwnav .lbl { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); margin-left: auto; }
@media (max-width: 760px) { .hwin { box-shadow: 4px 4px 0 rgba(13,19,33,.14); } .hwin .chrome .cap { display: none; } }
@media (prefers-reduced-motion: reduce) { .hwin .view img { transition: none; } }

/* Contact form */
.ask { max-width: 40rem; }
.ask .fld { margin: 0 0 20px; }
.ask label { display: block; font: 500 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 7px; }
.ask label i { font-style: normal; color: var(--mut); }
.ask input, .ask textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); border-radius: 0; }
.ask textarea { resize: vertical; min-height: 150px; }
.ask input:focus, .ask textarea:focus { outline: 2px solid var(--key); outline-offset: -1px; border-color: var(--key); }
.ask small { display: block; margin-top: 6px; font-size: 13px; color: var(--mut); }
.ask .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask .act { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 0; }
.ask .go { padding: 13px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 500 15px/1 var(--body); cursor: pointer; border-radius: 0; }
.ask .go:hover { background: var(--key); border-color: var(--key); }
.ask .go[disabled] { opacity: .55; cursor: default; }
.ask .say { font-size: 14px; color: var(--mut); }
.ask .say.bad { color: #A3231F; }
.done { font-size: 18px; line-height: 1.6; margin: 0; }
