/* --- self-hosted faces --- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-normal-400-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* --- end faces --- */

/* VWH Development, LLC — vernhaugen.com
   One stylesheet. No build step. */

:root {
  --ink:        #1B1815;
  --ink-soft:   #4A443C;
  --muted:      #7A7266;
  --paper:      #F6F3EC;
  --paper-2:    #FFFDF8;
  --rule:       #DAD3C4;
  --rule-soft:  #E7E1D5;
  --clay:       #9A4A26;
  --sand:       #C9BFA9;

  --gap:  clamp(1.25rem, 4vw, 3.25rem);
  --bay:  clamp(3.5rem, 8vw, 7rem);
  --max:  1280px;

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; z-index: 99; text-decoration: none;
}
.skip:focus { left: .75rem; top: .75rem; }

.shell { max-width: var(--max); margin: 0 auto; padding-inline: var(--gap); }

/* ---------- small caps label ---------- */
.label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
}
.masthead .shell {
  display: flex; align-items: center; gap: 1rem 2rem;
  min-height: 4.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { font-style: normal; color: var(--muted); }

.masthead nav {
  margin-left: auto;
  display: flex; flex-wrap: wrap; gap: .4rem 1.75rem;
}
.masthead nav a {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding-block: .25rem;
  border-bottom: 1px solid transparent;
}
.masthead nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 6rem); }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  max-width: 17ch;
  letter-spacing: -0.025em;
}
.hero h1 em { font-style: italic; color: var(--ink-soft); }
.hero .lede {
  max-width: 54ch;
  margin: 1.75rem 0 0;
  font-size: clamp(1.02rem, .55vw + .9rem, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* stat row — hairlines, no boxes */
.tally {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  border-top: 1px solid var(--ink);
}
.tally > div {
  padding: 1.4rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.tally b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.02em;
}
.tally span {
  display: block; margin-top: .55rem;
  font-size: .74rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
  max-width: 22ch;
}

/* below-the-fold sections skip layout/paint until near the viewport */
.bay { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.shots { content-visibility: auto; contain-intrinsic-size: auto 1200px; }

/* ---------- section heads ---------- */
.bay { padding-top: var(--bay); }
.cat-head {
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: .85rem;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
}
.cat-head .n {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; color: var(--clay);
}
.cat-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}
.cat-head .count {
  margin-left: auto;
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

/* ---------- project index (catalogue plates, not cards) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: clamp(2rem, 3.5vw, 3.25rem) clamp(1.5rem, 2.5vw, 2.5rem);
}

.plate { text-decoration: none; display: flex; flex-direction: column; }
.plate .frame {
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.plate .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
.plate:hover .frame img { transform: scale(1.035); }

.plate .meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem 1rem;
  align-items: baseline;
  margin-top: .95rem;
  padding-top: .8rem;
  border-top: 1px solid var(--ink);
}
.plate h3 {
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.plate:hover h3 { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.plate .fig {
  font-family: var(--serif);
  font-size: 1.14rem;
  white-space: nowrap;
  text-align: right;
}
.plate .loc {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}
.plate .unit {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-family: var(--sans);
  display: block; text-align: right; margin-top: .1rem;
}

/* ---------- project page ---------- */
.crumb {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin: clamp(2rem, 4vw, 3rem) 0 1.5rem;
}
.crumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.crumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.proj {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 860px) { .proj { grid-template-columns: 1fr; } }

.proj h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  letter-spacing: -0.025em;
}
.proj .loc { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1rem; }

.bigfig { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.bigfig b {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.1rem);
  line-height: .95; letter-spacing: -0.03em;
}
.bigfig span {
  display: block; margin-top: .6rem;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

.spec { margin: 1.75rem 0 0; padding: 0; list-style: none; }
.spec li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .95rem;
  color: var(--ink-soft);
}
.spec li:first-child { border-top: 1px solid var(--rule-soft); }

.proj .lead { background: var(--sand); }
.proj .lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: 2rem; }
.btn {
  display: inline-block;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none;
  background: var(--ink); color: var(--paper);
  padding: .85rem 1.6rem;
  transition: background .2s ease;
}
.btn:hover { background: var(--clay); }
.btn-quiet {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule);
  padding: .8rem 1.5rem;
}
.btn-quiet:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* ---------- gallery ---------- */
.shots { padding-top: var(--bay); }
.shots .cat-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.plates {
  columns: 3 260px;
  column-gap: clamp(.75rem, 1.5vw, 1.15rem);
}
.plates a {
  display: block;
  margin: 0 0 clamp(.75rem, 1.5vw, 1.15rem);
  break-inside: avoid;
  background: var(--sand);
  overflow: hidden;
}
.plates img { width: 100%; transition: opacity .3s ease; }
.plates a:hover img { opacity: .84; }

.more { padding-top: var(--bay); }
.more .cat-head .count a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.more .cat-head .count a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.siblings { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: clamp(1.5rem, 3vw, 3rem); }
.siblings li { break-inside: avoid; }
.siblings a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
}
.siblings a em { font-style: normal; font-family: var(--serif); font-size: 1.02rem; }
.siblings a span { margin-left: auto; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.siblings a:hover em { text-decoration: underline; text-underline-offset: .18em; }

/* ---------- contact ---------- */
.band { background: var(--ink); color: var(--paper); margin-top: var(--bay); }
.band .shell { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band .label { color: var(--sand); }
.band h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-top: 1.5rem;
  max-width: 18ch;
  letter-spacing: -0.025em;
}
.band p { color: #C6BEB0; max-width: 46ch; margin: 1.25rem 0 0; }
.band .lines { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.band .lines a {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: .15rem;
}
.band .lines a:hover { border-bottom-color: #fff; }

/* ---------- footer ---------- */
.sitefoot {
  background: var(--ink); color: #9C948A;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .875rem;
}
.sitefoot .shell {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
.sitefoot h2 {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sand); margin-bottom: .9rem;
}
.sitefoot p { margin: .3rem 0; }
.sitefoot a { color: #E5DFD4; text-decoration: none; border-bottom: 1px solid transparent; }
.sitefoot a:hover { border-bottom-color: #E5DFD4; }
.colophon {
  border-top: 1px solid rgba(255,255,255,.13);
  color: #7C756C; font-size: .78rem;
}
.colophon .shell { padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
