* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--pm-bg); color: var(--pm-text); font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--pm-accent-soft); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--pm-accent); outline-offset: 5px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.13; }
.container { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px 20px; color: var(--pm-bg); background: var(--pm-text); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 20; background: rgba(3,17,14,.97); border-bottom: 1px solid rgba(246,245,232,.2); }
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: flex; align-items: center; width: 125px; min-height: 72px; }
.brand img { width: 125px; height: 72px; }
.navigation { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 42px); }
.navigation a { text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; min-height: 48px; display: flex; align-items: center; position: relative; }
.navigation a[aria-current=page]:after { content: ''; position: absolute; bottom: 7px; left: 0; width: 32px; height: 2px; background: var(--pm-accent); }
.navigation .contact-link { border: 1px solid rgba(246,245,232,.65); padding: 0 24px; gap: 28px; }
.contact-link span, .arrow { color: var(--pm-accent-soft); font-size: 24px; font-weight: 300; }
.menu-toggle { display: none; min-width: 64px; height: 48px; border: 1px solid var(--pm-outline); background: none; color: var(--pm-text); }
.hero { min-height: 622px; position: relative; isolation: isolate; overflow: hidden; background: var(--pm-bg-deep); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; filter: brightness(.88) saturate(.9); }
.hero:before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #061b16 0%, rgba(6,27,22,.97) 23%, rgba(6,27,22,.71) 41%, rgba(3,17,14,.18) 67%, rgba(3,17,14,.22) 100%), linear-gradient(0deg, rgba(3,17,14,.75), transparent 30%); }
.hero:after { content: ''; position: absolute; z-index: -1; right: 9%; top: -25%; height: 145%; width: 20%; transform: skewX(-25deg); border-left: 1px solid rgba(202,163,99,.36); border-right: 1px solid rgba(153,186,146,.1); background: rgba(3,17,14,.12); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .93fr 1.25fr; gap: 42px; align-items: center; padding-block: 44px; min-height: 622px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pm-accent-soft); margin-bottom: 20px; }
.hero-theme { font-size: clamp(22px, 2vw, 30px); font-weight: 300; margin-bottom: 21px; line-height: 1.3; }
.hero-theme:before { content: ''; display: block; width: 32px; height: 2px; background: var(--pm-accent); margin-bottom: 19px; }
.hero h1 { font-size: clamp(48px, 5.2vw, 81px); line-height: 1.04; letter-spacing: -.04em; margin-bottom: 24px; }
.hero-role { font-size: 15px; line-height: 1.55; margin-bottom: 20px; color: #e7ece5; }
.hero-intro { font-size: 15px; line-height: 1.7; max-width: 350px; color: #d2ddd5; margin-bottom: 22px; }
.email-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; min-height: 48px; overflow-wrap: anywhere; }
.email-link svg { width: 21px; height: 21px; color: var(--pm-accent); flex: 0 0 auto; }
.portrait, .photo-frame, .resources-hub .resource-card { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.portrait, .photo-frame { border: 1px solid rgba(246,245,232,.4); background: #0b1614; }
.resources-hub .resource-card:focus-visible { outline-offset: -5px; }
.portrait { position: relative; margin: 0; align-self: stretch; min-height: 446px; max-height: 490px; }
.portrait img { width: 117%; max-width: none; height: 100%; object-fit: cover; object-position: left 30%; }
.portrait:after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(3,17,14,.85)); }
.portrait figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 19px; font-size: 12px; }
.portrait figcaption:before { content: ''; display: block; width: 25px; height: 2px; background: var(--pm-accent); margin-bottom: 14px; }
.hero-quote { align-self: start; margin-bottom: 0; padding: 16px 0 16px 21px; border-left: 3px solid var(--pm-accent); background: linear-gradient(90deg,rgba(3,17,14,.64),transparent); }
.hero-quote blockquote { margin: 0 0 18px; color: #e2c694; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(16px, 1.3vw, 20px); font-style: italic; line-height: 1.5; }
.hero-quote p { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.7; margin-bottom: 0; }
.service-strip { background: var(--pm-bg-deep); border-top: 1px solid rgba(246,245,232,.2); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding-block: 23px; }
.service-card { border: 1px solid var(--pm-outline); padding: 22px 23px; display: grid; grid-template-columns: 1fr 48px; align-items: center; text-decoration: none; min-height: 109px; transition: background .2s, border-color .2s; }
.service-card:hover { background: var(--pm-surface); border-color: var(--pm-accent); color: var(--pm-text); }
.service-card h2 { font-size: clamp(20px,2vw,28px); margin-bottom: 0; }
.service-card h2:after { content: ''; display: block; width: 28px; height: 2px; background: var(--pm-accent); margin-top: 14px; }
.service-card .arrow { border: 1px solid rgba(202,163,99,.6); border-radius: 50%; display: grid; place-items: center; width: 48px; height: 48px; }
.credibility { color: var(--pm-banner-text); background: var(--pm-banner); padding-block: 27px 24px; }
.band-label { color: #324039; font-size: 10px; letter-spacing: .23em; text-transform: uppercase; margin-bottom: 24px; }
.band-label:after { content: ''; display: inline-block; width: 34px; height: 1px; background: #a4a899; vertical-align: middle; margin-left: 20px; }
.logo-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logo-row img { height: 52px; max-width: 180px; object-fit: contain; mix-blend-mode: multiply; }
.logo-row .logo-esmt { height: 70px; width: 100px; }
.logo-row .logo-eisai { width: 90px; }
.logo-row .logo-meritmind { width: 190px; max-width: 190px; }
.section { padding-block: 74px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading h2 { font-size: 40px; letter-spacing: -.02em; margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 22px; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--pm-outline); }
.publication { display: grid; grid-template-columns: 65px 1fr 30px; gap: 22px; padding-block: 23px; border-top: 1px solid var(--pm-outline); text-decoration: none; align-items: center; }
.publication:last-child { border-bottom: 1px solid var(--pm-outline); }
.publication .year { font-size: 13px; color: var(--pm-accent-soft); }
.publication h3 { font-size: 22px; line-height: 1.35; margin-bottom: 6px; }
.publication p { color: var(--pm-text-muted); font-size: 13px; margin-bottom: 0; }
.resource-preview { background: var(--pm-surface); border-block: 1px solid var(--pm-outline); }
.resource-preview .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 48px; }
.resource-preview h2 { font-size: 35px; margin-bottom: 12px; }
.resource-preview p { margin-bottom: 0; color: var(--pm-text-muted); }
.media-band { padding-block: 28px 36px; border-top: 1px solid #c5c7bb; }
.media-band .logo-row { max-width: 1180px; }
.media-band img { height: 45px; max-width: 200px; }
.media-band .logo-thinkers { height: 86px; max-width: 100px; filter: brightness(0); }
.media-band .logo-stanford { width: 220px; max-width: 220px; height: 48px; }
.contact-section { padding-block: 78px 65px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,440px); align-items: center; gap: 64px; }
.contact-copy { min-width: 0; }
.contact-section h2 { font-size: clamp(32px,4vw,50px); letter-spacing: -.025em; margin-bottom: 15px; }
.contact-section p { color: var(--pm-text-muted); max-width: 640px; }
.contact-section .email-link { font-size: clamp(17px,2vw,23px); border-bottom: 1px solid var(--pm-accent); }
.site-footer { border-top: 1px solid var(--pm-outline); padding-block: 22px; font-size: 12px; color: var(--pm-text-muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.page-header { position: relative; isolation: isolate; overflow: hidden; padding-block: 65px 35px; border-bottom: 1px solid var(--pm-outline); background: linear-gradient(120deg,var(--pm-bg-deep),var(--pm-surface)); }
.page-header:before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 28%, rgba(202,163,99,.08) 70%, rgba(153,186,146,.06)); pointer-events: none; }
.page-header:after { content: ''; position: absolute; z-index: -1; top: -65%; right: 12%; width: 24%; height: 230%; transform: skewX(-25deg); border-left: 1px solid rgba(202,163,99,.36); border-right: 1px solid rgba(153,186,146,.2); background: linear-gradient(90deg,rgba(3,17,14,.18),rgba(202,163,99,.035)); pointer-events: none; }
.page-header h1 { font-size: clamp(38px,5vw,66px); letter-spacing: -.025em; margin-bottom: 22px; }
.page-header p { max-width: 740px; color: var(--pm-text-muted); margin-bottom: 0; font-size: 18px; }
.breadcrumbs { display: flex; gap: 15px; margin-bottom: 22px; font-size: 12px; color: var(--pm-accent-soft); }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card { padding: 28px; border: 1px solid var(--pm-outline); background: var(--pm-bg-deep); text-decoration: none; display: flex; flex-direction: column; min-height: 222px; }
.resource-card h2 { font-size: 27px; line-height: 1.25; }
.resource-card p { color: var(--pm-text-muted); margin-bottom: 24px; font-size: 15px; }
.resource-card .arrow { margin-top: auto; }
.prose { max-width: 920px; padding-block: 48px 72px; }
.prose p { margin-bottom: 19px; }
.prose h2 { margin-block: 45px 20px; font-size: 34px; }
.prose h3 { margin-block: 32px 16px; font-size: 25px; }
.prose ul, .prose ol { padding-left: 25px; }
.prose li { margin-bottom: 12px; }
.prose a { color: #b9d7ad; overflow-wrap: anywhere; }
.prose blockquote { border-left: 2px solid var(--pm-accent); padding-left: 22px; margin-left: 0; }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 20px; background: var(--pm-bg-deep); }
.prose video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.technique { border-bottom: 1px solid var(--pm-outline); padding: 12px 0; }
.technique summary { min-height: 48px; display: flex; gap: 16px; align-items: center; cursor: pointer; font-size: 18px; }
.technique summary:before { content: '+'; color: var(--pm-accent); width: 18px; }
.technique[open] summary:before { content: '-'; }
.technique-body { padding: 16px 34px 24px; }
.technique-body dt { font-size: 12px; color: var(--pm-accent-soft); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.technique-body dd { margin: 0 0 22px; white-space: pre-line; }
@media (min-width:1600px) { .hero-grid { grid-template-columns: 1.18fr .92fr 1.35fr; } }
@media (max-width:1150px) {
  .container { width: calc(100% - 64px); }
  .navigation { gap: 20px; }
  .navigation a { font-size: 10px; }
  .navigation .contact-link { padding-inline: 16px; gap: 16px; }
  .hero-grid { gap: 28px; grid-template-columns: 1.2fr .9fr 1fr; }
  .hero h1 { font-size: 57px; }
  .portrait { min-height: 420px; max-height: 480px; }
  .hero-intro, .hero-role { font-size: 14px; }
  .hero .email-link { font-size: 12px; }
  .hero-quote blockquote { font-size: 17px; }
  .logo-row { gap: 20px; }
  .logo-row img { max-width: 140px; }
  .logo-row .logo-meritmind { width: 140px; }
}
@media (max-width:900px) {
  .header-inner { height: 84px; }
  .menu-toggle { display: block; }
  .navigation { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--pm-bg-deep); padding: 24px 32px; border-bottom: 1px solid var(--pm-accent); }
  .navigation[data-open=true] { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .navigation a { font-size: 12px; }
  .navigation .contact-link { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 26px; padding-top: 18px; }
  .hero h1 { font-size: clamp(46px,7vw,66px); }
  .portrait { min-height: 420px; max-height: 490px; }
  .hero-quote { grid-column: 1 / -1; max-width: 600px; margin-top: 15px; }
  .hero-quote blockquote { font-size: 19px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 19px 15px; grid-template-columns: 1fr; gap: 18px; }
  .service-card h2 { font-size: 23px; }
  .service-card .arrow { width: 36px; height: 36px; font-size: 21px; }
  .logo-row { flex-wrap: wrap; justify-content: center; gap: 30px 40px; }
  .section { padding-block: 55px; }
  .resource-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:560px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 76px; }
  .brand, .brand img { width: 87px; }
  .navigation { top: 76px; padding-inline: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 29px; padding-top: 22px; padding-bottom: 38px; }
  .hero-theme { font-size: 25px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(49px,13vw,67px); margin-bottom: 22px; }
  .hero-intro, .hero-role { font-size: 15px; max-width: none; }
  .hero .email-link { font-size: 14px; }
  .hero-image { object-position: 68% center; }
  .hero:before { background: linear-gradient(90deg,rgba(6,27,22,.98),rgba(6,27,22,.77)),linear-gradient(0deg,#061b16,transparent); }
  .hero:after { right: 12%; width: 30%; opacity: .55; }
  .portrait { width: min(310px,100%); height: 385px; min-height: 0; margin-inline: auto; }
  .hero-quote { grid-column: auto; margin-top: 0; padding-left: 17px; }
  .hero-quote blockquote { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; padding-block: 18px; }
  .service-card { grid-template-columns: 1fr 42px; gap: 18px; min-height: 86px; padding: 17px 20px; }
  .service-card h2 { font-size: 25px; }
  .service-card h2:after { margin-top: 10px; }
  .service-card .arrow { width: 42px; height: 42px; }
  .logo-row { gap: 30px 26px; }
  .logo-row img { max-width: 130px; height: 45px; }
  .logo-row .logo-esmt { width: 90px; height: 60px; }
  .logo-row .logo-meritmind { width: 140px; }
  .band-label { margin-bottom: 26px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 34px; margin-bottom: 14px; }
  .publication { grid-template-columns: 42px 1fr 20px; gap: 13px; }
  .publication h3 { font-size: 19px; }
  .publication p { font-size: 12px; }
  .resource-preview .container { display: block; padding-block: 36px; }
  .resource-preview h2 { font-size: 31px; }
  .resource-preview .text-link { margin-top: 19px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 180px; }
  .contact-section { padding-block: 55px; }
  .contact-section .email-link { font-size: 17px; }
  .page-header { position: relative; isolation: isolate; overflow: hidden; padding-block: 38px 30px; }
  .page-header p { font-size: 16px; }
  .prose { padding-top: 30px; }
  .prose h2 { font-size: 29px; }
  .prose h3 { font-size: 24px; }
  .technique summary { font-size: 17px; }
  .technique-body { padding-left: 16px; padding-right: 0; }
  .footer-links { gap: 18px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.profile-links { display: flex; flex-wrap: wrap; gap: 0 18px; max-width: 370px; font-size: 12px; }
.profile-links a { display: inline-flex; align-items: center; min-height: 44px; }
.portrait figcaption .email-link { font-size: clamp(10px, .85vw, 13px); gap: 8px; min-height: 36px; }
.portrait figcaption .email-link svg { width: 18px; height: 18px; }
.logo-row .logo-sse { width: 190px; max-width: 190px; height: 100px; }
@media (max-width:1150px) {
  .portrait figcaption { left: 12px; right: 12px; }
  .portrait figcaption .email-link { font-size: 10px; gap: 5px; }
}
@media (max-width:560px) {
  .portrait figcaption .email-link { font-size: 13px; gap: 8px; }
  .logo-row .logo-sse { width: 140px; max-width: 140px; height: 80px; }
}

.venture-logo { position: relative; flex: 0 0 auto; overflow: hidden; width: 202px; height: 62px; }
.logo-row .venture-logo img { position: absolute; width: 400px; height: auto; max-width: none; left: -103px; top: -56px; filter: brightness(0); }
.media-band .logo-ft { width: 270px; max-width: 270px; height: 45px; }
@media (max-width:1150px) {
  .media-band .logo-ft { width: 225px; max-width: 225px; }
}
@media (max-width:560px) {
  .venture-logo { width: 154px; height: 47px; }
  .logo-row .venture-logo img { width: 305px; left: -79px; top: -43px; }
  .media-band .logo-ft { width: 200px; max-width: 200px; }
}

/* Editorial pages and resource reading surfaces. */
.editorial-layout { max-width: 1320px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: start; gap: 32px; }
.service-layout { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.editorial-column { display: grid; gap: 24px; min-width: 0; }
.content-panel { min-width: 0; overflow-wrap: anywhere; background: var(--pm-surface); border: 1px solid var(--pm-outline); border-radius: 12px; padding: 32px; }
.content-panel > h2:first-of-type { margin-top: 0; }
.content-panel p:last-child { margin-bottom: 0; }
.content-panel h2 { font-size: 30px; }
.contact-panel { border-top: 3px solid var(--pm-accent); }
.content-panel li { padding-block: 8px; }
.resource-layout { max-width: 1360px; display: grid; grid-template-columns: 232px minmax(0,1fr); align-items: start; gap: 40px; }
.resource-sidebar { position: sticky; top: 24px; min-width: 0; }
.resource-toc { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--pm-outline); border-radius: 16px; background: var(--pm-bg-deep); max-height: calc(100vh - 110px); overflow-y: auto; }
.resource-toc p { margin: 0 12px 12px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-accent-soft); }
.resource-toc a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45; text-decoration: none; color: var(--pm-text-muted); }
.resource-toc a:hover, .resource-toc a:focus-visible { color: var(--pm-text); background: var(--pm-surface-raised, #17382c); }
.resource-back { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 20px; margin-top: 12px; text-decoration: none; font-size: 13px; }
.resource-content { min-width: 0; display: grid; gap: 32px; counter-reset: chapter; }
.resource-overview { padding: 24px 32px; border: 1px solid var(--pm-outline); border-radius: 16px; background: var(--pm-surface); }
.resource-overview > p:first-of-type { font-size: 18px; line-height: 1.6; }
.resource-notes { border-top: 1px solid var(--pm-outline); padding-top: 8px; margin-top: 16px; color: var(--pm-text-muted); font-size: 13px; }
.resource-notes summary { min-height: 44px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.resource-notes summary:after { content: '+'; color: var(--pm-accent-soft); margin-left: auto; font-size: 20px; }
.resource-notes[open] summary:after { content: '-'; }
.resource-notes > div { padding-block: 8px; }
.resource-chapter { min-width: 0; scroll-margin-top: 24px; }
.resource-chapter > h2 { display: flex; align-items: baseline; gap: 16px; font-size: 31px; margin: 0 0 24px; line-height: 1.3; }
.resource-chapter > h2 .chapter-title { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.resource-chapter > h2:before { flex-shrink: 0; counter-increment: chapter; content: counter(chapter, decimal-leading-zero); color: var(--pm-accent); font-size: 13px; font-weight: 400; }
.resource-chapter > h2 strong { font-weight: 400; }
.chapter-content { padding: 32px; background: var(--pm-surface); border: 1px solid var(--pm-outline); border-radius: 16px; box-shadow: 0 8px 24px #00000012; }
.chapter-content > p { max-width: none; }
.resource-llm-innovation-techniques #chapter-references .chapter-content p { margin-bottom: 9.5px; }
.chapter-content > :last-child { margin-bottom: 0; }
.chapter-content strong { font-weight: 600; color: var(--pm-text); }
.media-sections { display: grid; gap: 16px; }
.learning-grid, .tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.learning-card, .prompt-card, .tool-grid > p { margin: 0; padding: 24px; border: 1px solid var(--pm-outline); border-radius: 12px; background: var(--pm-bg-deep); min-width: 0; }
.learning-card h3, .prompt-title { margin: 0 0 16px; font-size: 21px; line-height: 1.4; }
.learning-card h3 strong, .prompt-title strong { font-weight: 500; }
.learning-card > :last-child { margin-bottom: 0; }
.prompt-card { padding: 0; overflow: hidden; }
.prompt-card summary { display: flex; align-items: center; padding: 24px; min-height: 80px; cursor: pointer; gap: 16px; }
.resource-notes summary::-webkit-details-marker, .prompt-card summary::-webkit-details-marker, .technique summary::-webkit-details-marker { display: none; }
.prompt-card summary:focus-visible { outline-offset: -4px; }
.prompt-card summary .prompt-title { margin: 0; }
.prompt-card summary:after { content: '+'; margin-left: auto; color: var(--pm-accent); font-size: 24px; }
.prompt-card[open] summary:after { content: '-'; }
.prompt-body { padding: 0 24px 24px; font-size: 14px; }
.prompt-body > :last-child { margin-bottom: 0; }
.prompt-text { font-family: Consolas, 'Courier New', monospace; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; padding: 16px; background: var(--pm-surface); border-radius: 8px; }
.prompt-text > p:last-child { margin-bottom: 0; }
.tool-grid > p { font-size: 14px; line-height: 1.65; }
.tool-grid a { display: inline; font-size: 12px; color: var(--pm-accent-soft); }
.resource-quick-start .chapter-content > ul, .resource-course-policy .chapter-content > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 0; list-style: none; }
.resource-quick-start .chapter-content > ul > li, .resource-course-policy .chapter-content > ul > li { padding: 20px; border-radius: 12px; border: 1px solid var(--pm-outline); background: var(--pm-bg-deep); margin: 0; }
.resource-quick-start li p:last-child, .resource-course-policy li p:last-child { margin-bottom: 0; }
.learning-card .technique summary { font-size: 15px; line-height: 1.5; }
.learning-card .technique-body { padding: 16px 0; font-size: 14px; }
.learning-card .technique-body dd { overflow-wrap: anywhere; }
@media (max-width:1100px) {
  .resource-layout { grid-template-columns: 200px minmax(0,1fr); gap: 24px; }
  .learning-grid, .tool-grid { grid-template-columns: 1fr; }
  .content-panel, .chapter-content { padding: 24px; }
}
@media (max-width:800px) {
  .editorial-layout, .resource-layout { grid-template-columns: 1fr; }
  .resource-sidebar { position: static; }
  .resource-toc { flex-direction: row; flex-wrap: wrap; gap: 4px; max-height: none; }
  .resource-toc p { width: 100%; }
  .resource-toc a { background: var(--pm-surface); border: 1px solid var(--pm-outline); }
  .resource-back { margin-top: 4px; }
}
@media (max-width:560px) {
  .content-panel, .resource-overview, .chapter-content { padding: 20px; }
  .resource-chapter > h2 { font-size: 26px; gap: 12px; }
  .resource-overview > p:first-of-type { font-size: 16px; }
  .resource-quick-start .chapter-content > ul, .resource-course-policy .chapter-content > ul { grid-template-columns: 1fr; }
  .learning-card, .tool-grid > p { padding: 20px; }
  .prompt-card summary { padding: 20px; }
  .prompt-body { padding-inline: 20px; }
  .resource-toc a { font-size: 12px; }
}

/* Shared cut corners keep supplied photographs consistent with the portrait. */
.photo-frame { position: relative; margin: 0; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.resources-hub { max-width: 1320px; display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,320px); gap: 32px; align-items: stretch; }
.resources-hub .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,1fr); gap: 18px; min-width: 0; }
.resources-hub .resource-card { padding: 20px; min-height: 0; }
.resources-hub .resource-card h2 { margin: 0 0 16px; }
.resources-hub .resource-card p { margin-bottom: 16px; }
.resources-photo { width: 100%; aspect-ratio: 1/2; }
.resources-photo img { position: absolute; inset: 0; }
.contact-photo { width: 100%; aspect-ratio: 16/9; }
@media (max-width:1000px) {
  .resources-hub { grid-template-columns: 1fr; }
  .resources-photo { width: min(100%,240px); justify-self: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-photo { max-width: 440px; justify-self: center; }
}
@media (max-width:560px) {
  .resources-hub .resource-grid { grid-template-columns: 1fr; grid-template-rows: none; }
}
