:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #565656;
  --line: #dedede;
  --soft: #f3f3f2;
  --gutter: clamp(20px, 5vw, 78px);
  --width: 1280px;
  --space: clamp(72px, 10vw, 152px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: white; color: black; padding: 1rem; }
.skip:focus { transform: none; }
.frame { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: clamp(45px, 6vw, 58px); height: auto; aspect-ratio: 1; }
nav { display: flex; align-items: center; gap: clamp(14px, 3.2vw, 46px); }
nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
nav a:last-child { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; }

.band { padding-block: var(--space); }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -.075em; }
h2 { font-size: clamp(2.35rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -.068em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.08; letter-spacing: -.052em; }
p, li { font-size: 1.0625rem; line-height: 1.62; }
p + p { margin-top: 1em; }
.eyebrow { font-size: .875rem; line-height: 1.4; font-weight: 650; letter-spacing: .075em; margin-bottom: 1.6rem; }
.prose { max-width: 720px; }
.prose > h2 { margin-bottom: 1.5rem; }

.home-hero { text-align: center; padding-block: clamp(62px, 8vw, 114px) clamp(36px, 5vw, 72px); }
.home-hero .eyebrow { margin-bottom: 1.25rem; }
.home-hero h1 { font-size: clamp(3.2rem, 8.5vw, 8.5rem); }
.photo { display: block; width: 100%; height: auto; filter: grayscale(1); background: var(--soft); }
.photo.photo-color { filter: none; }
.photo-frame .photo { aspect-ratio: 16 / 8.4; object-fit: cover; }
.photo-frame .home-photo { object-position: center 43%; }
.brief-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 25px; padding-bottom: clamp(36px, 6vw, 78px); }
.brief-intro > p { max-width: 31rem; font-size: clamp(1.15rem, 2.6vw, 1.75rem); line-height: 1.35; letter-spacing: -.03em; }
.brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.7vw, 60px); }
.brief-grid article { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.brief-grid h3 { margin-bottom: 1.1rem; }
.brief-grid h3 a { text-decoration: none; }
.brief-grid h3 a:hover { text-decoration: underline; }
.brief-grid p { color: var(--muted); }

.intro { padding-bottom: clamp(48px, 7vw, 96px); }
.intro h1 { max-width: 1150px; }
.intro .prose { margin: clamp(35px, 6vw, 76px) 0 0 auto; }
.intro .prose p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.text-split .frame { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 8vw, 130px); }
.text-split-head h2 + h2 { margin-top: .13em; }
.text-split p { font-size: clamp(1.1rem, 2vw, 1.33rem); }
.feature { background: var(--soft); }
.feature .frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6.5vw, 105px); align-items: center; }
.feature.reverse { background: #fff; }
.feature.reverse .photo { order: 2; }
.feature h2 { font-size: clamp(2rem, 4vw, 3.95rem); margin-bottom: 1.3rem; }
.feature h4 { max-width: 34ch; }
.feature .pill { margin-top: 1.6rem; }
.pill { display: inline-flex; min-height: 48px; align-items: center; width: fit-content; padding: .55rem 1.15rem; border: 1px solid currentColor; border-radius: 999px; font-size: .96rem; font-weight: 650; text-decoration: none; }
.pill:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.projects { background: var(--soft); }
.projects .prose { margin-bottom: clamp(30px, 6vw, 72px); }
.book-covers, .book-pair { display: grid; gap: clamp(14px, 2.2vw, 32px); }
.book-covers { grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; }
.book-pair { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-covers img { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: contain; object-position: center top; }
.book-pair a { display: block; }
.offer { padding-top: 0; }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; padding: 1.2em .15em; font-weight: 650; font-size: clamp(1.28rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: ''; width: .56em; height: .56em; flex: 0 0 auto; margin: 0 .45em .2em 0; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.details details[open] summary::after { transform: rotate(225deg); margin-bottom: -.2em; }
.detail-body { padding: 0 .3em 2rem; }
.detail-body li + li { margin-top: .55rem; }
.detail-body ul { padding-inline-start: 1.3rem; }
.writing-note { background: var(--soft); }
.writing-note h2 { margin-bottom: 1.4rem; }
.dark { background: #131313; color: #fff; }
.quote .frame { max-width: 980px; }
.quote p { margin-top: 1.9rem; color: #e2e2e2; }
.testimonials .frame { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(36px, 8vw, 120px); }
.testimonials figure { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.testimonials img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; margin-bottom: 1.3rem; }
.testimonials blockquote { font-size: clamp(1.13rem, 2.2vw, 1.6rem); font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.testimonials figcaption { margin-top: .9rem; color: var(--muted); }
.testimonials figcaption p { font-size: .94rem; }
.poker-story { border-top: 1px solid var(--line); background: var(--soft); }
.poker-story .prose { margin-inline: auto; }
.poker-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.contact-intro { text-align: center; }
.contact .frame { text-align: center; }
.contact-title { margin-bottom: 1.4rem; }
.contact-copy { max-width: 56ch; margin-inline: auto; color: #e3e3e3; font-size: clamp(1.06rem, 1.8vw, 1.3rem); }
.contact-copy a { color: #fff; font-weight: 650; overflow-wrap: anywhere; }
.site-footer { padding-block: 1.7rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { font-size: .82rem; }
@media (max-width: 900px) {
  .book-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .book-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .header-inner { min-height: 72px; }
  nav a { font-size: .88rem; }
  nav a:last-child { padding-inline: .7rem; }
  .brief-intro, .brief-grid, .text-split .frame, .feature .frame, .testimonials .frame { grid-template-columns: 1fr; }
  .feature.reverse .photo { order: 0; }
  .photo-frame .photo { min-height: 280px; object-fit: cover; }
  .photo-frame .portrait { object-position: 70% center; }
  .home-hero h1 { max-width: 11ch; margin-inline: auto; }
}
@media (max-width: 365px) {
  .header-inner { gap: 9px; }
  nav { gap: 9px; }
  nav a { font-size: .81rem; }
  nav a:last-child { padding-inline: .55rem; }
}
