/* Guaranteed Rental Return: investment memo */

:root {
  --ink: #16191C;
  --ink-2: #4A4F54;
  --em: #1E6B52;
  --em-deep: #185A45;
  --paper: #F5F5F0;
  --brass: #A88B4C;
  --rule: #CFCFC8;

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --sc: "Spectral SC", "Spectral", Georgia, serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --num: 4.5rem;
  --main: 40rem;
  --note: 15rem;
  --gap: clamp(1.5rem, 3vw, 3.25rem);
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: rgba(168, 139, 76, .3); color: var(--ink); }

p { margin: 0 0 1em; hanging-punctuation: first allow-end; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color .15s ease, color .15s ease, background-color .15s ease, border-color .15s ease;
}
a:hover { text-decoration-color: var(--ink); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }

.sc { font-family: var(--sc); font-weight: 400; letter-spacing: .045em; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -999px; top: .75rem; z-index: 60;
  background: var(--ink); color: var(--paper); padding: .55rem .85rem; text-decoration: none;
}
.skip:focus { left: .75rem; }

.doc {
  max-width: calc(var(--num) + var(--main) + var(--note) + (2 * var(--gap)) + (2 * var(--pad)));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--em);
  color: var(--paper);
  font: 500 .98rem/1.2 var(--body);
  letter-spacing: .01em;
  padding: .95rem 1.4rem;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.btn:hover { background: var(--em-deep); color: var(--paper); }
.btn--sm { padding: .62rem 1rem; font-size: .9rem; }

/* ---------- masthead ---------- */

.masthead {
  position: relative;
  z-index: 30;
  background: var(--paper);
  border-bottom: 3px double var(--brass);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.3rem 1.15rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: .004em;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}
.wordmark::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 1px;
  margin-top: .5rem;
  background: var(--brass);
  transition: width .25s ease;
}
a.wordmark:hover::after { width: 4rem; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.55rem;
}
.site-nav a:not(.btn) {
  font: 500 .92rem/1.3 var(--body);
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--brass); }
.site-nav .btn[aria-current="page"] { background: var(--ink); }
.nav-cta { margin-left: .4rem; }

.menu-toggle {
  display: none;
  font: 500 .9rem/1 var(--body);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: .6rem .95rem;
  cursor: pointer;
}
.menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: inline; }

/* ---------- document grid ---------- */

.row {
  display: grid;
  grid-template-columns: var(--num) minmax(0, var(--main)) minmax(0, var(--note));
  column-gap: var(--gap);
  align-items: start;
}
.row > .n { grid-column: 1; }
.row > .t { grid-column: 2; min-width: 0; }
.row > .t--wide { grid-column: 2 / 4; }
.row > .m { grid-column: 3; }
.row + .row { margin-top: 2rem; }

.n {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
  font-variant-numeric: lining-nums tabular-nums;
  padding-top: .12rem;
}

.t p { max-width: var(--main); }
.t h3 {
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.t h3 + p { margin-top: 0; }

.m {
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-2);
  border-top: 1px solid var(--brass);
  padding-top: .65rem;
  margin-top: .35rem;
}
.m p { margin-bottom: .7em; }
.term {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
}

/* ---------- cover ---------- */

.cover { padding-block: clamp(3rem, 8vw, 6.75rem) clamp(2.75rem, 5vw, 4.25rem); }
.doc-label { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 1.4rem; }
.cover h1 {
  font-size: clamp(2.55rem, 1.35rem + 4.3vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 17ch;
}
.lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.22rem, 1.05rem + .6vw, 1.55rem);
  line-height: 1.42;
  color: var(--ink-2);
  max-width: 36rem;
  margin-top: 1.6rem;
}
.memo {
  margin: 2.6rem 0 0;
  max-width: 52rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.memo-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: .72rem 0;
}
.memo-row + .memo-row { border-top: 1px solid var(--rule); }
.memo dt { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.memo dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.cover-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}
.or { font-size: .95rem; color: var(--ink-2); }
.or a { color: var(--ink); }

/* ---------- clauses ---------- */

.clause { padding-top: clamp(3.25rem, 6.5vw, 5.75rem); }
.clause--cont { padding-top: 2.25rem; }
.row.ch {
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
  margin-bottom: 2.1rem;
  align-items: baseline;
}
.row.ch + .row { margin-top: 0; }
.ch .n {
  font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem);
  line-height: 1;
  color: var(--brass);
  padding-top: 0;
}
.ch h2 {
  grid-column: 2 / 4;
  font-size: clamp(1.9rem, 1.25rem + 1.8vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.012em;
}

.statement {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  padding: 1.35rem 0 1.5rem;
  margin: .5rem 0 .25rem;
}
.statement-label { color: var(--ink-2); font-size: 1rem; margin: 0 0 .45rem; }
.statement-text {
  font-family: var(--display);
  font-size: clamp(1.22rem, 1rem + .75vw, 1.6rem);
  line-height: 1.36;
  max-width: 46rem !important;
  margin: 0;
}
.clause .statement:first-child { margin-top: 0; }

/* ---------- plates ---------- */

.plate { margin: 0; }
.plate.doc { margin-inline: auto; }
.plate img { width: 100%; object-fit: cover; }
.cap {
  display: block;
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--ink-2);
  padding-top: .7rem;
}
.cap .sc { color: var(--ink); font-size: .95rem; letter-spacing: .03em; }
.plate > figcaption .cap { margin-left: calc(var(--num) + var(--gap)); }

.plate--full img { aspect-ratio: 16 / 7; max-height: 84vh; }
.plate--band { margin-top: 0; }
.plate--band img { aspect-ratio: 16 / 5; }

.plate--inset { margin-top: clamp(3.5rem, 7vw, 6rem); }
.plate--inset img { aspect-ratio: 16 / 9; }

.plate--offset { margin-top: clamp(4rem, 8vw, 7rem); }
.offset-wrap { width: min(100%, 60rem); margin-left: auto; }
.plate--left .offset-wrap { margin-left: 0; margin-right: auto; }
.plate--offset img { aspect-ratio: 3 / 2; }

/* ---------- schedules (tables) ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1rem; }
.table-wrap:focus-visible { outline-offset: 6px; }
.sched {
  width: 100%;
  max-width: 52rem;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.4;
}
.sched caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-size: 1.15rem;
  padding-bottom: .85rem;
}
.sched caption .sc { font-size: 1.1rem; margin-right: .2rem; }
.sched thead th {
  font: 500 .74rem/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-2);
  text-align: left;
  padding: .6rem .75rem .6rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
.sched th, .sched td { padding: .52rem .75rem .52rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sched th:last-child, .sched td:last-child { padding-right: 0; }
.sched tbody th { font-weight: 400; text-align: left; }
.sched .num {
  font-family: var(--mono);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  width: 9.5rem;
}
.sched thead th.num { font-family: var(--body); font-size: .74rem; }
.sched tr.grp th {
  font-family: var(--sc);
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--ink-2);
  padding-top: 1.35rem;
}
.sched tr.sub th { font-weight: 500; }
.sched tr.sub th, .sched tr.sub td { border-top: 1px solid var(--ink-2); }
.sched tr.key th { font-family: var(--display); font-weight: 600; font-size: 1.06rem; }
.sched tr.key th, .sched tr.key td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--brass); padding-block: .7rem; }
.table-note { font-size: .82rem; color: var(--ink-2); margin-top: .9rem; max-width: 46rem; }

.illustrative {
  display: inline-block;
  font-family: var(--sc);
  font-size: 1.02rem;
  letter-spacing: .04em;
  border: 1px solid var(--brass);
  padding: .5rem .85rem .55rem;
  margin-bottom: 1.25rem;
}

.sched--text { max-width: none; }
.sched--text td { font-size: .92rem; }
.sched--text tbody th { font-family: var(--display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.sched--text tbody th a { text-decoration-color: var(--rule); }

/* ---------- spread (text + tall photo) ---------- */

.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
  gap: var(--gap);
  align-items: start;
  padding-top: 2rem;
}
.spread .row { grid-template-columns: var(--num) minmax(0, 1fr); }
.spread .row > .m { grid-column: 2; margin-top: 1.1rem; max-width: 30rem; }
.spread-fig { margin: 0; position: sticky; top: 1.5rem; }
.spread-fig img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- FAQ ---------- */

.row--faq > .t { grid-column: 2 / 4; }
.qa {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: .6rem var(--gap);
  padding: 1.35rem 0 1.4rem;
  border-top: 1px solid var(--rule);
}
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa .q { font-family: var(--display); font-weight: 600; font-size: 1.14rem; line-height: 1.35; }
.qa .a { margin: 0; max-width: 38rem; }

/* ---------- portrait (about) ---------- */

.portrait { padding-top: clamp(1rem, 3vw, 2rem); }
.portrait-grid {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 1.75rem;
}
.portrait-fig { margin: 0; }
.portrait-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-bottom: 1px solid var(--brass);
}
.portrait-text { max-width: 38rem; }
.dropcap {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + .65vw, 1.5rem);
  line-height: 1.42;
}
.dropcap::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: .82;
  padding: .06em .1em 0 0;
  color: var(--brass);
}

/* ---------- closing ---------- */

.closing { padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem); }
.closing .t { border-top: 3px double var(--brass); padding-top: 2.4rem; }
.closing-line {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  max-width: 21ch;
  margin-bottom: 1.4rem;
}
.closing .t > p { max-width: 38rem; }
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem !important;
  max-width: none !important;
}
.plain { font-weight: 500; }
.signature {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-top: 2.6rem !important;
}
.signature span {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: .84rem;
  color: var(--ink-2);
  margin-top: .35rem;
}

/* ---------- request form ---------- */

.row--form { align-items: start; }
.m--contact a { color: var(--ink); }
.request { max-width: 36rem; }
.field {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: .5rem;
  padding: 1.1rem 0 1.25rem;
  border-top: 1px solid var(--rule);
}
.field:first-child { border-top-color: var(--ink); }
.field > * { grid-column: 2; }
.field > .fn {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: var(--display);
  color: var(--ink-2);
  font-variant-numeric: lining-nums tabular-nums;
}
.field label { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1.05rem/1.4 var(--body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: .5rem 0 .45rem;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316191C' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .2rem center;
  cursor: pointer;
}
.field textarea { border: 1px solid var(--ink); padding: .6rem .7rem; resize: vertical; min-height: 7rem; margin-top: .2rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--em); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom: 2px solid var(--brass); }
.hint { font-size: .82rem; line-height: 1.45; color: var(--ink-2); margin: .5rem 0 0; }
.field--submit { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.form-error {
  border-left: 3px solid var(--brass);
  padding: .35rem 0 .35rem .8rem;
  font-weight: 500;
  margin: .5rem 0 1rem 2.75rem;
}
.thanks {
  max-width: 36rem;
  border-top: 3px double var(--brass);
  padding: 1.75rem 0 .5rem;
}
.thanks:focus { outline: none; }
.thanks .sc { color: var(--ink-2); margin-bottom: .6rem; }
.thanks-line { font-family: var(--display); font-size: 1.6rem; line-height: 1.3; }

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

.colophon {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.colophon :focus-visible { outline-color: var(--paper); }
.colophon a { color: var(--paper); text-decoration-color: var(--brass); }
.colophon a:hover { text-decoration-color: var(--paper); }
.colophon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem var(--gap);
  padding-bottom: 2.75rem;
}
.colophon p { font-size: .875rem; line-height: 1.6; color: rgba(245, 245, 240, .82); }
.wordmark--foot { color: var(--paper) !important; font-size: 1.25rem !important; margin-bottom: 1.25rem !important; }
.foot-statement {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.04rem !important;
  line-height: 1.45 !important;
  color: var(--paper) !important;
  border-left: 1px solid var(--brass);
  padding-left: 1rem;
  max-width: 28rem;
  margin-top: 1.4rem;
}
.foot-h { font-size: 1.02rem; color: var(--brass); margin: 0 0 .9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; font-size: .875rem; line-height: 1.95; }
.foot-links a { text-decoration-color: rgba(168, 139, 76, .55); }
.colophon-legal {
  background: linear-gradient(rgba(168, 139, 76, .5), rgba(168, 139, 76, .5)) center top / calc(100% - (2 * var(--pad))) 1px no-repeat;
  padding-block: 1.4rem 2.6rem;
}
.colophon-legal p { font-size: .8rem; margin: 0 0 .35rem; color: rgba(245, 245, 240, .74); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  :root { --num: 3.5rem; }
  .row { grid-template-columns: var(--num) minmax(0, 1fr); }
  .row > .t--wide, .ch h2, .row--faq > .t { grid-column: 2 / 3; }
  .row > .m { grid-column: 2; max-width: 32rem; margin-top: 1.1rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px double var(--brass);
    padding: .25rem var(--pad) 1.75rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a:not(.btn) {
    display: block;
    font: 400 1.35rem/1.3 var(--display);
    padding: .85rem 0;
    border-bottom: 0;
  }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .25em; }
  .site-nav li.nav-cta { border-bottom: 0; margin: 1.4rem 0 0; }
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); }
  .qa { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --num: 2.5rem; --gap: 1.1rem; }
  body { font-size: 1.03rem; }
  .masthead-inner { padding-block: 1rem .95rem; gap: 1rem; }
  .wordmark { font-size: 1.1rem; }
  .wordmark::after { margin-top: .4rem; width: 2rem; }
  .row > .n:empty { display: none; }
  .row > .n:empty ~ .t, .row > .n:empty ~ .m { grid-column: 1 / -1; }
  .row + .row { margin-top: 1.6rem; }
  .row.ch { margin-bottom: 1.5rem; }
  .n { font-size: .95rem; }
  .memo-row { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .plate > figcaption .cap { margin-left: 0; }
  .plate--full img { aspect-ratio: 4 / 3; max-height: none; }
  .plate--band img { aspect-ratio: 3 / 2; }
  .plate--inset img { aspect-ratio: 4 / 3; }
  .plate--offset img { aspect-ratio: 4 / 3; }
  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread-fig { position: static; max-width: 26rem; }
  .portrait-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait-fig { max-width: 17rem; }
  .colophon-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sched { font-size: .88rem; }
  .sched .num { font-size: .78rem; width: auto; padding-left: .5rem; }
  .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack th, .table-wrap--stack td { display: block; }
  .table-wrap--stack tr { border-top: 1px solid var(--ink); padding: .8rem 0 .9rem; }
  .table-wrap--stack th, .table-wrap--stack td { border: 0; padding: .15rem 0; }
  .table-wrap--stack td::before {
    content: attr(data-label);
    display: block;
    font: 500 .7rem/1.4 var(--body);
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--ink-2);
    margin-top: .45rem;
  }
  .form-error { margin-left: 0; }
  .closing-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .masthead, .menu-toggle, .closing-actions, .colophon-grid .col:last-child { display: none; }
  body, html { background: #fff; }
}

/* ---------- refinements ---------- */
strong, b { font-weight: 500; }
.field--submit .btn { justify-self: start; min-width: 14rem; }
main > .clause:last-child { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.closing-line { max-width: 23ch; }

/* ---------- art direction pass ---------- */
:root { --docmax: calc(var(--num) + var(--main) + var(--note) + (2 * var(--gap)) + (2 * var(--pad))); }

/* Clause headings span the text and margin columns so they never wrap early */
.row.ch > h2.t { grid-column: 2 / 4; }

/* Memo block and schedules run to the same right edge as the clause rules */
.memo { max-width: none; }
.t--wide .sched { max-width: none; }

/* Offset plates break the grid on purpose: one edge on the text column, the other bleeding off the page */
.plate--offset.doc { max-width: none; padding-inline: 0; }
.plate--offset .offset-wrap {
  width: auto;
  margin-left: calc(max(var(--pad), (100% - var(--docmax)) / 2 + var(--pad)) + var(--num) + var(--gap));
  margin-right: 0;
}
.plate--offset.plate--left .offset-wrap {
  margin-left: 0;
  margin-right: calc(max(var(--pad), (100% - var(--docmax)) / 2 + var(--pad)) + var(--note) + var(--gap));
}
.plate--offset img { aspect-ratio: 16 / 9; max-height: 82vh; }
.plate--left .cap { text-align: right; }
.closing-line { max-width: 26ch; }

@media (max-width: 1100px) {
  .row.ch > h2.t { grid-column: 2 / 3; }
  .plate--offset.plate--left .offset-wrap { margin-right: calc(var(--pad) + var(--num) + var(--gap)); }
}
@media (max-width: 760px) {
  .plate--offset .offset-wrap,
  .plate--offset.plate--left .offset-wrap { margin-inline: var(--pad); }
  .plate--offset img { aspect-ratio: 4 / 3; }
  .plate--left .cap { text-align: left; }
  .table-wrap--stack caption { display: block; width: auto; }
}
.sched caption { text-wrap: balance; }
@media (max-width: 1100px) { .site-nav.is-open { border-top: 1px solid var(--rule); } }
.cap { text-wrap: balance; }

/* ---------- final art direction pass ---------- */
.nw { white-space: nowrap; }
.cover h1 { max-width: 19.5ch; }
.memo-row { grid-template-columns: 10.5rem minmax(0, 1fr); }
.clause > .spread { padding-top: 0; }
.spread--short { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); }
.spread--short .spread-fig { margin-top: .25rem; }
@media (max-width: 760px) {
  .memo-row { grid-template-columns: minmax(0, 1fr); }
  .cover h1 { max-width: none; }
  .spread--short { grid-template-columns: minmax(0, 1fr); }
}
.memo dd { text-wrap: pretty; }

/* Blog */

/* Navigation: current state inside the blog, and room for the added link */
.site-nav a[aria-current="true"]:not(.btn) { border-bottom-color: var(--brass); }
@media (min-width: 1101px) {
  .masthead-inner { gap: 1.25rem; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { white-space: nowrap; }
  .nav-cta { margin-left: .1rem; }
}
@media (max-width: 1100px) {
  .site-nav a[aria-current="true"]:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .25em; }
}

/* Breadcrumb */
.crumbs { margin: 0 0 2rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; color: var(--brass); margin-right: .6rem; }
.crumbs a { color: var(--ink-2); text-decoration-color: var(--rule); }
.crumbs a:hover { color: var(--ink); text-decoration-color: var(--brass); }
.crumbs [aria-current] { color: var(--ink); }

/* Article cover */
.cover--post, .cover--blog { padding-top: clamp(2rem, 4.5vw, 3.5rem); }
.cover--post { padding-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.cover--post h1 {
  font-size: clamp(2.15rem, 1.25rem + 3vw, 3.95rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  max-width: 21ch;
}
.brief { margin-top: 2.4rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.brief-row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0 1.35rem;
}
.brief-row + .brief-row { border-top: 1px solid var(--rule); padding-block: 1rem; align-items: center; }
.brief-label { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; padding-top: .28rem; }
.brief-row--byline .brief-label { padding-top: 0; }
.answer {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.02rem + .62vw, 1.5rem);
  line-height: 1.45;
  margin: 0;
  max-width: 42rem;
}
.byline-photo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  object-position: 50% 20%;
  mix-blend-mode: multiply;
  border-bottom: 1px solid var(--brass);
}
.byline { margin: 0; }
.byline-name { display: block; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.byline-meta { display: block; font-size: .86rem; color: var(--ink-2); font-variant-numeric: lining-nums; margin-top: .15rem; }

/* Article photo */
.plate--post { margin-top: 0; }
.plate--post img { aspect-ratio: 3 / 2; max-height: 86vh; }

/* Article body */
.post-body .clause { padding-top: clamp(2.75rem, 5vw, 4.25rem); }
.post-body .row + .row { margin-top: 1.4rem; }
.post-body .row.ch + .row { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.35rem; max-width: var(--main); }
.prose p + ul, .prose p + ol { margin-top: -.2em; }
.prose li { margin: .4em 0; padding-left: .3rem; }
.prose ul li::marker { color: var(--brass); }
.prose ol li::marker { font-family: var(--display); color: var(--brass); font-variant-numeric: lining-nums tabular-nums; }
.prose > :last-child { margin-bottom: 0; }
.prose .table-wrap { margin: 1.2rem 0 1.4rem; }
.prose .table-wrap:last-child { margin-bottom: 0; }
.sched--post { max-width: none; }
.sched--post thead th { padding-right: 1.25rem; }
.sched--post td { padding-right: 1.25rem; }
.sched--post tbody td:first-child { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.35; width: 30%; }
.row--after-faq .t p { font-size: .92rem; color: var(--ink-2); }

/* Closing note */
.closing--post { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem); }
.closing-label { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 1rem; }
.closing--post .t > p.closing-note {
  font-family: var(--display);
  font-size: clamp(1.28rem, 1.05rem + .85vw, 1.72rem);
  line-height: 1.42;
  max-width: 44rem;
  color: var(--ink);
}

/* Register of notes (index and further reading) */
.register {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.entry {
  position: relative;
  display: grid;
  grid-template-columns: var(--num) minmax(0, 12.5rem) minmax(0, 1fr) 6.5rem;
  grid-template-areas: "no fig main time";
  column-gap: var(--gap);
  align-items: start;
  padding: 1.4rem 0;
}
.entry + .entry { border-top: 1px solid var(--rule); }
.entry-no {
  grid-area: no;
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--brass);
  font-variant-numeric: lining-nums tabular-nums;
  padding-top: .1rem;
}
.entry-fig { grid-area: fig; margin: 0; }
.entry-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.entry-main { grid-area: main; }
.entry-title { font-family: var(--display); font-weight: 600; font-size: 1.32rem; line-height: 1.25; margin: 0 0 .5rem; }
.entry-title a { text-decoration-color: transparent; }
.entry-title a::after { content: ""; position: absolute; inset: 0; }
.entry:hover .entry-title a, .entry-title a:focus-visible { text-decoration-color: var(--brass); }
.entry-dek { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.entry-time {
  grid-area: time;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-2);
  text-align: right;
  white-space: nowrap;
  padding-top: .3rem;
}
.further { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.further-all { margin: 1.25rem 0 0 calc(var(--num) + var(--gap)); font-weight: 500; font-size: .95rem; }

/* Blog index: lead note */
.lead-fig { display: block; }
.lead-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-fig + .cap { padding-top: .7rem; }
.row.lead-text { margin-top: 2.4rem; }
.lead-text > .n { color: var(--brass); padding-top: .55rem; }
.t .lead-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.012em; margin: 0 0 1rem; }
.lead-title a { text-decoration-color: var(--rule); }
.lead-title a:hover { text-decoration-color: var(--brass); }
.lead-answer { font-family: var(--display); font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.entry-meta { font-size: .86rem; color: var(--ink-2); font-variant-numeric: lining-nums; }
.lead-more { margin-top: 1.2rem; }
.contents { margin: .2rem 0 0; padding-left: 1.2rem; }
.contents li { margin: .3em 0; padding-left: .15rem; }
.contents li::marker { font-family: var(--display); color: var(--brass); }
.cover--blog h1 { max-width: none; }

@media (max-width: 1100px) {
  .entry { grid-template-columns: var(--num) minmax(0, 10rem) minmax(0, 1fr) 5.5rem; }
  .lead-text > .m { max-width: 32rem; }
}
@media (max-width: 760px) {
  .brief-row { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .brief-row--byline { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; }
  .entry {
    grid-template-columns: 6.25rem minmax(0, 1fr);
    grid-template-areas: "no time" "fig main";
    column-gap: 1rem;
    row-gap: .6rem;
    padding: 1.15rem 0 1.3rem;
  }
  .entry-no { font-size: .95rem; padding-top: 0; }
  .entry-time { padding-top: .15rem; }
  .entry-title { font-size: 1.12rem; margin-bottom: .35rem; }
  .entry-dek { font-size: .88rem; }
  .further-all { margin-left: 0; }
  .row.lead-text { margin-top: 1.6rem; }
  .lead-text > .n { padding-top: 0; }
  .sched--post tbody td:first-child { width: auto; }
}

/* Article margin: running contents in the note column on wide screens */
.post-body { position: relative; }
.post-toc { display: none; }
.byline-photo { width: 3.9rem; height: 4.6rem; }
@media (min-width: 1101px) {
  .post-toc {
    display: block;
    position: absolute;
    inset: clamp(2.75rem, 5vw, 4.25rem) 0 0 0;
    pointer-events: none;
  }
  .post-toc-frame { height: 100%; display: flex; justify-content: flex-end; }
  .post-toc-nav {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    width: var(--note);
    pointer-events: auto;
    border-top: 1px solid var(--brass);
    padding-top: .65rem;
    font-size: .84rem;
    line-height: 1.45;
    color: var(--ink-2);
  }
  .post-toc-h { margin: 0 0 .35rem; }
  .post-toc-nav .contents li { margin: .42em 0; }
  .post-toc-nav a { color: var(--ink-2); text-decoration-color: transparent; }
  .post-toc-nav a:hover, .post-toc-nav a:focus-visible { color: var(--ink); text-decoration-color: var(--brass); }
  /* keep the note column clear: clause rules, headings, tables and Q&A stay in the text column */
  .post-body .row.ch { border-top: 0; position: relative; }
  .post-body .row.ch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - var(--note) - var(--gap));
    border-top: 1px solid var(--ink);
  }
  .post-body .row.ch > h2.t,
  .post-body .row > .t--wide,
  .post-body .row--faq > .t { grid-column: 2 / 3; }
  .post-body .qa { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .post-body [id^="s"] { scroll-margin-top: 1.5rem; }
}
