/* Pendant's project story. Scoped so the rest of the personal site is unchanged. */
.pendant-page { --pendant-dark: #233f35; --pendant-light: #d8e2cc; }
.pendant-hero { padding-block: 30px 64px; }
.pendant-hero .breadcrumb { margin-bottom: 26px; }
.pendant-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.pendant-introduction { padding-block: 12px; }
.pendant-introduction .eyebrow { margin-bottom: 24px; }
.pendant-introduction h1 { font-size: clamp(48px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -1.7px; text-wrap: initial; max-width: 580px; }
.pendant-introduction h1 em { font-weight: 400; color: var(--rust); display: block; }
.pendant-intro { max-width: 485px; margin-top: 27px; }
.pendant-intro p { font-size: 16px; line-height: 1.85; }
.pendant-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; margin: 23px 0 17px; color: var(--ink); }
.pendant-status > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.pendant-status-divider { padding-inline: 3px; color: var(--muted); }
.pendant-introduction .text-link { gap: 34px; }

.pendant-example { position: relative; margin: 0; padding: 27px 28px 22px; background: var(--pendant-dark); border-radius: 84px 5px 5px 5px; color: var(--paper); }
.pendant-example-top { display: flex; justify-content: space-between; align-items: center; padding-left: 12px; }
.pendant-example-top .eyebrow { margin: 0; font-size: 10px; color: var(--pendant-light); }
.pendant-example-mark { font: italic 39px/1 var(--serif); color: var(--pendant-light); }
.pendant-example h2 { font-size: clamp(30px, 2.6vw, 37px); margin: 15px 0 24px; padding-left: 12px; letter-spacing: -.6px; }
.pendant-example-steps { display: none; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; gap: 5px; }
.pendant-example.is-interactive .pendant-example-steps { display: grid; }
.pendant-example-steps button { background: transparent; color: var(--pendant-light); border: 0; border-bottom: 1px solid #73877a; padding: 8px 3px 12px; font-size: 12px; text-align: left; line-height: 1.5; transition: color .18s, border-color .18s; }
.pendant-example-steps button span { display: block; font-size: 10px; margin-bottom: 5px; letter-spacing: 1px; }
.pendant-example-steps button[aria-selected=true] { color: #fff8eb; border-bottom: 3px solid #efc19f; padding-bottom: 10px; }
.pendant-example-steps button:hover { color: #fff; }
.pendant-example-steps button:focus-visible { outline-color: #efc19f; outline-offset: 3px; }
.pendant-example-sheets { position: relative; margin: 0 5px 10px 0; }
.pendant-example-sheets::before { content: ''; position: absolute; background: #9fae95; inset: 12px -5px -6px 8px; transform: rotate(1.6deg); border-radius: 2px; }
.pendant-example-panel { position: relative; background: #fbf8f0; color: var(--ink); padding: 24px 26px 22px; border-radius: 2px; min-height: 318px; }
.pendant-example-panel[hidden] { display: none; }
.pendant-example:not(.is-interactive) .pendant-example-panel + .pendant-example-panel { margin-top: 16px; }
.pendant-sheet-label { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px; color: var(--rust); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pendant-sheet-label > span:last-child { font: 25px/1 var(--serif); }
.pendant-waveform { display: block; width: 100%; height: 63px; margin: 17px 0 12px; color: var(--rust); }
.pendant-example-panel blockquote { font: 25px/1.27 var(--serif); margin: 0 0 19px; letter-spacing: -.2px; }
.pendant-example-panel .pendant-sheet-footnote { font-size: 10px; line-height: 1.65; color: var(--muted); margin-top: 20px; }
.pendant-example-panel h3 { font-size: 34px; margin: 26px 0 17px; }
.pendant-example-panel .pendant-sample-summary { font-size: 15px; line-height: 1.8; }
.pendant-sample-points { padding-left: 17px; margin: 0; font-size: 13px; line-height: 1.7; color: var(--body); }
.pendant-sample-points li + li { margin-top: 8px; }
.pendant-sample-action { display: flex; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.pendant-action-box { width: 14px; height: 14px; border: 1px solid var(--rust); flex: 0 0 14px; margin-top: 4px; }
.pendant-sample-action strong { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; color: var(--rust); }
.pendant-sample-action p { font-size: 13px; }
.pendant-example figcaption { font-size: 10px; line-height: 1.6; color: var(--pendant-light); margin-top: 24px; text-align: center; }

.pendant-chapters { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.pendant-chapters a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-size: 13px; }
.pendant-chapters a:first-child { padding-left: 0; }
.pendant-chapters a:last-child { padding-right: 0; }
.pendant-chapters a + a { border-left: 1px solid var(--line); }
.pendant-chapters a > span:first-child { font-size: 11px; color: var(--rust); }
.pendant-chapters a > span:last-child { margin-left: auto; font-size: 19px; color: var(--rust); }
.pendant-chapters a:hover { color: var(--rust); background: #e3e8de66; }
.pendant-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); padding-block: 78px; }
.pendant-story h2 { font-size: clamp(38px, 3.5vw, 49px); max-width: 470px; }
.pendant-story-copy { padding-top: 34px; }
.pendant-story-copy p, .pendant-follow-up-copy p { font-size: 15px; line-height: 1.9; }
.pendant-story-copy p + p, .pendant-follow-up-copy p + p { margin-top: 18px; }
.pendant-sources { border-top: 1px solid var(--line); padding-top: 19px; margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 11px; color: var(--muted); }
.pendant-sources > span:nth-child(2) { color: var(--rust); font-size: 16px; }

.pendant-on-device { background: var(--pendant-dark); color: var(--paper); padding-block: 66px 28px; }
.pendant-on-device .eyebrow { color: #eac4a7; }
.pendant-device-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.pendant-device-intro h2 { white-space: pre-line; font-size: clamp(48px, 4.6vw, 65px); }
.pendant-device-copy { max-width: 450px; }
.pendant-device-copy p { color: #e1e6d9; font-size: 16px; line-height: 1.9; }
.pendant-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 48px; padding-top: 28px; border-top: 1px solid #6d8073; }
.pendant-feature-number { color: #eac4a7; font-size: 11px; }
.pendant-features h3 { margin: 19px 0 15px; font-size: 31px; }
.pendant-features p { color: #d5dfce; font-size: 14px; line-height: 1.85; max-width: 320px; }
.pendant-on-device .pendant-device-caption { margin-top: 37px; padding-top: 20px; border-top: 1px solid #6d8073; color: #d5dfce; font-size: 11px; }
.pendant-device-caption span { margin-right: 12px; color: #eac4a7; }

.pendant-follow-up { align-items: center; padding-block: 87px; }
.pendant-follow-up-copy { margin-top: 28px; max-width: 475px; }
.pendant-working-note { background: #e8eadd; padding: 35px 38px 25px; border-top: 2px solid #8b997d; }
.pendant-working-note .eyebrow { font-size: 10px; margin-bottom: 20px; }
.pendant-working-note h3 { font-size: 36px; max-width: 330px; }
.pendant-working-note ol { list-style: none; padding: 0; margin: 26px 0 22px; }
.pendant-working-note li { display: flex; gap: 18px; font-size: 13px; padding-block: 12px; border-bottom: 1px solid #b9c4ac; }
.pendant-working-note li span { font-size: 10px; color: var(--rust); padding-top: 3px; }
.pendant-working-note p { font-size: 12px; line-height: 1.8; }
.pendant-note-signature { display: block; margin-top: 19px; font: italic 33px/1.3 var(--serif); color: var(--ink); }
.pendant-closing { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 40px 60px; border-top: 1px solid var(--line); }
.pendant-closing .eyebrow { margin-bottom: 15px; }
.pendant-closing h2 { font-size: 37px; }
.pendant-closing p { font-size: 14px; margin-top: 12px; }
.pendant-closing .story-links { flex-direction: column; align-items: flex-start; margin: 0; gap: 9px; flex-shrink: 0; }

@media (min-width: 1101px) { .pendant-example.is-interactive .pendant-example-panel { min-height: 333px; } }
@media (max-width: 1100px) {
  .pendant-hero-grid { gap: 35px; }
  .pendant-example { padding: 23px 22px 19px; border-top-left-radius: 62px; }
  .pendant-example-panel { padding: 22px; min-height: 350px; }
  .pendant-example-panel blockquote { font-size: 24px; }
  .pendant-example-steps button { font-size: 11px; }
  .pendant-example-top, .pendant-example h2 { padding-left: 6px; }
  .pendant-chapters a { padding-inline: 17px; gap: 12px; }
  .pendant-features { gap: 30px; }
}
@media (max-width: 760px) {
  .pendant-hero { padding-block: 25px 37px; }
  .pendant-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .pendant-introduction { padding: 0; }
  .pendant-introduction .eyebrow { margin-bottom: 20px; }
  .pendant-introduction h1 { font-size: clamp(47px, 7.5vw, 66px); max-width: 590px; }
  .pendant-intro { margin-top: 22px; max-width: 560px; }
  .pendant-intro p { font-size: 15px; }
  .pendant-example { padding: 25px 26px 20px; width: 100%; max-width: 560px; justify-self: center; }
  .pendant-example h2 { font-size: 34px; }
  .pendant-example-panel { min-height: 310px; padding: 24px; }
  .pendant-example-panel blockquote { font-size: 27px; }
  .pendant-example-steps button { font-size: 12px; }
  .pendant-chapters a { padding: 17px 12px; font-size: 11px; gap: 7px; flex-wrap: wrap; }
  .pendant-chapters a > span:first-child { width: 100%; }
  .pendant-chapters a > span:last-child { display: none; }
  .pendant-story, .pendant-device-intro { grid-template-columns: 1fr; gap: 26px; }
  .pendant-story { padding-block: 48px; }
  .pendant-story .eyebrow { margin-bottom: 18px; }
  .pendant-story h2 { font-size: 42px; }
  .pendant-story-copy { padding: 0; }
  .pendant-on-device { padding-block: 44px 24px; }
  .pendant-device-intro h2 { font-size: 53px; }
  .pendant-device-copy { max-width: 560px; }
  .pendant-device-copy p { font-size: 15px; }
  .pendant-features { grid-template-columns: 1fr; gap: 23px; margin-top: 29px; padding-top: 25px; }
  .pendant-features article { display: grid; grid-template-columns: 25px 1fr; gap: 0 15px; }
  .pendant-feature-number { padding-top: 7px; }
  .pendant-features h3 { margin: 0 0 10px; font-size: 32px; }
  .pendant-features p { grid-column: 2; max-width: 500px; }
  .pendant-on-device .pendant-device-caption { margin-top: 28px; }
  .pendant-working-note { margin-top: 7px; padding: 27px; }
  .pendant-working-note h3 { max-width: none; }
  .pendant-closing { align-items: flex-start; flex-direction: column; gap: 23px; padding-block: 35px 45px; }
  .pendant-closing h2 { font-size: 35px; }
  .pendant-closing .story-links { flex-direction: row; flex-wrap: wrap; gap: 15px 26px; }
}
@media (max-width: 380px) {
  .pendant-example { padding: 23px 17px 17px; }
  .pendant-example h2 { font-size: 30px; }
  .pendant-example-panel { padding: 20px; min-height: 348px; }
  .pendant-example-panel blockquote { font-size: 25px; }
  .pendant-example-steps button { font-size: 11px; }
  .pendant-chapters a { font-size: 10px; padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) { .pendant-page *, .pendant-page *::before { transition: none; animation: none; } }
