:root {
  color-scheme: light;
  --wine: #49090c;
  --paper: #fbf8ef;
  --ink: #191615;
  --line: #d0c4b4;
  --muted: #594d48;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #2387b8;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 1rem;
  color: var(--wine);
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.spread {
  padding-block: clamp(64px, 7vw, 108px);
}
.home h1,
.home h2,
.home h3,
.home p,
.home blockquote {
  margin: 0;
}
.home h2 {
  font-size: clamp(2.9rem, 6vw, 6rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}
.home h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.home p:not(.micro) {
  line-height: 1.55;
}
.micro,
.mast nav,
.film span,
.leaf small,
.insert dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow {
  color: var(--wine);
}
.mast,
.rail,
.facts,
.wine {
  color: var(--paper);
  background: var(--wine);
}
.mast-inner,
.footer,
.bio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mast-inner {
  min-height: 64px;
}
.mast a,
.case a,
.pill {
  text-decoration: none;
}
.wordmark {
  font:
    italic 1.9rem Georgia,
    serif;
  letter-spacing: -0.09em;
}
.wordmark span {
  font:
    700 0.72rem Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.15em;
  margin-left: 0.5rem;
}
.mast nav {
  display: flex;
  gap: clamp(0.3rem, 2vw, 2rem);
}
.mast nav a,
.footer a,
.text-link,
.sample-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mast nav a:hover,
.mast nav a:focus-visible,
.case a:hover h3,
.case a:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.footer {
  padding-block: 12px;
}
.footer a,
.text-link {
  font-weight: 700;
  font-size: 0.86rem;
  text-underline-offset: 0.25em;
}
.hero-stage,
.contact,
.quote-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #2a191a;
  text-align: center;
}
.hero-stage {
  display: grid;
  place-items: center;
  min-height: clamp(560px, 76svh, 800px);
}
.photo,
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo {
  z-index: -3;
  background: linear-gradient(115deg, #311010, #382d28 65%, #27110f);
}
.photo img,
.film img,
.binder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(0deg, #17080ba3, transparent 24%, #23101339 74%, #17080b66),
    radial-gradient(ellipse, #2718188c, transparent 88%);
}
.hero-copy {
  padding-block: 88px;
}
.home .hero-copy h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(4rem, 9vw, 8.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.home .lead {
  max-width: 40ch;
  margin-inline: auto;
  font-size: clamp(1.12rem, 1.7vw, 1.55rem);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin-top: 2rem;
}
.pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: var(--paper);
  color: var(--wine);
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 0.72rem 1.32rem;
  font-weight: 700;
  font-size: 0.86rem;
}
.pill:hover {
  background: white;
  border-color: #bd9f85;
}
.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding-inline: 0.25rem;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration-color: #e8dcc4;
  text-underline-offset: 0.33em;
  text-decoration-thickness: 1px;
}
.action-secondary:hover,
.action-secondary:focus-visible {
  text-decoration-thickness: 2px;
}
.action-secondary b {
  font-weight: 400;
}
.home a:focus-visible,
.reader-page a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--wine);
}
.folio {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #fff6;
  padding-top: 12px;
  font-size: 0.58rem;
}
.rail .wrap,
.facts .wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  text-align: center;
}
.rail .wrap {
  padding-block: 0.8rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(0.85rem, 1.7vw, 1.35rem);
}
.rail i {
  opacity: 0.6;
}
.bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}
.binder-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e9dec8;
}
.binder-photo img {
  position: absolute;
  inset: 0;
}
.ink-fallback {
  position: absolute;
  inset: 9% 18%;
  background: #272525;
  color: #f5e6c9;
  border: 10px double #8a7765;
  transform: rotate(-5deg);
  display: grid;
  place-items: center;
  font: italic 4rem Georgia;
}
.bio h2,
.spread-head h2 {
  margin: 0.7rem 0 1.2rem;
}
.bio p + p {
  margin-top: 1rem;
}
.bio-foot {
  margin-top: 1.3rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.facts .wrap {
  min-height: 74px;
}
.facts span {
  font-size: 0.85rem;
}
.facts strong {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  margin-right: 0.25rem;
}
.spread-head {
  text-wrap: balance;
  margin-bottom: clamp(26px, 4vw, 54px);
  text-align: center;
}
.head-note {
  color: var(--muted);
}
.case-grid,
.three {
  display: grid;
  gap: clamp(15px, 2vw, 28px);
}
.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case a {
  display: block;
}
.film {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 5px;
  overflow: hidden;
  background: #412725;
}
.film span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--paper);
  font:
    700 0.75rem/1.4 Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}
.case h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  margin: 1rem 0 0.6rem;
}
.case p,
.notes article > p:last-child,
.leaf p:not(.micro),
.experience article > p:last-child {
  font-size: 1rem;
  text-wrap: pretty;
}
.samples {
  background: #f1eadc;
  border-block: 1px solid var(--line);
}
.insert,
.notes article,
.leaf {
  color: var(--ink);
  background: var(--paper);
}
.insert {
  min-height: 250px;
  box-shadow: 0 2px 6px #4d382117;
  padding: 22px clamp(15px, 2vw, 30px);
  border-top: 5px solid var(--wine);
}
.insert .micro,
.leaf-head {
  color: var(--wine);
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}
.insert h3 {
  margin: 1rem 0 0.8rem;
}
.insert table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
  text-align: left;
}
.insert th,
.insert td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}
.insert ol,
.insert dl {
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}
.insert ol {
  padding-left: 1.2em;
}
.insert li + li {
  margin-top: 5px;
}
.insert dd {
  margin: 0 0 0.45rem;
}
.insert dt {
  font-size: 0.72rem;
  color: var(--wine);
}
.home .label {
  margin: 1.3rem 0 0.15rem;
  color: var(--wine);
}
.sample-link {
  font-size: 1.08rem;
  font-weight: bold;
  letter-spacing: -0.025em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.wine .spread-head p {
  color: #f0d9c3;
}
.notes article {
  position: relative;
  margin-top: 0.5rem;
  padding: 3rem clamp(22px, 2.7vw, 40px) 2.5rem;
  box-shadow: 1px 4px 9px #26030638;
  background: linear-gradient(var(--paper) 69%, #f4eedf);
}
.notes article::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 23px;
  background: radial-gradient(
      ellipse at 8px 17px,
      #544742 0 4px,
      transparent 5px
    )
    0 0/23px 23px repeat-x;
}
.notes article::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 12%;
  right: 12%;
  height: 22px;
  background: radial-gradient(
      ellipse 4px 12px at 8px 10px,
      transparent 43%,
      #918d83 49%,
      #e9e4d8 67%,
      #655d51 82%,
      transparent 86%
    )
    0 0/23px 22px repeat-x;
}
.notes h3,
.experience h3 {
  margin: 0.9rem 0;
}
.open-binder {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #272322;
  padding: clamp(12px, 2.3vw, 28px);
  border-radius: 12px;
  box-shadow: 1px 7px 0 #30231d18;
}
.leaf {
  padding: clamp(18px, 3.4vw, 52px);
  box-shadow:
    inset -10px 0 16px -14px #524c42,
    0 4px 0 #cabfa6;
  border-radius: 2px;
}
.leaf > div {
  margin-top: 1.6rem;
}
.leaf small {
  color: var(--wine);
}
.leaf h3 {
  margin: 0.3rem 0;
}
.rings {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rings i {
  width: 42px;
  height: 10px;
  border: 1px solid #827565;
  border-radius: 45%;
  background:
    url("assets/materials/brushed-metal.webp") center / 90px,
    linear-gradient(#524e4a, #faf6e9 34%, #c4beb2 65%, #625c55);
  background-blend-mode: soft-light;
  box-shadow: 0 2px 2px #28252170;
}
.quote-scene,
.contact {
  padding: clamp(64px, 8vw, 140px) 0;
}
.quote-scene .photo::after,
.contact .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #21101292;
}
.quote-scene blockquote {
  max-width: 900px;
  margin: 1rem auto 0;
  font:
    italic clamp(1.5rem, 3.4vw, 3.5rem)/1.12 Georgia,
    serif;
  letter-spacing: -0.04em;
}
.experience article {
  background: var(--wine);
  color: var(--paper);
  padding: clamp(20px, 3vw, 36px);
  border-radius: 4px;
}
.home .center {
  text-align: center;
  margin-top: 1.8rem;
}
.contact h2 {
  margin: 1rem 0;
}
.contact p:not(.micro) {
  max-width: 45ch;
  margin: 0 auto 1.5rem;
}
.contact .photo img {
  object-position: center 56%;
}
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.2rem;
  }
  .wordmark span {
    display: none;
  }
  .insert {
    padding-inline: 14px;
  }
  .bio {
    gap: 30px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .mast-inner {
    justify-content: center;
  }
  .wordmark {
    display: none;
  }
  .mast nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(100%, 300px);
    gap: 0;
  }
  .mast nav a {
    flex: 0 0 33.33%;
    justify-content: center;
  }
  .hero-stage {
    min-height: 610px;
  }
  .hero-copy {
    padding-block: 74px;
  }
  .home .hero-copy h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }
  .hero-copy h1 span {
    display: block;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    max-width: 240px;
    margin: 1.5rem auto 0;
  }
  .action-primary {
    width: 100%;
    margin-bottom: 4px;
  }
  .folio {
    font-size: 0.65rem;
  }
  .folio {
    gap: 8px;
  }
  .rail .wrap {
    width: calc(100% - 16px);
    gap: 0.15rem;
    font-size: clamp(0.75rem, 3vw, 1rem);
  }
  .bio,
  .case-grid,
  .three,
  .open-binder {
    grid-template-columns: minmax(0, 1fr);
  }
  .bio {
    gap: 2rem;
  }
  .binder-photo {
    width: min(100%, 400px);
    margin: auto;
  }
  .facts .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-block: 16px;
    gap: 0.6rem;
  }
  .case-grid,
  .three {
    row-gap: 2rem;
  }
  .insert {
    min-height: 0;
    padding: 20px;
  }
  .leaf {
    padding-left: 34px;
  }
  .rings {
    left: 9px;
    transform: none;
    top: 11%;
    bottom: 11%;
  }
  .rings i {
    width: 28px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .home h2 {
    font-size: clamp(2.7rem, 10.7vw, 4.2rem);
  }
}

/* Open and settled without scripting. Only the decorative surfaces move. */
.hero-notebook {
  --angle: -152deg;
  position: absolute;
  z-index: -2;
  pointer-events: none;
  left: 54%;
  top: 12%;
  width: min(36vw, 54svh);
  height: 73%;
  perspective: 1400px;
  transform: rotate(6deg);
}
.inside-leaf,
.notebook-cover {
  position: absolute;
  inset: 0;
  border-radius: 3px 13px 12px 4px;
}
.inside-leaf {
  padding: 10% 7% 6% 9%;
  background: linear-gradient(90deg, #878179, #e2d8bf 5%, #ece3cc 13%, #f3ead5);
  box-shadow:
    2px 2px #ae9b87,
    3px 4px #e6ddca,
    5px 6px #89745f,
    6px 9px #e2d9c8,
    8px 11px #5b4540,
    12px 26px 32px #160d0d73;
}
.inside-plate {
  height: 80%;
  padding: 5px;
  background: #f9f1dd;
  box-shadow: 0 2px 6px #392b1d3b;
}
.inside-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-caption {
  display: block;
  text-align: left;
  color: #3b302a;
  font:
    italic clamp(0.65rem, 1vw, 1rem) Georgia,
    serif;
  margin-top: 5%;
}
.notebook-cover {
  transform-origin: left center;
  transform: rotateY(var(--angle));
  transform-style: preserve-3d;
  background: linear-gradient(
    90deg,
    #a9a396,
    #ded7c5 1%,
    #827469 1.8%,
    #3e0c12 2.7%,
    #55131b 4%,
    #3e0b10 6%,
    #631a21 9%,
    #4b1117 85%,
    #3e1014
  );
  box-shadow:
    inset -2px 0 5px #331314,
    inset 0 2px 2px #b8877861;
}
.notebook-cover::before {
  content: "";
  position: absolute;
  inset: 2.5% 3% 2.5% 8%;
  border: 1px solid #b57b665e;
  border-radius: 2px 7px 7px 2px;
  background: url("assets/materials/cover-grain.webp") center / 128px;
  opacity: 0.13;
  mix-blend-mode: soft-light;
}
.notebook-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotateY(180deg) translateZ(1px);
  backface-visibility: hidden;
  border-radius: inherit;
  background: linear-gradient(
    95deg,
    #776353,
    #a9977d 15%,
    #9b876d 85%,
    #5b4b42
  );
  box-shadow: inset 0 0 0 10px #512026;
}
.notebook-cover span {
  position: absolute;
  right: 10%;
  backface-visibility: hidden;
  transform: translateZ(2px);
  color: #d3ad87;
}
.book-label,
.book-tail {
  font-size: clamp(0.5rem, 0.7vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.book-label {
  top: 9%;
}
.book-tail {
  bottom: 9%;
}
.monogram {
  top: 18%;
  font:
    italic clamp(3rem, 6vw, 6rem)/1 Georgia,
    serif;
  letter-spacing: -0.12em;
  text-shadow: 0 2px #380d16;
}
.hero-scrim {
  background:
    linear-gradient(
      0deg,
      #1c100dd9,
      transparent 26%,
      transparent 75%,
      #180c0a50
    ),
    radial-gradient(
      ellipse at center,
      #1d0e0eb8 0%,
      #220e0f94 38%,
      #210a0b52 72%
    );
}
.device-intro {
  text-align: center;
}
.device-caption {
  font:
    italic clamp(1.5rem, 3vw, 2.6rem)/1.2 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin-top: 0.45rem !important;
}
.device-stage {
  --progress: 1;
  position: relative;
  pointer-events: none;
  container-type: inline-size;
  width: min(100%, 860px);
  margin: 0 auto clamp(24px, 4vw, 56px);
  aspect-ratio: 2.08;
  overflow: clip;
  background: radial-gradient(
    ellipse 40% 8% at 48% 86%,
    #6d574f33,
    transparent
  );
}
.laptop {
  position: absolute;
  left: 14%;
  top: 16%;
  width: 59%;
  height: 65%;
  border: clamp(5px, 1cqw, 10px) solid #282525;
  border-radius: 12px 12px 5px 5px;
  background: #302b2b;
  box-shadow: 0 0 0 1px #726b65;
}
.screen {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: #eee7d8;
  text-align: left;
}
.screen-copy {
  padding: 9% 8%;
  align-self: center;
}
.screen-copy strong,
.phone strong {
  display: block;
  font-size: 3.1cqw;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 6% 0;
}
.device-stage .micro {
  font-size: clamp(6px, 0.85cqw, 9px);
  color: var(--wine);
  letter-spacing: 0.1em;
}
.screen-copy p:last-child,
.phone p:last-child {
  font:
    normal 1.55cqw/1.35 Georgia,
    serif;
}
.screen-photo {
  min-height: 0;
  background: #7d443e;
}
.screen-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.keyboard {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 6%;
  bottom: -7%;
  border-radius: 2px 2px 36% 36%;
  background:
    url("assets/materials/brushed-metal.webp") center / 120px,
    linear-gradient(#c7c0b8, #8a847f 58%, #4e4946);
  background-blend-mode: soft-light;
  box-shadow: 0 5px 5px #271c1729;
}
.phone {
  position: absolute;
  width: 22.8%;
  height: 75%;
  right: 12%;
  top: 19%;
  padding: clamp(3px, 0.65cqw, 7px);
  border: 2px solid #511c22;
  border-radius: 2.7cqw;
  background: #241d1e;
  box-shadow: 3px 6px 12px #33221e42;
  transform: rotate(-3deg);
}
.phone > div {
  height: 100%;
  overflow: hidden;
  border-radius: 1.8cqw;
  padding: 18% 10% 10%;
  background: #f8efda;
  color: #3d2524;
}
.phone strong {
  font-size: 2.3cqw;
}
.phone hr {
  border: 0;
  border-top: 1px solid #baa48c;
}
.phone p:last-child {
  font-size: 1.45cqw;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-notebook {
    --angle: calc(-28deg * var(--progress));
  }
  .motion-ready .laptop {
    transform: translateX(calc(-14px * (1 - var(--progress))));
  }
  .motion-ready .phone {
    transform: translateX(calc(16px * (1 - var(--progress))));
  }
}
@media (max-width: 900px), (max-height: 649px) {
  .phone {
    transform: none;
  }
}
@media (min-width: 901px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-track {
    height: 145svh;
  }
  .motion-ready .hero-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 0;
  }
  .motion-ready .hero-notebook {
    --angle: calc(-152deg * var(--progress));
  }
  .motion-ready .laptop {
    transform: translateX(calc(-9% * (1 - var(--progress))))
      rotate(calc(-5deg * (1 - var(--progress))));
  }
  .motion-ready .phone {
    transform: translateX(calc(24% * (1 - var(--progress))))
      rotate(calc(10deg - 13deg * var(--progress)));
  }
}
@media (max-width: 640px) {
  .hero-notebook {
    left: 46%;
    top: 15%;
    width: 62%;
    height: 65%;
  }
  .device-stage {
    aspect-ratio: 1.65;
  }
  .laptop {
    left: 6%;
    width: 70%;
    height: 55%;
    top: 22%;
    border-radius: 6px;
  }
  .phone {
    right: 7%;
    width: 24%;
    height: 63%;
    top: 26%;
  }
  .phone strong {
    font-size: 3cqw;
  }
  .phone p:last-child {
    font-size: 2cqw;
  }
  .screen-copy strong {
    font-size: 3.7cqw;
  }
}

/* Folio furniture: each spread reads in its finished state without motion. */
.page-ribbon {
  display: none;
}
.binder-mount {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: auto;
}
.file-tab {
  position: absolute;
  z-index: 1;
  bottom: 7%;
  right: -8px;
  padding: 0.6rem 0.9rem;
  color: var(--paper);
  background: var(--wine);
  box-shadow: 2px 3px 0 #27141526;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.film span {
  z-index: 2;
}
.samples,
.wine {
  overflow: clip;
}
.insert {
  position: relative;
}
.insert::after {
  content: "";
  position: absolute;
  right: 14px;
  top: -7px;
  width: 11px;
  height: 25px;
  border: 2px solid #8d8071;
  border-left-color: #c9bfb1;
  border-radius: 7px;
  box-shadow: 1px 1px 1px #44312433;
  transform: rotate(8deg);
  pointer-events: none;
}
.note-hanger {
  min-width: 0;
  display: grid;
  perspective: 880px;
}
.open-binder {
  perspective: 1250px;
}
.method-index {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
}
.method-index span {
  flex: 1;
  position: relative;
  padding-top: 8px;
  color: #674f48;
  border-top: 1px solid var(--line);
  font:
    700 0.62rem/1.2 Helvetica,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.method-index span::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--wine);
  transform-origin: left;
}
.experience {
  position: relative;
  padding-top: 22px;
}
.experience::before,
.experience::after {
  content: "";
  position: absolute;
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
  background: var(--line);
}
.experience::after {
  background: var(--wine);
  transform-origin: left;
}
.experience article {
  position: relative;
}
.experience article::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  top: -26px;
  left: 22px;
  background: var(--paper);
  border: 2px solid var(--wine);
}
.postmark {
  pointer-events: none;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border: 3px double #e7dac3;
  border-radius: 50%;
  color: #e7dac3;
  transform: rotate(-10deg);
}
.postmark span {
  font:
    italic 1.8rem/1 Georgia,
    serif;
  letter-spacing: -0.075em;
}
.postmark small {
  font:
    700 0.52rem/1.2 Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.17em;
}

@media screen and (prefers-reduced-motion: no-preference) {
  .motion-ready .page-ribbon {
    display: block;
    position: fixed;
    z-index: 15;
    inset: 0 0 auto;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg, #a75e45, #c2a374);
    transform-origin: left;
    transform: scaleX(var(--read, 0));
  }
  /* Printed rails feed in opposite directions; the figures land like stamps. */
  .motion-ready .rail {
    overflow: clip;
    --feed: clamp(14px, 7vw, 95px);
  }
  .motion-ready .rail-out {
    --feed: clamp(-95px, -7vw, -14px);
  }
  .motion-ready .rail .wrap {
    transform: translateX(calc((0.5 - var(--progress)) * var(--feed)));
  }
  .motion-ready .facts strong {
    display: inline-block;
    transform-origin: left bottom;
    transform: translateY(calc(12px * (1 - var(--enter))))
      rotate(calc(-9deg * (1 - var(--enter))))
      scale(calc(0.85 + 0.15 * var(--enter)));
  }
  /* The black profile binder is set onto the desk; its tab slips into place. */
  .motion-ready .bio .binder-photo {
    transform-origin: 35% 65%;
    transform: translateY(calc((0.5 - var(--progress)) * 42px))
      rotate(calc(-7deg * (1 - var(--enter))))
      scale(calc(0.94 + 0.06 * var(--enter)));
  }
  .motion-ready .file-tab {
    transform: translate(
        calc(28px * (1 - var(--enter))),
        calc(10px * (1 - var(--enter)))
      )
      rotate(calc(7deg * (1 - var(--enter))));
  }
  .motion-ready .bio-foot {
    position: relative;
  }
  .motion-ready .bio-foot::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--wine);
    transform-origin: left;
    transform: scaleX(var(--enter));
  }
  /* Contact sheet: a sleeve withdraws to show each print. The image keeps
     drifting within the frame while its title and link remain stationary. */
  .motion-ready .case {
    --drift: 10%;
    --draw: var(--enter);
  }
  .motion-ready .case:nth-child(even) {
    --drift: -10%;
  }
  .motion-ready .case:nth-child(4n + 2) {
    --draw: clamp(0, calc(1.2 * var(--enter) - 0.14), 1);
  }
  .motion-ready .case:nth-child(4n + 3) {
    --draw: clamp(0, calc(1.3 * var(--enter) - 0.23), 1);
  }
  .motion-ready .case:nth-child(4n) {
    --draw: clamp(0, calc(1.4 * var(--enter) - 0.33), 1);
  }
  .motion-ready .film img {
    transform: translateY(calc((0.5 - var(--progress)) * var(--drift)))
      scale(1.13);
  }
  .motion-ready .film::after {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 37%;
    pointer-events: none;
    border-bottom: 3px double #cbb59b;
    background: linear-gradient(145deg, #301817f0, #512d2cdd);
    transform: translateY(calc(-101% * var(--draw)));
  }
  .motion-ready .case:focus-within .film::after {
    transform: translateY(-101%);
  }
  /* Loose inserts spread outward from a stack. Spiral cards pivot from their
     bindings instead, so these adjacent sections have different gestures. */
  .motion-ready .samples article {
    --slide: 0px;
    --tilt: -3deg;
  }
  .motion-ready .samples article:first-child {
    --slide: 76px;
    --tilt: 8deg;
  }
  .motion-ready .samples article:last-child {
    --slide: -76px;
    --tilt: -8deg;
  }
  .motion-ready .insert {
    transform-origin: center 90%;
    transform: translate(
        calc(var(--slide) * (1 - var(--enter))),
        calc(32px * (1 - var(--enter)))
      )
      rotate(calc(var(--tilt) * (1 - var(--enter))));
  }
  .motion-ready .note-hanger {
    --swing: -5deg;
    --lift: 36px;
  }
  .motion-ready .note-hanger:nth-child(2) {
    --swing: 4deg;
    --lift: 58px;
  }
  .motion-ready .note-hanger:nth-child(3) {
    --swing: 7deg;
  }
  .motion-ready .notes article {
    transform-origin: 50% 8px;
    transform: translateY(calc(var(--lift) * (1 - var(--enter))))
      rotateX(calc(29deg * (1 - var(--enter))))
      rotate(calc(var(--swing) * (1 - var(--enter))));
  }
  /* The method spread opens flat. Ink travels through its four actions in
     reading order; all of the text stays on the paper at both endpoints. */
  .motion-ready .process-track {
    --fold: clamp(0, calc(1 - 2.2 * var(--progress)), 1);
  }
  .motion-ready .leaf {
    transform-origin: right center;
    transform: rotateY(calc(-23deg * var(--fold)));
  }
  .motion-ready .leaf:last-child {
    transform-origin: left center;
    transform: rotateY(calc(26deg * var(--fold)));
  }
  .motion-ready .rings i {
    transform: scaleX(calc(1 - 0.21 * var(--fold)));
  }
  .leaf > div,
  .method-index span {
    --sequence: 0;
  }
  .leaf > div:nth-of-type(2),
  .method-index span:nth-child(2) {
    --sequence: 1;
  }
  .leaf:last-child > div,
  .method-index span:nth-child(3) {
    --sequence: 2;
  }
  .leaf:last-child > div:nth-of-type(2),
  .method-index span:nth-child(4) {
    --sequence: 3;
  }
  .motion-ready .leaf > div,
  .motion-ready .method-index span {
    --inked: clamp(0, calc(var(--progress) * 4 - var(--sequence)), 1);
  }
  .motion-ready .leaf small {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .motion-ready .leaf small::after {
    content: "";
    width: 48px;
    height: 2px;
    background: var(--wine);
    transform-origin: left;
    transform: scaleX(var(--inked));
  }
  .motion-ready .method-index span::before {
    transform: scaleX(var(--inked));
  }
  /* Later spreads unwind: the pulled photograph tracks beneath the quote,
     the CV timeline is ruled in ink, and the correspondence seal lands. */
  .motion-ready .quote-scene img,
  .motion-ready .contact .photo img {
    transform: translateY(calc((0.5 - var(--progress)) * 13%)) scale(1.15);
  }
  .motion-ready .quote-scene blockquote {
    transform: translateY(calc((0.5 - var(--progress)) * -30px));
  }
  .motion-ready .experience::after {
    transform: scaleX(var(--enter));
  }
  .motion-ready .experience article::before {
    transform: scale(calc(0.65 + 0.35 * var(--enter)));
  }
  .motion-ready .experience h3 {
    transform: translateY(calc(13px * (1 - var(--enter))));
  }
  .motion-ready .postmark {
    transform: translate(
        calc(58px * (1 - var(--enter))),
        calc(-18px * (1 - var(--enter)))
      )
      rotate(calc(22deg - 32deg * var(--enter)))
      scale(calc(1.23 - 0.23 * var(--enter)));
  }
}
@media screen and (min-width: 901px) and (min-height: 780px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .process-track {
    height: 175svh;
  }
  .motion-ready .process-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.75rem;
  }
  .motion-ready .process-stage .spread-head {
    margin-bottom: clamp(20px, 3.8svh, 42px);
  }
}
@media (max-width: 640px) {
  .file-tab {
    right: 0;
  }
  .method-index {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .method-index span {
    flex: 1 0 40%;
  }
  .experience {
    padding: 0 0 0 17px;
  }
  .experience::before,
  .experience::after {
    inset: 0 auto 0 1px;
    width: 1px;
    height: auto;
    transform-origin: top;
  }
  .experience article::before {
    left: -20px;
    top: 25px;
  }
}
@media screen and (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .rail {
    --feed: 10px;
  }
  .motion-ready .rail-out {
    --feed: -10px;
  }
  .motion-ready .samples article:first-child {
    --slide: 12px;
    --tilt: -3deg;
  }
  .motion-ready .samples article:last-child {
    --slide: -12px;
    --tilt: 3deg;
  }
  .motion-ready .note-hanger {
    --lift: 16px;
  }
  .motion-ready .note-hanger:nth-child(2) {
    --lift: 20px;
  }
  .motion-ready .bio .binder-photo {
    transform: rotate(calc(-3deg * (1 - var(--enter))));
  }
  .motion-ready .file-tab {
    transform: translateY(calc(10px * (1 - var(--enter))));
  }
  .motion-ready .leaf,
  .motion-ready .leaf:last-child {
    transform-origin: left center;
    transform: rotateY(calc(-9deg * var(--fold)));
  }
  .motion-ready .experience::after {
    transform: scaleY(var(--progress));
  }
}

.entry-counter {
  display: none;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .motion-ready .entry-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    margin-left: 0.7em;
    padding: 0.3em 0.65em;
    color: var(--paper);
    background: var(--wine);
    font-variant-numeric: tabular-nums;
  }
  .entry-window {
    display: inline-block;
    height: 1.35em;
    overflow: hidden;
  }
  .entry-roll {
    --tick: calc(
      clamp(0, (var(--progress) - 0.21) * 16, 1) +
        clamp(0, (var(--progress) - 0.46) * 16, 1) +
        clamp(0, (var(--progress) - 0.71) * 16, 1)
    );
    display: block;
    transform: translateY(calc(var(--tick) * -1.35em));
  }
  .entry-roll b {
    display: block;
    line-height: 1.35em;
    height: 1.35em;
  }
  .motion-ready .leaf > div {
    position: relative;
  }
  .motion-ready .leaf > div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -12px;
    width: 3px;
    background: var(--wine);
    transform-origin: top;
    transform: scaleY(
      clamp(
        0,
        min(
          calc((var(--progress) * 4 - var(--sequence)) * 6 + 1),
          calc((var(--sequence) + 1 - var(--progress) * 4) * 6)
        ),
        1
      )
    );
  }
}

/* File indexes read across the desk; the process spread keeps its central spine. */
.spread-head.index-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  padding-bottom: 1.15rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.index-heading h2 {
  margin: 0.5rem 0 0;
}
.index-heading .head-note {
  max-width: 32ch;
  margin: 0 0 0.15rem;
  color: var(--muted);
  font:
    italic 1.13rem/1.45 Georgia,
    serif;
  text-wrap: pretty;
}
#work {
  scroll-margin-top: 1.5rem;
}
.bio p,
.contact p,
.insert dd {
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .spread-head.index-heading {
    display: block;
    padding-bottom: 1rem;
  }
  .index-heading .head-note {
    margin-top: 0.75rem;
    font-size: 1rem;
  }
  .notes article {
    padding: 2.3rem 1.6rem 1.6rem;
  }
  .notes h3 {
    margin-top: 0.35rem;
  }
  .experience h3 {
    text-wrap: pretty;
  }
  .book-label,
  .book-tail {
    display: none;
  }
}
@media screen and (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .note-hanger {
    --swing: -1.5deg;
  }
  .motion-ready .note-hanger:nth-child(2),
  .motion-ready .note-hanger:nth-child(3) {
    --swing: 1.5deg;
  }
}
