/* Lowboy Digital LLC, company site (lowboydigital.com).
   Plain CSS, no build step, no web fonts, no scripts. Brand colors match the trades site and the logo.
   Contrast (WCAG 2.2 AA): ink #0F2447, ink-2 #334155, ink-3 #546075, accent-strong #1859AD on white and band;
   on navy: #ffffff, #f5f8fc, #b7c3d6, #4DA3F5. "Digital" in #4DA3F5 is part of the logo (no contrast requirement). */

:root {
  --navy: #0F2447;
  --ink: #0F2447;
  --ink-2: #334155;
  --ink-3: #546075;
  --accent: #1F6FD1;
  --accent-strong: #1859AD;
  --accent-soft: #eaf2fd;
  --bright: #4DA3F5;
  --canvas: #ffffff;
  --band: #f5f7fa;
  --line: rgba(15, 36, 71, .12);
  --line-2: rgba(15, 36, 71, .22);
  --on-navy: #f5f8fc;
  --on-navy-2: #b7c3d6;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --gut: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --section: clamp(3.5rem, 2.2rem + 5vw, 6.5rem);
  --max: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font: 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); font-family: var(--display); margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 1.25rem + 4.1vw, 3.9rem); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
a { color: var(--accent-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: .75rem; top: -5rem; z-index: 10;
  background: #fff; color: var(--navy); font-weight: 700;
  padding: .7rem 1rem; border-radius: 8px; box-shadow: 0 4px 16px rgba(15, 36, 71, .25);
}
.skip:focus { top: .75rem; }

/* ---------- header ---------- */
.top { background: var(--navy); color: var(--on-navy); }
.top .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 2rem; min-height: 4.5rem; padding-block: .75rem;
}
.top :focus-visible, .foot :focus-visible, .cta :focus-visible { outline-color: #fff; }

/* logo: LD monogram + name (logo.svg, outlined vector; Jeff picked option A on 2026-11-09) */
.brand { display: inline-flex; align-items: center; padding-block: .25rem; border-radius: 10px; }
.brand img { display: block; height: 2.5rem; width: auto; }
@media (max-width: 26rem) { .brand img { height: 2.15rem; } }

.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--on-navy); font-weight: 600; font-size: 1rem; text-decoration: none;
}
.nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--bright); text-decoration-thickness: 2px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bright); text-decoration-thickness: 2px; text-underline-offset: .4em; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-secondary:hover { color: var(--navy); border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); color: var(--navy); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { font-weight: 700; font-size: .9375rem; color: var(--accent-strong); margin-bottom: 1rem; }
.lede { margin-top: 1.25rem; max-width: 38rem; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); }

.glance {
  background: var(--band); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.75rem;
}
.glance h2 { font-size: 1.0625rem; letter-spacing: 0; font-weight: 700; margin-bottom: 1rem; }
.glance dl { margin: 0; display: grid; gap: 1rem; }
.glance dt { font-size: .875rem; font-weight: 700; color: var(--ink-3); }
.glance dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; }

@media (min-width: 60rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.band { background: var(--band); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head > p:not(.kicker) { margin-top: 1rem; font-size: 1.125rem; }
.kicker { font-weight: 700; font-size: .9375rem; color: var(--accent-strong); margin-bottom: .6rem; }

/* capability cards: one link per card, stretched over the card */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); list-style: none; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15, 36, 71, .06), 0 12px 28px -14px rgba(15, 36, 71, .3); }
.card p { flex: 1; }
.icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); }
.icon svg { width: 1.4rem; height: 1.4rem; }
.more { font-weight: 700; text-decoration: none; }
.more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.more:focus-visible { outline: none; }
.more:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.card:hover .more { text-decoration: underline; }
.arrow { display: inline-block; transition: transform .15s; }
.card:hover .arrow, .item:hover .arrow { transform: translateX(3px); }

/* how we work */
.points { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); list-style: none; }
.points li { border-top: 2px solid var(--navy); padding-top: 1rem; }
.points h3 { margin-bottom: .4rem; }

/* about */
.about-body { display: grid; gap: 1rem; max-width: 42rem; font-size: 1.125rem; }

/* contact band */
.cta { background: var(--navy); color: var(--on-navy-2); text-align: center; }
.cta h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta p { margin-top: 1rem; font-size: 1.125rem; }
.cta .actions { justify-content: center; }

/* ---------- portfolio ---------- */
.page-head { padding-block: clamp(2.75rem, 1.75rem + 4vw, 4.75rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-head .lede { max-width: 44rem; }
.honest {
  margin-top: 1.5rem; max-width: 44rem; padding: 1rem 1.25rem; border-radius: 12px;
  background: var(--accent-soft); color: var(--ink); font-size: 1rem;
}
.toc { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.75rem; }
.toc a {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .95rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  color: var(--navy); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.toc a:hover { border-color: var(--navy); text-decoration: underline; }

.work { padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); border-top: 1px solid var(--line); }
.work:last-of-type { padding-bottom: var(--section); }
.work-head { max-width: 44rem; margin-bottom: 1.5rem; }
.work-head h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2rem); }
.work-head p { margin-top: .6rem; }

.items { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); list-style: none; }
.item {
  position: relative; display: flex; flex-direction: column; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.25rem 1.25rem;
  transition: border-color .15s, box-shadow .15s;
}
.item:hover { border-color: var(--accent); box-shadow: 0 10px 24px -16px rgba(15, 36, 71, .35); }
.item h3 { font-size: 1.0625rem; }
.item h3 a { color: var(--navy); text-decoration: none; }
.item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.item h3 a:focus-visible { outline: none; }
.item h3 a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.item:hover h3 a { text-decoration: underline; }
.item p { font-size: .96875rem; }
.tag { order: -1; font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.tag.live { color: var(--accent-strong); }
.fine { margin-top: 2rem; max-width: 44rem; font-size: .9375rem; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--on-navy-2); border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 2.5rem; font-size: .9375rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2.5rem; }
.foot-logo { display: block; height: 2.25rem; width: auto; }
.foot p { margin-top: .6rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; }
.foot a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-navy); }
.foot a:hover { color: #fff; }

/* not found */
.notfound { padding-block: var(--section); }
.notfound p { margin-top: 1rem; font-size: 1.125rem; }

/* accessibility statement */
.statement { max-width: 44rem; }
.statement > * + * { margin-top: 1rem; }
.statement h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2rem); }
.facts { display: grid; gap: .75rem; margin: 1.25rem 0 0; }
.facts dt { font-size: .875rem; font-weight: 700; color: var(--ink-3); }
.facts dd { margin: .1rem 0 0; color: var(--ink); font-weight: 600; }
.list { display: grid; gap: .6rem; padding-left: 1.25rem; list-style: disc; }
.list strong { color: var(--ink); }

/* case study screenshots */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.shot figcaption { margin-top: .4rem; font-size: .9375rem; color: var(--ink-3); }
.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.shot.phone img { max-width: 320px; }

/* deadline notice under the header (home page) */
.notice { background: var(--accent-soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.notice .wrap { padding-block: .9rem; }
.notice p { max-width: 62rem; font-size: 1rem; }
.notice a { font-weight: 700; }

/* ADA Title II page: deadline cards, notes, numbered steps */
.deadlines { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); list-style: none; }
.deadline {
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
}
.deadline h3 { display: grid; gap: .4rem; font-size: 1.0625rem; }
.when { display: block; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.who { display: block; }
.was { margin-top: auto; font-size: .9375rem; color: var(--ink-3); }
.statement.after { margin-top: 2.5rem; }
.statement > .gap { margin-top: 2rem; }
.steps { list-style: decimal; padding-left: 1.75rem; margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .card, .item, .glance, .toc a, .btn, .deadline { border: 1px solid CanvasText; }
  .notice { border-bottom: 1px solid CanvasText; }
  .more:focus-visible::after, .item h3 a:focus-visible::after { outline-color: Highlight; }
}
@media print {
  .top, .foot, .cta, .toc, .skip { display: none; }
  a { color: #000; }
  .item h3 a::after { content: " (" attr(href) ")"; position: static; font-weight: 400; }
}
