/* ============================================================
   karthink.ai — calm editorial system
   Designed around the hiring funnel: credibility in seconds,
   proof on scroll, contact one click away.
   ============================================================ */

:root {
  --paper:  #faf9f5;
  --panel:  #f0eee6;
  --ink:    #1b1916;
  --ink-2:  #56524a;
  --ink-3:  #9b958a;
  --line:   #e6e3d8;
  --accent: #2d5743;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease:  cubic-bezier(.22, 1, .36, 1);
  --wrap:  1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

section { scroll-margin-top: 88px; }

/* ---------- type utilities ------------------------------------ */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- nav ------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, .86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-tile {
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
  position: relative;
  transition: transform .35s var(--ease);
}
.brand-tile::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 7px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--paper);
  transition: background .3s ease, transform .35s var(--ease);
}
.brand:hover .brand-tile { transform: rotate(-6deg) scale(1.04); }
.brand:hover .brand-tile::after { background: #6fbd92; transform: scale(1.25); }
.brand-name {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--ink);
  line-height: 1;
  padding-top: 1px;
}
.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-2);
}
.top-links { display: flex; gap: 28px; }
.top-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.top-links a:hover { color: var(--ink); }

/* ---------- mobile menu (hamburger + sheet) -------------------- */
.nav-toggle {
  display: none;            /* shown only on mobile via media query */
  width: 40px;
  height: 40px;
  margin-right: -9px;       /* optical edge alignment */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  display: block;
  width: 21px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

.nav-sheet { display: none; }   /* shown only on mobile via media query */

/* ---------- hero ----------------------------------------------- */

.hero { padding: 132px 0 96px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 17ch;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .25s ease, transform .25s var(--ease);
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 25px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s var(--ease);
}
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }

.proof {
  display: flex;
  align-items: baseline;
  gap: 14px 30px;
  flex-wrap: wrap;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.proof-label { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.proof span:not(.proof-label) { font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* ---------- work rows ------------------------------------------ */

#work { padding-top: 36px; padding-bottom: 40px; }

.work-row {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 56px 0 116px;
}
.work-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 16 / 9;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s var(--ease);
}
.work-row:hover .work-media img { transform: scale(1.025); }

.work-info { max-width: 760px; margin-top: 30px; }
.work-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-top: 12px;
}
.work-desc { margin-top: 14px; color: var(--ink-2); max-width: 62ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  background: var(--panel);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.chip strong { font-weight: 650; color: var(--ink); margin-right: 4px; }

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.work-link .arr { transition: transform .3s var(--ease); }
.work-row:hover .work-link { color: var(--accent); }
.work-row:hover .work-link .arr { transform: translateX(5px); }

/* ---------- about ---------------------------------------------- */

#about { padding-top: 56px; padding-bottom: 90px; border-top: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  margin-top: 34px;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.about-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.about-text p { margin-top: 18px; color: var(--ink-2); max-width: 62ch; }

.exp { margin-top: 36px; border-top: 1px solid var(--line); }
.exp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.exp-row strong { font-weight: 600; }
.exp-row em { font-style: normal; color: var(--ink-2); }
.exp-date { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }

/* ---------- contact footer ------------------------------------- */

footer { border-top: 1px solid var(--line); padding: 104px 0 44px; }
footer h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.018em;
  max-width: 18ch;
  margin-top: 20px;
}
.foot-sub { margin-top: 18px; color: var(--ink-2); max-width: 50ch; }
footer .hero-cta { margin-top: 34px; }
.foot-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 96px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- case study ----------------------------------------- */

.case { max-width: 920px; margin: 0 auto; padding: 72px 32px 40px; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  margin-bottom: 44px;
  transition: color .2s ease;
}
.backlink:hover { color: var(--accent); }

.case h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.018em;
  max-width: 20ch;
  margin-top: 18px;
}
.lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
}

.outcomes {
  display: flex;
  gap: 26px 56px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.out-val {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.01em;
}
.out-label { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); max-width: 20ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.facts dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.facts dd { font-size: 14px; color: var(--ink); }

.case-hero { margin: 48px 0 10px; }
.case-hero img,
.cs-figure img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.tldr {
  background: var(--panel);
  border-radius: 18px;
  padding: 30px 34px 26px;
  margin: 48px 0 8px;
}
.tldr ul { list-style: none; margin-top: 16px; }
.tldr li {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  color: var(--ink-2);
}
.t-num {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--accent);
  padding-top: 5px;
}

.cs-block { margin-top: 22px; }
.cs-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.01em;
  margin: 46px 0 12px;
}
.cs-block p { color: var(--ink-2); max-width: 68ch; margin-bottom: 14px; }

.bullets { list-style: none; margin: 4px 0 10px; }
.bullets li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--ink-2);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 11px;
  height: 1.5px;
  background: var(--accent);
}

.cs-figure { margin: 30px 0 6px; }
.cs-figure figure { margin: 0 0 18px; }
.cs-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.cs-figure.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cs-figure.phone {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.cs-figure.phone figure { max-width: 264px; }
.cs-figure.phone img { width: 100%; }

.pull {
  margin: 52px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pull-q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.28;
  letter-spacing: -.01em;
  max-width: 26ch;
}
.pull-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); max-width: 58ch; }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 26px 0 10px;
}
.metric { background: var(--paper); padding: 24px 24px 20px; }
.metric .m-value {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.01em;
}
.metric .m-label { margin-top: 9px; font-size: 13px; color: var(--ink-2); }

.next {
  margin-top: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.next a {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.015em;
  line-height: 1.15;
  text-decoration: none;
  margin-top: 12px;
  transition: color .25s ease;
}
.next a:hover { color: var(--accent); }

/* ---------- cursor pill ---------------------------------------- */

.cursor-pill {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(18px, 18px) scale(.85);
  transition: opacity .2s var(--ease), transform .22s var(--ease);
}
.cursor-pill.show { opacity: 1; transform: translate(20px, 20px) scale(1); }

/* ---------- reveal --------------------------------------------- */

/* keyframe entrance: immune to per-element transition lists
   (.cred/.folio-invite/.ship-card used to clobber the old transition),
   and unlocks per-element stagger via --d set by the observer */
.reveal { opacity: 0; }
.reveal.shown {
  opacity: 1;
  animation: rise .7s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto !important; }
  .cursor-pill, .dm-toast { display: none !important; }
  .reveal, .reveal.shown { opacity: 1 !important; transform: none !important; }
}

/* ---------- responsive ------------------------------------------ */

@media (max-width: 860px) {
  .wrap, .case { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 84px 0 64px; }
  .top-links { gap: 18px; }
  .top-links a { font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 320px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cs-figure.two { grid-template-columns: 1fr; }
  .work-row { margin: 40px 0 84px; }
  .work-media { aspect-ratio: 16 / 10; }
  footer { padding-top: 76px; }
}

/* ============================================================
   Folio — palette, tours, narrator card
   ============================================================ */
.folio-spark { color: var(--accent); font-style: normal; }

.folio-invite {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 26px; padding: 14px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-2);
  cursor: pointer; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 1px 2px rgba(27,25,22,.04);
}
.folio-invite:hover { border-color: var(--accent); box-shadow: 0 6px 20px -8px rgba(45,87,67,.25); }
.folio-invite b { color: var(--ink); font-weight: 600; }
.folio-invite .fi-kbd {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
}

.nav-folio {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink-2); cursor: pointer; transition: border-color .25s var(--ease);
}
.nav-folio:hover { border-color: var(--accent); color: var(--ink); }
.nav-folio .nav-kbd { font-size: 10.5px; color: var(--ink-3); }

body.folio-lock { overflow: hidden; }
.folio-overlay[hidden] { display: none !important; }
.folio-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(27,25,22,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 14vh 24px 0;
}
.folio-panel {
  width: 100%; max-width: 620px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 40px 90px -20px rgba(27,25,22,.45);
  overflow: hidden;
  animation: folio-pop .28s var(--ease);
}
@keyframes folio-pop {
  from { transform: translateY(14px) scale(.985); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.folio-head {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 20px 0; font-size: 13px; color: var(--ink-2);
}
.folio-head b { color: var(--ink); }
.folio-esc {
  margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
}
.folio-input {
  width: calc(100% - 40px); margin: 14px 20px 0;
  padding: 13px 16px; font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: none;
}
.folio-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,87,67,.12); }
.folio-list { padding: 12px 12px 6px; }
.folio-opt {
  display: flex; align-items: baseline; gap: 12px; width: 100%;
  text-align: left; background: none; border: 0; border-radius: 10px;
  padding: 12px 12px; cursor: pointer; font-family: var(--sans);
}
.folio-opt .fo-l { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.folio-opt .fo-h { font-size: 12.5px; color: var(--ink-3); }
.folio-opt.on, .folio-opt:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.folio-opt.on .fo-l { color: var(--accent); }
.folio-none { padding: 18px 14px 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.folio-foot {
  display: flex; gap: 18px; padding: 10px 20px 14px;
  border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3);
}
.folio-foot span:last-child { margin-left: auto; }

.folio-card {
  position: fixed; right: 28px; bottom: 28px; z-index: 290;
  width: 340px; max-width: calc(100vw - 48px);
  background: var(--ink); color: var(--paper);
  border-radius: 16px; padding: 18px 20px 16px;
  box-shadow: 0 30px 70px -20px rgba(27,25,22,.6);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.folio-card.show { opacity: 1; transform: none; pointer-events: auto; }
.fc-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.fc-head .folio-spark { color: #6fbd92; }
.fc-count { color: rgba(250,249,245,.5); font-size: 11.5px; margin-left: 2px; }
.fc-x {
  margin-left: auto; background: none; border: 0; color: rgba(250,249,245,.55);
  font-size: 19px; cursor: pointer; line-height: 1; padding: 2px 4px;
}
.fc-x:hover { color: #fff; }
.fc-say { font-size: 13.5px; line-height: 1.6; margin-top: 10px; color: rgba(250,249,245,.92); }
.fc-nav { display: flex; gap: 8px; margin-top: 14px; }
.fc-btn {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  background: #6fbd92; color: var(--ink); border: 0;
}
.fc-btn.back { background: none; border: 1px solid rgba(250,249,245,.3); color: rgba(250,249,245,.85); }
.fc-btn:hover { filter: brightness(1.06); }
.fc-nav .fc-btn:last-child { margin-left: auto; }

.folio-glow {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--accent) !important;
  border-radius: 18px;
  transition: box-shadow .4s var(--ease);
}

/* ============================================================
   Pass feedback — honest exits
   ============================================================ */
.passbox { margin-top: 54px; border-top: 1px solid var(--line); padding-top: 30px; max-width: 560px; }
.pass-toggle {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-2); line-height: 1.6;
}
.pass-toggle u { text-decoration-color: var(--accent); text-underline-offset: 3px; color: var(--ink); font-weight: 500; }
.pass-toggle:hover u { color: var(--accent); }
.pass-form { margin-top: 18px; }
.pass-q { font-size: 13.5px; color: var(--ink-2); }
.pass-q a { color: var(--accent); }
.pass-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pass-chips label {
  font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  background: #fff; transition: all .2s var(--ease);
}
.pass-chips input { display: none; }
.pass-chips input:checked + span { color: #fff; }
.pass-chips label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.pass-form textarea, .pass-form input[type="text"] {
  width: 100%; margin-top: 10px; font-family: var(--sans); font-size: 13.5px;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 13px; outline: none; resize: vertical;
}
.pass-form textarea { min-height: 64px; }
.pass-form textarea:focus, .pass-form input[type="text"]:focus { border-color: var(--accent); }
.pass-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.pass-send {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 10px 20px; cursor: pointer;
}
.pass-send:hover { background: var(--accent); }
.pass-send:disabled { opacity: .6; cursor: default; }
.pass-anon { font-size: 11.5px; color: var(--ink-3); }
.pass-done { margin-top: 16px; font-size: 14.5px; color: var(--accent); font-weight: 500; }

/* ============================================================
   Mobile — audited at 390px
   ============================================================ */
html, body { overflow-x: hidden; }

@media (max-width: 640px) {
  /* nav: one row, no wrap, no overflow */
  .top-in { flex-wrap: nowrap; gap: 10px; }
  .brand-name { font-size: 15px; white-space: nowrap; }
  .top-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-sheet {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 4px 0 8px;
    background: rgba(250, 249, 245, .97);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px -26px rgba(27, 25, 22, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .26s var(--ease), transform .3s var(--ease),
                visibility 0s linear .3s;
  }
  .nav-sheet.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .26s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav-sheet a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 24px;
    padding: 14px 0;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-sheet a:last-child { border-bottom: 0; }
  .nav-sheet a .arr { color: var(--ink-3); font-size: 14px; }
  .nav-sheet a:active { color: var(--accent); }

  /* hero */
  .hero { padding: 64px 0 48px; }
  .folio-invite { gap: 9px; padding: 12px 16px; font-size: 13.5px; text-align: left; }
  .folio-invite .fi-kbd { display: none; }
  .proof { gap: 10px 16px; }

  /* work + case */
  .work-media { aspect-ratio: 16 / 9; }
  .work-info { margin-top: 20px; }
  .outcomes { gap: 18px 36px; margin-top: 34px; }

  /* palette: full-width sheet, no clipped text, no iOS zoom */
  .folio-overlay { padding: 7vh 14px 0; }
  .folio-panel { max-height: 82vh; overflow-y: auto; }
  .folio-input { font-size: 16px; width: calc(100% - 32px); margin: 12px 16px 0; }
  .folio-esc { display: none; }
  .folio-opt { flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 12px; }
  .folio-opt .fo-l { white-space: normal; }
  .folio-foot span:last-child { display: none; }

  /* narrator card becomes a bottom sheet */
  .folio-card {
    left: 14px; right: 14px; width: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* feedback: 16px inputs prevent iOS focus zoom */
  .pass-form textarea, .pass-form input[type="text"] { font-size: 16px; }
  .pass-chips label { padding: 9px 15px; }

  .foot-meta { flex-wrap: wrap; gap: 6px; }
}

/* ============================================================
   Forbes 30 Under 30 — press credential (editorial lockup)
   ============================================================ */
:root { --gold-acc: #9a7a3e; }

.cred {
  display: inline-flex; align-items: center;
  margin-bottom: 26px;
  padding: 11px 16px 11px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(27,25,22,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cred:hover {
  transform: translateY(-2px);
  border-color: var(--ink-3);
  box-shadow: 0 14px 30px -16px rgba(27,25,22,.3);
}
/* the Forbes wordmark is the anchor — serif, ink, authoritative */
.cred-mark {
  font-family: var(--serif); font-weight: 600; font-size: 23px;
  letter-spacing: -.014em; color: var(--ink); line-height: 1;
}
.cred-div {
  width: 1px; height: 30px; margin: 0 16px; flex: none;
  background: linear-gradient(180deg, transparent, rgba(154,122,62,.6), transparent);
}
.cred-body { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.cred-l1 {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: .01em; color: var(--ink);
}
.cred-l2 {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-acc);
}
.cred-go {
  margin-left: 16px; font-size: 13px; color: var(--ink-3);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.cred:hover .cred-go { color: var(--ink); transform: translate(2px, -2px); }

.about-accolade {
  display: flex; align-items: baseline; gap: 9px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.about-accolade .aa-mark {
  font-family: var(--serif); font-weight: 600; font-size: 16px;
  color: var(--ink); line-height: 1;
}
.about-accolade a {
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(154,122,62,.5);
  text-underline-offset: 3px;
}
.about-accolade a:hover { text-decoration-color: var(--gold-acc); }

@media (max-width: 640px) {
  .cred { margin-bottom: 18px; padding: 9px 14px; }
  .cred-mark { font-size: 20px; }
  .cred-div { height: 26px; margin: 0 13px; }
}

/* ============================================================
   Built & shipped — products designed AND coded
   ============================================================ */
.shipped-lead {
  max-width: 600px; font-size: 18px; line-height: 1.6;
  color: var(--ink-2); margin-top: 8px;
}
.shipped-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px; margin-top: 42px;
}
.ship-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 24px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.ship-card:hover {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 18px 40px -22px rgba(27,25,22,.32);
}
.ship-card.is-self { background: var(--panel); border-style: dashed; }
.ship-top { display: flex; align-items: center; }
.ship-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.ship-go { margin-left: auto; color: var(--ink-3); font-size: 16px; transition: transform .3s var(--ease), color .3s var(--ease); }
a.ship-card:hover .ship-go { color: var(--accent); transform: translate(2px, -2px); }
.ship-here {
  margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px;
}
.ship-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 11px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
}
.ship-tag i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3a9d5d; box-shadow: 0 0 0 3px rgba(58,157,93,.16);
}
.ship-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 13px; }
.ship-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ship-stack span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; color: var(--ink-2); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px;
}
.ship-card.is-self .ship-stack span { background: #fff; }

@media (max-width: 640px) {
  .shipped-lead { font-size: 16px; }
  .shipped-grid { gap: 14px; margin-top: 32px; }
  .ship-card { padding: 20px; }
}

/* featured ship card — UIScore */
.ship-card.is-featured {
  border-color: rgba(45,87,67,.45);
  background:
    linear-gradient(180deg, rgba(45,87,67,.05), rgba(45,87,67,.01)), #fff;
  box-shadow: 0 1px 2px rgba(45,87,67,.06);
}
a.ship-card.is-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -20px rgba(45,87,67,.4);
}
.ship-feat {
  display: inline-block; margin-bottom: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   Deciding what to build — product-judgment block
   ============================================================ */
.decision {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 34px 34px;
}
.decision .eyebrow { color: var(--accent); }
.decision-statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(21px, 2.5vw, 29px); line-height: 1.28;
  letter-spacing: -.012em; color: var(--ink);
  margin-top: 14px; max-width: 30ch;
}
.decision-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 28px; background: var(--line);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.dc { background: var(--paper); padding: 22px 24px; }
.dc-h {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 10px;
}
.dc-h::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none;
}
.dc-built .dc-h { color: var(--accent); }
.dc-built .dc-h::before { background: var(--accent); }
.dc-not .dc-h { color: var(--ink-3); }
.dc-not .dc-h::before { background: transparent; border: 1.5px solid var(--ink-3); }
.dc p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.dc-not p { color: var(--ink-3); }

@media (max-width: 640px) {
  .decision { padding: 24px 22px 26px; border-radius: 16px; }
  .decision-cols { grid-template-columns: 1fr; }
  .dc { padding: 18px 20px; }
}

/* ============================================================
   Figure decision captions — craft-level "why"
   ============================================================ */
.cs-figure .fig-why {
  margin-top: 16px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
  text-align: left; max-width: 60ch;
}
.fig-why .fw-k {
  display: block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
}
.cs-figure.two .fig-why { max-width: none; }

@media (max-width: 640px) {
  .cs-figure .fig-why { padding-left: 14px; font-size: 13.5px; }
}

/* nav résumé — plain link, consistent with Work / About / Contact */
.nav-resume { color: var(--ink-2); }

/* ============================================================
   Design mode — the redline overlay (press G)
   ============================================================ */
.dm-overlay { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
body.dm-active .dm-overlay { display: block; }
.dm-baseline {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom,
    transparent 0, transparent 7px, rgba(45,87,67,.05) 7px, rgba(45,87,67,.05) 8px);
}
.dm-cols {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: var(--wrap); padding: 0 32px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.dm-cols i { background: rgba(45,87,67,.05); box-shadow: inset 1px 0 0 rgba(45,87,67,.14), inset -1px 0 0 rgba(45,87,67,.14); }

.dm-panel {
  position: fixed; bottom: 22px; left: 22px; width: 290px; z-index: 201;
  display: none; pointer-events: auto;
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 18px 20px 16px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  font-family: var(--sans);
  animation: dm-pop .3s var(--ease);
}
@keyframes dm-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
body.dm-active .dm-panel { display: block; }
.dm-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fbd92; box-shadow: 0 0 8px #6fbd92; }
.dm-row { display: flex; gap: 10px; font-size: 11.5px; color: rgba(250,249,245,.82); padding: 4px 0; line-height: 1.4; }
.dm-k { flex: none; width: 46px; font-weight: 600; color: rgba(250,249,245,.5); letter-spacing: .04em; text-transform: uppercase; font-size: 9.5px; padding-top: 1px; }
.dm-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(250,249,245,.14); }
.dm-sw { display: flex; align-items: center; gap: 7px; font-size: 10px; color: rgba(250,249,245,.82); }
.dm-sw i { width: 13px; height: 13px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(250,249,245,.18); }
.dm-sw b { margin-left: auto; font-weight: 500; color: rgba(250,249,245,.45); font-variant-numeric: tabular-nums; font-size: 9px; }
.dm-foot { margin-top: 13px; font-size: 11px; color: rgba(250,249,245,.55); }
.dm-foot kbd { font-family: var(--sans); font-size: 10px; font-weight: 600; color: var(--paper); border: 1px solid rgba(250,249,245,.3); border-radius: 5px; padding: 1px 6px; }

body.dm-active .dm-mark { outline: 1px solid rgba(45,87,67,.55); outline-offset: 4px; }
.dm-tag {
  position: absolute; left: 0; top: -7px; transform: translateY(-100%);
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 6px; white-space: nowrap; z-index: 202; pointer-events: none;
}

/* discoverability hint in the footer */
.dm-hint { color: var(--ink-3); }
.dm-hint kbd {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; margin: 0 2px;
}

@media (max-width: 860px) {
  .dm-cols { grid-template-columns: repeat(6, 1fr); padding: 0 22px; }
  .dm-panel { left: 14px; right: 14px; bottom: 14px; width: auto; }
  .dm-hint { display: none; }
}

/* one-time nudge for design mode */
.dm-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  z-index: 250; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 11px 12px 11px 18px; border-radius: 999px;
  box-shadow: 0 22px 50px -16px rgba(27,25,22,.55);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
.dm-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dm-toast .dm-spark { color: #6fbd92; font-style: normal; }
.dm-toast kbd {
  font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--ink);
  background: var(--paper); border-radius: 5px; padding: 1px 7px; margin: 0 1px;
}
.dm-toast .dm-x {
  background: none; border: 0; color: rgba(250,249,245,.5); font-size: 18px; line-height: 1;
  cursor: pointer; padding: 0 4px; transition: color .2s ease;
}
.dm-toast .dm-x:hover { color: #fff; }
@media (max-width: 640px) { .dm-toast { display: none; } }

/* design mode — live inspector (code view) */
body.dm-active, body.dm-active * { cursor: crosshair !important; }
body.dm-active .dm-panel, body.dm-active .dm-panel * { cursor: default !important; }
.dm-mode { margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6fbd92; background: rgba(111,189,146,.16); padding: 2px 7px; border-radius: 4px; }
.dm-foot b { color: var(--paper); font-weight: 600; }

.dm-inspect {
  position: fixed; top: 0; left: 0; z-index: 201; pointer-events: none; opacity: 0;
  outline: 1.5px solid var(--accent); background: rgba(45,87,67,.06);
  transition: opacity .1s ease; will-change: transform, width, height;
}
.dm-inspect .dm-size {
  position: absolute; top: -19px; left: 0; background: var(--accent); color: #fff;
  font: 600 10px/1 var(--sans); padding: 3px 6px; border-radius: 4px; white-space: nowrap;
}
.dm-card {
  position: fixed; top: 0; left: 0; z-index: 202; width: 250px; pointer-events: none; opacity: 0;
  background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 13px 15px;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.62);
  font-family: var(--sans); will-change: transform; transition: opacity .1s ease;
}
.dm-sel {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 600; line-height: 1.3; color: #6fbd92;
  margin-bottom: 10px; word-break: break-all;
}
.dm-cl { display: flex; gap: 10px; font-size: 11px; padding: 2.5px 0; align-items: baseline; }
.dm-p {
  flex: none; width: 62px; color: rgba(250,249,245,.42);
  font-family: ui-monospace, Menlo, monospace;
}
.dm-v {
  color: rgba(250,249,245,.92); font-family: ui-monospace, Menlo, monospace;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.dm-c { width: 11px; height: 11px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(250,249,245,.22); }
.dm-tok { color: #6fbd92; font-weight: 600; }
.dm-pin {
  margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(250,249,245,.14);
  font-size: 10px; color: #6fbd92; font-weight: 600;
}

/* code view toggle button */
.dm-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 205;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(250, 249, 245, .9); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px 9px 13px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 6px 18px -8px rgba(27, 25, 22, .14);
  transition: transform .25s var(--ease), color .2s ease, border-color .2s ease, background .25s ease, box-shadow .25s ease;
}
.dm-btn:hover {
  transform: translateY(-1px); color: var(--ink); border-color: var(--ink-3);
  box-shadow: 0 10px 26px -8px rgba(27, 25, 22, .2);
}
.dm-btn .dm-btn-ico {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: -.03em;
}
.dm-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dm-btn.on:hover { color: var(--paper); border-color: var(--ink); }
.dm-btn.on .dm-btn-ico { color: #6fbd92; }
.dm-toast b { color: var(--paper); font-weight: 600; }
body.dm-active .dm-btn, body.dm-active .dm-btn * { cursor: pointer !important; }
@media (max-width: 640px) { .dm-btn { display: none; } }

/* ---------- case study: embedded videos ---------------------- */
.cs-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.cs-videos.one { grid-template-columns: 1fr; max-width: 760px; }
.cs-video { margin: 0; }
.vid-embed { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #0c0c0c; border: 1px solid var(--line); }
.vid-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-video figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 640px) { .cs-videos { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   Impact band — the numbers, up front (home)
   ============================================================ */
.impact { border-top: 1px solid var(--line); padding-top: 62px; padding-bottom: 66px; }
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 34px;
}
.impact-stat { border-left: 1px solid var(--line); padding-left: 22px; }
.impact-val {
  font-family: var(--serif); font-weight: 550;
  font-size: clamp(40px, 5vw, 60px); line-height: .94;
  letter-spacing: -.02em; color: var(--ink);
}
.impact-val em { font-style: normal; color: var(--accent); }
.impact-label { margin-top: 13px; font-size: 13.5px; color: var(--ink-2); max-width: 22ch; line-height: 1.45; }
.impact-src { display: block; margin-top: 7px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 26px; } }
@media (max-width: 460px) { .impact-grid { grid-template-columns: 1fr; gap: 26px; } .impact-stat { padding-left: 18px; } }

/* footer nav — discover the sub-pages */
.foot-nav {
  display: flex; gap: 14px 28px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
}
.foot-nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s ease; }
.foot-nav a:hover { color: var(--accent); }

/* about → how-i-build cross link */
.about-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.about-more .arr { transition: transform .3s var(--ease); }
.about-more:hover { color: var(--accent); }
.about-more:hover .arr { transform: translateX(5px); }

/* ============================================================
   Sub-page header (How I build, Stack)
   ============================================================ */
.page-head { padding: 92px 0 26px; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05;
  letter-spacing: -.02em; max-width: 20ch; margin-top: 20px;
}
.page-head h1 { font-variation-settings: "opsz" 144; }
.page-head h1 em { font-style: italic; font-weight: 450; color: var(--accent); padding-right: .04em; }
.page-lede { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 62ch; line-height: 1.6; }
.page-lede strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   How I build — AI-accelerated process page
   ============================================================ */
.hib { padding: 26px 0 34px; }
.hib-step {
  display: grid; grid-template-columns: 88px 1fr; gap: 10px 44px;
  padding: 56px 0; border-top: 0; position: relative;
  scroll-margin-top: 84px;
}
/* the top hairline draws in as the step reveals */
.hib-step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease) .05s;
}
.hib-step.shown::before { transform: scaleX(1); }
/* ghost folio, same voice as the homepage spreads */
.hib-num {
  font-family: var(--serif); font-weight: 550; font-size: 56px;
  line-height: .9; letter-spacing: -.02em; color: var(--line);
  font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums tabular-nums;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease) .18s, transform .5s var(--ease) .18s;
}
.hib-step.shown .hib-num { opacity: 1; transform: none; }
.hib-step h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.015em;
  grid-column: 2; align-self: start; padding-top: 3px;
}
.hib-body { grid-column: 2; }
.hib-body p { color: var(--ink-2); max-width: 64ch; margin-top: 15px; }
.hib-body p strong { color: var(--ink); font-weight: 600; }
.hib-note {
  margin-top: 22px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; max-width: 64ch;
}
.hib-note b { color: var(--ink); font-weight: 600; }
.prompt {
  margin-top: 22px; max-width: 64ch; background: var(--ink); color: #e4e0d6;
  border-radius: 16px; padding: 18px 24px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.7;
}
.prompt .p-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #8fb9a4; margin-bottom: 13px;
}
.prompt .p-label::after { content: ""; flex: 1; height: 1px; background: rgba(228, 224, 214, .16); }
/* a resting caret on the last prompt; blinks only on hover */
.prompt:last-of-type::after {
  content: ""; display: inline-block; width: .55em; height: 1.05em;
  margin-left: 4px; vertical-align: -.18em; background: #8fe0bd; opacity: .5;
}
@media (hover: hover) { .prompt:last-of-type:hover::after { animation: p-caret 1.1s steps(2, jump-none) infinite; } }
@keyframes p-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .prompt:last-of-type::after { animation: none !important; } }
.prompt .p-hi { color: #8fe0bd; }

/* quality bar */
.qbar-wrap { padding: 72px 0 12px; }
.qbar { display: flex; gap: 14px 44px; flex-wrap: wrap; margin-top: 18px; }
.qbar span {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -.015em; color: var(--ink-3);
  font-variation-settings: "opsz" 144;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.qbar-wrap.shown .qbar span { opacity: 1; transform: none; }
.qbar-wrap.shown .qbar span:nth-child(2) { transition-delay: .1s; }
.qbar-wrap.shown .qbar span:nth-child(3) { transition-delay: .2s; }
.qbar span em { font-style: italic; font-weight: 450; color: var(--accent); padding-right: .04em; }
/* only the page's namesake lights up, then earns its underline */
.qbar span:last-child em { position: relative; }
.qbar span:last-child em::after {
  content: ""; position: absolute; left: 0; right: .1em; bottom: .04em; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--ease) .6s;
}
.qbar-wrap.shown .qbar span:last-child em::after { transform: scaleX(1); }

/* proof row */
.hib-proof { padding: 56px 0 104px; margin-top: 72px; }
.hib-proof .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hib-proof .row a, .hib-proof .row span.item {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.hib-proof .row a:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }

@media (max-width: 640px) {
  .page-head { padding: 60px 0 18px; }
  .hib-step { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; }
  .hib-step h2, .hib-body { grid-column: 1; }
  .hib-num { font-size: 34px; }
  .hib-proof { padding-bottom: 76px; }
}

/* ============================================================
   Stack & Strengths page
   ============================================================ */
.stack-sec { padding: 8px 0 26px; }
.stack-sec + .stack-sec { padding-top: 40px; }
.stack-sec h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.01em;
}
.stack-sec .sec-note { color: var(--ink-3); font-size: 14px; margin-top: 4px; margin-bottom: 26px; }
.stack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.stack-item { background: var(--paper); padding: 20px 22px; }
.stack-item .si-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.stack-item .si-desc { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.str-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.str-item { border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px; background: #fff; }
.str-item .st-w { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--accent); }
.str-item .st-d { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
.stack-foot { padding: 40px 0 90px; }

@media (max-width: 860px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .str-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .stack-grid { grid-template-columns: 1fr; }
  .str-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   How I build — elaborated: receipts, refinements, nots
   ============================================================ */
.hib-sec-intro { color: var(--ink-2); max-width: 66ch; margin-top: 15px; }
.hib-sec-intro strong { color: var(--ink); font-weight: 600; }

.receipts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px;
  margin-top: 24px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.receipt b {
  font-family: var(--serif); font-weight: 550; font-size: clamp(30px, 3.4vw, 40px);
  color: var(--ink); display: block; line-height: 1; letter-spacing: -.01em;
  font-variation-settings: "opsz" 144;
}
.receipt .n { font-variant-numeric: lining-nums tabular-nums; }
.receipt .u {
  font-size: .55em; font-weight: 550; color: var(--accent);
  position: relative; top: -.42em; margin-left: .04em;
}
@media (max-width: 700px) { .receipts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.receipt span { font-size: 13px; color: var(--ink-2); margin-top: 9px; display: block; max-width: 20ch; line-height: 1.45; }

.refine-set { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.refine { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.refine-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 18px 22px 0; }
.refine-head .r-t { font-family: var(--serif); font-size: 21px; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.refine-head .r-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.refine-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 18px; }
.refine-cols > div { background: #fff; padding: 16px 22px 18px; }
.rc-k { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.rc-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.rc-before .rc-k { color: var(--ink-3); } .rc-before .rc-k::before { background: transparent; border: 1.5px solid var(--ink-3); }
.rc-after .rc-k { color: var(--accent); } .rc-after .rc-k::before { background: var(--accent); }
.refine-cols p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.rc-before p { color: var(--ink-3); }
.rc-after p { color: var(--ink); }
.refine { transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.refine:hover { border-color: var(--ink-3); box-shadow: 0 14px 32px -24px rgba(27, 25, 22, .28); }
.refine-why { padding: 16px 22px 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.refine-why b { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
@media (max-width: 640px) { .refine-cols { grid-template-columns: 1fr; } }

.prompt + .prompt { margin-top: 14px; }

.nots { list-style: none; margin: 18px 0 4px; }
.nots li { position: relative; padding-left: 26px; margin: 14px 0; color: var(--ink-2); max-width: 64ch; line-height: 1.6; }
.nots li strong { color: var(--ink); font-weight: 600; }
.nots li::before {
  content: "\00d7"; position: absolute; left: 0; top: -1px;
  font-size: 15px; font-weight: 700; color: var(--ink-3);
}

/* stack — grouped tools */
.stack-group { margin-top: 30px; }
.stack-group:first-of-type { margin-top: 8px; }
.stack-group .sg-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 13px; }

/* ============================================================
   Craft pass 2026-07 — finish the magazine
   Fraunces at full voice · numbered spine · spreads · finale
   ============================================================ */

/* ---------- 1 · let Fraunces speak --------------------------- */
.hero h1, footer h2 { font-variation-settings: "opsz" 144; }
.hero h1 em {
  font-style: italic; font-weight: 450;      /* italic reads heavier at 144 */
  color: var(--accent); padding-right: .04em; /* exit stroke clears the measure */
}
.brand-name em { font-style: italic; font-weight: 500; color: var(--ink-2); }
.exp-row em {
  font-family: var(--serif); font-style: italic;
  font-weight: 480; font-size: 15.5px; color: var(--ink-2);
}

/* rag control: invisible craft, degrades silently */
.hero h1, .about-text h2, footer h2, .work-info h3,
.decision-statement, .pull-q, .page-head h1 { text-wrap: balance; }
.hero-sub, .work-desc, .about-text p, .foot-sub,
.shipped-lead, .lede, .cs-block p { text-wrap: pretty; }

/* ---------- 2 · one vertical rhythm scale --------------------- */
.impact { border-top: 0; padding-top: 72px; padding-bottom: 72px; }
#work { padding-top: 72px; padding-bottom: 0; }
.work-row { margin: 48px 0 96px; }
.work-row:last-child { margin-bottom: 104px; }
#shipped { padding-bottom: 104px; }
#about { border-top: 0; padding-top: 72px; }

/* about: sticky portrait converts dead space into intent */
.about-grid { grid-template-columns: 384px minmax(0, 1fr); gap: 72px; align-items: start; }
.portrait { position: sticky; top: 100px; }

/* ---------- 3 · numbered section slugs ------------------------ */
:root { --ink-25: #75705f; } /* ~4.7:1 on paper; warm, quiet, AA-safe */
.eyebrow { color: var(--ink-25); }

body { counter-reset: sec; }
.impact > .eyebrow, #work > .eyebrow, #shipped > .eyebrow,
#about > .eyebrow, footer .wrap > .eyebrow,
.page-head > .eyebrow, .qbar-wrap > .eyebrow, .hib-proof > .eyebrow {
  display: flex; align-items: center; gap: 14px;
  counter-increment: sec;
}
.impact > .eyebrow::before, #work > .eyebrow::before,
#shipped > .eyebrow::before, #about > .eyebrow::before,
footer .wrap > .eyebrow::before,
.page-head > .eyebrow::before, .qbar-wrap > .eyebrow::before, .hib-proof > .eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  color: var(--accent); font-weight: 600; letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.impact > .eyebrow::after, #work > .eyebrow::after,
#shipped > .eyebrow::after, #about > .eyebrow::after,
footer .wrap > .eyebrow::after,
.page-head > .eyebrow::after, .qbar-wrap > .eyebrow::after, .hib-proof > .eyebrow::after {
  content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 12px;
}

/* ---------- 4 · the receipts band ----------------------------- */
.impact-lead { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.impact-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px 36px; align-items: end; }
.impact-stat:first-child { border-left: 0; padding-left: 0; }
.impact-stat:first-child .impact-val { font-size: clamp(54px, 7vw, 92px); }
.impact-val { font-variation-settings: "opsz" 144; }
.impact-val .n { font-variant-numeric: lining-nums tabular-nums; }
.impact-val .u {
  font-size: .55em; font-weight: 550; color: var(--accent);
  position: relative; top: -.42em; margin-left: .04em;
}
.out-val, .m-value { font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 860px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .impact-stat:first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* ---------- 5 · work rows as spreads --------------------------- */
#work-list { counter-reset: proj; }
.work-row { counter-increment: proj; }
@media (min-width: 861px) {
  .work-info {
    max-width: none; display: grid;
    grid-template-columns: 88px minmax(0, 620px) 1fr;
    grid-template-areas:
      "num eyebrow chips"
      "num title   chips"
      "num desc    chips"
      "num link    chips";
    column-gap: 44px;
  }
  .work-info::before {
    grid-area: num;
    content: counter(proj, decimal-leading-zero);
    font-family: var(--serif); font-weight: 550; font-size: 56px;
    line-height: .9; letter-spacing: -.02em;
    color: var(--line);
  }
  .work-info > .eyebrow { grid-area: eyebrow; }
  .work-info h3 { grid-area: title; }
  .work-desc { grid-area: desc; }
  .work-link { grid-area: link; }
  .chips {
    grid-area: chips; flex-direction: column;
    align-content: start; gap: 0; margin-top: 6px;
  }
  .chip {
    background: none; border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0; font-size: 13px;
  }
  .chip strong {
    display: block; font-family: var(--serif); font-weight: 550;
    font-size: 24px; letter-spacing: -.01em; color: var(--ink);
    margin: 0 0 2px; font-variant-numeric: lining-nums;
  }
}

/* ---------- 6 · serif proof roster ----------------------------- */
.proof a, .proof span:not(.proof-label) {
  font-family: var(--serif); font-size: 18px; font-weight: 550;
  letter-spacing: -.008em; color: var(--ink-3);
  text-decoration: none; transition: color .25s ease;
}
.proof a:hover { color: var(--ink); }

/* ---------- 7 · a hover language ------------------------------- */
.top-links a, .foot-nav a { position: relative; }
.top-links a::after, .foot-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .28s var(--ease);
}
.top-links a:hover::after, .foot-nav a:hover::after {
  transform: scaleX(1); transform-origin: 0 50%;
}
.work-info h3 { transition: color .35s var(--ease); }
.work-row:hover .work-info h3 { color: var(--accent); }
.work-media { transition: border-color .4s var(--ease); }
.work-row:hover .work-media { border-color: var(--ink-3); }
.work-link { position: relative; }
.work-link::after {
  content: ""; position: absolute; left: 0; right: 22px;
  bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .3s var(--ease);
}
.work-row:hover .work-link::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ---------- 8 · the finale: footer on the panel plane ---------- */
:root { --line-on-panel: #ddd9c9; }
footer { background: var(--panel); border-top: 0; padding: 0 0 48px; }
footer .wrap { padding-top: 108px; }
footer h2 { font-size: clamp(38px, 5.5vw, 64px); max-width: 16ch; }
footer h2 em { font-style: italic; font-weight: 450; color: var(--accent); }
.foot-mail {
  display: block; margin-top: 48px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 6.5vw, 82px); line-height: 1.04; letter-spacing: -.028em;
  color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
  transition: color .3s var(--ease);
}
.foot-mail:hover { color: var(--accent); }
.foot-mail .arr { display: inline-block; transition: transform .3s var(--ease); }
.foot-mail:hover .arr { transform: translateX(10px); }
footer .hero-cta { margin-top: 30px; }
footer .btn-ghost { border-color: #d3cfc0; }
.passbox, .foot-nav, .foot-meta { border-top-color: var(--line-on-panel); }
.foot-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.foot-status i {
  width: 7px; height: 7px; border-radius: 50%; background: #3a9d5d;
  box-shadow: 0 0 0 3px rgba(58, 157, 93, .16);
}
.colophon em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 13.5px; color: var(--ink-2);
}

/* ---------- 9 · materiality: 3.5% paper grain ------------------ */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- 10 · invisible chrome ------------------------------ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .btn-ghost:focus-visible, .folio-invite:focus-visible,
.pass-send:focus-visible, .cred:focus-visible { outline-offset: 2px; }
html { scrollbar-color: #d3cebf var(--paper); }
a, button, .work-row { -webkit-tap-highlight-color: transparent; }

/* zero-shift load: skeleton matches .work-media geometry exactly */
#work-list:empty::before {
  content: ""; display: block; margin-top: 48px;
  aspect-ratio: 16 / 9; border-radius: 18px;
  border: 1px solid var(--line); background: var(--panel);
}
#shipped-list:empty { min-height: 280px; }

@media (max-width: 860px) {
  .work-row { margin: 36px 0 72px; }
  #shipped { padding-bottom: 76px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { position: static; }
  footer .wrap { padding-top: 76px; }
  #work-list:empty::before { aspect-ratio: 16 / 10; margin-top: 36px; }
}

/* ============================================================
   How I build — evidence pass: figures, map, vow
   ============================================================ */
.hib-fig { margin-top: 24px; max-width: 760px; }
.hib-fig img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.hib-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; max-width: 66ch; }
.hib-fig figcaption b { font-weight: 600; color: var(--ink-2); }

/* three-frame loop strip: sketch, test, ship */
.hib-loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; counter-reset: stage; }
.hib-loop figure { margin: 0; }
.hib-loop img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top;
  border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
}
.hib-loop figcaption { display: flex; align-items: baseline; gap: 9px; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.hib-loop figcaption::before {
  counter-increment: stage; content: counter(stage, decimal-leading-zero);
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--accent);
  font-variant-numeric: tabular-nums; flex: none;
}
.hib-loop figcaption b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 14px; color: var(--ink); }
@media (max-width: 640px) { .hib-loop { grid-template-columns: 1fr; } }

/* full-bleed figure inside a refine card */
.refine-fig { margin: 18px 0 0; border-top: 1px solid var(--line); }
.refine-fig img { width: 100%; display: block; }
.refine-fig figcaption { padding: 12px 22px 0; margin-bottom: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* the closing vow */
.hib-vow {
  margin-top: 30px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(23px, 2.8vw, 32px); line-height: 1.2; letter-spacing: -.012em;
  color: var(--ink); max-width: 26ch; font-variation-settings: "opsz" 144;
}
.hib-vow em { font-style: italic; font-weight: 450; color: var(--accent); }

/* the loop, at a glance: ruled index under the lede */
.hib-map { margin-top: 30px; }
.hib-map ol { list-style: none; counter-reset: hibmap; }
.hib-map li { counter-increment: hibmap; border-bottom: 1px solid var(--line); }
.hib-map li:first-child { border-top: 1px solid var(--line); }
.hib-map a { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; text-decoration: none; }
.hib-map a::before {
  content: counter(hibmap, decimal-leading-zero);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hib-map b { font-family: var(--serif); font-weight: 550; font-size: 19px; letter-spacing: -.008em; color: var(--ink); min-width: 5.2ch; transition: color .25s ease; }
.hib-map span { font-size: 14px; color: var(--ink-2); }
.hib-map i { margin-left: auto; font-style: italic; font-family: var(--serif); font-size: 13.5px; color: var(--accent); white-space: nowrap; }
.hib-map a:hover b { color: var(--accent); }
@media (max-width: 640px) {
  .hib-map i { display: none; }
  .hib-map span { font-size: 13px; }
}

/* rag control for this page's type */
.hib-step h2, .hib-vow { text-wrap: balance; }
.page-lede, .hib-body p, .hib-sec-intro, .hib-note,
.refine-cols p, .refine-why, .nots li, .hib-fig figcaption { text-wrap: pretty; }

/* ============================================================
   Gaze portrait — the About photo tracks the cursor
   ============================================================ */
