/* =========================================================
   Inner pages (Work with me, Field Notes, About)
   Builds on tokens.css + command-line.css
   ========================================================= */

.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a[aria-current="page"]::before { color: var(--amber); }
.nav__mobile a[aria-current="page"] { color: var(--amber); }

/* ---------- Page head ---------- */
.phead { position: relative; overflow: hidden; background: var(--ink); padding: clamp(128px, 16vh, 176px) 0 clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--rule); }
.phead__art {
  position: absolute; inset: 0 0 0 38%; pointer-events: none; opacity: .55;
  background: url("../assets/img/iso-dark.jpg") 70% 40% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.phead__body { position: relative; display: grid; gap: 18px; justify-items: start; }
.phead__comment { font-size: var(--step--1); color: var(--text-dim); max-width: 70ch; }
.phead .cmd { margin-bottom: 0; }
.phead__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 1.2rem + 4.6vw, 5.4rem); line-height: 0.95; margin: 0; max-width: 16ch; }
.phead__lede { font-size: var(--step-1); line-height: 1.55; color: var(--text-dim); max-width: 56ch; }
.phead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 10px; }
.phead__link { font-size: var(--step--1); color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.phead__link:hover { color: var(--amber); border-color: var(--amber); }
@media (max-width: 760px) {
  .phead__art { inset: 0; opacity: .22; mask-image: linear-gradient(180deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); }
  .phead__comment { text-shadow: 0 0 2px var(--ink), 0 1px 12px var(--ink); }
}

/* ---------- Steps (a real sequence → numbered) ---------- */
.steps { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.steps::before, .steps::after { /* the track and its fill */
  content: ""; position: absolute; left: calc(1.6rem - 0.5px); top: 14px; bottom: 14px; width: 1px; background: var(--rule-strong);
}
.steps::after { background: var(--amber); transform-origin: top; transform: scaleY(var(--p)); }
.steps__item { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 40px); padding-bottom: clamp(36px, 5vw, 56px); }
.steps__item:last-child { padding-bottom: 0; }
.steps__num {
  position: relative; z-index: 1; width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: 50%; background: var(--ink); color: var(--text-dim); font-size: 0.9rem;
  transition: border-color .4s var(--ease), color .4s, background .4s;
}
.steps__item.is-lit .steps__num { border-color: var(--amber); color: var(--ink); background: var(--amber); }
.steps__body { display: grid; gap: 10px; padding-top: 6px; max-width: 64ch; }
.steps__title { font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); line-height: 1; color: var(--bone); }
.steps__body > p { color: var(--text-dim); }
.steps__out { margin-top: 6px; padding: 14px 16px; border: 1px solid var(--rule); border-left: 2px solid var(--amber); background: rgba(240, 237, 232, .025); color: var(--bone) !important; }
.steps__out .mono { display: block; font-size: 0.72rem; color: var(--amber); margin-bottom: 4px; }
@media (min-width: 1000px) {
  .steps__item { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .steps__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; max-width: none; }
  .steps__title { grid-column: 1 / -1; }
  .steps__out { margin-top: 0; align-self: start; }
}

/* ---------- People or system? checker ---------- */
.check-sec { background: var(--carbon); }
.check { display: grid; gap: 24px; }
@media (min-width: 1000px) { .check { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.check__form { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.check__label { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 10px; }
.check__presets { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.check__presets-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check__preset, .check__reset { font: inherit; cursor: pointer; background: none; color: var(--bone); }
.check__preset {
  font-family: var(--f-mono); font-size: 0.76rem; padding: 7px 12px; border: 1px solid var(--rule-strong); border-radius: 999px;
  transition: border-color .2s, background .2s, color .2s;
}
.check__preset:hover { border-color: var(--bone); }
.check__preset[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.check__q { border: 0; margin: 0; padding: 16px 0; min-width: 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.check__q legend { float: left; padding: 0; font-size: var(--step-0); color: var(--bone); max-width: 36ch; }
.check__yn { display: inline-flex; padding: 3px; border: 1px solid var(--rule-strong); border-radius: 999px; }
.check__yn label { position: relative; cursor: pointer; }
.check__yn input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check__yn span { display: block; padding: 6px 16px; border-radius: 999px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--text-dim); transition: background .2s, color .2s; }
.check__yn label:hover span { color: var(--bone); }
.check__yn input:checked + span { background: var(--amber); color: var(--ink); }
.check__yn input[value="no"]:checked + span { background: var(--bone); }
.check__yn input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.check__reset { justify-self: start; margin-top: 16px; font-size: 0.76rem; color: var(--text-dim); border: 0; border-bottom: 1px solid var(--rule-strong); padding: 0 0 2px; }
.check__reset:hover { color: var(--bone); }
.check__preset:focus-visible, .check__reset:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.check__result {
  position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 36px);
  background: var(--ink); border: 1px solid var(--rule-strong); border-radius: 4px;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
@media (min-width: 1000px) { .check__result { position: sticky; top: 104px; } }
.check__result.has-verdict { border-color: var(--amber); box-shadow: 0 18px 48px -24px rgba(200, 135, 62, .5); }
.check__verdict { font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); line-height: 1.02; color: var(--bone); }
.check__why { color: var(--text-dim); }
.check__next { font-size: 0.78rem; color: var(--amber); }
.check__next:empty { display: none; }
.check__next a { color: inherit; }
/* verdict icon: circle = person, square = system/agent */
.check__icon { display: flex; gap: 8px; height: 30px; align-items: center; }
.check__icon i { display: block; width: 26px; height: 26px; border: 1.5px solid var(--text-dim); border-radius: 50%; opacity: .5; transition: all .35s var(--ease); }
.check__icon i.sq { border-radius: 4px; }
.check__icon i.on { opacity: 1; }
.check__icon i.on.ci { background: var(--bone); border-color: var(--bone); }
.check__icon i.on.sq { background: rgba(200, 135, 62, .5); border-color: var(--amber); }
.check__icon i.on.doc { background: transparent; border-color: var(--bone); border-style: dashed; border-radius: 4px; }

/* ---------- Ready / not yet ---------- */
.ready { display: grid; gap: 32px; }
@media (min-width: 900px) { .ready { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ready__h { display: flex; align-items: center; gap: 12px; font-family: var(--f-body); font-weight: 700; font-size: var(--step-1); color: var(--bone); padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.ready__mark { width: 14px; height: 14px; flex: none; }
.ready__col--yes .ready__mark { background: var(--amber); border-radius: 3px; }
.ready__col--no .ready__mark { border: 1.5px solid var(--bone); border-radius: 50%; }
.ready ul { list-style: none; margin: 0; padding: 0; }
.ready li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--rule); color: var(--text-dim); }
.ready li::before { position: absolute; left: 0; top: 14px; font-family: var(--f-mono); font-size: 0.85rem; }
.ready__col--yes li::before { content: "+"; color: var(--amber); }
.ready__col--no li::before { content: "−"; color: var(--bone); }

/* section surfaces on this page */
.page-work #doors.doors { background: var(--carbon); }
.contact-sec { background: var(--ink); }

/* checker on phones/tablets: questions stack consistently; a pinned verdict bar follows you */
@media (max-width: 999px) {
  .check__q { display: grid; gap: 10px; justify-content: stretch; }
  .check__q legend { float: none; }
  .check__yn { justify-self: start; }
}
.check__peek { display: none; }
@media (max-width: 999px) {
  .check__peek {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 6px; text-decoration: none; color: var(--bone);
    background: rgba(14, 14, 14, .94); border: 1px solid var(--rule-strong);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .7);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .35s var(--ease), border-color .3s;
  }
  .check__peek.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .check__peek.has-verdict { border-color: var(--amber); }
  .check__peek-label { font-size: 0.68rem; color: var(--text-dim); }
  .check__peek-text { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .check__peek-cta { font-size: 0.72rem; color: var(--amber); }
}

/* ---------- Isometric art that builds itself (page head) ---------- */
.phead__art.is-split { background: none; }
.iso-strip {
  position: absolute; top: 0; bottom: 0; background-repeat: no-repeat;
  clip-path: inset(100% 0 0 0); transform: translateY(28px);
  animation: isoRise var(--dur, 2s) cubic-bezier(.45, .05, .3, 1) var(--d, 0s) forwards;
  will-change: clip-path, transform;
}
.iso-strip::after { /* amber build line riding the top of the reveal */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1px;
  background: var(--amber); box-shadow: 0 0 10px rgba(200, 135, 62, .9);
  opacity: 0;
  animation: isoScan var(--dur, 2s) cubic-bezier(.45, .05, .3, 1) var(--d, 0s) forwards;
}
@keyframes isoRise { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes isoScan {
  0% { top: 100%; opacity: 0; }
  10% { opacity: .9; }
  85% { opacity: .7; }
  100% { top: 0; opacity: 0; }
}
.motion [data-iso-build]:not(.is-split) { background-image: none; }

/* =========================================================
   Field Notes — blog
   ========================================================= */
.phead--compact { padding-bottom: clamp(48px, 6vw, 80px); }
.blog { padding-top: clamp(48px, 6vw, 88px); }
.blog__intro { font-size: var(--step--1); color: var(--text-dim); margin-bottom: 20px; }

.post {
  display: grid; overflow: hidden; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--carbon);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.post:hover { border-color: rgba(200, 135, 62, .6); }
.post__cover {
  position: relative; min-height: 180px; display: grid; place-items: end start; padding: 18px 20px;
  background: var(--ink) url("../assets/img/iso-dark.jpg") center / 260% auto no-repeat;
  border-bottom: 1px solid var(--rule);
}
.post__big { font-family: var(--f-mono); font-size: 2.2rem; line-height: 1; letter-spacing: -0.04em; color: var(--bone); }
.post__big small { font-size: 0.36em; letter-spacing: 0.04em; color: var(--amber); margin-left: 6px; }
.post__glyph { letter-spacing: 0.1em; }
.post__body { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 2.6vw, 32px); }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.72rem; }
.post__stage { color: var(--ink); background: var(--amber); padding: 2px 8px; border-radius: 3px; }
.post__series { color: var(--text-dim); padding-top: 2px; }
.post__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.02; color: var(--bone); text-wrap: balance; }
.post__excerpt { color: var(--text-dim); max-width: 60ch; }
.post__try { color: var(--bone); padding-left: 12px; border-left: 2px solid var(--amber); max-width: 60ch; }
.post__try .mono { font-size: 0.72rem; color: var(--amber); margin-right: 4px; }
.post__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 0.72rem; color: var(--text-dim); margin-top: 6px; }
.post__status { padding: 3px 10px; border: 1px dashed var(--rule-strong); border-radius: 999px; }

/* featured: cover beside the text on wide screens */
.post--featured { margin-bottom: clamp(20px, 2.4vw, 28px); }
@media (min-width: 900px) {
  .post--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .post--featured .post__cover { min-height: 380px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .post--featured .post__big { font-size: 3.4rem; }
  .post--featured .post__title { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); }
  .post--featured .post__body { align-content: center; padding: clamp(28px, 3.6vw, 52px); }
}
.blog__grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
@media (min-width: 900px) { .blog__grid { grid-template-columns: 1fr 1fr; } }

.blog-about { background: var(--carbon); }
.blog-about__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .blog-about__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.blog-about__text { display: grid; gap: 16px; justify-items: start; }
.blog-about__text p { color: var(--text-dim); max-width: 56ch; }

/* =========================================================
   Article (Field Notes post template)
   ========================================================= */
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.readbar i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--read, 0)); box-shadow: 0 0 8px rgba(200, 135, 62, .7); }

.art__head { padding: clamp(120px, 15vh, 160px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.art__head-inner { display: grid; gap: 16px; justify-items: start; }
.art__head .cmd { margin-bottom: 0; }
.art__crumbs { display: flex; gap: 10px; font-size: var(--step--1); color: var(--text-dim); }
.art__crumbs a { color: var(--amber); text-decoration: none; }
.art__crumbs a:hover { text-decoration: underline; }
.art__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); line-height: 0.98; max-width: 20ch; text-wrap: balance; }
.art__dek { font-size: var(--step-1); line-height: 1.55; color: var(--text-dim); max-width: 58ch; }
.art__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.74rem; color: var(--text-dim); }

.art__layout { display: grid; gap: 32px; padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
@media (min-width: 1100px) { .art__layout { grid-template-columns: 13rem minmax(0, 44rem); gap: 72px; justify-content: start; } }
.art__toc { display: none; }
@media (min-width: 1100px) {
  .art__toc { display: block; position: sticky; top: 104px; align-self: start; }
  .art__toc-h { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 12px; }
  .art__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule-strong); }
  .art__toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 0.9rem; color: var(--text-dim); text-decoration: none; transition: color .2s, border-color .2s; }
  .art__toc a:hover { color: var(--bone); }
  .art__toc a.is-on { color: var(--bone); border-left-color: var(--amber); }
}

.art__body { min-width: 0; max-width: 44rem; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); line-height: 1.75; color: #D2CDC4; }
.art__body > p, .art__body > ul, .art__body > ol, .art__body > .art__table-wrap { margin: 0 0 1.25em; }
.art__body h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; color: var(--bone); margin: 2.2em 0 0.6em; scroll-margin-top: 100px; }
.art__body strong { color: var(--bone); }
.art__body em { color: var(--bone); }
.art__def { font-family: var(--f-display); font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem); line-height: 1.15; color: var(--bone); padding: 6px 0 6px 18px; border-left: 2px solid var(--amber); }

.art__workers { list-style: none; padding: 0; display: grid; gap: 14px; }
.art__workers li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.art__ico { width: 18px; height: 18px; margin-top: 6px; border: 1.5px solid var(--bone); }
.art__ico--ci { border-radius: 50%; background: var(--bone); }
.art__ico--sq { border-radius: 3px; border-color: var(--amber); background: rgba(200, 135, 62, .45); }
.art__ico--sys { border-radius: 3px; border-style: dashed; }

.art__flow { list-style: none; padding: 0; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--carbon); counter-reset: none; }
.art__flow li { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 16px; padding: 14px 18px; border-top: 1px solid var(--rule); font-size: 0.98rem; line-height: 1.55; }
.art__flow li:first-child { border-top: 0; }
.art__flow li .mono { font-size: 0.74rem; color: var(--amber); padding-top: 3px; }
.art__flow li strong { font-weight: 600; }
@media (max-width: 599px) { .art__flow li { grid-template-columns: minmax(0, 1fr); } }

.art__table-wrap { overflow-x: auto; border: 1px solid var(--rule-strong); border-radius: 4px; }
.art__table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; min-width: 520px; }
.art__table th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 0.72rem; color: var(--text-dim); padding: 12px 14px; background: var(--carbon); border-bottom: 1px solid var(--rule-strong); }
.art__table td { padding: 12px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.art__table td:first-child { color: var(--bone); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--bone); }
.tag::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--bone); }
.tag--ci::before { border-radius: 50%; background: var(--bone); }
.tag--sq::before { border-radius: 2px; border-color: var(--amber); background: rgba(200, 135, 62, .45); }
.tag--sys::before { border-radius: 2px; border-style: dashed; }

.art__steps { padding-left: 1.4em; }
.art__steps li { padding-left: 6px; margin-bottom: 6px; }
.art__steps li::marker { font-family: var(--f-mono); color: var(--amber); font-size: 0.85em; }

.art__try { margin: 3em 0 2.4em; padding: clamp(22px, 3vw, 36px); background: var(--carbon); border: 1px solid var(--rule-strong); border-left: 2px solid var(--amber); border-radius: 4px; display: grid; gap: 14px; }
.art__try-label { font-size: 0.72rem; color: var(--amber); }
.art__try-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem) !important; line-height: 1.08; color: var(--bone); margin: 0 !important; }
.art__try ul { margin: 0; padding-left: 1.2em; color: var(--text-dim); }
.art__try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }

.art__author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.art__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; filter: saturate(.9); }
.art__author p { font-size: 0.95rem; line-height: 1.55; color: var(--text-dim); }
.art__author .art__author-name { color: var(--bone); font-weight: 600; }

.art__next { padding-top: 24px; display: grid; gap: 6px; }
.art__next-label, .art__next-note { font-size: 0.72rem; color: var(--text-dim); }
.art__next a { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1; color: var(--bone); text-decoration: none; }
.art__next a:hover { color: var(--amber); }

/* blog card links */
.post__link { color: inherit; text-decoration: none; }
.post__link::after { content: ""; position: absolute; inset: 0; }
.post { position: relative; }
.post__read { color: var(--amber); }
.post:has(.post__link):hover .post__title { color: var(--amber); }
.post__link:focus-visible { outline: none; }
.post:has(.post__link:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; }
.art__flow li p { margin: 0; }

/* =========================================================
   About
   ========================================================= */
.about-head { padding-bottom: clamp(56px, 7vw, 96px); }
.about-head__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .about-head__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 64px; } }
.about-head__ps { font-size: 0.5em; color: var(--amber); vertical-align: 0.35em; margin-right: 0.1em; }
.about-head__out { font-size: var(--step--1); color: var(--amber); margin-top: -4px; }
.about-head__photo { position: static !important; right: auto; bottom: auto; width: min(300px, 72vw); justify-self: center; transform: rotate(2deg); }
.about-head__photo img { width: 100%; }
@media (min-width: 960px) { .about-head__photo { justify-self: end; } }

.bio__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .bio__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.bio__text { display: grid; gap: 18px; font-size: var(--step-1); line-height: 1.6; color: var(--text-dim); max-width: 58ch; }
.bio__text a { color: var(--bone); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.bio__motto { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--rule); font-family: var(--f-display); font-size: var(--step-3); line-height: 1; color: var(--bone); }
.bio__photo { margin: 0; }
.bio__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); filter: saturate(.9); }

.dodont-sec { background: var(--carbon); }
.dodont { display: grid; gap: 40px; }
@media (min-width: 1000px) { .dodont { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.dodont__do { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dodont__do li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.dodont__do .mono { color: var(--amber); font-size: 0.85rem; padding-top: 4px; }
.dodont__do strong { display: block; font-family: var(--f-body); font-size: var(--step-1); color: var(--bone); margin-bottom: 4px; }
.dodont__do p { color: var(--text-dim); }
.dodont__dont { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--ink); }
.dodont__h { font-family: var(--f-body); font-weight: 700; font-size: var(--step-1); color: var(--bone); margin-bottom: 10px; }
.dodont__dont ul { list-style: none; margin: 0; padding: 0; }
.dodont__dont li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); color: var(--text-dim); }
.dodont__dont li::before { content: "×"; font-family: var(--f-mono); color: var(--bone); }

.cos { display: grid; border-top: 1px solid var(--rule); }
.cos__row { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; transition: background .25s; }
@media (min-width: 900px) { .cos__row { grid-template-columns: 14rem minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; } }
.cos__who { font-size: var(--step--1); color: var(--text-dim); }
.cos__row--me .cos__who { color: var(--amber); }
.cos__what { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; color: var(--bone); }
.cos__how { color: var(--text-dim); }
a.cos__row:hover .cos__what { color: var(--amber); }
a.cos__row:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.here-sec { background: var(--carbon); }
.here { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .here { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.here__text { display: grid; gap: 18px; }
.here__text .cmd { margin-bottom: -4px; }
.here__text > p:not(.cmd) { color: var(--text-dim); max-width: 46ch; font-size: var(--step-1); line-height: 1.55; }
.here__facts { display: grid; gap: 0; margin: 8px 0 0; border-top: 1px solid var(--rule); max-width: 420px; }
.here__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.8rem; }
.here__facts dt { color: var(--text-dim); }
.here__facts dd { margin: 0; color: var(--bone); }
.here__photos { position: relative; min-height: 420px; }
.here__photos .polaroid { position: absolute; bottom: auto; right: auto; }
.here__p1 { width: 44%; left: 4%; top: 0; transform: rotate(-3deg); z-index: 1; }
.here__p2 { width: 58%; left: 40%; top: 24%; transform: rotate(2.5deg); }
.here__p2 img { aspect-ratio: 4 / 3; }
@media (max-width: 599px) { .here__photos { min-height: 340px; } .here__p1 { width: 52%; } .here__p2 { width: 62%; top: 30%; } }
@media (max-width: 599px) { .about-head__photo { width: 58vw; } }

/* ---------- Q&A article pieces (answer-engine friendly) ---------- */
.answer { margin: 0 0 2.6em; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 28px); background: var(--carbon); border: 1px solid var(--rule-strong); border-left: 3px solid var(--amber); border-radius: 4px; }
.answer__label { font-size: 0.72rem; color: var(--amber); margin-bottom: 8px; }
.answer__text { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--bone); }
.answer__text strong { font-weight: 600; }
.qa { margin-bottom: 0.4em; }
.art__body .qa h2 { display: flex; gap: 14px; align-items: baseline; }
.qa__q { flex: none; font-size: 0.8rem; line-height: 1; color: var(--ink); background: var(--amber); padding: 5px 7px; border-radius: 3px; transform: translateY(-0.3em); }
.art__body .qa__a { font-size: 1.12em; line-height: 1.6; color: var(--bone); font-weight: 500; margin-bottom: 1em; }
.faq { margin-top: 1.6em; }
.art__body .faq h2 { margin-bottom: 0.8em; }
.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; color: var(--bone); font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.faq__ico { position: relative; flex: none; width: 14px; height: 14px; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--amber); transition: transform .25s var(--ease); }
.faq__ico::after { transform: rotate(90deg); }
.faq__item[open] .faq__ico::after { transform: rotate(0deg); }
.faq__item p { margin: 0 0 18px; color: var(--text-dim); }
.art__route { margin: 0 0 2em; padding: 16px 0; border-top: 1px solid var(--rule); }
.art__route-label { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 4px; }
.art__route-line { color: var(--bone); }
.art__route-line a { color: var(--amber); }

/* ---------- Field Notes archive: every question ---------- */
.archive { background: var(--carbon); }
.archive__bar { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 900px) { .archive__bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } }
.archive__search { position: relative; display: block; }
.archive__search-ps { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--amber); pointer-events: none; }
.archive__search input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--bone); background: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 4px; padding: 14px 16px 14px 36px;
}
.archive__search input::placeholder { color: var(--ash); }
.archive__search input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.archive__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.archive__tab { font: inherit; font-size: 0.88rem; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule-strong); background: none; color: var(--bone); transition: background .2s, border-color .2s, color .2s; }
.archive__tab .mono { font-size: 0.7rem; opacity: .7; margin-left: 4px; }
.archive__tab:hover { border-color: var(--bone); }
.archive__tab[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.archive__tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.archive__status { font-size: 0.74rem; color: var(--text-dim); margin-bottom: 10px; min-height: 1.2em; }
.archive__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.archive__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .archive__row { grid-template-columns: 8.5rem minmax(0, 1fr) auto; } }
.archive__row[hidden] { display: none; }
.archive__stage { grid-column: 1 / -1; font-size: 0.7rem; color: var(--text-dim); }
@media (min-width: 760px) { .archive__stage { grid-column: auto; } }
.archive__link, .archive__q { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.35; }
.archive__link { color: var(--bone); font-weight: 600; text-decoration: none; }
.archive__link:hover { color: var(--amber); }
.archive__link:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.archive__q { color: var(--text-dim); }
.archive__stat { font-size: 0.72rem; white-space: nowrap; }
.archive__read { color: var(--amber); }
.archive__soon { color: var(--ash); }
.archive__row.is-live .archive__stage { color: var(--amber); }
.archive__empty { color: var(--text-dim); padding: 20px 0; }
.archive__empty a { color: var(--bone); }

/* article footer: more questions */
.art__more { padding-top: 28px; }
.art__more-h { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 8px; }
.art__more ul { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--rule); }
.art__more li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; }
.art__more a { color: var(--bone); text-decoration: none; font-weight: 600; }
.art__more a:hover { color: var(--amber); }
.art__more .soon { color: var(--text-dim); }
.art__more .mono { font-size: 0.68rem; color: var(--text-dim); white-space: nowrap; }
.art__more-all { font-size: 0.8rem; color: var(--amber); }

/* article tables on phones: stack each row as a card instead of scrolling sideways */
@media (max-width: 599px) {
  .art__table-wrap { overflow: visible; border: 0; }
  .art__table { min-width: 0; }
  .art__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .art__table, .art__table tbody, .art__table tr, .art__table td { display: block; width: 100%; }
  .art__table tr { border: 1px solid var(--rule-strong); border-radius: 4px; margin-bottom: 10px; padding: 12px 14px; background: var(--carbon); }
  .art__table td { border: 0; padding: 3px 0; }
  .art__table td:first-child { font-weight: 600; padding-bottom: 6px; }
  .art__table td + td { color: var(--text-dim); }
}
