/* Editorial portfolio. Scoped away from the self-contained game applications. */
.site-page {
  --paper: var(--zt-paper); --sage: var(--zt-sage); --ink: var(--zt-ink);
  --muted: var(--zt-muted); --pine: var(--zt-pine); --line: var(--zt-line);
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--zt-font); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-page *, .site-page *::before, .site-page *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
.site-page ::selection { background: var(--zt-pine); color: #fff; }
.site-page [hidden] { display: none !important; }
.site-page a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.site-page a:hover { color: var(--pine); }
.site-page button, .site-page input { font: inherit; }
.site-page button { cursor: pointer; }
.site-page :focus-visible { outline: 2px solid var(--zt-copper); outline-offset: 5px; }
.site-page img { display: block; max-width: 100%; }
.site-page figure { margin: 0; }
.site-page h1, .site-page h2, .site-page h3 { font-family: var(--zt-font); font-weight: 600; }
.site-page p { margin: 0 0 1.2em; }
.site-page .wrap { width: min(calc(100% - 2 * var(--zt-gutter)), var(--zt-max)); margin-inline: auto; }
.site-page .eyebrow { display: block; color: var(--pine); font: 500 11px/1.6 var(--zt-mono); letter-spacing: .075em; text-transform: uppercase; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff !important; transform: translateY(-180%); }
.skip:focus { transform: none; }
/* One header, in the HTML at build time; never inserted by a runtime request. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; text-decoration: none; }
.site-monogram { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--paper); font: 600 17px/1 var(--zt-font); letter-spacing: -.08em; border-radius: 2px; }
.site-brand-name { font-weight: 600; font-size: 16px; letter-spacing: -.025em; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 27px); font-size: 13px; }
.site-nav a { text-decoration: none; padding-block: 8px; white-space: nowrap; }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--pine); font-weight: 600; }
.site-nav .nav-connect { border-left: 1px solid var(--line); padding-left: 22px; font-weight: 600; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: inherit; padding: 10px 14px; min-height: 44px; font-size: 13px !important; }
/* Home: an asymmetric photographic lead, not a product landing page. */
.site-page main > section { padding-block: clamp(72px, 8vw, 112px); }
.site-page .hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: 70px 86px; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 0; }
.hero .eyebrow { font-size: 10px; }
.hero h1 { font-size: clamp(43px, 4.65vw, 68px); line-height: 1.035; letter-spacing: -.055em; margin: 25px 0 28px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--pine); text-decoration: underline; text-decoration-color: #c4d4a9; text-decoration-thickness: .07em; text-underline-offset: .12em; }
.hero .lede { max-width: 535px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.site-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; font-weight: 500; text-decoration: none; background: transparent; color: inherit; transition: background .18s, color .18s; }
.site-page .button.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.site-page .button:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.hero-photo { position: relative; align-self: center; padding: 12px 0 0 12px; }
.hero-photo::before { content: ''; position: absolute; top: 0; left: 0; width: 65%; height: 60%; border-top: 1px solid var(--zt-copper); border-left: 1px solid var(--zt-copper); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; position: relative; }
.hero-photo figcaption { padding-top: 14px; color: var(--muted); font: 400 10px/1.5 var(--zt-mono); }
.hero-photo figcaption::before { content: '↳ '; color: var(--zt-copper); }
/* A considered rhythm of rules, labels and full-width bands. */
.section-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 42px; }
.section-head h2, .work-copy h2, .about h2 { font-size: clamp(32px, 3.5vw, 47px); line-height: 1.12; letter-spacing: -.04em; margin: 13px 0 0; text-wrap: balance; }
.section-intro { max-width: 640px; color: var(--muted); font-size: 18px; margin: 0 !important; }
.section-intro strong { color: var(--ink); font-weight: 500; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); gap: 34px; }
.principle { padding-top: 24px; }
.principle h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; margin: 20px 0 12px; }
.principle p { color: var(--muted); font-size: 15px; margin: 0; max-width: 320px; }
.site-page #work { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-list { border-top: 1px solid var(--line); }
.experience { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.experience:last-child { border: 0; padding-bottom: 0; }
.period { font: 400 12px/1.6 var(--zt-mono); color: var(--muted); padding-top: 4px; }
.period span { display: block; font-size: 10px; margin-top: 5px; color: var(--pine); }
.experience h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 10px; }
.experience p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; max-width: 790px; }
.work-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.work-photo img { width: 100%; height: 540px; object-fit: cover; }
.work-copy h2 { margin-bottom: 26px; }
.work-copy p { color: var(--muted); max-width: 540px; }
.interest-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.interest-list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 16px; }
.interest-list li::before { content: '+'; font-family: var(--zt-mono); color: var(--zt-copper); }
/* The photographs supply the visual surprise, not decorative gradients. */
.site-page .gallery { background: var(--zt-ink); color: var(--zt-paper); --line: #456057; --muted: #c0cfc4; --pine: #d9e9ba; }
.gallery-top { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; margin-bottom: 42px; }
.gallery-top h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 0; }
.gallery-top p { color: var(--muted); max-width: 480px; margin: 0; font-size: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.photo-card { min-width: 0; border-bottom: 1px solid var(--line); }
.photo-button { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; background: none; color: inherit; padding: 0; text-align: left; cursor: zoom-in !important; }
.photo-button img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: #11231f; }
.photo-button span { padding: 15px 0 19px; min-height: 60px; font: 400 11px/1.55 var(--zt-mono); color: var(--muted); }
.photo-button:hover span { color: #fff; }
.gallery-actions { display: flex; justify-content: center; margin-top: 36px; }
.lightbox { padding: 0; border: 0; width: min(94vw,1440px); max-width: none; background: #111d19; color: #fff; }
.lightbox::backdrop { background: rgba(8,17,14,.92); }
.lightbox-inner { position: relative; }
.lightbox img { width: auto; max-width: 100%; max-height: 82vh; margin-inline: auto; object-fit: contain; }
.lightbox-caption { font: 400 12px/1.5 var(--zt-mono); padding: 18px 64px 18px 20px; margin: 0 !important; }
.lightbox-close { position: absolute; top: 12px; right: 12px; border: 1px solid #789186; background: #14251e; color: #fff; width: 44px; height: 44px; border-radius: 2px; font-size: 24px !important; }
.has-lightbox { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px,7vw,100px); }
.about p { font-size: 18px; }
.about .quote { font-size: clamp(22px,2.25vw,29px); line-height: 1.4; letter-spacing: -.025em; font-weight: 500; color: var(--pine); border-left: 2px solid var(--zt-copper); padding-left: 24px; margin-top: 32px; }
.about .small { color: var(--muted); font-size: 13px; margin-top: 30px; }
.site-page .contact { padding-block: 70px 86px; border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; }
.contact h2 { font-size: clamp(37px,4.5vw,62px); letter-spacing: -.05em; line-height: 1.08; margin: 16px 0 0; max-width: 720px; }
.contact-side p { font-size: 15px; color: var(--muted); }
.socials { display: flex; gap: 22px; margin-top: 21px; font: 400 11px/1.5 var(--zt-mono); }
/* Shared end matter. All routes, including the small experiments, remain discoverable. */
.site-footer { background: var(--sage); border-top: 1px solid var(--line); padding: 42px 0 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 35px; align-items: start; padding-bottom: 28px; }
.footer-name { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.footer-note { margin: 7px 0 0 !important; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px 23px; font-size: 13px; }
.footer-links a { text-decoration: none; }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 400 10px/1.8 var(--zt-mono); }
.footer-games { display: flex; flex-wrap: wrap; gap: 7px 16px; max-width: 650px; justify-content: flex-end; }
.footer-games a { text-decoration: none; }
/* Writing index and long-form reader. */
.page-lead { padding-block: 78px 70px !important; border-bottom: 1px solid var(--line); }
.page-lead h1 { font-size: clamp(43px,6.2vw,82px); line-height: 1.04; letter-spacing: -.055em; max-width: 980px; margin: 23px 0 27px; text-wrap: balance; }
.page-lead .lede { max-width: 720px; font-size: 20px; color: var(--muted); margin: 0; }
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.list-head h2 { font-size: 29px; letter-spacing: -.03em; margin: 8px 0 0; }
.list-head p { font-size: 14px; color: var(--muted); max-width: 440px; margin: 0; }
.article-grid { border-top: 1px solid var(--line); }
.article-card { display: grid; grid-template-columns: 180px 1fr 46px; gap: 40px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.card-meta, .byline { font: 400 11px/1.8 var(--zt-mono); color: var(--muted); }
.card-meta span, .card-meta time { display: block; }
.card-meta .category { color: var(--pine); margin-bottom: 14px; }
.card-copy h3 { font-size: clamp(28px,3.6vw,43px); letter-spacing: -.04em; line-height: 1.14; margin: 0 0 17px; }
.card-copy h3 a { text-decoration: none; }
.card-copy p { color: var(--muted); margin: 0; max-width: 760px; font-size: 17px; }
.card-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); font-size: 24px; text-decoration: none; }
.card-arrow:hover { background: var(--ink); color: var(--paper) !important; }
.empty-note { color: var(--muted); font-size: 14px; max-width: 660px; margin-top: 32px !important; }
.article-hero { padding-block: 60px 58px !important; background: var(--sage); border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: 1100px !important; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; font: 400 11px/1.5 var(--zt-mono); text-decoration: none; margin-bottom: 28px; }
.article-hero h1 { font-size: clamp(41px,6.2vw,78px); line-height: 1.045; letter-spacing: -.05em; max-width: 1000px; margin: 18px 0 24px; text-wrap: balance; }
.article-dek { color: var(--muted); font-size: clamp(18px,2.1vw,23px); line-height: 1.5; max-width: 850px; margin: 0 !important; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 29px; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 16px; color: var(--muted); font: 400 11px/1.6 var(--zt-mono); }
.reader-toggle { background: transparent; border: 1px solid var(--line); padding: 8px 12px; min-height: 42px; border-radius: 2px; color: inherit; font: inherit !important; }
.article-layout { display: grid; grid-template-columns: minmax(0,740px) minmax(160px,230px); gap: clamp(40px,6vw,88px); max-width: 1100px !important; padding-block: 58px 72px; align-items: start; }
.prose { min-width: 0; font-size: 18px; line-height: 1.85; }
.prose > p:first-child { font-size: 25px; line-height: 1.45; font-weight: 500; letter-spacing: -.02em; }
.prose p { margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(28px,3vw,37px); line-height: 1.19; letter-spacing: -.035em; margin: 1.8em 0 .7em; text-wrap: balance; }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 36px 0; padding: 3px 0 3px 24px; border-left: 2px solid var(--zt-copper); font-size: 26px; line-height: 1.45; font-weight: 500; color: var(--pine); letter-spacing: -.025em; }
.prose blockquote p { margin: 0; }
.prose .short-line { font-size: 22px; font-weight: 500; color: var(--pine); }
.prose a { overflow-wrap: anywhere; }
.article-aside { position: sticky; top: 112px; max-height: calc(100vh - 145px); overflow-y: auto; font-size: 12px; color: var(--muted); }
.article-aside summary { color: var(--ink); font: 500 11px/1.7 var(--zt-mono); cursor: pointer; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.article-aside ol { list-style: none; padding: 0; margin: 15px 0 25px; }
.article-aside li { margin-bottom: 12px; }
.article-aside a { text-decoration: none; }
.article-aside h2 { color: var(--ink); font-size: 19px; letter-spacing: -.025em; line-height: 1.3; margin-top: 23px; }
.sources { padding-top: 30px; border-top: 1px solid var(--line); margin-top: 58px; }
.sources h2 { margin-top: 0; font-size: 27px; }
.sources p, .sources li { font-size: 13px; line-height: 1.75; color: var(--muted); }
.sources ul { list-style: none; padding: 0; }
.sources li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.article-end { padding-bottom: 70px; }
.return-link { font-size: 14px; text-decoration: none; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--zt-copper); z-index: 50; pointer-events: none; }
.page-article[data-reader-theme='dark'] { --paper: #14221e; --ink: #e8eee5; --sage: #1c3028; --muted: #b8c7ba; --pine: #c0dba2; --line: #395246; }
.page-article[data-reader-theme='dark'] .site-footer { background: var(--sage); }
.page-article[data-reader-theme='dark'] .reader-toggle { color: var(--ink); }
/* Off the clock: a compact directory for the existing apps. */
.play-lead .lede { max-width: 610px; }
.play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 1px solid var(--line); }
.play-entry { padding: 33px 0 36px; border-bottom: 1px solid var(--line); }
.play-entry .play-number { font: 400 11px/1.4 var(--zt-mono); color: var(--zt-copper); }
.play-entry h2 { margin: 19px 0 12px; font-size: 32px; line-height: 1.1; letter-spacing: -.035em; }
.play-entry h2 a { display: flex; justify-content: space-between; gap: 20px; text-decoration: none; }
.play-entry p { color: var(--muted); margin: 0; max-width: 460px; font-size: 16px; }
.page-error main { min-height: 65vh; }
.page-error .page-lead { border: 0; }
@media (max-width: 1060px) {
  .site-nav { gap: 16px; font-size: 12px; }
  .site-nav .nav-connect { padding-left: 16px; }
  .site-brand-name { font-size: 14px; }
  .site-header .header-inner { gap: 18px; }
}
@media (max-width: 940px) {
  .js .menu-toggle { display: block; }
  .site-header .header-inner { flex-wrap: wrap; padding-block: 15px; min-height: 74px; }
  .site-nav { flex: 1 1 100%; flex-wrap: wrap; padding-bottom: 6px; gap: 14px 22px; font-size: 14px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav .nav-connect { padding-left: 0; border: 0; }
  .hero { gap: 35px !important; }
  .hero h1 { font-size: clamp(42px,5.5vw,56px); }
  .hero .lede { font-size: 16px; }
  .experience { grid-template-columns: 170px 1fr; }
  .work-photo img { height: 480px; }
  .article-card { grid-template-columns: 135px 1fr 42px; gap: 28px; }
  .article-layout { grid-template-columns: minmax(0,1fr); max-width: 760px !important; gap: 32px; }
  .article-aside { position: static; order: -1; max-height: none; }
  .article-aside .argument-note { display: none; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-games { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .site-page main > section { padding-block: 66px; }
  .site-page .hero { grid-template-columns: 1fr; padding-block: 45px 58px; gap: 36px !important; }
  .hero h1 { font-size: clamp(43px,8.2vw,58px); max-width: 570px; margin-top: 21px; }
  .hero .lede { font-size: 17px; }
  .hero-photo { width: min(100%,490px); justify-self: end; }
  .hero-photo img { aspect-ratio: 5/4; }
  .section-head, .work-grid, .about-grid, .contact-inner, .gallery-top { grid-template-columns: 1fr; gap: 27px; }
  .section-head { margin-bottom: 32px; }
  .section-intro { font-size: 17px; }
  .principles { grid-template-columns: 1fr; gap: 25px; }
  .principle { padding-top: 23px; }
  .principle + .principle { border-top: 1px solid var(--line); }
  .principle p { max-width: none; }
  .principle h3 { margin-top: 11px; }
  .experience { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .period span { display: inline; margin-left: 12px; }
  .experience h3 { font-size: 22px; }
  .work-photo { order: 2; }
  .work-photo img { height: 400px; }
  .photo-grid { grid-template-columns: 1fr; gap: 27px; }
  .photo-button img { aspect-ratio: 4/3; }
  .photo-button span { min-height: 0; }
  .gallery-top { margin-bottom: 32px; }
  .about p { font-size: 17px; }
  .contact h2 { max-width: 580px; }
  .contact-side { max-width: 500px; }
  .page-lead { padding-block: 50px !important; }
  .page-lead h1 { font-size: clamp(42px,8.5vw,61px); }
  .page-lead .lede { font-size: 18px; }
  .list-head { display: block; }
  .list-head p { margin-top: 15px; }
  .article-card { grid-template-columns: 1fr 42px; gap: 22px; }
  .card-meta { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 5px 18px; }
  .card-meta .category { flex-basis: 100%; margin: 0; }
  .card-copy h3 { font-size: 32px; }
  .card-copy p { font-size: 16px; }
  .article-hero { padding-block: 38px 40px !important; }
  .article-hero h1 { font-size: clamp(40px,8.6vw,60px); }
  .article-layout { padding-top: 28px; }
  .prose { font-size: 17px; line-height: 1.82; }
  .prose h2 { font-size: 29px; }
  .prose blockquote { font-size: 23px; padding-left: 20px; }
  .play-grid { grid-template-columns: 1fr; }
  .play-entry h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-page *, .site-page *::before, .site-page *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .article-aside, .reader-toolbar, .reading-progress, .article-end { display: none !important; }
  .site-page { background: #fff !important; color: #111 !important; }
  .site-page .wrap { width: 100%; }
  .article-hero { background: #fff !important; padding: 0 0 20px !important; }
  .article-hero h1 { font-size: 36px; }
  .article-layout { display: block; padding: 20px 0; }
  .prose { font-size: 11pt; line-height: 1.6; }
  .prose h2 { break-after: avoid; font-size: 18pt; }
}
.site-page .photo-button, .site-page .footer-name { text-decoration: none; }
