@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=zodiak@400,700,800&display=swap");

:root {
  color-scheme: light;
  --bg: #c48d62;
  --ink: #211712;
  --muted: #493126;
  --lime: #362317;
  --line: #906448;
  --panel: #f8edde;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --display: "Zodiak", Georgia, serif;
}
body { font: 1rem/1.42 var(--sans); }
.frame {
  --page-gutter: clamp(16px, 2.6vw, 58px);
  --section-gap: clamp(18px, 3svh, 32px);
  width: min(1880px, calc(100% - 2 * var(--page-gutter)));
}
:focus-visible { outline-color: #322015; }
::selection { background: #422919; color: #f9eadd; }
.home-stage {
  --portrait-size: clamp(205px, 76svh, 840px);
  display: grid;
  min-height: 100svh;
  align-content: start;
  gap: var(--section-gap);
  padding-block: max(var(--section-gap), env(safe-area-inset-top)) max(var(--section-gap), env(safe-area-inset-bottom));
}
.hero {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(14px, 2.8vw, 42px);
}
.hero h1 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 400 clamp(1.9rem, 3.25vw, 3.6rem)/1.05 var(--display);
  letter-spacing: -.03em;
}
.headline {
  container-type: inline-size;
  min-height: 0;
  margin: 0 0 clamp(12px, 2.15svh, 21px);
  color: #342116;
}
#headline {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  font: 800 clamp(1.6rem, 10cqi, 3.6rem)/1.08 var(--display);
  letter-spacing: -.047em;
  text-decoration-thickness: .06em;
  text-underline-offset: .14em;
}
@media (hover: hover) {
  #headline:hover { text-decoration-line: underline; }
}
#headline:focus-visible { text-decoration-line: underline; }
.intro-copy { max-width: 35ch; color: var(--ink); font: 600 clamp(.94rem, 1.15vw, 1.03rem)/1.43 var(--sans); margin-bottom: 0; }
.actions { gap: 6px; }
.button { min-height: 39px; padding: 7px 12px; border-radius: 8px; font-size: .86rem; }
.primary { background: #372216; color: #fff3e6; }
.primary:hover { background: #26150e; color: #fff7ee; }
.outline { background: transparent; border-color: #5f3e28; color: var(--ink); }
.outline:hover { background: #2e1a0c19; }
.portrait { border: 0; border-radius: 0; background: transparent; }
.portrait-art { filter: drop-shadow(0 7px 12px #68381845); }
.picker { width: min(100%, 570px); margin-inline: auto; padding: 0; border: 0; }
.prompt-menu > summary {
  background: #ead0b7;
  color: #2f271e;
  border: 1px solid #8e6247;
  min-height: 46px;
  font-weight: 600;
  padding-left: 14px;
}
.prompt-menu > summary .prompt-label { color: inherit; font: inherit; }
.prompt-menu > summary .prompt-chevron { display: grid; place-items: center; color: #624630; }
.section h2 { font: 700 clamp(1.45rem, 3vw, 2.65rem)/1.04 var(--display); letter-spacing: -.034em; }
.work-jumps button[aria-current]::before { opacity: 1; transform: scaleX(1.35); }
.work .section-top { align-items: baseline; justify-content: flex-start; gap: 5px; margin-bottom: 7px; color: #2d1e15; }
.work .section-top h2 { font: 800 .79rem/1.1 var(--sans); letter-spacing: .075em; text-transform: uppercase; }
.work-hint { margin: 0; font: 650 .79rem/1.1 var(--sans); white-space: nowrap; }
.slide-controls > button { background: #ead0b7; border-color: #966949; }
.project button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #4d3122;
  border-radius: 9px;
  color: #fff0dc;
  background: #39251a;
}
.project button:hover { border-color: #1f130d; background: #2c1c13; }
.project button:focus-visible { outline-color: #f8e7d6; }
.project-label { width: 100%; min-height: 71px; align-items: center; padding: 12px; }
.project-label p { color: #e4c7a8; font-family: var(--sans); font-size: .76rem; letter-spacing: .025em; }
.project-label h3 { font: 700 1.13rem/1.08 var(--display); letter-spacing: -.02em; }
.project-label > span { color: #e6c7a9; }
.kicker { color: #5e3d28; }
dialog { background: #f8edde; border-color: #b58c6f; box-shadow: 0 18px 75px #311c1390; }
dialog::backdrop { background: #35201692; backdrop-filter: blur(1px); }
.dialog-top { background: #f8edde; border-color: #d8bda3; }
.dialog-top h2 { letter-spacing: -.037em; }
.case-summary { background: #ecdbc8; border-color: #a67250; }
.case-content section { border-color: #d9bea8; }
#chapter-logo { display: block; width: 100%; height: auto; max-height: 92px; object-fit: contain; mix-blend-mode: multiply; }
.image-filters { position: absolute; pointer-events: none; }
.work.section { min-width: 0; padding: 0; border: 0; }
.work-rail { gap: 10px; padding: 2px; }
.work-rail .project { scroll-snap-align: center; }
.work-rail .project[data-current] button {
  border-color: #d5aa82;
  box-shadow: inset 0 0 0 1px #d5aa82;
}
.project-label { flex-shrink: 0; gap: 8px; min-height: clamp(72px, 11svh, 92px); padding: clamp(9px, 1.5svh, 12px); }
.project-label > div { min-width: 0; overflow-wrap: anywhere; }

@media (min-width: 1021px) {
  .home-stage {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) clamp(266px, 23vw, 405px);
    grid-template-rows: minmax(min-content, 1fr) auto;
    column-gap: clamp(16px, 2.2vw, 40px);
    row-gap: clamp(9px, 1.8svh, 22px);
  }
  .hero {
    grid-area: 1 / 1 / 2 / 3;
    grid-template-columns: subgrid;
  }
  .hero h1 { font-size: clamp(2rem, 3.6vw, 4.45rem); }
  .intro-copy { font-size: clamp(.96rem, 1.2vw, 1.16rem); }
  .hero .portrait { align-self: end; }
  .picker { grid-area: 2 / 2; width: min(86%, 620px, var(--portrait-size) * .86); }
  .work { grid-area: 1 / 3 / 3 / 4; }
  .work .section-top { margin-left: 45px; }
  .work-rail {
    --visible-highlights: 3;
    --rail-gap: 7px;
    --rail-inset: 2px;
    --rail-peek: clamp(26px, 3.6svh, 38px);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-auto-rows: var(--highlight-row, 82px);
    height: calc(var(--visible-highlights) * var(--highlight-row, 82px) + (var(--visible-highlights) - 1) * var(--rail-gap) + 2 * var(--rail-inset) + var(--rail-peek));
    gap: var(--rail-gap);
    padding: var(--rail-inset);
    overflow: hidden auto;
    scroll-snap-type: y mandatory;
  }
  .project-label {
    min-height: clamp(72px, (100svh - 2 * var(--section-gap) - 92px) / var(--visible-highlights), 248px);
  }
  .project-label h3 { font-size: clamp(1.08rem, 1.4vw, 1.48rem); }
}
@media (min-width: 1021px) and (min-height: 1080px) {
  .work-rail { --visible-highlights: 4; }
}
@media (max-width: 1020px) {
  .work-rail { grid-auto-columns: calc((100% - 20px) / 3); }
}
@media (max-width: 820px) {
  .work-rail { grid-auto-columns: calc((100% - 10px) / 2); }
}
@media (max-width: 620px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .intro-copy { max-width: 41ch; }
  #headline { font-size: clamp(1.6rem, 7.5cqi, 2.35rem); }
  .work-rail { grid-auto-columns: 100%; }
}
.intro-actions {
  --intro-target: clamp(48px, 4.2vw, 56px);
  --intro-links-gap: 9px;
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(19px, 3.4svh, 35px);
}
.intro .actions { align-items: center; flex-wrap: nowrap; gap: 12px; }
.about-branch > summary { min-height: var(--intro-target); padding-inline: 15px; font-size: 1rem; }
.explore-cue {
  position: relative;
  min-width: 0;
  max-width: 160px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #ead0b7;
  color: #493126;
  font: 650 .76rem/1.25 var(--sans);
}
.explore-cue::before {
  position: absolute;
  top: calc(50% - 3px);
  left: -3px;
  width: 6px;
  height: 6px;
  background: inherit;
  transform: rotate(45deg);
  content: "";
}
.intro-links {
  position: relative;
  display: grid;
  width: max-content;
  grid-template-columns: auto var(--intro-target) var(--intro-target);
  gap: var(--intro-links-gap);
  margin-top: var(--intro-links-gap);
}
.intro-links > .button,
.intro-links > details > summary {
  gap: 6px;
  min-width: var(--intro-target);
  min-height: var(--intro-target);
  padding: 7px 11px;
  border-color: #65452f;
  border-radius: 12px;
  background: transparent;
  color: #2d1c13;
  font-size: 1rem;
  font-weight: 800;
}
.intro-links > .button:hover,
.intro-links > details > summary:hover { background: #ead0b7; }

.cv-menu { position: relative; }
.cv-menu[open], .email-menu[open] { z-index: 5; }
.cv-menu > summary, .email-menu > summary { display: flex; width: 100%; list-style: none; cursor: pointer; }
.cv-menu > summary::-webkit-details-marker, .email-menu > summary::-webkit-details-marker { display: none; }
.cv-menu[open] > summary, .email-menu[open] > summary { border-color: #3b261b; }
.cv-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  width: min(276px, calc(100vw - 30px));
  padding: 10px 12px 12px;
  border-radius: 11px;
  background: #f8edde;
  color: #2d1e15;
  box-shadow: 0 8px 22px #3a251c35;
}
.cv-panel-top, .cv-actions { display: flex; gap: 6px; align-items: center; }
.cv-panel-top { justify-content: space-between; margin-bottom: 6px; }
.cv-panel-top p { margin: 0; font-size: .91rem; font-weight: 800; }
.cv-panel-close { width: 30px; height: 32px; padding: 0; border: 0; background: transparent; font-weight: 800; }
.cv-panel .cv-actions { flex-wrap: wrap; }
.cv-panel .cv-actions .button { min-height: 44px; padding-inline: 9px; }
.cv-panel .cv-actions .primary:hover { background: #513728; }
#email-actions { width: min(256px, calc(100vw - 44px)); }
.email-status, .cv-share-note { font-size: .8rem; margin: 9px 0 0; }
.cv-share-note a { text-decoration: underline; }
#cv-dialog { width: min(810px, calc(100% - 20px)); max-height: 94dvh; margin: auto; border: 1px solid #b58c6f; border-radius: 15px; }
.cv-dialog-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; }
.cv-dialog-top h2 { flex: 1; margin: 0; font: 780 1.15rem/1.15 var(--sans); }
#cv-pdf { display: block; width: 100%; height: min(74dvh, 850px); border: 0; background: #fff; }

.intro-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.linkedin-mark { font: 850 1.14rem/1 var(--sans); letter-spacing: -.025em; }


.hero .portrait { display: grid; place-items: center; min-height: 0; }
.hero .portrait-art {
  position: relative;
  inset: auto;
  display: block;
  width: min(100%, var(--portrait-size));
  aspect-ratio: 1;
  margin: 0 auto;
  transform: none;
}
.hero .portrait-art img { object-position: center bottom; opacity: 0; }
.portrait[data-pose="rest"][data-gaze="left"] [data-portrait="left"],
.portrait[data-pose="rest"][data-gaze="center"] [data-portrait="center"],
.portrait[data-pose="rest"][data-gaze="right"] [data-portrait="right"],
.portrait[data-pose="blink"] [data-portrait="blink"],
.portrait[data-pose="wink"] [data-portrait="wink"],
.portrait[data-pose="thinking"] [data-portrait="thinking"],
.portrait[data-pose="wave"] [data-portrait="center"],
.portrait[data-pose="wave"] [data-portrait="wave"] { opacity: 1; }
.portrait [data-portrait="thinking"],
.portrait [data-portrait="wink"] { mask-image: linear-gradient(#000 88%, transparent 99%); }
.hero .portrait [data-portrait="wave"] {
  clip-path: polygon(0 29%, 30% 29%, 36% 45%, 37% 57%, 28% 67%, 27% 100%, 0 100%);
  transform-origin: 16% 69%;
}
.portrait[data-pose="wave"] [data-portrait="wave"] {
  animation: portrait-greeting 1.55s cubic-bezier(.35, .05, .3, 1) both;
}
@keyframes portrait-greeting {
  0%, 100% { transform: translateY(76%); }
  24%, 72% { transform: translateY(0) rotate(0); }
  36%, 60% { transform: rotate(-8deg); }
  48% { transform: rotate(7deg); }
}
@media (min-width: 621px) and (max-width: 1020px) {
  .hero .portrait-art { width: min(100%, clamp(240px, 57svh, 440px)); }
}
@media (max-width: 620px) {
  .hero .portrait-art { width: min(100%, clamp(210px, 33svh, 326px)); }
}

/* Short, narrow windows give the intro and cards their own full-width rows. */
@media (min-width: 540px) and (max-width: 1020px) and (max-height: 620px) {
  .home-stage { gap: clamp(8px, 2svh, 14px); padding-block: clamp(10px, 2svh, 15px); reading-flow: grid-rows; }
  .hero { display: contents; }
  .intro { grid-row: 1; }
  .hero h1, #headline { font-size: clamp(1.55rem, 4.5svh, 2.45rem); }
  .headline { margin-bottom: 7px; }
  .intro-copy { max-width: 67ch; }
  .intro-actions { --intro-target: 46px; grid-auto-flow: column; align-items: center; gap: 10px; margin-top: 12px; }
  .intro-links { margin-top: 0; }
  .about-branch .about-choices { top: calc(100% + 7px); }
  .work { grid-row: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .work .section-top { margin: 0; }
  .work-browser { display: contents; }
  .work-rail { grid-area: 2 / 1 / 3 / -1; grid-auto-columns: calc((100% - 20px) / 3); }
  .work-jumps { grid-area: 1 / 2; justify-content: end; }
  .project-label { min-height: 64px; }
  .project-label h3 { font-size: clamp(.98rem, 1.8vw, 1.13rem); }
  .hero .portrait { grid-row: 3; }
  .hero .portrait-art { width: clamp(104px, 25svh, 165px); }
  .picker { grid-row: 4; }
}
@media (min-width: 540px) and (max-width: 740px) and (max-height: 620px) {
  .work-rail { grid-auto-columns: calc((100% - 10px) / 2); }
}

#about {
  --story-ink: #f8e7d6;
  --story-bg: #26170e;
  --story-accent: #cf9a70;
  width: min(1160px, calc(100% - 30px));
  background: var(--story-bg);
  color: var(--story-ink);
  border-color: #856048;
  border-radius: 24px;
}
#about :focus-visible { outline-color: var(--story-accent); }
.about-close { position: absolute; z-index: 3; top: 13px; right: 13px; }
.about-close button, .chapter-arrows button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--story-bg);
  background: var(--story-ink);
  font: 750 1.5rem/1 var(--sans);
}
.about-close button { color: var(--story-ink); background: #130b07d9; }
.about-story { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); min-height: clamp(350px, 74svh, 640px); }
.about-story-media { min-height: 0; position: relative; display: grid; place-items: center; background: #efdbc4; color: #5e3d28; }
#chapter-logo { width: 57%; max-width: 230px; max-height: 150px; }
#chapter-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#chapter-visual[data-chapter="drexel"] #chapter-photo { object-position: 36% center; }
#chapter-symbol { font-size: 4.5rem; }
.about-story-content { min-width: 0; align-self: center; padding: clamp(57px, 9svh, 78px) clamp(17px, 3vw, 43px) clamp(16px, 4svh, 32px); }
#chapter-mark {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  object-position: left bottom;
  margin-bottom: 10px;
  filter: invert(1) grayscale(1) brightness(1.32);
  mix-blend-mode: screen;
}
#chapter-visual[data-chapter="drexel"] + .about-story-content #chapter-mark {
  width: clamp(88px, 8vw, 108px);
  height: clamp(88px, 8vw, 108px);
}
#chapter-visual[data-chapter="snackpass"] + .about-story-content #chapter-mark {
  width: clamp(100px, 10vw, 128px);
  height: auto;
  filter: url(#snackpass-mark);
  clip-path: inset(4%);
}
#chapter-visual[data-chapter="profit"] + .about-story-content #chapter-mark {
  width: clamp(125px, 11vw, 158px);
  height: 72px;
}
#chapter-visual[data-chapter^="salesforce-"] + .about-story-content #chapter-mark {
  width: clamp(108px, 10vw, 148px);
  height: auto;
}
.chapter-timeline {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(53px, 1fr);
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #967055 transparent;
  list-style: none;
  margin: 0 0 clamp(16px, 3svh, 33px);
  padding: 4px 3px 6px;
}
.chapter-timeline button {
  min-height: 44px;
  width: 100%;
  padding: 3px 1px 0;
  display: grid;
  grid-template-rows: 9px 1fr;
  gap: 4px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #d7bda8;
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
}
.chapter-timeline button::before { content: ""; height: 7px; border-radius: 9px; width: 100%; background: #8a6045; }
.chapter-timeline button[aria-current="true"] { color: var(--story-ink); }
.chapter-timeline button[aria-current="true"]::before { background: var(--story-ink); }
.chapter-timeline button:hover::before { background: var(--story-accent); }
.chapter-detail { min-height: clamp(106px, 18svh, 145px); }
.chapter-detail h3 { font: 700 clamp(1.8rem, 3.6vw, 3.55rem)/1.02 var(--display); letter-spacing: -.03em; margin: 0 0 12px; overflow-wrap: anywhere; }
.chapter-detail p { max-width: 45ch; color: #e3cbbb; font-size: clamp(.98rem, 1.5vw, 1.16rem); line-height: 1.48; margin: 0; }
.chapter-arrows { display: flex; justify-content: space-between; padding-top: 14px; }
.chapter-arrows button:disabled { opacity: .28; }
@media (max-width: 720px) {
  #about { width: 100%; border-radius: 18px 18px 0 0; }
  .about-story { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .about-story-media { min-height: clamp(145px, 42vw, 270px); }
  #chapter-logo { max-width: 152px; max-height: 101px; }
  .about-story-content { padding-top: 16px; }
  .chapter-detail { min-height: 106px; }
  .chapter-timeline { margin-bottom: 14px; }
}


.case-facts {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 9px;
  margin: 0 0 12px;
}
.case-facts dt { font-size: .78rem; font-weight: 800; color: #5e3d28; text-transform: uppercase; letter-spacing: .045em; }
.case-facts dd { margin: 1px 0 0; color: var(--ink); }
.case-content p + p { margin-top: 8px; }

.about-story-media { touch-action: pan-y; }
.about-story[data-mode="personal"] .chapter-detail { min-height: 115px; }
.chapter-arrows { align-items: center; }
#chapter-position { margin: 0; color: #d7bda8; font-size: .84rem; font-weight: 650; }
@media (max-width: 720px) {
  #chapter-symbol { font-size: 3.4rem; }
}

.prompt-menu .questions {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: flex;
  width: min(100%, 350px);
  max-height: 40dvh;
  overflow: auto;
  overscroll-behavior: contain;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  padding: 5px;
}
.prompt-menu .questions button {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #906449;
  border-radius: 15px 15px 3px 15px;
  background: #fff0e0c9;
  color: #312015;
  text-align: left;
  font-weight: 700;
  line-height: 1.2;
}
.prompt-menu .questions button:hover,
.prompt-menu .questions button:focus-visible { background: #fff0e0; color: #312015; }
.prompt-menu[open] .questions button { animation: answer-rise 180ms ease-out both; }
.prompt-menu[open] .questions button:nth-child(n+3) { animation-delay: 35ms; }
.prompt-menu[open] .questions button:nth-child(n+5) { animation-delay: 70ms; }
.answer {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: calc(100% + 8px);
  max-height: min(68dvh, var(--answer-space, 68dvh));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 4px 3px;
  border: 0;
  background: transparent;
  color: #fff1e2;
  scrollbar-width: thin;
  animation: answer-rise 180ms ease-out both;
}
@keyframes answer-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.question-control { position: relative; }
.question-control:has(.answer-close:not([hidden])) summary { padding-right: 80px; }
.question-control:has(.answer-close:not([hidden])) .prompt-chevron { visibility: hidden; }
.answer-close {
  position: absolute;
  z-index: 4;
  inset: 2px 4px 2px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: #3a2519;
  background: transparent;
  font-size: .84rem;
  font-weight: 750;
}
.answer-close:hover, .answer-close:focus-visible { background: #d9b695; }
.answer-close span { font-size: 1rem; line-height: 1; }
#answer-question {
  width: fit-content;
  max-width: min(92%, 435px);
  margin: 0 0 9px auto;
  padding: 8px 12px;
  border-radius: 11px 11px 2px 11px;
  background: #fff0e0cf;
  color: #2c1b13;
  font: 750 .96rem/1.25 var(--sans);
  box-shadow: 0 3px 9px #4e291847;
}
#answer-copy {
  width: fit-content;
  max-width: min(95%, 520px);
  padding: 11px 14px;
  border: 1px solid #906449;
  border-radius: 14px 14px 14px 3px;
  background: #fae8d5da;
  color: #2c1b13;
  box-shadow: 0 4px 12px #4e291864;
}
#answer-copy p:last-child { margin-bottom: 0; }
#answer-copy a { color: #573319; }
.answer :focus-visible { outline-color: #4d3022; }
#answer-question:focus-visible { outline-color: #4d3022; }


.chapter-collage {
  display: grid;
  position: absolute;
  inset: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 3px;
  background: var(--story-bg);
}
.chapter-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chapter-collage[data-count="3"] { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.chapter-collage[data-count="3"] img:first-child { grid-row: span 2; object-position: 53% center; }
.chapter-collage[data-count="3"] img:nth-child(2) { object-position: center 64%; }
.chapter-collage[data-count="3"] img:nth-child(3) { object-position: 42% 72%; }
#chapter-visual[data-chapter="snackpass"] .chapter-collage img { object-position: center; }
#chapter-visual[data-chapter="sports"] .chapter-collage {
  grid-template-rows: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
}
#chapter-visual[data-chapter="sports"] .chapter-collage img:first-child {
  grid-column: 1 / -1;
  object-position: center 63%;
}
#chapter-visual[data-chapter="sports"] .chapter-collage img:nth-child(2) { object-position: 50% 67%; }
#chapter-visual[data-chapter="sports"] .chapter-collage img:nth-child(3) { object-position: 50% 63%; }
#chapter-visual[data-chapter="sports"] .chapter-collage img:nth-child(4) { object-position: 42% 70%; }
#chapter-visual[data-chapter="sports"] .chapter-collage img:nth-child(5) { object-position: 52% 75%; }
#chapter-visual[data-chapter="salesforce-join"] .chapter-collage { grid-template-columns: 1fr; }
#chapter-visual[data-chapter="salesforce-join"] .chapter-collage img { object-position: center 25%; }
#chapter-visual[data-chapter="salesforce-join"] .chapter-collage img:nth-child(2) { object-position: center 50%; }
#chapter-visual[data-chapter="salesforce-smb"] .chapter-collage { background: #f2f2f2; }
#chapter-visual[data-chapter="salesforce-smb"] .chapter-collage img { object-fit: contain; }
#chapter-visual[data-chapter="salesforce-growth"] #chapter-photo { object-position: center 38%; }
#chapter-visual[data-chapter="family-and-friends"] { background: #372419; }
#chapter-visual[data-chapter="family-and-friends"] #chapter-photo { object-fit: contain; }
@media (min-width: 721px) {
  #chapter-visual[data-chapter="salesforce-smb"] .chapter-collage { grid-template-columns: 1fr; }
}
.chapter-collage[data-count="6"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
}
.chapter-collage[data-count="6"] img:nth-child(1) { grid-area: 1 / 1 / 5 / 4; object-position: 59% center; }
.chapter-collage[data-count="6"] img:nth-child(2) { grid-area: 1 / 4 / 3 / 7; object-position: center 68%; }
.chapter-collage[data-count="6"] img:nth-child(3) { grid-area: 3 / 4 / 5 / 6; object-position: 37% 62%; }
.chapter-collage[data-count="6"] img:nth-child(4) { grid-area: 3 / 6 / 5 / 7; object-position: 47% center; }
.chapter-collage[data-count="6"] img:nth-child(5) { grid-area: 5 / 1 / 7 / 4; object-position: center 55%; }
.chapter-collage[data-count="6"] img:nth-child(6) { grid-area: 5 / 4 / 7 / 7; object-position: center 67%; }
@media (max-width: 720px) {
  #chapter-visual[data-chapter="salesforce-growth"] #chapter-photo { object-position: center 16%; }
  #chapter-visual:has(.chapter-collage:not([hidden])) { min-height: clamp(250px, 74vw, 320px); }
  #chapter-visual[data-chapter="salesforce-join"] { min-height: clamp(295px, 86vw, 370px); }
  #chapter-visual:is([data-chapter="family-and-friends"], [data-chapter="salesforce-growth"]) {
    min-height: clamp(225px, 70vw, 310px);
  }
}


.about-branch { position: relative; z-index: 4; }
.about-branch > summary { display: flex; width: 100%; justify-content: center; list-style: none; cursor: pointer; user-select: none; }
.about-branch > summary::-webkit-details-marker { display: none; }
.about-branch[open] > summary { background: #26150e; }
.about-choices {
  position: absolute;
  top: calc(100% + var(--intro-target) + var(--intro-links-gap) + 7px);
  left: 0;
  width: max-content;
  max-width: calc(100vw - 30px);
  padding: 8px 11px 11px;
  border: 1px solid #a67856;
  border-radius: 10px;
  background: #f5e5d5;
  box-shadow: 0 6px 18px #57321740;
}
.about-choices-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.about-choices-head p { margin: 0; font-size: .87rem; font-weight: 750; }
.about-branch-close {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 1rem;
}
.about-branch-close:hover { background: #ead3bd; }
.about-choices-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.about-choices-actions .button { min-height: 44px; font-size: .9rem; }
