/* hearfieldresearch.com: a sibling of hearfield.com.
   Paper, ink, one orange full stop. The 2006 screenshots carry the colour. */
:root {
  /* Dark by design: the archive is the older, darker sibling of hearfield.com */
  --paper: #0A0A0A;
  --paper-deep: #1C1C1A;
  --ink: #F3F3F0;
  --graphite: #A3A39E;
  --rule: #33332F;
  --orange: #FF5000;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, Gelasio, "Times New Roman", serif;
  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.4rem;
  --step-3: clamp(2rem, 4.4vw, 3.2rem);
  --step-6: clamp(3rem, 9vw, 8.4rem);
  --margin: clamp(1.25rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.dot { color: var(--orange); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }

.frame { padding-inline: var(--margin); max-width: 84rem; margin-inline: auto; }

.masthead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.4rem var(--margin); max-width: 84rem; margin: 0 auto; flex-wrap: wrap; }
.mark { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; text-decoration: none; letter-spacing: -0.02em; }
.masthead ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.masthead nav a { text-decoration: none; font-size: var(--step--1); color: var(--graphite); }
.masthead nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

.kicker { font-size: var(--step--1); color: var(--graphite); margin-bottom: .9rem; }
.textlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.textlink:hover { text-decoration-color: var(--orange); }
.button { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: .8rem 1.3rem; font-size: var(--step--1); }
.button:hover { background: var(--orange); color: var(--ink); }
.actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }

.hero { padding-top: clamp(3rem, 10vh, 7rem); padding-bottom: clamp(4rem, 12vh, 8rem); }
.hero h1 { font-size: var(--step-6); max-width: 12ch; margin-bottom: 2rem; }
.hero .lede { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; max-width: 34rem; }
.hero p { max-width: 34rem; }

.then, .work, .clients { border-top: 1px solid var(--rule); padding-top: 3.2rem; padding-bottom: 4.5rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem 4rem; align-items: start; margin-bottom: 2.6rem; }
.split h2 { font-size: var(--step-3); max-width: 14ch; }
.prose { max-width: 36rem; }

/* The 2006 site in its four styles: the one splash of colour */
.skins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.skins a { display: block; text-decoration: none; }
.skins img { border: 1px solid var(--rule); aspect-ratio: 900 / 794; object-fit: cover; object-position: top; transition: transform .35s cubic-bezier(.3,.6,.2,1); }
.skins a:hover img, .skins a:focus-visible img { transform: translateY(-4px); }
.skins span { display: block; margin-top: .6rem; font-size: var(--step--1); color: var(--graphite); }
.skins a:hover span { color: var(--ink); }
.skins a:hover span::after { content: "."; color: var(--orange); }

/* Work: a ledger by year */
.ledger { display: grid; gap: 0; }
.year { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; border-top: 1px solid var(--rule); padding: 1rem 0 1.2rem; }
.year h3 { font-size: var(--step-1); }
.year ol { list-style: none; margin: 0; padding: 0; }
.year li a { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 11rem; gap: .2rem 1.5rem; padding: .35rem 0; text-decoration: none; }
.year .w { font-family: var(--serif); }
.year .c { color: var(--ink); }
.year .s { color: var(--graphite); font-size: var(--step--1); text-align: right; padding-top: .2rem; }
.year li a:hover .w { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .22em; }

.client-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.client-list li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--rule); }

.band { background: var(--ink); color: var(--paper); padding: clamp(4rem, 10vh, 7rem) 0; }
.band .kicker { color: #5E5E5A; }
.band h2 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); max-width: 16ch; margin-bottom: 1.6rem; line-height: 1; }
.band p { max-width: 34rem; }
.band .button { background: var(--paper); color: var(--ink); }
.band .button:hover { background: var(--orange); }

.foot { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 2rem var(--margin); max-width: 84rem; margin: 0 auto; font-size: var(--step--1); color: var(--graphite); }
.foot p { margin: 0; display: flex; gap: 1.2rem; align-items: baseline; flex-wrap: wrap; }
.foot .mark { font-size: 1.2rem; color: var(--ink); }
.foot .legal { flex-basis: 100%; font-size: .8rem; }

@media (max-width: 900px) {
  .skins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .year li a { grid-template-columns: auto 1fr; gap: 0 .6rem; padding: .5rem 0; }
  .year .w { grid-column: 1 / -1; }
  .year .c { font-size: var(--step--1); }
  .year .s { text-align: left; padding-top: 0; }
}
@media (max-width: 560px) {
  .year { grid-template-columns: 1fr; gap: .4rem; }
  .client-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .skins img { transition: none; } }

