/* HomePic — archive stylesheet */
@font-face { font-family: "Fraunces"; src: url("/_cdn/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/_cdn/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/_cdn/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --paper: #f6f0e6;
  --paper-deep: #ece2d2;
  --ink: #2b2420;
  --ink-soft: #62564b;
  --rule: #d6c9b5;
  --clay: #a84a24;
  --sage: #77876a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --edge: clamp(16px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* masthead */
.masthead {
  display: flex;
  align-items: baseline;
  gap: 12px 36px;
  flex-wrap: wrap;
  padding: 22px var(--edge) 16px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font: 600 28px/1 var(--serif);
  letter-spacing: -0.025em;
  text-decoration: none;
}
.wordmark span { color: var(--clay); font-style: italic; font-weight: 400; }
.wordmark.small { font-size: 22px; }
.masthead nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.masthead nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current] { border-color: var(--ink); }
.tally { margin-left: auto; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* opening */
.opening {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 84px) var(--edge) clamp(40px, 6vw, 88px);
  align-items: start;
}
.kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
h1 {
  font: 380 clamp(44px, 6.3vw, 92px)/0.98 var(--serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 em { color: var(--clay); font-weight: 340; }
.standfirst { margin-top: 26px; max-width: 34em; color: var(--ink-soft); text-wrap: pretty; }
.actions { margin-top: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.btn {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 2px;
}
.btn:hover { background: var(--clay); }
.plain { font-weight: 500; text-decoration-color: var(--clay); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.plain:hover { color: var(--clay); }

.wall {
  display: grid;
  grid-template-columns: 7fr 4fr;
  grid-template-rows: auto auto;
  gap: 14px 14px;
  align-items: start;
}
.wall img { width: 100%; object-fit: cover; background: var(--paper-deep); }
.f-kitchen { grid-column: 1; grid-row: 1; }
.f-kitchen img { aspect-ratio: 3 / 2; }
.f-stairs { grid-column: 2; grid-row: 1 / span 2; margin-top: 46px; }
.f-stairs img { aspect-ratio: 13 / 18; }
.f-living { grid-column: 1; grid-row: 2; width: 62%; justify-self: end; }
.f-living img { aspect-ratio: 1; }
figcaption {
  font: italic 400 13.5px/1.35 var(--serif);
  color: var(--ink-soft);
  padding-top: 7px;
}
figcaption b { font: 600 11px var(--sans); letter-spacing: 0.06em; color: var(--ink); margin-right: 6px; text-transform: uppercase; }
.wall a:hover img { filter: saturate(1.12); }

/* rooms */
.rooms { padding: 0 var(--edge) clamp(48px, 7vw, 96px); }
.rooms h2, .how h3 {
  font: 600 12.5px var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rooms h2 { border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 6px; }
.room-list { columns: 2; column-gap: clamp(28px, 5vw, 72px); }
.room-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0 11px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  break-inside: avoid;
}
.room-list span { font: 400 clamp(24px, 2.7vw, 36px)/1.1 var(--serif); letter-spacing: -0.02em; }
.room-list i { font-style: normal; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.room-list a:hover span { color: var(--clay); font-style: italic; }

/* feature */
.feature {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
}
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-text { padding: clamp(28px, 5vw, 72px); }
.feature .kicker { color: #c9b79b; }
.feature h2 { font: 360 clamp(28px, 3.3vw, 46px)/1.08 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.feature p + p, .feature h2 + p { margin-top: 18px; }
.feature-text > p:not(.kicker) { color: #dbd0c0; max-width: 32em; }
.feature .plain { color: var(--paper); text-decoration-color: #e08a5f; }

/* how */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  padding: clamp(44px, 6vw, 80px) var(--edge);
}
.how h3 { color: var(--clay); margin-bottom: 10px; }
.how p { font-size: 16px; color: var(--ink-soft); }

/* colophon */
.colophon {
  border-top: 1px solid var(--rule);
  padding: 28px var(--edge) 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 40px;
  align-items: baseline;
  font-size: 14.5px;
}
.colophon ul { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.colophon a { text-underline-offset: 3px; text-decoration-color: var(--rule); }
.colophon a:hover { text-decoration-color: var(--clay); }
.fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-soft); }

/* inner pages */
.page-head { padding: clamp(36px, 6vw, 80px) var(--edge) clamp(28px, 4vw, 48px); max-width: 1100px; }
.page-head .kicker a { color: inherit; text-underline-offset: 3px; }
.page-title { font: 380 clamp(44px, 7vw, 104px)/0.96 var(--serif); letter-spacing: -0.04em; }
.page-head .standfirst { font-size: 19px; max-width: 36em; }

.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
.plates.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-deep); }
.plate a:hover img { filter: saturate(1.12); }
.plate:target img { outline: 3px solid var(--clay); outline-offset: 4px; }
.said { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; max-width: 34em; }

.recent { padding: clamp(44px, 6vw, 80px) var(--edge) 0; }
.recent h2 { font: 600 12.5px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 22px; }

.room {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 20px clamp(24px, 4vw, 64px);
  padding: 30px var(--edge) clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 12px;
}
.room.solo { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
.room-head { position: sticky; top: 18px; align-self: start; }
.room-head h2 { font: 400 clamp(30px, 3.4vw, 46px)/1.02 var(--serif); letter-spacing: -0.03em; }
.room-head .count { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin: 8px 0 12px; }
.room-head p { font-size: 15.5px; color: var(--ink-soft); }
.room-head .more { margin-top: 14px; }

.timeline { padding: 0 var(--edge) clamp(40px, 6vw, 80px); }
.decade { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 16px 32px; border-top: 1px solid var(--rule); padding: 22px 0; }
.decade h2 { font: 340 italic clamp(40px, 5.5vw, 76px)/0.9 var(--serif); color: var(--clay); letter-spacing: -0.04em; }
.decade a { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding: 8px 0; text-decoration: none; }
.decade img { aspect-ratio: 3 / 2; object-fit: cover; width: 132px; }
.decade span { font: 400 clamp(19px, 2vw, 25px)/1.2 var(--serif); letter-spacing: -0.015em; }
.decade b { font: 600 13px var(--sans); margin-right: 10px; font-variant-numeric: tabular-nums; }
.decade i { display: block; font: 400 13px var(--sans); color: var(--ink-soft); margin-top: 3px; letter-spacing: 0; }
.decade a:hover span { color: var(--clay); }

.prose { padding: 8px var(--edge) clamp(48px, 7vw, 96px); max-width: calc(40em + 2 * var(--edge)); }
.prose h2 { font: 500 27px/1.15 var(--serif); letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--clay); }
.prose a { text-decoration-color: var(--clay); text-underline-offset: 3px; }
.prose .sample { font: 400 15px/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper-deep); padding: 14px 16px; border-left: 3px solid var(--clay); margin: 0 0 14px; }
.prose.with-figure { max-width: none; display: block; }
.prose.with-figure > :not(.aside) { max-width: 40em; }
.aside { float: right; width: min(38%, 460px); margin: 44px 0 24px 48px; }
.aside img { width: 100%; }

.lost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 8vw, 110px) var(--edge); }
.lost img { width: 100%; }

@media (max-width: 980px) { .plates.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .room, .decade, .lost { grid-template-columns: 1fr; }
  .room-head { position: static; }
  .aside { float: none; width: 100%; margin: 28px 0 0; }
}
@media (max-width: 560px) {
  .plates { grid-template-columns: 1fr; }
  .decade a { grid-template-columns: 96px 1fr; }
  .decade img { width: 96px; }
}

@media (max-width: 860px) {
  .opening, .feature { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .tally { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .room-list { columns: 1; }
  .f-stairs { margin-top: 0; }
  .colophon { grid-template-columns: 1fr; }
}
