/* Dr. Luis E. Taveras — legacy site. Ivory paper, ink type, a single antique-gold thread; each book keeps its own accent on its own page. */
:root {
  --ivory: #F8F4EC;
  --stone: #EFE8DA;
  --white: #FFFDF8;
  --ink: #16130F;
  --ink-2: #3D352D;
  --mute: #7A6E5E;
  --line: #E0D6C3;
  --gold: #8C6B3F;
  --gold-lt: #C9AE7E;
  --on-ink: #EFE7D8;
  --on-ink-mute: #A99E8C;
  --lr: #AC1B28;
  --cio: #1E5FB4;
  --cio-dk: #10213B;
  --display: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --serif: 'Libre Baskerville', Georgia, serif;
  --label: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
p { margin: 0 0 1.1em }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)) }
.narrow { max-width: 760px }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }

.label { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; margin: 0 }
h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.005em }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; margin-bottom: 22px }
h3 { font-size: 28px; line-height: 1.15; margin-bottom: 10px }
.lede { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 60ch }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 26px 0 }
.center { text-align: center } .center .rule { margin-inline: auto } .center .lede { margin-inline: auto }
section.band { padding-block: 112px }
section.stone { background: var(--stone) }
section.ink { background: var(--ink); color: var(--on-ink) }
section.ink h2, section.ink h3 { color: var(--white) }
section.ink .label { color: var(--gold-lt) }
section.ink .lede { color: var(--on-ink) }

/* buttons & links */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 16px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); transition: background .25s, color .25s, border-color .25s; cursor: pointer; white-space: nowrap }
.btn:hover { background: var(--gold); border-color: var(--gold) }
.btn.line { background: transparent; color: var(--ink) }
.btn.line:hover { background: var(--ink); color: var(--white); border-color: var(--ink) }
section.ink .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink) }
section.ink .btn:hover { background: var(--gold-lt); border-color: var(--gold-lt) }
.btn svg { width: 14px; height: 14px; flex: none }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center }
.more { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; white-space: nowrap }
.more:hover { color: var(--gold) }

/* header */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(248, 244, 236, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line) }
header.site .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px }
header.site nav.main { display: flex; gap: 26px; align-items: center; flex: 1 }
header.site nav.main a { font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-block: 8px; border-bottom: 1px solid transparent; white-space: nowrap; color: var(--ink-2) }
header.site nav.main a:hover, header.site nav.main a[aria-current="page"] { color: var(--ink); border-color: var(--gold) }
header.site .cta { padding: 12px 18px; font-size: 11px }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none }
.logo svg { width: 46px; height: 46px; flex: none }
.logo .wm { display: flex; flex-direction: column; line-height: 1.1 }
.logo .wm b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap }
.logo .wm span { font-family: var(--label); font-weight: 600; font-size: 8.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 4px; white-space: nowrap }
.menu { display: none }
@media (max-width: 1240px) { header.site nav.main { gap: 18px } header.site nav.main a { letter-spacing: .08em } header.site .wrap { gap: 20px } }
@media (max-width: 1120px) {
  header.site .wrap { min-height: 72px }
  header.site nav.main, header.site .cta { display: none }
  .menu { display: block; flex: 1 }
  .menu summary { list-style: none; cursor: pointer; font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 }
  .menu summary::-webkit-details-marker { display: none }
  .menu summary i { display: block; width: 20px; height: 1px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink) }
  .menu[open] .panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 10px max(24px, env(safe-area-inset-left, 0px)) 26px; display: grid; gap: 2px }
  .menu .panel a { font-family: var(--display); font-size: 24px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line) }
  .menu .panel a.btn { font-family: var(--label); font-size: 12px; margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--ink) }
}
@media (max-width: 420px) { .logo .wm b { font-size: 15px; letter-spacing: .1em } .logo .wm span { letter-spacing: .2em } .logo svg { width: 38px; height: 38px } }

/* home hero */
.hero { padding-block: 84px 104px }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; align-items: center }
.hero h1 small { display: block; font-size: .36em; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 14px; font-weight: 600 }
.hero .role { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; color: var(--ink-2); max-width: 36em }
.frame { position: relative; margin: 0 }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-lt); z-index: 0 }
.frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14% }
.frame figcaption { position: relative; z-index: 1; font-style: italic; font-size: 12px; color: var(--mute); margin-top: 30px; text-align: right }
@media (max-width: 900px) { .hero { padding-block: 40px 80px } .hero .wrap { grid-template-columns: 1fr; gap: 54px } .hero .frame { max-width: 480px; width: calc(100% - 18px) } }

/* quote */
.quote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.25; color: var(--ink); max-width: 22em; margin: 0 auto; text-wrap: balance }
.quote-by { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 26px }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px }
.stats div { padding: 30px 22px; text-align: center }
.stats div + div { border-left: 1px solid var(--line) }
.stats b { display: block; font-family: var(--display); font-weight: 500; font-size: 48px; line-height: 1 }
.stats span { display: block; font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 12px; line-height: 1.6 }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) } .stats div:nth-child(3) { border-left: none } .stats div:nth-child(n+3) { border-top: 1px solid var(--line) } }

/* book pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid var(--line) }
.pair article { padding: 56px 48px 8px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: start }
.pair article + article { border-left: 1px solid var(--line) }
.pair img { box-shadow: 0 22px 34px -18px rgba(22, 19, 15, .55); width: 100% }
.pair .kicker { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px }
.pair .lr .kicker { color: var(--lr) } .pair .cio .kicker { color: var(--cio) }
.pair h3 { font-size: 34px }
.pair .sub { font-style: italic; color: var(--ink-2); margin-bottom: 14px }
.pair .links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px }
@media (max-width: 980px) { .pair { grid-template-columns: 1fr } .pair article { padding: 48px 0 8px } .pair article + article { border-left: none; border-top: 1px solid var(--line) } }
@media (max-width: 520px) { .pair article { grid-template-columns: 112px minmax(0, 1fr); gap: 22px } .pair h3 { font-size: 27px } }

/* career path */
.path { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--gold-lt) }
.path li { position: relative; padding: 34px 18px 0 0 }
.path li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; background: var(--ivory); border: 1px solid var(--gold); transform: rotate(45deg) }
section.stone .path li::before { background: var(--stone) }
.path b { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.15 }
.path span { display: block; font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 6px }
@media (max-width: 900px) { .path { grid-template-columns: 1fr; gap: 26px } .path::before { left: 5px; right: auto; width: 1px; top: 4px; bottom: 4px; height: auto } .path li { padding: 0 0 0 34px } }

/* downloads */
.dls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 56px }
.dl { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .25s }
.dl:hover { border-color: var(--gold); transform: translateY(-3px) }
.dl .th { background: var(--stone); padding: 30px 30px 0; height: 260px; overflow: hidden; display: flex; justify-content: center }
.dl .th img { width: 72%; height: auto; align-self: flex-start; box-shadow: 0 16px 28px -14px rgba(22, 19, 15, .45) }
.dl .tx { padding: 26px 28px 28px; display: flex; flex-direction: column }
.dl .tx .kind { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold) }
.dl .tx b { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.15; margin: 8px 0 6px }
.dl .tx p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px }
.dl .tx .get { margin-top: auto; font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px }
.dl .tx .get svg { width: 14px; height: 14px }
@media (max-width: 900px) { .dls { grid-template-columns: 1fr; max-width: 520px } }

/* press lists */
.plist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink) }
.plist li { border-bottom: 1px solid var(--line) }
.plist a, .plist .row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 120px; gap: 24px; padding: 22px 0; text-decoration: none; align-items: baseline }
.plist .src { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold) }
.plist .t { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.25 }
.plist a:hover .t { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px }
.plist .d { font-family: var(--label); font-weight: 500; font-size: 12px; color: var(--mute); text-align: right }
@media (max-width: 760px) { .plist a, .plist .row { grid-template-columns: minmax(0, 1fr); gap: 4px } .plist .d { text-align: left } .plist .t { font-size: 21px } }
.eng { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink) }
.eng td { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.5 }
.eng td:first-child { font-family: var(--label); font-weight: 600; font-size: 12.5px; width: 34% }
.eng td:last-child { font-family: var(--label); font-size: 12px; color: var(--mute); text-align: right; white-space: nowrap; padding-right: 0 }
@media (max-width: 760px) { .eng tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line) } .eng td { border: none; padding: 2px 0 } .eng td:first-child { width: auto; grid-column: 1 / -1 } .eng td:nth-child(2) { grid-column: 1 } }
.chips { display: flex; flex-wrap: wrap; gap: 10px }
.chips span { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .04em; padding: 10px 16px; border: 1px solid var(--line); background: var(--white) }

/* page intro (inner pages) */
.intro { padding-block: 96px 72px; border-bottom: 1px solid var(--line) }
.intro h1 { font-size: clamp(44px, 6vw, 76px) }

/* about */
.bio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start }
.bio .frame { position: sticky; top: 120px }
.bio .lede { font-size: 20px; max-width: none }
.bio p { max-width: 62ch }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px }
.tl { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink) }
.tl li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px }
.tl b { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px }
.tl span { font-family: var(--display); font-size: 22px; line-height: 1.3 }
@media (max-width: 900px) { .bio, .cols2 { grid-template-columns: 1fr; gap: 56px } .bio .frame { position: relative; top: 0; max-width: 440px; width: calc(100% - 18px) } .tl li { grid-template-columns: 1fr; gap: 2px } }

/* book pages */
.bookhero { padding-block: 96px 104px; background: var(--stone) }
.bookhero .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 84px; align-items: center }
.bookhero .cover { box-shadow: 0 34px 52px -26px rgba(22, 19, 15, .6); width: 100%; max-width: 380px; justify-self: center }
.bookhero .sub { font-family: var(--display); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--ink-2); margin: 14px 0 0 }
.bookhero .formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
.bookhero .formats a { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 9px 14px; border: 1px solid var(--line); background: var(--white) }
.bookhero .formats a:hover { border-color: var(--ink) }
.bk-lr .label, .bk-lr .accent { color: var(--lr) }
.bk-cio .label, .bk-cio .accent { color: var(--cio) }
.bk-lr .rule { background: var(--lr) } .bk-cio .rule { background: var(--cio) }
@media (max-width: 900px) { .bookhero { padding-block: 56px 80px } .bookhero .wrap { grid-template-columns: 1fr; gap: 48px } .bookhero .cover { max-width: 280px } }

.modelsec .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center }
.ring svg { width: 100%; max-width: 500px; height: auto; display: block; margin: 0 auto }
.seg { cursor: pointer; transition: fill .2s }
.seg:focus { outline: none } .seg:focus-visible { stroke: var(--gold) !important; stroke-width: 5 !important }
.mpanel { min-height: 260px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px }
.mpanel .part { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 8px }
.bk-lr .mpanel .part { color: var(--lr) } .bk-cio .mpanel .part { color: var(--cio) }
.mpanel h3 { font-size: 34px }
.mpanel p { color: var(--ink-2) }
.mpanel ul { list-style: none; padding: 0; margin: 16px 0 0 }
.mpanel li { font-family: var(--label); font-size: 13px; color: var(--mute); padding: 8px 0; border-top: 1px solid var(--line) }
.hint { font-family: var(--label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 20px }
.aims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px }
.aims span { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); color: var(--cio); background: var(--white) }
.aims span:first-child { color: var(--ink); border-color: transparent; background: transparent; padding-left: 0 }
@media (max-width: 900px) { .modelsec .wrap { grid-template-columns: 1fr; gap: 36px } .mpanel { min-height: 0 } }

.toc { columns: 2; column-gap: 64px; margin-top: 48px }
.toc .part { break-inside: avoid; margin-bottom: 32px }
.toc .part h4 { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 6px }
.bk-lr .toc .part h4 { color: var(--lr) } .bk-cio .toc .part h4 { color: var(--cio) }
.toc ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink) }
.toc li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 21px; line-height: 1.3 }
.toc li i { font-style: normal; font-family: var(--label); font-size: 11px; font-weight: 600; color: var(--mute); padding-top: 6px }
@media (max-width: 760px) { .toc { columns: 1 } }

.excerpt { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 6vw, 64px); margin-top: 40px }
.excerpt p { font-size: 17px; line-height: 1.85; text-indent: 1.4em; margin: 0 }
.excerpt p:first-child { text-indent: 0 }
.excerpt p:first-child::first-letter { font-family: var(--display); font-weight: 600; float: left; font-size: 72px; line-height: .82; padding: 6px 10px 0 0 }
.bk-lr .excerpt p:first-child::first-letter { color: var(--lr) } .bk-cio .excerpt p:first-child::first-letter { color: var(--cio) }

.next { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 34px; align-items: center; text-decoration: none }
.next img { box-shadow: 0 16px 26px -14px rgba(22, 19, 15, .55) }
@media (max-width: 640px) { .next { grid-template-columns: 90px minmax(0, 1fr) } .next .more { grid-column: 1 / -1 } }

/* footer */
footer.site { background: var(--ink); color: var(--on-ink-mute); padding-block: 80px 40px; font-family: var(--label); font-size: 13px }
footer.site .top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 56px; padding-bottom: 56px; border-bottom: 1px solid #2E2822 }
footer.site .logo { color: var(--white) }
footer.site .logo .wm span { color: var(--gold-lt) }
footer.site h4 { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 16px }
footer.site ul { list-style: none; padding: 0; margin: 0 }
footer.site li { margin-bottom: 10px }
footer.site a { text-decoration: none; color: var(--on-ink) }
footer.site a:hover { color: var(--gold-lt) }
footer.site .pub { margin-top: 26px; font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--on-ink) }
footer.site .pub a { border-bottom: 1px solid var(--gold); padding-bottom: 2px }
footer.site .pub em { display: block; font-size: 16px; color: var(--on-ink-mute); margin-top: 4px }
footer.site .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 12px }
@media (max-width: 860px) { footer.site .top { grid-template-columns: 1fr; gap: 40px } }

/* ===================== v3: larger type, tighter rhythm, standard header ===================== */
body { font-size: 18px; line-height: 1.72 }
.wrap { max-width: 1200px }
.label { font-size: 13px; letter-spacing: .26em; margin-bottom: 14px }
h1 { font-size: clamp(46px, 6.4vw, 88px) }
h2 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 18px }
h3 { font-size: 32px }
.lede { font-size: 21px; line-height: 1.65; max-width: 62ch }
.rule { margin: 20px 0 }
section.band { padding-block: 80px }
.btn { font-size: 13.5px; padding: 17px 28px }
.more { font-size: 13px }
.hero { padding-block: 56px 72px }
.hero .role { font-size: 14px }
.frame figcaption { font-size: 13px; margin-top: 26px }
.quote-by { font-size: 12.5px; margin-top: 20px }
.stats { margin-top: 40px } .stats b { font-size: 54px } .stats span { font-size: 12.5px; letter-spacing: .16em }
.pair { margin-top: 40px } .pair article { padding: 40px 40px 4px } .pair .kicker { font-size: 12px } .pair h3 { font-size: 38px }
.path { margin-top: 40px } .path b { font-size: 26px } .path span { font-size: 16.5px }
.dls { margin-top: 40px } .dl .tx .kind { font-size: 12px } .dl .tx b { font-size: 28px } .dl .tx p { font-size: 16.5px } .dl .tx .get { font-size: 12.5px }
.plist .src { font-size: 12px } .plist .t { font-size: 27px } .plist .d { font-size: 13.5px } .plist a, .plist .row { padding: 20px 0 }
.eng td { font-size: 17px } .eng td:first-child { font-size: 14px } .eng td:last-child { font-size: 13.5px }
.chips span { font-size: 14px }
.intro { padding-block: 64px 48px }
.bio .lede { font-size: 23px }
.tl b { font-size: 12px } .tl span { font-size: 25px }
.bookhero { padding-block: 64px 72px } .bookhero .sub { font-size: 28px } .bookhero .formats a { font-size: 12.5px }
.mpanel .part { font-size: 12px } .mpanel h3 { font-size: 36px } .mpanel li { font-size: 15px } .hint { font-size: 12px } .aims span { font-size: 12.5px }
.toc { margin-top: 32px } .toc .part h4 { font-size: 12px } .toc li { font-size: 23px } .toc li i { font-size: 12.5px }
.excerpt { margin-top: 28px } .excerpt p { font-size: 19px }
footer.site { font-size: 15px; padding-block: 64px 36px } footer.site h4 { font-size: 12px } footer.site .pub { font-size: 23px } footer.site .pub em { font-size: 18px } footer.site .bottom { font-size: 13.5px }

/* header: logo left, nav right, CTA last */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; font-family: var(--label); font-size: 13px }
.skip:focus { left: 12px; top: 12px }
header.site .wrap { min-height: 88px; gap: 32px }
header.site nav.main { justify-content: flex-end; gap: 30px }
header.site nav.main a, .dd > button { font-size: 13px; letter-spacing: .14em }
header.site .cta { padding: 13px 20px; font-size: 12.5px }
.logo .wm b { font-size: 21px } .logo .wm span { font-size: 10px }
.logo svg { width: 50px; height: 50px }
.dd { position: relative }
.dd > button { font-family: var(--label); font-weight: 600; text-transform: uppercase; color: var(--ink-2); background: none; border: none; border-bottom: 1px solid transparent; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px }
.dd > button svg { width: 10px; height: 6px }
.dd > button.on, .dd:hover > button, .dd:focus-within > button { color: var(--ink); border-color: var(--gold) }
.ddm { position: absolute; top: 100%; left: -22px; min-width: 300px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(22,19,15,.35); padding: 10px 22px; display: none }
.dd:hover .ddm, .dd:focus-within .ddm { display: block }
.ddm a { display: block; border-bottom: 1px solid var(--line) !important; padding: 14px 0 !important; font-family: var(--display) !important; font-size: 22px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 500 !important }
.ddm a:last-child { border-bottom: none !important }
@media (max-width: 1240px) { header.site nav.main { gap: 22px } header.site nav.main a, .dd > button { letter-spacing: .08em } header.site .wrap { gap: 24px } }
@media (max-width: 1120px) {
  header.site nav.main, header.site .cta { display: none }
  .menu { flex: 0 0 auto; margin-left: auto }
  .menu summary { font-size: 13px; gap: 12px }
  .menu summary i { width: 22px }
  .menu .panel a { font-size: 26px; padding: 10px 0 }
  .menu .panel a.btn { font-size: 13px }
}

/* home models */
.mpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 40px }
.mcol .ring svg { max-width: 360px }
.mcol h3 { text-align: center; margin: 22px 0 14px }
.mlist { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--ink) }
.mlist li { padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s }
.mlist li b { display: block; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase }
.mlist li span { display: block; font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-top: 2px }
.mlist li:hover { background: rgba(255,253,248,.7) }
.bk-lr .mlist li.on { background: var(--white); box-shadow: inset 3px 0 0 var(--lr) } .bk-lr .mlist li.on b { color: var(--lr) }
.bk-cio .mlist li.on { background: var(--white); box-shadow: inset 3px 0 0 var(--cio) } .bk-cio .mlist li.on b { color: var(--cio) }
@media (max-width: 900px) { .mpair { grid-template-columns: 1fr; gap: 64px } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start }
.contact form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px }
.contact .f { display: grid; gap: 8px } .contact .f.full { grid-column: 1 / -1 }
.contact label { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2) }
.contact input, .contact select, .contact textarea { font: inherit; font-size: 18px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-bottom: 1px solid var(--ink); padding: 14px; border-radius: 0; width: 100% }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: inset 0 -1px 0 var(--gold) }
.contact .hp { position: absolute; left: -9999px }
.contact aside p { margin: 0 0 6px } .contact .big { font-family: var(--display); font-size: 26px }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px } }

/* mobile */
@media (max-width: 760px) {
  body { font-size: 17.5px }
  .wrap { padding-inline: 20px }
  section.band { padding-block: 56px }
  .intro { padding-block: 44px 36px }
  .hero { padding-block: 28px 56px } .hero .wrap { gap: 40px }
  .lede { font-size: 19.5px }
  h3 { font-size: 28px }
  .stats b { font-size: 44px } .stats div { padding: 22px 12px }
  .bookhero { padding-block: 40px 56px } .bookhero .sub { font-size: 23px }
  .actions { gap: 12px } .actions .btn { flex: 1 1 100%; justify-content: center }
  .contact form { grid-template-columns: 1fr }
  .excerpt p { font-size: 18px }
  footer.site { padding-block: 52px 30px }
}
@media (max-width: 520px) {
  header.site .wrap { min-height: 70px; gap: 12px }
  .logo { gap: 10px } .logo svg { width: 40px; height: 40px }
  .logo .wm b { font-size: 17px; letter-spacing: .08em } .logo .wm span { font-size: 9px; letter-spacing: .22em }
  .menu summary span { display: none }
}
.menu:not([open]) .panel { display: none }
@media (max-width: 760px) { .btn { white-space: normal; text-align: center } }
@media (max-width: 440px) { .pair article { grid-template-columns: 1fr; gap: 24px } .pair article > a { max-width: 170px } .pair h3 { font-size: 32px } }

/* v4 */
.tap { display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-lt); border-radius: 999px; padding: 7px 14px 7px 11px; margin: 0 0 18px; background: var(--white) }
.tap svg { width: 16px; height: 16px }
.hint .tap { margin: 0 12px 0 0; vertical-align: middle }
.hint { font-size: 12.5px; line-height: 1.8 }
.mcol .hint.center { text-align: center; margin: 14px 0 0 }
.ring svg .seg:hover { filter: brightness(1.08) }
.ring { cursor: pointer }
.logo .wm b { line-height: 1 }
footer.site .bottom { align-items: center }
footer.site .pubnote { font-size: 13px; color: var(--on-ink-mute) }
footer.site .pubnote a { color: var(--on-ink-mute); border-bottom: 1px solid #4A4238 }
footer.site .pubnote a:hover { color: var(--gold-lt) }

/* mobile: portrait first, above the fold */
@media (max-width: 900px) {
  .hero .wrap { display: flex; flex-direction: column; gap: 28px }
  .hero .frame.hero-photo { order: -1; max-width: 520px; width: calc(100% - 14px); margin: 0 }
  .hero .frame.hero-photo::before { inset: 14px -14px 26px 14px }
  .hero .frame.hero-photo img { aspect-ratio: 5 / 4; object-position: 50% 12% }
  .hero .frame.hero-photo figcaption { margin-top: 20px; font-size: 12px }
  .hero { padding-block: 20px 56px }
}
@media (max-width: 520px) { .hero .frame.hero-photo img { aspect-ratio: 1 / 1 } }

/* ===================== v5: mobile-first polish ===================== */
.mdr { display: none }
@media (max-width: 760px) {
  /* header */
  header.site .wrap { min-height: 72px; gap: 12px }
  .mdr { display: inline }
  .logo { gap: 10px; min-width: 0 }
  .logo svg { width: 42px; height: 42px }
  .logo .wm b { font-size: 17px; letter-spacing: .06em }
  .menu summary { width: 52px; height: 52px; justify-content: center; padding: 0; border: 1px solid var(--line); background: var(--white) }
  .menu summary span { display: none }
  .menu summary i { width: 24px; height: 1.5px; box-shadow: 0 -7px 0 var(--ink), 0 7px 0 var(--ink) }
  .menu[open] summary i { box-shadow: none; transform: rotate(45deg) }
  .menu[open] summary i::after { content: ""; display: block; width: 24px; height: 1.5px; background: var(--ink); transform: rotate(90deg) }
  .menu[open] .panel { padding: 8px 20px 28px; max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 30px 40px -30px rgba(22,19,15,.4) }
  .menu .panel a { font-size: 27px; padding: 16px 0; min-height: 56px; display: flex; align-items: center }
  .menu .panel a.btn { font-size: 14px; min-height: 58px; margin-top: 20px }

  /* rhythm */
  section.band { padding-block: 48px }
  h1 { font-size: 46px } h2 { font-size: 36px; margin-bottom: 14px } h3 { font-size: 27px }
  .label { font-size: 12.5px; margin-bottom: 10px }
  .lede { font-size: 19px; line-height: 1.6 }
  .rule { margin: 16px 0 }
  .more { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; padding-bottom: 2px }

  /* home: order on phones = Dr. Taveras, career, downloads, models, books, quote, press */
  main:has(.s-hero) { display: flex; flex-direction: column }
  .s-hero { order: 1 } .s-career { order: 2 } .s-dl { order: 3 } .s-models { order: 4 } .s-books { order: 5 } .s-quote { order: 6 } .s-press { order: 7 }
  .s-career { background: var(--stone) } .s-dl { background: var(--ivory) } .s-models { background: var(--stone) } .s-books { background: var(--ivory) } .s-quote { background: var(--stone) } .s-press { background: var(--ivory) }
  .s-career .path li::before { background: var(--stone) }

  /* books: compact side by side */
  .pair { margin-top: 24px }
  .pair article { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding: 28px 0 20px }
  .pair article > a { max-width: none }
  .pair h3 { font-size: 26px; margin-bottom: 6px }
  .pair .sub { font-size: 15.5px; margin-bottom: 8px; line-height: 1.45 }
  .pair p { font-size: 16.5px; line-height: 1.55; margin-bottom: 0 }
  .pair .links { gap: 6px 18px; margin-top: 10px }

  /* career + stats */
  .path { margin-top: 26px; gap: 20px } .path b { font-size: 23px } .path span { font-size: 16px }
  .stats { margin-top: 28px } .stats b { font-size: 40px } .stats span { font-size: 11.5px; letter-spacing: .12em }

  /* downloads */
  .dls { margin-top: 26px; gap: 18px }
  .dl { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none }
  .dl .th { height: auto; padding: 16px 0 16px 16px; align-items: flex-start }
  .dl .th img { width: 100% }
  .dl .tx { padding: 16px 16px 16px 18px }
  .dl .tx b { font-size: 23px; margin: 4px 0 4px } .dl .tx p { font-size: 15.5px; margin-bottom: 10px } .dl .tx .get { font-size: 12px }

  /* models */
  .mpair { margin-top: 28px; gap: 44px }
  .mcol .ring svg { max-width: 300px }
  .mcol h3 { font-size: 27px; margin: 12px 0 10px }
  .mlist li { padding: 12px 10px; min-height: 48px } .mlist li span { font-size: 15.5px }
  .tap { font-size: 11.5px; margin-bottom: 12px }

  /* press lists */
  .plist a, .plist .row { padding: 16px 0 }
  .plist .t { font-size: 22px }

  /* book pages */
  .bookhero { padding-block: 28px 48px } .bookhero .wrap { gap: 28px } .bookhero .cover { max-width: 210px }
  .bookhero .formats a { min-height: 44px; display: inline-flex; align-items: center }
  .modelsec .wrap { gap: 24px } .ring svg { max-width: 320px }
  .mpanel { min-height: 0 } .mpanel h3 { font-size: 28px }
  .toc li { font-size: 20px; padding: 10px 0 }
  .excerpt { padding: 22px } .excerpt p { font-size: 17.5px; line-height: 1.75 }
  .next { grid-template-columns: 84px minmax(0, 1fr); gap: 18px }
  .next h2 { font-size: 28px }

  /* about */
  .bio { gap: 32px } .bio .lede { font-size: 20px }
  .tl span { font-size: 21px } .tl li { padding: 14px 0 }

  /* footer */
  footer.site { padding-block: 44px 28px } footer.site .top { gap: 28px; padding-bottom: 32px }
  footer.site li { margin-bottom: 0 } footer.site li a { display: block; padding: 9px 0 }
  footer.site .bottom { flex-direction: column; gap: 8px }
}
@media (max-width: 360px) { .logo .wm b { font-size: 15px; letter-spacing: .03em } .logo svg { width: 36px; height: 36px } .pair article { grid-template-columns: 88px minmax(0, 1fr) } }
.logo .wm b .mdr { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; margin: 0 }
@media (max-width: 760px) { .logo .wm b .mdr { display: inline } }
footer.site .mail { display: inline-flex; align-items: center; gap: 10px }
footer.site .mail .ico { width: 18px; height: 14px; flex: none; color: var(--gold-lt) }
footer.site .pubnote { display: block; margin: 14px 0 0; font-size: 13px; color: var(--on-ink-mute); line-height: 1.6 }
footer.site .pubnote a { color: var(--on-ink); border-bottom: 1px solid #4A4238 }
