:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F6F0E6; color: #503B34; font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.wrap { max-width: 1240px; margin: auto; padding-left: 24px; padding-right: 24px; }
.strap { background: #732B37; color: #FFF9F1; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.strap .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
header { background: #F6F0E6; }
.identity { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding-top: 18px; padding-bottom: 18px; }
.identity-logo { width: 100%; max-width: 240px; height: 62px; object-fit: contain; object-position: left center; }
.identity-logo.telos { max-width: 200px; justify-self: end; object-position: right center; }
.brand { text-align: center; font: 26px/1.15 Georgia, serif; letter-spacing: -.04em; white-space: nowrap; }
.brand small { display: block; font: 700 10px/1.5 'DM Sans', sans-serif; color: #732B37; letter-spacing: .24em; text-transform: uppercase; }
nav { border-top: 1px solid #DFCEB8; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
nav div { display: flex; flex-wrap: wrap; gap: 28px; }
nav a:hover, .text-link:hover { color: #732B37; text-decoration: underline; }
.hero { background: #4C202A; color: #FFF9F1; }
.hero-inner { max-width: 1600px; margin: auto; display: grid; grid-template-columns: .95fr 1.05fr; }
.hero-content { padding: 90px 48px 90px max(24px, calc((100vw - 1192px)/2)); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 700; color: #732B37; }
.hero .eyebrow { color: #DFCEB8; }
.hero .eyebrow:before { content: ''; display: inline-block; width: 36px; height: 1px; background: #C5A476; vertical-align: middle; margin-right: 12px; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(54px, 5.4vw, 96px); line-height: 1.05; margin: 30px 0; }
h1 em { color: #DFCEB8; font-weight: 400; }
.intro { max-width: 520px; border-left: 1px solid #C5A476; padding-left: 20px; line-height: 1.8; color: #F6F0E6; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta { display: inline-block; background: #C5A476; color: #4C202A; padding: 15px 24px; font-weight: 700; font-size: 14px; }
.cta:hover { background: #DFCEB8; }
.cta-outline { background: transparent; color: #FFF9F1; border: 1px solid #C5A476; }
.cta-outline:hover { background: #732B37; }
.hero-photo { position: relative; min-height: 650px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-photo:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(76,32,42,.8)); }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 24px; left: 24px; right: 24px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.library { padding-top: 90px; padding-bottom: 90px; scroll-margin-top: 24px; }
.library-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.12; margin: 18px 0; }
h2 em { color: #732B37; font-weight: 400; }
.library-intro p:not(.eyebrow), .approach p:not(.eyebrow), .event p:not(.eyebrow) { line-height: 1.8; max-width: 440px; }
.library-intro figure { position: relative; }
.library-intro img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.library-intro figcaption { position: absolute; bottom: 0; right: 0; background: #732B37; color: #FFF9F1; padding: 14px 20px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.library-reference { margin: 44px 0 28px; background: #4C202A; border: 1px solid #DFCEB8; }
.library-reference img { width: 100%; max-height: 460px; object-fit: contain; }
.library-reference figcaption { padding: 12px 20px; font-size: 12px; color: #FFF9F1; }
.library-shelf { padding: 18px 20px 24px; border: 12px solid #503B34; background: #4C202A; box-shadow: inset 0 0 0 2px #C5A476, 0 20px 40px #503B3426; }
.shelf-row { position: relative; display: flex; align-items: center; min-height: 124px; gap: 24px; padding: 12px 24px; color: #FFF9F1; background: linear-gradient(100deg,#4C202A 0%,#732B37 56%,#4C202A 100%); border: 1px solid #C5A47680; border-bottom: 9px solid #503B34; box-shadow: 0 8px 0 #C5A47655, inset 0 3px 14px #C5A47620; transition: background .2s, transform .2s; }
.shelf-row + .shelf-row { margin-top: 15px; }
.shelf-row:hover, .shelf-row:focus-visible { background: linear-gradient(100deg,#732B37,#4C202A); transform: translateY(-2px); outline: 2px solid #C5A476; outline-offset: 2px; }
.shelf-figure { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid #C5A476; border-radius: 50%; background: #F6F0E6; color: #732B37; font: 30px Georgia,serif; box-shadow: 0 0 0 5px #C5A47630; }
.shelf-books { display: flex; align-items: end; gap: 4px; height: 62px; flex: none; }
.shelf-books i { display: block; width: 13px; height: 53px; border: 1px solid #C5A47699; background: linear-gradient(90deg,#503B34,#732B37); box-shadow: inset 0 8px #C5A47633, inset 0 -8px #C5A47633; }
.shelf-books i:nth-child(2) { height: 60px; background: #DFCEB8; }
.shelf-books i:nth-child(3) { height: 47px; background: #C5A476; }
.shelf-books i:nth-child(4) { height: 56px; background: #503B34; }
.shelf-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.shelf-label small { color: #DFCEB8; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
.shelf-label strong { font: 400 clamp(22px,2.6vw,34px)/1.15 Georgia,serif; }
.shelf-label span { color: #DFCEB8; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.shelf-action { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; }
.approach { border-top: 1px solid #DFCEB8; background: #EFE3D3; }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.approach img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.text-link { color: #732B37; display: inline-block; font-weight: 700; margin-top: 18px; }
.event { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.event img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
footer { background: #4C202A; color: #FFF9F1; padding: 56px 0; }
footer strong { font: 28px Georgia, serif; }
footer p, footer small { color: #DFCEB8; line-height: 1.7; }
footer small { display: block; max-width: 800px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { padding: 70px 24px; }
  .hero-photo { min-height: 400px; }
  .library-intro, .approach-inner, .event { gap: 30px; }
}
@media (max-width: 600px) {
  .strap span { display: none; }
  .identity { grid-template-columns: 1fr 1fr; gap: 14px; }
  .identity-logo { height: 44px; }
  .brand { grid-column: 1/-1; grid-row: 2; }
  .identity-logo.telos { grid-column: 2; grid-row: 1; }
  nav { padding-top: 12px; padding-bottom: 12px; align-items: flex-start; flex-wrap: wrap; }
  nav div { gap: 14px; }
  h1 { font-size: clamp(48px, 11vw, 70px); }
  .hero-photo { min-height: 300px; }
  .library { padding-top: 60px; padding-bottom: 60px; }
  .library-intro, .approach-inner, .event { grid-template-columns: 1fr; }
  .library-shelf { padding: 10px; border-width: 6px; }
  .shelf-row { min-height: 108px; gap: 14px; padding: 14px; }
  .shelf-figure { width: 55px; height: 55px; font-size: 23px; }
  .shelf-books { display: none; }
  .shelf-label strong { font-size: 22px; }
  .shelf-label span { font-size: 10px; }
  .shelf-action { font-size: 0; }
  .shelf-action::after { content: '↗'; font-size: 19px; }
  .approach-inner, .event { padding-top: 60px; padding-bottom: 60px; }
}
