/* Line Check site. Tokens come from tokens.css; fonts from fonts.css. Mobile-first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lc-paper); color: var(--lc-ink); font-family: var(--lc-font-body);
       font-size: 16px; line-height: 1.55; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 600px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.label { font-family: var(--lc-font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.18em;
         text-transform: uppercase; color: var(--lc-olive); margin: 0 0 14px; }
.display { font-family: var(--lc-font-display); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -0.01em; }
.display em { font-style: italic; color: var(--lc-olive); }
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.site-header nav { display: flex; gap: 18px; }
.site-header nav a { font-family: var(--lc-font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.14em;
                     text-transform: uppercase; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lc-olive); }
@media (max-width: 420px) { .site-header nav a[href="#about"] { display: none; } }

.btn { display: inline-block; font-family: var(--lc-font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.16em;
       text-transform: uppercase; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--lc-ink); }
.btn-primary { background: var(--lc-ink); color: var(--lc-paper); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--lc-olive); border-color: var(--lc-olive); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--lc-olive); color: var(--lc-olive); }
a:focus-visible { outline: 2px solid var(--lc-olive); outline-offset: 3px; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 32px; padding-bottom: 40px;
               border-top: 1px solid var(--lc-line); font-size: 13px; color: var(--lc-muted); }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 40px; }
.hero h1 { font-size: clamp(44px, 11vw, 96px); line-height: 0.95; }
.lede { font-size: 18px; max-width: 34ch; margin: 22px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-art { position: relative; max-width: 440px; justify-self: center; width: 100%; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; padding-top: 72px; }
}

/* Marquee */
.marquee { border-top: 1px solid var(--lc-line); border-bottom: 1px solid var(--lc-line); overflow: hidden; margin-top: 24px; }
.marquee-track { display: flex; width: max-content; }
.marquee-track span { font-family: var(--lc-font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.2em;
                      text-transform: uppercase; white-space: nowrap; padding: 16px 0; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: slide 45s linear infinite; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: 100%; flex-wrap: wrap; justify-content: center; }
  .marquee-track span + span { display: none; }
  .marquee-track span { white-space: normal; text-align: center; padding: 16px; }
}
@keyframes slide { to { transform: translateX(-50%); } }

/* Practice, about */
.practice, .about { display: grid; gap: 28px; }
.practice h2, .about h2, .services h2, .process h2 { font-size: clamp(36px, 7vw, 60px); }
.body-lg { font-size: 18px; }
.career { list-style: none; margin: 28px 0; padding: 0 0 0 26px; border-left: 1px solid var(--lc-line); }
.career li { position: relative; margin-bottom: 36px; }
.career li:last-child { margin-bottom: 0; }
.career li::before { content: ""; position: absolute; left: -31px; top: 5px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--lc-paper); border: 1px solid var(--lc-olive); }
.career-years { font-family: var(--lc-font-body); font-feature-settings: "tnum" 1; font-size: 13px;
  color: var(--lc-muted); margin: 0 0 4px; }
.career-place { font-size: clamp(26px, 5vw, 32px); line-height: 1.1; margin: 0; }
.career-role { margin: 4px 0 10px; color: var(--lc-muted); }
.career-theme { margin: 0 0 6px; font-size: 11px; }
.career li > p:last-child { margin: 0; }
.points { display: grid; gap: 20px; margin-top: 28px; }
.points p { margin: 0; }
@media (min-width: 900px) {
  .practice, .about { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .about > div:first-child { position: sticky; top: 32px; align-self: start; }
  .points { grid-template-columns: repeat(3, 1fr); }
}

/* Services */
/* The four service drawings joined into one stroke. It draws in from the left, holds, then leaves
   off the right edge, on a loop. With reduced motion it simply shows complete. */
.services-run { display: block; width: 100%; height: auto; margin: 24px 0 0; overflow: visible; }
.services-run path { fill: none; stroke: var(--lc-ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 700px) { .services-run path { stroke-width: 2.4; } }
@media (prefers-reduced-motion: no-preference) {
  .services-run path { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw-line 10s ease-in-out infinite; }
}
@keyframes draw-line {
  0% { stroke-dashoffset: 1; }
  55%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}
.service-grid { display: grid; gap: 20px; margin-top: 36px; }
.service-card { border-top: 1px solid var(--lc-line); padding: 24px 0 8px; }
.service-card.featured { background: var(--lc-olive-tint); border-top: 0; padding: 28px 24px; }
.service-art { display: block; width: 168px; height: auto; aspect-ratio: 240 / 170; object-fit: cover;
  object-position: 50% 50%; margin: -8px 0 12px; }
.service-title { font-size: clamp(26px, 5vw, 34px); line-height: 1.1; margin: 0 0 12px; }
.service-card ul { padding-left: 18px; margin: 12px 0; }
.service-card li { margin-bottom: 4px; }
.engagement { font-size: 14px; color: var(--lc-muted); margin: 0; }
.additional { margin-top: 28px; }
@media (min-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .additional { grid-column: 1 / -1; }
}

/* Process */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
.steps .num { grid-row: span 2; font-family: var(--lc-font-display); font-size: 48px; line-height: 1; color: var(--lc-olive); }
.steps strong { font-family: var(--lc-font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.steps li > span:last-child { color: var(--lc-muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .steps .num { grid-row: auto; font-size: 64px; margin-bottom: 10px; }
}

/* CTA */
.cta { border-top: 1px solid var(--lc-line); }
.cta h2 { font-size: clamp(40px, 9vw, 80px); line-height: 0.98; }
/* Contact form: plain HTML post to the Worker (worker/index.js). The Worker redirects to #sent or
   #form-error, and :target reveals the matching note. */
.contact-form { display: grid; gap: 22px 24px; margin: 32px 0 0; max-width: 760px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--lc-font-label); font-weight: 500; font-size: 11px; letter-spacing: var(--lc-label-tracking);
  text-transform: uppercase; color: var(--lc-olive); }
.field input, .field textarea { font: 16px/1.5 var(--lc-font-body); color: var(--lc-ink); background: var(--lc-paper);
  border: 0; border-bottom: 1px solid var(--lc-ink); border-radius: 0; padding: 8px 0; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--lc-olive); padding-bottom: 7px; }
.contact-form .btn { cursor: pointer; }
.contact-form p { margin: 4px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: none; max-width: 760px; margin: 24px 0 0; padding: 14px 18px; background: var(--lc-olive-tint); }
.form-note-error { background: none; border: 1px solid var(--lc-olive); }
#sent:target, #form-error:target { display: block; }
#sent:target ~ .contact-form { display: none; }
@media (min-width: 700px) {
  .contact-form { grid-template-columns: repeat(3, 1fr); }
  .field-wide { grid-column: 1 / -1; }
}

/* Instagram */
.ig { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.ig-link { margin: 18px 0 0; }
.ig-link a { font-family: var(--lc-font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-decoration: none; }
.ig-link a:hover, .ig-link a:focus-visible, .ig-inline:hover { color: var(--lc-olive); }
.ig-inline .ig { width: 12px; height: 12px; margin-right: 4px; }
