:root {
  --ink: #232923;
  --deep: #232923;
  --paper: #f7f4ed;
  --soft: #eeeae0;
  --lime: #e8dfcb;
  --muted: #54594f;
  --line: #ccc8bc;
  --display: "DM Sans", system-ui, sans-serif;
}

body { font-size: 1.05rem; }
header.dark { background: var(--paper); color: var(--ink); }
.nav { border-color: var(--line); }
.nav-contact { border-color: #868c7d; }
.mark { background: var(--deep); color: var(--paper); }
h1, h2, h3 { font-weight: 750; letter-spacing: -.065em; line-height: 1.02; }
h2 { font-size: clamp(42px, 5.5vw, 79px); }
h3 { font-size: clamp(26px, 3vw, 41px); }
.hero.wrap {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  align-items: center;
  gap: clamp(32px,6vw,90px);
  padding-block: clamp(38px,5vw,74px) clamp(46px,6vw,88px);
}
.hero .eyebrow { color: #525c4b; margin-bottom: 24px; }
.hero h1 { font-size: clamp(48px, 5.65vw, 83px); line-height: .94; }
.hero .hero-copy { max-width: 37ch; margin: 25px 0 29px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.hero-actions { gap: 16px 25px; }
.hero-actions .bright { color: var(--paper); background: var(--deep); }
.hero-actions .bright:hover { background: #43503e; }
.quiet-link { font-weight: 700; font-size: .88rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-feature { position: relative; isolation: isolate; margin: 0; padding: 0 0 24px 24px; }
.hero-feature::before { content: ''; position: absolute; inset: 18px 22px 0 0; background: #ded8cb; z-index: -1; }
.feature-photo { aspect-ratio: .99; object-fit: cover; object-position: center 57%; }
.hero-feature figcaption {
  position: relative;
  width: min(94%, 350px);
  margin: -69px 0 0 -24px;
  padding: clamp(18px, 2.6vw, 31px);
  background: #fffdf7;
  box-shadow: 0 12px 25px #30281913;
}
.hero-feature figcaption h2 { font-size: clamp(27px, 3.1vw, 42px); }
.hero-feature figcaption .eyebrow { margin-bottom: 8px; }
.hero-feature figcaption > p:not(.eyebrow) { margin-block: 8px 12px; color: var(--muted); }
#services { border-top: 1px solid var(--line); }
.services p, .case-body p:not(.eyebrow) { font-size: 1.04rem; }
.case { border-radius: 0; }
.case > img { object-position: center; }
.case-body { min-height: 192px; }
.chart div { background: #ddd2b9; }
.chart div:nth-child(odd) { background: #a6ad94; }
.projects { display: block; }
.projects details:last-child { border-bottom: 1px solid var(--line); }
.projects summary { padding-block: 20px; }
.projects summary strong { font-family: var(--body); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.045em; }
.projects details p { max-width: 68ch; }
.projects details[open] .expand { background: var(--deep); color: var(--paper); }
.bright:hover { background: #f7edda; }
@media (max-width: 760px) {
  .hero.wrap { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(36px, 9vw, 63px); }
  .hero-feature { max-width: 560px; margin-inline: auto; padding-left: 15px; }
  .hero-feature figcaption { margin-left: -15px; }
  .feature-photo { aspect-ratio: 1.25; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-feature figcaption { transition: transform 250ms ease; }
  .hero-feature:focus-within figcaption { transform: translateY(-6px); }
  @media (hover: hover) {
    .hero-feature:hover figcaption { transform: translateY(-6px); }
  }
}

.brand-mark {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
}
.footer .brand-mark { outline: 1px solid #f7f4ed45; border-radius: 8px; }

.nav-contact { white-space: nowrap; }
.case-actions { display: flex; flex-wrap: wrap; column-gap: 18px; }
.work-grid .case > img { aspect-ratio: 1.8; height: 100%; min-height: 0; }
.work-grid .case { display: grid; grid-template-rows: minmax(240px, 1fr) auto; }
.project-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 3px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.project-archive > summary::-webkit-details-marker { display: none; }
.project-archive[open] > summary .expand::before { content: '−'; }
@media (max-width: 400px) {
  .nav .brand { font-size: 1rem; gap: 6px; }
  .nav .brand-mark { width: 28px; height: 28px; }
}

.anna-art {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 240px;
  padding: clamp(24px, 4vw, 56px);
  overflow: hidden;
  background: #dfe5d5;
  color: var(--ink);
}
.anna-art p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -.07em;
}
.anna-sheet {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  width: min(80%, 290px);
  margin: -35px 0 0 auto;
  transform: rotate(-8deg);
  background: #f7f4ed;
  border: 1px solid #a6af99;
  box-shadow: 10px 12px 0 #a6af9970;
}
.anna-sheet span {
  height: 27px;
  border: 1px solid #a6af9960;
}
.anna-sheet span:nth-child(-n+3) { background: #bcc9ae; }
