/* Hollowfield Architects - one stylesheet, no build step. Mobile first. */

:root {
  --paper: #f6f5f2;
  --paper-2: #efeee9;
  --ink: #17181a;
  --ink-soft: #3d3f42;
  --muted: #6e6f6c;
  --rule: #dcdad3;
  --dark: #14161a;
  --dark-soft: #9ea3a4;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5.2vw, 76px);
  --stack: clamp(64px, 11vw, 152px);
  --measure: 34em;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: #d9d6cc; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 20; font-size: .82rem;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }

/* ------------------------------------------------------------ type */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.15rem, 6.4vw, 4.6rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.24rem, 2.5vw, 1.85rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  max-width: 27em;
  text-wrap: pretty;
}

.label {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.prose {
  max-width: var(--measure);
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 0; }
.prose em { font-family: var(--serif); font-style: italic; font-size: 1.06em; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------------------------------------------------------- header */

.site-head {
  padding-block: clamp(20px, 3.4vw, 34px);
  border-bottom: 1px solid var(--rule);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: .01em;
}
.mark svg { width: 21px; height: 21px; flex: none; }
.mark b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06rem;
  letter-spacing: .005em;
}
.mark span {
  display: none;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 560px) { .mark span { display: inline; } }

.nav ul {
  list-style: none;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  margin: 0; padding: 0;
}
.nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ------------------------------------------------------------ hero */

.opening { padding-block: clamp(52px, 10vw, 132px) clamp(44px, 8vw, 104px); }
.opening .display { max-width: 15em; }
.opening .lead { margin-top: clamp(26px, 3.6vw, 44px); }

/* --------------------------------------------------------- entries */

.entries { border-top: 1px solid var(--rule); }

.entry { position: relative; padding-block: clamp(40px, 7vw, 88px) 0; }
.entry + .entry { border-top: 1px solid var(--rule); }

.entry__media {
  display: block;
  overflow: hidden;
  background: var(--paper-2);
}
.entry__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.entry:hover .entry__media img { transform: scale(1.028); filter: saturate(1.05); }

.entry__meta {
  display: grid;
  gap: 6px 48px;
  padding-block: clamp(22px, 3vw, 34px) clamp(40px, 7vw, 88px);
}
.entry__no { grid-area: no; }
.entry h2 {
  grid-area: title;
  font-size: clamp(1.7rem, 3.9vw, 2.9rem);
  font-weight: 200;
  margin-top: 2px;
}
.entry h2 a { text-decoration: none; }
.entry h2 a::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
}
.entry__place { grid-area: place; }
.entry__blurb { grid-area: blurb; }
.entry__more { grid-area: more; }

.entry__place {
  font-size: .84rem;
  color: var(--muted);
  margin: 6px 0 0;
  letter-spacing: .01em;
}
.entry__blurb {
  margin: 18px 0 0;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
}
.entry__more {
  margin: 20px 0 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .25s ease;
}
.entry__more::after {
  content: ""; width: 26px; height: 1px; background: currentColor;
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.entry:hover .entry__more { color: var(--ink); }
.entry:hover .entry__more::after { width: 46px; }

.entry__meta {
  grid-template-areas: "no" "title" "place" "blurb" "more";
}
@media (min-width: 900px) {
  .entry__meta {
    grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 26em);
    grid-template-areas:
      "no title blurb"
      "no place blurb"
      ".  .     more";
    align-items: start;
  }
  .entry__blurb { margin-top: 8px; }
  .entry__more { justify-self: start; }
}

/* ------------------------------------------------------ project page */

.bleed { margin: 0; background: var(--paper-2); }
.bleed img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bleed--tall img { aspect-ratio: 3 / 2; }
.bleed--square img { aspect-ratio: 4 / 3; }

@media (max-width: 620px) {
  .bleed img { aspect-ratio: 5 / 4; }
  .bleed--tall img, .bleed--square img { aspect-ratio: 4 / 5; }
}

/* A full-bleed image should never be taller than the screen it is seen on. */
@media (min-width: 900px) {
  .bleed img { max-height: 88vh; }
  .bleed--tall img, .bleed--square img { max-height: 80vh; }
  .entry__media img { max-height: 88vh; }
}

figcaption {
  font-size: .78rem;
  color: var(--muted);
  padding-block: 14px;
  max-width: 40em;
  line-height: 1.6;
}

.project-head { padding-block: clamp(44px, 8vw, 108px) clamp(30px, 5vw, 60px); }
.project-head h1 {
  font-size: clamp(2.15rem, 6vw, 4.1rem);
  font-weight: 200;
  letter-spacing: -0.026em;
}
.project-head .label { margin-bottom: clamp(18px, 2.6vw, 28px); }
.project-head .lead { margin-top: clamp(22px, 3vw, 36px); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.facts > div {
  padding-block: 20px 22px;
  padding-right: 20px;
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.facts dd {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink);
}
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts > div { border-bottom: 0; }
  .facts { border-bottom: 1px solid var(--rule); }
}

.narrative { padding-block: clamp(50px, 9vw, 118px); }
.narrative__grid { display: grid; gap: clamp(26px, 4vw, 56px); }
@media (min-width: 980px) {
  .narrative__grid { grid-template-columns: 12rem minmax(0, 1fr); }
}
.narrative h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 200;
  margin-bottom: .7em;
}

.section { padding-block: clamp(50px, 9vw, 118px); }
.section--tight { padding-block: clamp(38px, 6vw, 76px); }

.next {
  border-top: 1px solid var(--rule);
  padding-block: clamp(44px, 7vw, 96px);
}
.next a {
  text-decoration: none;
  display: inline-block;
}
.next a h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 200;
  margin-top: 10px;
  transition: opacity .3s ease;
}
.next a:hover h2 { opacity: .55; }

/* ------------------------------------------------------- practice */

.people {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.people li {
  display: grid;
  gap: 4px 40px;
  padding-block: clamp(20px, 2.8vw, 30px);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 780px) {
  .people li { grid-template-columns: minmax(0, 15rem) minmax(0, 13rem) minmax(0, 1fr); align-items: baseline; }
}
.people h3 { font-size: 1.22rem; font-weight: 400; }
.people .role { font-size: .8rem; color: var(--muted); letter-spacing: .01em; }
.people p { font-size: .93rem; color: var(--ink-soft); line-height: 1.7; margin: 6px 0 0; }
@media (min-width: 780px) { .people p { margin-top: 0; } }

.approach {
  display: grid;
  gap: clamp(30px, 4.5vw, 64px);
  margin-top: clamp(34px, 5vw, 62px);
}
@media (min-width: 860px) { .approach { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.approach h3 {
  font-size: 1.28rem;
  font-weight: 400;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-bottom: .55em;
}
.approach p { font-size: .95rem; color: var(--ink-soft); line-height: 1.72; }

/* -------------------------------------------------------- contact */

.contact-grid { display: grid; gap: clamp(34px, 5vw, 70px); }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.contact-block h2 {
  font-size: .68rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 22px;
}
.contact-block address {
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-block a:hover { border-bottom-color: var(--ink); }
.big-link {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .3s ease;
  display: inline-block;
  line-height: 1.3;
}
.big-link:hover { border-bottom-color: var(--ink); }

/* --------------------------------------------------------- footer */

.site-foot {
  background: var(--dark);
  color: var(--paper);
  padding-block: clamp(52px, 8vw, 100px) clamp(26px, 4vw, 40px);
  margin-top: clamp(60px, 9vw, 120px);
}
.site-foot a { color: inherit; }
.site-foot__top {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(40px, 6vw, 70px);
}
@media (min-width: 800px) {
  .site-foot__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.site-foot h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 200;
  color: var(--paper);
  max-width: 12em;
}
.site-foot .label { color: var(--dark-soft); margin-bottom: 14px; }
.site-foot address, .site-foot ul {
  font-style: normal;
  font-size: .92rem;
  line-height: 1.9;
  color: #cfd2d1;
  margin: 0; padding: 0; list-style: none;
}
.site-foot address a, .site-foot ul a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: border-color .25s ease;
}
.site-foot address a:hover, .site-foot ul a:hover { border-bottom-color: #fff; }
.site-foot__bar {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: .74rem;
  color: #8d9192;
  letter-spacing: .02em;
}
.site-foot__bar a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.site-foot__bar a:hover { color: #fff; border-bottom-color: #fff; }

/* --------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
