/* =========================================================
   FRIDAI LIBRARY PAGE
   Curated collection + private membership catalog
   Loads after public-site.css
   ========================================================= */


/* =========================================================
   PAGE FOUNDATIONS
   ========================================================= */

.library-page {
  background: var(--paper);
}

.library-page main {
  overflow: hidden;
}

.library-page .desktop-nav a[aria-current="page"] {
  color: var(--white);
}

.library-page .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.library-page .mobile-nav a[aria-current="page"] {
  color: var(--brand-bright);
  border-color: rgba(29, 185, 84, 0.3);
  background: rgba(29, 185, 84, 0.08);
}

.library-section-marker {
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.light-marker {
  color: var(--brand-bright);
}


/* =========================================================
   LIBRARY ENTRANCE
   ========================================================= */

.library-entry {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 78% 30%,
      rgba(29, 185, 84, 0.22),
      transparent 27%
    ),
    linear-gradient(
      115deg,
      #030b06 0%,
      #06120c 46%,
      #0c2918 100%
    );
}

.library-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.88),
    transparent 100%
  );
}

.library-entry::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(3, 11, 6, 0.68)
  );
}

.library-entry-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.library-entry-pattern span {
  position: absolute;
  bottom: -180px;
  width: 260px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 0;
  border-radius: 130px 130px 0 0;
}

.library-entry-pattern span:nth-child(1) {
  left: -120px;
}

.library-entry-pattern span:nth-child(2) {
  left: 18%;
}

.library-entry-pattern span:nth-child(3) {
  right: 18%;
}

.library-entry-pattern span:nth-child(4) {
  right: -120px;
}

.library-entry-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(380px, 0.88fr);
  gap: 100px;
  align-items: center;
}

.library-entry-copy {
  max-width: 740px;
}

.library-entry-copy h1 {
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 6.2vw, 6.5rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.library-entry-copy h1 em {
  display: block;
  color: var(--brand-bright);
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0 45px rgba(29, 185, 84, 0.18);
}

.library-entry-copy h1 em span {
  display: block;
}

/* Pull the second line slightly closer to the first */
.library-entry-copy h1 em span:nth-child(2) {
  margin-top: -0.03em;
}

/* Add optical breathing room before the final line */
.library-entry-copy h1 em span:nth-child(3) {
  margin-top: 0.05em;
}

.library-entry-lead {
  max-width: 660px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.72;
}

.library-entry-summary {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.98rem;
  line-height: 1.75;
}

.library-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.library-entry-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.library-entry-text-link span {
  color: var(--brand-bright);
  transition: transform 0.2s ease;
}

.library-entry-text-link:hover {
  color: var(--white);
}

.library-entry-text-link:hover span {
  transform: translateX(5px);
}

.library-entry-text-link:focus-visible {
  outline: 3px solid rgba(29, 185, 84, 0.42);
  outline-offset: 5px;
}


/* =========================================================
   MEMBER ACCESS CARD
   ========================================================= */

.library-access-card {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(239, 231, 216, 0.98)
    );
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.42),
    12px 12px 0 rgba(29, 185, 84, 0.08);
  transform: rotate(1.2deg);
}

.library-access-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(25, 20, 20, 0.1);
}

.access-card-header,
.access-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--deep-green);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.access-card-seal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 42px auto 24px;
  border: 1px solid rgba(29, 185, 84, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 8px rgba(29, 185, 84, 0.08),
    0 16px 30px rgba(29, 185, 84, 0.18);
}

.access-card-seal::before,
.access-card-seal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.access-card-seal::before {
  inset: 8px;
  border: 1px solid rgba(29, 73, 37, 0.16);
}

.access-card-seal::after {
  inset: -15px;
  border: 1px dashed rgba(29, 73, 37, 0.22);
}

.access-card-seal img {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.access-card-body {
  position: relative;
  z-index: 1;
  padding: 6px 42px 44px;
}

.access-card-label {
  margin-bottom: 10px;
  color: var(--brand-deep);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-align: center;
}

.access-card-body h2 {
  max-width: 330px;
  margin: 0 auto 34px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  font-weight: 500;
  text-align: center;
}

.access-card-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.access-card-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.access-card-list dt {
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
}

.access-card-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.access-card-footer {
  color: rgba(255, 255, 255, 0.65);
}

.access-card-footer span:last-child {
  color: var(--brand-bright);
  font-size: 1rem;
}


/* =========================================================
   LIBRARY INTRODUCTION
   ========================================================= */

.library-introduction {
  position: relative;
  padding: 126px 0;
  background:
    linear-gradient(
      90deg,
      transparent 0 49.9%,
      var(--line) 50%,
      transparent 50.1%
    ),
    var(--paper);
}

.library-introduction-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(430px, 1.05fr);
  gap: 110px;
  align-items: start;
}

.library-introduction-copy {
  max-width: 550px;
  position: sticky;
  top: 120px;
}

.library-introduction-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  line-height: 1.04;
  font-weight: 500;
}

.library-introduction-copy p:not(.library-section-marker) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.library-introduction-copy p:last-child {
  margin-bottom: 0;
}

.library-page-index {
  border-top: 1px solid var(--line);
}

.page-index-heading {
  margin: 0;
  padding: 0 0 18px;
  color: #8c8579;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.library-page-index a {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 30px 44px 30px 0;
  border-top: 1px solid var(--line);
  transition:
    padding-left 0.25s ease,
    background 0.25s ease;
}

.library-page-index a:last-child {
  border-bottom: 1px solid var(--line);
}

.library-page-index a::after {
  content: "↘";
  position: absolute;
  top: 34px;
  right: 4px;
  color: var(--brand);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.library-page-index a:hover {
  padding-left: 16px;
  background: rgba(29, 185, 84, 0.035);
}

.library-page-index a:hover::after {
  transform: translate(3px, 3px);
}

.library-page-index a > span {
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
}

.library-page-index strong,
.library-page-index small {
  grid-column: 2;
}

.library-page-index strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.library-page-index small {
  color: var(--muted);
  font-size: 0.82rem;
}


/* =========================================================
   SHARED CHAPTER STYLES
   ========================================================= */

.library-chapter {
  position: relative;
  padding: 126px 0;
}

.chapter-header {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 54px;
  row-gap: 30px;
  align-items: start;
  margin-bottom: 70px;
}


.chapter-number {
  padding-top: 5px;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.chapter-title h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.6vw, 4.7rem);
  line-height: 1.03;
  font-weight: 500;
}

.chapter-introduction {
  grid-column: 2;
  grid-row: 2;
  max-width: 760px;
  padding-top: 0;
}

.chapter-introduction p {
  color: var(--muted);
  line-height: 1.78;
}

.chapter-introduction p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   MODELS CHAPTER
   ========================================================= */

.models-chapter {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(29, 185, 84, 0.08),
      transparent 24%
    ),
    var(--paper-warm);
}

.models-chapter::before {
  content: "BUILT FOR WORK";
  position: absolute;
  top: 50%;
  right: -110px;
  transform: rotate(90deg);
  transform-origin: center;
  color: rgba(25, 20, 20, 0.055);
  font-family: var(--serif);
  font-size: 4.6rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.model-ledger {
  border-top: 1px solid var(--line);
}

.model-ledger-row {
  display: grid;
  grid-template-columns: 70px minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 42px;
  align-items: center;
  min-height: 170px;
  padding: 34px 24px 34px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left 0.25s ease,
    background 0.25s ease;
}

.model-ledger-row:hover {
  padding-left: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.model-ledger-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(29, 185, 84, 0.32);
  border-radius: 50%;
  color: var(--brand-deep);
  background: rgba(29, 185, 84, 0.07);
  font-family: var(--serif);
  font-weight: 700;
}

.model-ledger-title > p {
  margin-bottom: 7px;
  color: var(--brand-deep);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.model-ledger-title h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.12;
  font-weight: 500;
}

.model-ledger-description {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.collection-footnote {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 670px;
  margin: 38px 0 0 auto;
}

.collection-footnote > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 50%;
  color: var(--brand-deep);
  background: rgba(29, 185, 84, 0.07);
  font-size: 0;
}

.collection-footnote > span::before {
  content: "+";
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(1px);
}

.collection-footnote p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}


/* =========================================================
   TALENT CHAPTER
   ========================================================= */

.talent-chapter {
  color: var(--white);
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.026) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.026) 1px,
      transparent 1px
    ),
    var(--deep-green);
  background-size: 44px 44px;
}

.talent-chapter::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.talent-chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 120px;
}

.talent-statement {
  position: relative;
  z-index: 1;
  padding-right: 30px;
}

.talent-statement h2 {
  margin-bottom: 60px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
  font-weight: 500;
}

.talent-statement blockquote {
  margin: 0;
  padding: 28px 0 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--brand);
}

.talent-statement blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
}

.talent-statement-explainer {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.78;
}

.talent-explanation {
  position: relative;
  z-index: 1;
}

.talent-explanation-lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.35;
}

.talent-explanation > p:not(.talent-explanation-lead) {
  max-width: 680px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.78;
}

.talent-services {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.talent-services article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.talent-services article > span {
  color: var(--brand-bright);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.talent-services h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.talent-services p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* =========================================================
   ADOPTION CHAPTER
   ========================================================= */

.adoption-chapter {
  background: var(--paper);
}

.adoption-chapter-heading {
  max-width: 860px;
  margin-bottom: 84px;
}

.adoption-chapter-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
  line-height: 1.03;
  font-weight: 500;
}

.adoption-chapter-heading .library-section-marker {
  margin-bottom: 18px;
  color: var(--brand-deep);
}

.adoption-chapter-heading > p {
  margin-bottom: 7px;
  color: var(--muted);
  line-height: 1.78;
}

.adoption-sequence {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.adoption-sequence::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 34px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--brand),
    rgba(29, 185, 84, 0.14)
  );
}

.adoption-sequence li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 38px;
  padding: 0 0 54px;
}

.adoption-sequence li:last-child {
  padding-bottom: 0;
}

.sequence-marker {
  position: relative;
  z-index: 1;
  padding-top: 2px;
}

.sequence-marker span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(29, 185, 84, 0.32);
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 0.8rem;
  box-shadow: 0 0 0 8px var(--paper);
}

.sequence-copy {
  padding: 4px 0 50px;
  border-bottom: 1px solid var(--line);
}

.adoption-sequence li:last-child .sequence-copy {
  border-bottom: 0;
}

.sequence-label {
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.sequence-copy h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.12;
  font-weight: 500;
}

.sequence-copy > p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}


/* =========================================================
   VALUE SUMMARY
   ========================================================= */

.library-value {
  position: relative;
  padding: 106px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(29, 185, 84, 0.1),
      transparent 27%
    ),
    var(--paper-warm);
}

.library-value::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -80px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(29, 73, 37, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(29, 73, 37, 0.025),
    0 0 0 110px rgba(29, 73, 37, 0.018);
}

.library-value-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 110px;
  align-items: start;
}

.library-value-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  font-weight: 500;
}

.library-value-copy > p {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.library-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.library-value-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 750;
}

.library-value-list span {
  color: var(--brand);
}


/* =========================================================
   GOOD FIT
   ========================================================= */

.library-fit {
  padding: 126px 0;
  background: var(--paper);
}

.library-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 110px;
  align-items: start;
}

.library-fit-introduction {
  position: sticky;
  top: 120px;
}

.library-fit-introduction h2 {
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 4.4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 500;
}

.library-fit-introduction > p:last-child {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.library-fit-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.library-fit-notes article {
  min-height: 230px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.library-fit-notes article:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  background: rgba(29, 185, 84, 0.035);
  box-shadow: var(--shadow-sm);
}

.library-fit-notes article span {
  display: block;
  margin-bottom: 50px;
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 0.75rem;
}

.library-fit-notes article p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
}

.library-fit-grid-label {
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}


/* =========================================================
   CONTACT INVITATION
   ========================================================= */

.library-invitation {
  padding: 50px 0 110px;
  background: var(--paper);
}

.library-invitation-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(230px, auto);
  gap: 58px;
  align-items: center;
  min-height: 420px;
  padding: 68px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(29, 185, 84, 0.3),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #041008,
      #0c2c19
    );
  box-shadow: var(--shadow-md);
}

.library-invitation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    );
  background-size: 38px 38px;
}

.library-invitation-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}

.invitation-index,
.invitation-copy,
.invitation-actions {
  position: relative;
  z-index: 1;
}

.invitation-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.invitation-index span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.invitation-index strong {
  color: var(--brand-bright);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
  font-weight: 400;
}

.invitation-copy {
  max-width: 660px;
}

.invitation-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.04;
  font-weight: 500;
}

.invitation-copy > p:last-child {
  max-width: 630px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
}

.invitation-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}

.invitation-signin-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.invitation-signin-link strong {
  color: var(--white);
}

.invitation-signin-link span {
  color: var(--brand-bright);
  transition: transform 0.2s ease;
}

.invitation-signin-link:hover span {
  transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .library-entry-layout {
    gap: 60px;
  }

  .library-entry-copy h1 {
    font-size: clamp(3.4rem, 6vw, 5.5rem);
  }

  .library-introduction-layout,
  .library-value-layout,
  .library-fit-layout {
    gap: 70px;
  }

  .talent-chapter-layout {
    gap: 80px;
  }

  .chapter-header {
    grid-template-columns: 70px 1fr;
  }

  .chapter-introduction {
    grid-column: 2;
    max-width: 680px;
  }

  .library-invitation-card {
    grid-template-columns: 120px 1fr;
  }

  .invitation-actions {
    grid-column: 2;
    align-items: flex-start;
  }

  .models-chapter::before {
    display: none;
  }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {
  .library-entry {
    min-height: auto;
    padding-bottom: 100px;
  }

  .library-entry-layout {
    grid-template-columns: 1fr;
  }

  .library-entry-copy {
    max-width: 760px;
  }

  .library-access-card {
    width: min(100%, 560px);
    max-width: none;
    margin: 10px 0 0;
    transform: none;
  }

  .library-introduction {
    background: var(--paper);
  }

  .library-introduction-layout,
  .library-value-layout,
  .library-fit-layout,
  .talent-chapter-layout {
    grid-template-columns: 1fr;
  }

  .library-introduction-copy,
  .library-fit-introduction {
    position: static;
    max-width: 720px;
  }

  .talent-chapter::after {
    display: none;
  }

  .talent-statement {
    max-width: 720px;
    padding-right: 0;
  }

  .talent-statement h2 {
    margin-bottom: 36px;
  }

  .talent-statement blockquote {
    max-width: 620px;
  }

  .talent-explanation {
    max-width: 760px;
  }

  .adoption-chapter-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .model-ledger-row {
    grid-template-columns: 58px 1fr;
    gap: 24px;
  }

  .model-ledger-description {
    grid-column: 2;
  }

  .library-fit-notes {
    max-width: 760px;
  }

  .library-invitation-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .invitation-index {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .invitation-index strong {
    font-size: 3rem;
  }

  .invitation-actions {
    grid-column: auto;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {
  .library-entry {
    padding: 120px 0 72px;
  }

  .library-entry-pattern span:nth-child(2),
  .library-entry-pattern span:nth-child(3) {
    display: none;
  }

  .library-entry-copy h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .library-entry-lead {
    font-size: 1rem;
  }

  .library-entry-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .library-entry-actions .button {
    width: 100%;
  }

  .library-entry-text-link {
    justify-content: center;
    text-align: center;
  }

  .access-card-header,
  .access-card-footer {
    padding: 15px 18px;
  }

  .access-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .access-card-body {
    padding: 6px 24px 34px;
  }

  .access-card-body h2 {
    font-size: 2.15rem;
  }

  .library-introduction,
  .library-chapter,
  .library-fit {
    padding: 82px 0;
  }

  .library-value {
    padding: 82px 0;
  }

  .library-introduction-layout,
  .library-value-layout,
  .library-fit-layout,
  .talent-chapter-layout {
    gap: 54px;
  }

  .library-introduction-copy h2,
  .chapter-title h2,
  .talent-statement h2,
  .adoption-chapter-heading h2,
  .library-value-heading h2,
  .library-fit-introduction h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .library-page-index a {
    grid-template-columns: 36px 1fr;
    padding-right: 32px;
  }

  .library-page-index strong {
    font-size: 1.3rem;
  }

  .chapter-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 46px;
  }

  .chapter-number {
    font-size: 1.4rem;
  }

  .chapter-introduction {
    grid-column: auto;
  }

  .model-ledger-row {
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .model-ledger-row:hover {
    padding-left: 0;
  }

  .model-ledger-title h3 {
    font-size: 1.45rem;
  }

  .model-ledger-description {
    grid-column: 1 / -1;
    padding-left: 62px;
    font-size: 0.92rem;
  }

  .collection-footnote {
    align-items: flex-start;
  }

  .talent-statement blockquote {
    padding-left: 20px;
  }

  .talent-statement blockquote p {
    font-size: 1.15rem;
  }

  .talent-services article {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .adoption-chapter-heading {
    margin-bottom: 58px;
  }

  .adoption-sequence::before {
    left: 25px;
  }

  .adoption-sequence li {
    grid-template-columns: 52px 1fr;
    gap: 22px;
    padding-bottom: 40px;
  }

  .sequence-marker span {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 6px var(--paper);
  }

  .sequence-copy {
    padding-bottom: 36px;
  }

  .sequence-copy h3 {
    font-size: 1.6rem;
  }

  .library-fit-notes {
    grid-template-columns: 1fr;
  }

  .library-fit-notes article {
    min-height: 190px;
  }

  .library-fit-notes article span {
    margin-bottom: 32px;
  }

  .library-invitation {
    padding: 24px 0 80px;
  }

  .library-invitation-card {
    min-height: auto;
    padding: 46px 24px;
    border-radius: 24px;
  }

  .invitation-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .invitation-actions {
    align-items: stretch;
  }

  .invitation-actions .button {
    width: 100%;
  }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {
  .library-entry-copy h1 {
    font-size: 2.8rem;
  }

  .access-card-seal {
    width: 70px;
    height: 70px;
  }

  .access-card-seal img {
    width: 42px;
    height: 42px;
  }

  .access-card-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .library-page-index a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .library-page-index a > span,
  .library-page-index strong,
  .library-page-index small {
    grid-column: 1;
  }

  .library-page-index a::after {
    top: 32px;
  }

  .model-ledger-row {
    grid-template-columns: 1fr;
  }

  .model-ledger-description {
    grid-column: auto;
    padding-left: 0;
  }

  .library-fit-notes article {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  .chapter-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 46px;
  }

  .chapter-number {
    order: 1;
    padding-top: 0;
    font-size: 1.4rem;
  }

  .chapter-title {
    order: 2;
  }

  .chapter-introduction {
    order: 3;
    max-width: 100%;
    padding-top: 0;
  }
}