@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbf5eb;
  --ink: #111;
  --muted: #544c43;
  --ochre: #d9a441;
  --line: #cbbfb0;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --italic: "Instrument Serif", Georgia, serif;
  --gutter: clamp(1.25rem, 5.6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 2 * var(--gutter), 79rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .6rem; left: .6rem; padding: .5rem .85rem; color: var(--paper); background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }

.eyebrow { font-size: .875rem; font-weight: 650; line-height: 1.3; letter-spacing: .105em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 3.15rem;
  padding: .65rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ochre);
  color: var(--ink);
  font: 650 .9rem/1.35 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--ink); color: var(--paper); }
.button:focus-visible { outline-color: var(--ink); }
.button-small { min-block-size: 2.65rem; padding-inline: .95rem; }
.button-outline { background: transparent; }
.text-link { font-weight: 550; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-block-size: 5.1rem; }
.header-inner > .button { justify-self: end; }
.brand { justify-self: start; white-space: nowrap; text-decoration: none; }
.text-brand { font: 650 1.32rem/1 var(--sans); letter-spacing: -.055em; }
.text-brand i { font: italic 400 1.9rem/.82 var(--italic); letter-spacing: -.015em; }
.brand-logo { width: 9rem; max-height: 3.25rem; object-fit: contain; object-position: left; }
nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem clamp(1rem, 2.65vw, 2.65rem); padding: 0; margin: 0; list-style: none; }
nav li a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  min-block-size: clamp(34rem, 43vw, 43rem);
  padding-block: clamp(4.25rem, 6.3vw, 7rem);
}
.hero h1 { font: 400 clamp(3.6rem, 6.1vw, 6.6rem)/.91 var(--serif); letter-spacing: -.075em; }
.hero-tail { display: block; margin-top: .12em; font: italic 400 1.04em/.9 var(--italic); letter-spacing: -.025em; }
.intro { max-inline-size: 29rem; margin-top: 1.65rem; color: var(--muted); font-size: clamp(1.06rem, 1.55vw, 1.21rem); line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.45rem; margin-top: 1.65rem; }
.hero-art img { width: 100%; }

.editorial { padding-bottom: clamp(4rem, 7vw, 6.5rem); }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.5rem; padding-block: 1.25rem 1rem; border-top: 1px solid var(--ink); }
.section-heading h2, .about h2 { font: 400 clamp(2.05rem, 3.35vw, 3.45rem)/1 var(--serif); letter-spacing: -.06em; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar:first-child { padding-right: clamp(1.35rem, 3.2vw, 3rem); }
.pillar + .pillar { padding-left: clamp(1.35rem, 3.2vw, 3rem); border-left: 1px solid var(--line); }
.pillar-label { padding-block: 1.15rem .7rem; }
.feature-art { position: relative; display: grid; place-items: center; min-height: 13rem; height: clamp(13rem, 21vw, 19.5rem); overflow: hidden; }
.supplied-art img { width: 100%; height: 100%; object-fit: contain; }
.essay-art { background: #ece0cf; }
.notebook {
  position: relative; width: 33%; height: 72%; padding: 15% 8% 7% 9%;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #f8eddb; border: 1px solid #87725d; border-left: .32rem solid #855040;
  box-shadow: 4px 5px #d4beaa; transform: rotate(-12deg);
}
.notebook > span { border-bottom: 1px solid #beab94; }
.notebook b { position: absolute; top: 25%; left: 12%; white-space: nowrap; font: italic 400 clamp(1.7rem, 3.75vw, 4.3rem)/1 var(--italic); }
.notebook b span { color: #82570b; }
.pencil { position: absolute; width: 3%; height: 51%; top: 21%; left: 71%; background: #a16a26; transform: rotate(29deg); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }
.paper-dot { position: absolute; width: .35rem; height: .35rem; background: #82570b; border-radius: 50%; top: 30%; left: 22%; }
.report-art { background: #e9ce92; }
.report-proof {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  width: 37%; min-width: 8.5rem; height: 81%; padding: .65rem .25rem;
  border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -.28rem;
  text-align: center; line-height: 1; background: #f3deb1;
}
.report-proof span { font-size: clamp(.53rem, .66vw, .68rem); text-transform: uppercase; font-weight: 650; letter-spacing: .08em; }
.report-proof b { font: 400 clamp(1.4rem, 2.45vw, 2.65rem)/.9 var(--serif); letter-spacing: -.07em; }
.report-proof i { font-family: var(--italic); letter-spacing: -.025em; }
.report-art small { position: absolute; inset: auto .6rem .5rem auto; background: #f3deb1; padding: .06rem .35rem; font-size: .75rem; }
.feature-label { margin-top: 1.3rem; color: var(--muted); }
.pillar h3 { margin: .42rem 0 .6rem; font: 400 clamp(1.95rem, 3.12vw, 3.1rem)/1.03 var(--serif); letter-spacing: -.06em; }
.pillar h3 a { text-decoration: none; }
.pillar h3 a:hover { text-decoration: underline; }
.feature-description { max-width: 32rem; color: var(--muted); }
.feature-action { display: flex; align-items: center; margin-block: .7rem 1.15rem; min-height: 3.15rem; }
.report-status { font-weight: 650; }
.related { padding: 0; margin: .5rem 0 0; list-style: none; }
.related li { border-top: 1px solid var(--line); padding-block: .9375rem; }

.field-section { background: #efe4d2; border-block: 1px solid var(--line); }
.field-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(2.75rem, 5vw, 5rem); }
.field-copy h3 { margin: .6rem 0 .65rem; font: italic 400 clamp(3.1rem, 6.2vw, 6.25rem)/.94 var(--italic); letter-spacing: -.035em; }
.field-copy p { max-width: 31rem; min-height: 4.95rem; }
.field-copy button { margin-top: 1rem; }
.field-art { align-self: center; width: min(100%, 31rem); margin-inline: auto; }
.field-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.social { padding-top: clamp(3.25rem, 6.5vw, 6rem); }
.social p { color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.social-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.social-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.social-posts img { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #efe7dc; }
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem 3rem; margin-top: clamp(2rem, 4vw, 3.75rem); padding-block: 1.4rem clamp(3.75rem, 6vw, 6rem);  }
.about p { margin-bottom: .7rem; max-width: 40rem; }
.closing { padding-block: clamp(3.2rem, 6vw, 6rem); text-align: center; background: var(--ink); color: var(--paper); }
.closing h2 { font: 400 clamp(3.5rem, 7vw, 7rem)/.95 var(--serif); letter-spacing: -.065em; }
.closing i { font-family: var(--italic); color: #efc370; letter-spacing: -.025em; }
.closing p { margin: 1rem auto 1.4rem; max-width: 32rem; }
.button-light { border-color: var(--ochre); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.button-light:focus-visible { outline-color: var(--paper); }
.footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.6rem; padding-block: 1.7rem; }
.footer p { color: var(--muted); font-size: .875rem; }

@media (max-width: 66rem) {
  .desktop-break { display: none; }
}
@media (max-width: 48rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .15rem 1rem; padding-top: .8rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; }
  .header-inner nav ul { gap: .15rem clamp(.65rem, 3vw, 1.35rem); }
  nav li a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; min-block-size: 0; padding-block: 3.15rem 1.65rem; gap: .5rem; }
  .hero h1 { font-size: clamp(2.95rem, 9.5vw, 4.85rem); max-width: 12ch; }
  .hero-art { width: min(92%, 28rem); margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:first-child { padding-right: 0; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); margin-top: 1.35rem; }
  .field-inner { grid-template-columns: 1fr; gap: .5rem; }
  .field-art { width: min(86%, 20rem); }
  .about { grid-template-columns: 1fr; }
}

/* Dotted Dissolve masthead and editorial links */
.brand-logo { width: 4.8rem; height: 4.8rem; max-height: none; border-radius: 50%; }
.header-inner { padding-block: .45rem; }
.hero-word { position: relative; display: block; width: max-content; padding-bottom: .46em; }
.wander { position: absolute; bottom: -.08em; left: 0; width: 100%; height: .58em; pointer-events: none; }
.hero-word + .hero-tail { margin-top: 0; }
.button { border-color: transparent; border-radius: 2rem; font-weight: 600; }
.button-outline { border-color: #978873; }
.text-link, .article-link { color: #745321; text-decoration: none; }
.text-link:is(:hover,:focus-visible), .article-link:is(:hover,:focus-visible) span { text-decoration: underline; text-decoration-thickness: 1px; }
.article-link { display: flex; align-items: center; gap: 1rem; font: 400 1.22rem/1.25 var(--serif); }
.article-link img { width: clamp(4.25rem, 8vw, 7rem); aspect-ratio: 16/9; object-fit: cover; flex-shrink: 0; }
.supplied-art { background: #f7eee1; height: auto; aspect-ratio: 16/9; min-height: 0; }
.supplied-art img { width: 100%; height: auto; }
@media (max-width:48rem) { .brand-logo { width: 3.9rem; height: 3.9rem; } }

.site-header .brand-logo {
  width: clamp(6rem, 11.5vw, 9rem);
  height: auto;
}

.editorial { border-top: 1px solid var(--ink); }
.archive-link { margin-top: 1.5rem; }

#trends .supplied-art { background: #e9e4dc; padding: .5rem; }
#trends .supplied-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#trends .supplied-art { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }

.article-link small, .social-posts small { display: block; color: var(--muted); font: 550 .875rem/1.4 var(--sans); margin: .45rem 0 .2rem; }
.social-posts a { text-decoration: none; font: 400 1.35rem/1.22 var(--serif); }
.social-posts a:hover span { text-decoration: underline; text-decoration-thickness: 1px; }
.social { padding-block: 0 clamp(3rem,6vw,5rem); }

.founder-bio { margin-bottom: .7rem; }
.founder-bio summary { width: fit-content; padding-block: .35rem; cursor: pointer; font-weight: 600; }
.founder-bio[open] summary { margin-bottom: .4rem; }

.article-link .article-subhead { margin: .375rem 0 0; font-weight: 400; line-height: 1.45; }

@media (prefers-reduced-motion: no-preference) {
  .hero-animated .wander path {
    animation: draw-wander 1.2s .18s ease-in-out backwards;
  }
  .hero-animated .hero-tail { animation: reveal-phrase .85s .55s ease both; }
  .hero-animated .hero-art img { animation: reveal-sky 2s .35s cubic-bezier(.35, 0, .3, 1) both; }
}

@keyframes draw-wander {
  /* A gap longer than the path keeps the far endpoint clear during the delay. */
  from { stroke-dasharray: 1.1 1.2; stroke-dashoffset: 1.15; }
  to { stroke-dasharray: 1.1 1.2; stroke-dashoffset: 0; }
}
@keyframes reveal-phrase {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Reveal the sky from left to right while the bench stays visible. */
@keyframes reveal-sky {
  from { clip-path: polygon(0 0, 0 0, 0 45%, 100% 45%, 100% 100%, 0 100%); }
  to { clip-path: polygon(0 0, 100% 0, 100% 45%, 100% 45%, 100% 100%, 0 100%); }
}
