/* kdanclark.com styles. Last updated Oct 30, 2026. */
:root {
  --ink: #3D5A99;
  --block: #0F2557;
  --heading: #0A0A0A;
  --lake: #2E4677;
  --sage: #C3CFE6;
  --mist: #DDE4F1;
  --paper: #FBFBF8;
  --sun: #E9B44C;
  --text: #222B3D;
  --muted: #5B6B76;
  --rule: #D7DFE1;
  --headline: "linotype-didot", Didot, "GFS Didot", "Bodoni 72", serif;
  --headline-xl: "linotype-didot-headline", "linotype-didot", Didot, "GFS Didot", "Bodoni 72", serif;
  --body: "questa-sans", Rubik, "Helvetica Neue", Arial, sans-serif;
  --display: var(--body);
  --serif: var(--body);
}

/* Fonts come from the Adobe Fonts project xfs5qkc (linked in each page head). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-synthesis-weight: none;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lake); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--heading); margin: 0 0 .5em; }
h1, h2 { font-family: var(--headline); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-family: var(--headline-xl); font-size: clamp(2.8rem, 7.4vw, 6.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-family: var(--body); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: .5rem 1rem; }

.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--lake);
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.05rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: .9rem 1.5rem;
  border-radius: 4px;
  transition: background-color .15s;
}
.btn:hover { background: var(--lake); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; background: var(--block);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  font-family: var(--display);
}
.nav a { text-decoration: none; color: var(--paper); font-weight: 560; }
.nav a:hover { color: var(--sun); }
.nav-name { font-family: var(--headline-xl); font-weight: 400 !important; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; color: var(--paper) !important; }
.nav nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-cta { border: 1.5px solid currentColor; padding: .4rem .9rem; border-radius: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  min-height: 0;
  background: #E7EDEF;
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}
.hero-text { position: relative; z-index: 2; will-change: transform; }
.hero h1 { max-width: 12ch; margin-bottom: .35em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 40rem; color: var(--text); }
.hero-actions { margin: 1.8rem 0 .9rem; }
.open { font-style: italic; color: var(--muted); font-size: 1rem; }
.hero-art {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(320px, 46vw, 600px);
  z-index: 1;
}
.hero-art g { will-change: transform; }

/* ---------- proof ---------- */
.proof { background: var(--block); color: var(--mist); padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.proof-label { font-family: var(--display); font-weight: 560; color: var(--sage); margin-bottom: 1.6rem; }
.logos {
  list-style: none; padding: 0;
  font-family: var(--display); font-weight: 650;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem); letter-spacing: -0.015em;
  color: #E4ECEE;
}
.numbers {
  list-style: none; margin: 0 0 1.5rem; padding: 2rem 0 0;
  border-top: 1px solid rgba(221, 228, 241, .35);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem;
  font-family: var(--display); font-size: 1.05rem; line-height: 1.3; color: var(--mist);
}
.numbers strong {
  display: block; color: var(--sun);
  font-family: var(--headline); font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1;
  margin-bottom: .35rem;
}
.proof .todo { margin-top: 1rem; }

/* ---------- sections ---------- */
.split, .bring, .work { padding-top: clamp(4rem, 8vw, 7rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; }
.intro { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--ink); max-width: 38em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; max-width: 40rem; }
.ticks li { position: relative; padding: .7rem 0 .7rem 1.8rem; border-bottom: 1px solid var(--rule); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: .9rem; height: 2px; background: var(--sun);
}
.closer { font-family: var(--display); font-weight: 620; font-size: 1.2rem; color: var(--lake); }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 1rem; }
.offers h3::before {
  content: ""; display: block; width: 2.6rem; height: 4px; background: var(--sun); margin-bottom: 1rem;
}
.offers p { color: var(--text); }

.teasers { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 2px solid var(--ink); }
.teasers li { border-bottom: 1px solid var(--rule); }
.teasers a {
  display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: .3rem 2.5rem;
  padding: 1.8rem 0; text-decoration: none; color: var(--text);
}
.teasers .co { font-family: var(--display); font-weight: 600; color: var(--lake); grid-row: span 2; padding-top: .3rem; }
.teasers .t { font-family: var(--headline); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--heading); line-height: 1.1; }
.teasers .d { grid-column: 2; max-width: 40rem; }
.teasers .go { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-family: var(--display); font-weight: 600; color: var(--lake); text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.teasers a:hover .t { color: var(--lake); }
.teasers a:hover .go { color: var(--ink); }

.contact-strip { margin-top: clamp(4rem, 8vw, 7rem); background: #EEF2F1; padding: clamp(3rem, 6vw, 5rem) 0; }
.contact-strip h2 { margin-bottom: .3em; }
.contact-lines { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-top: 1.4rem; }

/* ---------- inner pages ---------- */
.band {
  position: relative; overflow: hidden;
  background: var(--block); color: var(--paper);
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.band h1 { color: var(--paper); font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 16ch; }
.band .kicker { color: var(--sun); }
.band-text { position: relative; z-index: 2; }
.band-art { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 11vw, 160px); }

.story { padding-top: clamp(2.5rem, 5vw, 4rem); }
.rows { margin: 0; }
.row {
  display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .4rem 2.5rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--rule);
}
.row:first-child { border-top: 2px solid var(--ink); }
.row dt { font-family: var(--display); font-weight: 650; color: var(--lake); padding-top: .15rem; }
.row dd { margin: 0; max-width: 42rem; }
.row dd p:last-child { margin-bottom: 0; }
.big { font-family: var(--headline); font-weight: 400; font-size: 3rem; color: var(--ink); line-height: 1; margin-right: .15em; }
.media { margin-top: 2.5rem; }

.more { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.more h2 { font-size: 1.6rem; }
.more-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.more-list li { border-bottom: 1px solid var(--rule); }
.more-list a { display: block; padding: 1.1rem 0; text-decoration: none; font-family: var(--headline); font-weight: 400; font-size: 1.7rem; color: var(--heading); }
.more-list .co { font-family: var(--body); }
.more-list a:hover { color: var(--lake); }
.more-list .co { display: block; font-weight: 560; font-size: .95rem; color: var(--lake); }

.prose { padding-top: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; margin-left: max(1.5rem, calc((100% - 1180px) / 2)); }
.prose h2 { margin-top: 1.6em; font-size: 1.9rem; }
.prose .btn { margin-top: 1rem; }
.contact-page .row { grid-template-columns: 8rem minmax(0, 1fr); }

.projects { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 2rem; }
.projects article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 3.5rem; align-items: start; border-top: 1px solid var(--rule); padding: 2.6rem 0; }
.projects article:first-child { border-top: 2px solid var(--heading); }
.projects article > :not(.fig):not(.todo) { grid-column: 1; }
.projects article > .fig, .projects article > .todo { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
.projects h2 { font-size: 1.7rem; }

/* placeholders: delete each one, or hide them all with .todo { display: none } before launch */
.todo {
  font-family: var(--display); font-size: .95rem; font-weight: 500; line-height: 1.4;
  color: #6B5310; background: #FFF6DF; border: 1.5px dashed #C9A23F; border-radius: 4px;
  padding: .7rem .9rem; margin: .8rem 0 0;
}
.proof .todo { background: rgba(233, 180, 76, .12); color: #F2D79C; border-color: rgba(233, 180, 76, .6); }

/* ---------- footer ---------- */
.foot { margin-top: 0; background: var(--block); color: var(--mist); padding: 2.5rem 0; font-family: var(--display); }
main { padding-bottom: clamp(4rem, 8vw, 7rem); }
main:has(> .contact-strip:last-child) { padding-bottom: 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; align-items: baseline; }
.foot p { margin: 0; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { color: var(--sun); }
.foot-name { font-family: var(--headline); font-size: 1.3rem; color: var(--paper); }
.foot-small { color: var(--sage); font-size: .95rem; margin-left: auto !important; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; gap: 2.2rem; }
  .projects article { grid-template-columns: 1fr; }
  .projects article > .fig, .projects article > .todo { grid-column: 1; grid-row: auto; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .teasers a { grid-template-columns: 1fr; }
  .teasers .co, .teasers .d, .teasers .go { grid-column: 1; grid-row: auto; }
  .teasers .go { justify-self: start; margin-top: .4rem; }
  .row, .contact-page .row { grid-template-columns: 1fr; }
  .foot-small { margin-left: 0 !important; }
}
@media (max-width: 560px) {
  .nav { flex-wrap: wrap; gap: .5rem 1rem; padding: .8rem 1.25rem; }
  .nav nav { gap: .3rem .9rem; font-size: .95rem; }
  .nav-cta { padding: .25rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-art g { transform: none !important; }
}

/* ---------- portrait ---------- */
.hero { min-height: 0; }
.hero .portrait {
  position: absolute; z-index: 0;
  --pt: clamp(3rem, 7vh, 5rem);
  top: var(--pt); bottom: 0; right: max(1.5rem, calc((100% - 1180px) / 2));
  width: clamp(300px, 36vw, 520px); height: calc(100% - var(--pt)); object-position: 50% 12%; object-fit: cover; object-position: 50% 15%;
  border-radius: 3px 3px 0 0;
}
.hero-text { position: relative; z-index: 2; }
.hero-text > * { max-width: min(36rem, calc(100% - clamp(300px, 36vw, 520px) - 3rem)); }
.hero h1 { max-width: 11ch; }
.lede { max-width: 34rem; }


/* ---------- logo marquee ---------- */
.marquee {
  display: flex; overflow: hidden; margin: 0 0 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .logos {
  flex: none; display: flex; flex-wrap: nowrap; align-items: center;
  gap: 0 4.5rem; padding-right: 4.5rem; margin: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .logos { animation-play-state: paused; }
.marquee .logos li { flex: none; }
.marquee img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .85; }
.wordmark { white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- quotes ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem;
  padding-top: clamp(4rem, 8vw, 7rem);
}
.quote { margin: 0; }
.quote blockquote { margin: 0 0 .9rem; }
.quote blockquote p { margin: 0; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { font-family: var(--display); font-weight: 600; color: var(--lake); font-size: 1rem; }
.quote-lead { grid-column: 1 / -1; border-left: 4px solid var(--sun); padding-left: clamp(1.2rem, 3vw, 2.2rem); }
.quote-lead blockquote p {
  font-family: var(--headline); font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.18;
}
.quote-inline { margin-top: 2.5rem; border-left: 4px solid var(--sun); padding-left: 1.5rem; max-width: 46rem; }

@media (max-width: 860px) {
  .hero { padding-top: 1.5rem; }
  .hero .portrait { position: relative; top: auto; bottom: auto; right: auto; left: auto; height: auto; height: auto; aspect-ratio: 4 / 5; width: calc(100% - 3rem); max-width: 480px; object-fit: cover; object-position: center 20%; margin: 0 1.5rem 1.6rem; border-radius: 3px; }
  .hero h1 { font-size: clamp(2.8rem, 13.5vw, 4.4rem); max-width: none; }
  .hero-text { margin-top: 0; }
  .hero-text > * { max-width: none; }
  .quotes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .logos { animation: none; flex-wrap: wrap; gap: .5rem 2.2rem; flex: 1; padding: 0 1.5rem; }
  .marquee .logos[aria-hidden] { display: none; }
}

/* ---------- long-form case studies ---------- */
.story-block { padding-top: clamp(3.5rem, 7vw, 6rem); }
.story-block.split { padding-top: clamp(3.5rem, 7vw, 6rem); }
.prose-col { max-width: 42rem; }
.prose-col p { margin-bottom: 1em; }
.story-block > .prose-col { margin-bottom: 2rem; }
.facts {
  list-style: none; padding: 1.8rem 0 0; margin: 2.2rem 0 0;
  border-top: 2px solid var(--heading);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem;
  font-family: var(--body); color: var(--text); line-height: 1.35;
}
.facts strong {
  display: block; font-family: var(--headline); font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--ink); margin-bottom: .4rem;
}
.fig { margin: 0; }
.fig img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 3px; background: #fff; }
.fig figcaption { font-size: .95rem; color: var(--muted); margin-top: .7rem; max-width: 40rem; }
.fig-wide { margin: 0 0 2.8rem; }
.fig a { display: block; }
.fig a:hover img { border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.gallery .fig-tall { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 6.5rem; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr; }
  .gallery .fig-tall { grid-column: 1; grid-row: auto; position: static; }
}
.proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem 3.5rem; align-items: start; padding: 2.4rem 0; border-top: 1px solid var(--rule); }
.proj:first-of-type { border-top: 2px solid var(--heading); }
.proj h3 { font-family: var(--headline); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.12; }
.fig-narrow { max-width: 360px; }
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-top: 1rem; }
.papers article { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.papers img { width: 100%; height: auto; border: 1px solid var(--rule); box-shadow: 0 6px 16px rgba(15, 37, 87, .12); }
.papers h3 { font-family: var(--headline); font-weight: 400; font-size: 1.6rem; line-height: 1.12; }
.quotes.story-block { padding-top: clamp(3.5rem, 7vw, 6rem); }
@media (max-width: 860px) {
  .proj, .papers { grid-template-columns: 1fr; }
  .papers article { grid-template-columns: 110px minmax(0, 1fr); }
}
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; max-width: 42rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.2rem 3.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.35rem; font-family: var(--headline); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.steps strong { color: var(--heading); }
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 2rem; margin-top: 1.2rem; }
.film { margin: 0; }
.film-play, .film iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; overflow: hidden; background: var(--block); }
.film-play img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
.film-btn { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(15, 37, 87, .85); }
.film-btn::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--sun); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.film-play:hover .film-btn { background: var(--ink); }
.film figcaption { margin-top: .7rem; display: grid; gap: .15rem; }
.film .co { font-weight: 600; color: var(--lake); font-size: .95rem; }
.film .ft { font-family: var(--headline); font-size: 1.35rem; line-height: 1.15; color: var(--heading); }
.film .fn { font-size: .95rem; color: var(--muted); }
.film-empty .todo { margin: 0; aspect-ratio: 16 / 9; display: flex; align-items: center; }
@media (max-width: 860px) { .films { grid-template-columns: 1fr; } }

.story-block .closer { margin-top: 2.2rem; }
.sub { font-family: var(--body); font-size: 1.2rem; font-weight: 600; margin: 0 0 1.2rem; }
.docs + .sub { margin-top: 3.2rem; }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.6rem; align-items: start; }
.docs-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.doc { margin: 0; }
.doc a { display: block; aspect-ratio: 900 / 1165; overflow: hidden; border: 1px solid var(--rule); border-radius: 3px; background: #fff; box-shadow: 0 6px 16px rgba(15, 37, 87, .08); }
.doc img { width: 100%; height: auto; display: block; }
.doc a:hover { border-color: var(--ink); }
.doc figcaption { font-size: .92rem; line-height: 1.45; color: var(--muted); margin-top: .7rem; }
@media (max-width: 1000px) { .docs, .docs-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- home: tint band, photo bands, scroll reveal ---------- */
.tint { margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(3.5rem, 7vw, 6rem) 0; background: #E9EEF7 url("img/topo.svg") center / 800px auto repeat; }
.tint .split, .tint .bring { padding-top: 0; }
.photo-band { position: relative; overflow: hidden; isolation: isolate; }
.photo-bg { position: absolute; left: 0; right: 0; top: -22%; height: 144%; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 37, 87, .66), rgba(15, 37, 87, .50)); }
.photo-band .quotes { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.photo-band .quote blockquote p { color: #fff; }
.photo-band .quote figcaption { color: var(--sun); }
.photo-band .quote-lead { border-left-color: var(--sun); }
.contact-strip.photo-band { background: none; color: #fff; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.contact-strip.photo-band h2 { color: #fff; }
.contact-strip.photo-band p { color: #E4ECF6; }
.contact-strip.photo-band a { color: #fff; }
.contact-strip.photo-band a:hover { color: var(--sun); }
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }

.photo-band .quote blockquote p, .contact-strip.photo-band h2 { text-shadow: 0 1px 12px rgba(10, 20, 45, .45); }

/* ---------- about photo in header band ---------- */
.band-photo .band-portrait { position: absolute; top: 0; right: max(1.5rem, calc((100% - 1180px) / 2)); height: 100%; width: auto; aspect-ratio: 1; object-fit: cover; z-index: 1; }
.band-photo .band-text h1 { max-width: 11ch; }
@media (max-width: 860px) {
  .band-photo .band-portrait { position: relative; right: auto; display: block; width: 160px; height: 160px; margin: 0 0 1.5rem 1.5rem; }
}

/* ---------- work index ---------- */
.work-cards { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.work-cards a { display: grid; gap: .5rem; text-decoration: none; color: var(--text); }
.work-cards img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); border-radius: 3px; margin-top: .9rem; }
.work-cards a { grid-template-rows: auto auto 1fr auto auto; height: 100%; }
.work-cards .co { font-weight: 600; color: var(--lake); font-size: .95rem; }
.work-cards .t { font-family: var(--headline); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; color: var(--heading); }
.work-cards .go { font-weight: 600; color: var(--lake); text-decoration: underline; text-underline-offset: .2em; }
.work-cards a:hover .t { color: var(--lake); }
.work-cards a:hover img { border-color: var(--ink); }
@media (max-width: 860px) { .work-cards { grid-template-columns: 1fr; } }
.work-cards li { display: flex; }
.work-cards a { flex: 1; }
.work-cards .d { align-self: start; }

/* ---------- about: faint mountain photo behind the text ---------- */
.soft-photo { position: relative; isolation: isolate; padding-bottom: clamp(3rem, 6vw, 5rem); }
.soft-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("img/about-bg.jpg") center 30% / cover no-repeat; opacity: .11; filter: saturate(.6);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%); }
main:has(.soft-photo) { padding-bottom: 0; }

/* About: ideas section heading matches the page's other section headings */
.ideas { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.ideas h2 { font-size: 1.9rem; }
.prose-end { padding-top: 1rem; }
.ai-list { padding-left: 1.2rem; margin: 0 0 1em; }
.ai-list li { margin-bottom: .6em; }
.ai-list strong { font-weight: 600; color: var(--heading); }
