/* Hillinghead
   Neutral ground on purpose: the work is color-critical, so the page
   stays near-neutral and the texture stays faint. */

:root {
  --paper: #ffffff;
  --ink: #000;
  --mute: #6b6b68;
  --plate: #f2f2f2;
  --measure: 1100px;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { background: var(--paper); }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* Masthead ---------------------------------------------------------- */

.masthead {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) 16px clamp(40px, 5.5vw, 64px);
}

.mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

/* Typeset stand-in for the logo until the SVG goes in */
.wordmark {
  font-family: "Montserrat", "Gotham", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(27px, 3.2vw, 36px);
  line-height: 1;
  letter-spacing: .02em;
  margin-right: -.02em;
  text-transform: uppercase;
}

.city {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .5em;
  margin-right: -.5em;          /* recentre tracked text */
  text-transform: uppercase;
}

.nav {
  margin-top: clamp(30px, 4vw, 42px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px clamp(28px, 4.5vw, 52px);
}

.nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  margin-right: -.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0 3px;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* Layout ------------------------------------------------------------ */

main {
  flex: 1;
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.foot {
  text-align: center;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
  padding: clamp(64px, 9vw, 112px) 16px 32px;
}

/* Home -------------------------------------------------------------- */

.hero { display: grid; gap: clamp(16px, 3vw, 48px); }
.hero.two { grid-template-columns: 1fr 1fr; }
.hero img { width: 100%; height: auto; background: var(--plate); }

.lede {
  text-align: center;
  margin-top: clamp(32px, 5vw, 56px);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .03em;
  color: var(--mute);
}

/* Text pages -------------------------------------------------------- */

.text {
  max-width: 31em;
  margin: clamp(8px, 4vw, 48px) auto 0;
  text-align: center;
  font-weight: 300;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.text p + p { margin-top: 1.3em; }
.text .small { font-size: 14px; color: var(--mute); }
.text a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Work index -------------------------------------------------------- */

.grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 72px) clamp(16px, 3vw, 48px);
}

.grid a { display: block; text-decoration: none; }
.grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--plate);
}
.grid .t { display: block; margin-top: 16px; font-size: 15px; }
.grid .c { display: block; font-size: 13px; color: var(--mute); }
.grid a:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Project ----------------------------------------------------------- */

.project-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.project-head h1 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; letter-spacing: .01em; }
.project-head p { margin-top: 6px; font-size: 13px; color: var(--mute); }

.plates { display: grid; gap: clamp(48px, 8vw, 120px); justify-items: center; }
.plates figure { width: 100%; display: flex; justify-content: center; }
.plates img {
  width: min(100%, calc(88vh * var(--ar)));
  height: auto;
  aspect-ratio: var(--ar);
  background: var(--plate);
}

.pager {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(72px, 10vw, 140px);
}
.pager a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Access ------------------------------------------------------------ */

.access { max-width: 300px; margin: clamp(8px, 4vw, 48px) auto 0; text-align: center; }
.access label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.access input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  letter-spacing: .2em;
  text-align: center;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.access input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 9px; }
.access .err { margin-top: 12px; font-size: 13px; }
.access button {
  margin-top: 28px;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 0;
  padding: 14px 30px;
  cursor: pointer;
}
.access .note { margin-top: 44px; font-size: 13px; color: var(--mute); line-height: 1.65; }

/* Small screens ----------------------------------------------------- */

@media (max-width: 700px) {
  .hero.two, .grid { grid-template-columns: 1fr; }
  .plates img { width: 100%; }
}
