:root {
  --red: #c9151e;
  --red-dark: #9f0d14;
  --ink: #111111;
  --ink-soft: #222222;
  --paper: #f5f4f1;
  --white: #ffffff;
  --grey-100: #eeeeeb;
  --grey-300: #c7c7c2;
  --grey-600: #666660;
  --coral: #fee7dc;
  --heading: "Bebas Neue", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, .18);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-180%); background: #fff; color: #111; padding: 10px 14px; border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(17,17,17,.96); box-shadow: 0 10px 30px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 205px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 700; }
.primary-nav a:not(.nav-cta):hover { color: #ff5259; }
.nav-cta { background: var(--red); padding: 11px 18px; border-radius: 5px; }
.nav-cta:hover { background: #e51d27; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.25); background: transparent; border-radius: 6px; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 40%, rgba(201,21,30,.28), transparent 30%),
    linear-gradient(125deg, #090909 0%, #151515 60%, #0c0c0c 100%);
  padding: 162px 0 92px;
}
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:8px; background:var(--red); }
.hero-grid-pattern { position:absolute; inset:0; opacity:.14; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, #000 62%); }
.hero-layout { position:relative; display:grid; grid-template-columns: 1.02fr .98fr; align-items:center; gap:80px; }
.eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 18px; text-transform:uppercase; letter-spacing:.18em; font-size:.76rem; font-weight:800; }
.eyebrow span { width:42px; height:3px; background:var(--red); }
.eyebrow.dark { color:var(--grey-600); }
.eyebrow.light { color:#e8e8e8; }
.hero h1, .section h2, .contact-section h2, .modal-copy h2 { font-family:var(--heading); font-weight:400; letter-spacing:.015em; line-height:.95; margin:0; }
.hero h1 { max-width:650px; font-size:clamp(4.4rem, 7vw, 7.4rem); }
.hero-lead { max-width:630px; margin:30px 0 0; color:#d4d4d4; font-size:1.12rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:13px 22px; border:0; border-radius:6px; text-decoration:none; font-weight:800; transition:transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:#fff; background:var(--red); }
.button-primary:hover { background:#e11c26; }
.button-secondary { color:#fff; background:transparent; border:1px solid rgba(255,255,255,.4); }
.button-secondary:hover { border-color:#fff; background:rgba(255,255,255,.08); }
.button-secondary.dark { color:var(--ink); border-color:#bbb; }
.button-secondary.dark:hover { background:#eee; }
.button-light { background:#fff; color:#111; }
.hero-points { display:flex; flex-wrap:wrap; gap:12px 26px; margin:34px 0 0; padding:0; list-style:none; color:#c5c5c5; font-size:.83rem; font-weight:600; }
.hero-points li::before { content:"✓"; color:#ff4b53; margin-right:8px; font-weight:900; }

.book-stage { position:relative; height:540px; perspective:1300px; }
.stage-glow { position:absolute; width:440px; height:440px; top:50%; left:50%; transform:translate(-45%,-45%); border-radius:50%; background:rgba(201,21,30,.32); filter:blur(65px); }
.hero-book { position:absolute; width:235px; border-radius:2px; box-shadow:0 30px 60px rgba(0,0,0,.5); transform-origin:bottom center; }
.hero-book-one { left:47%; top:5%; z-index:4; transform:translateX(-50%) rotate(-2deg); }
.hero-book-two { left:13%; top:20%; z-index:2; transform:rotate(-12deg); }
.hero-book-three { right:2%; top:18%; z-index:1; transform:rotate(11deg); }
.hero-book-four { left:42%; top:20%; z-index:3; transform:rotate(4deg); }
.edition-badge { position:absolute; right:0; bottom:5px; z-index:10; display:flex; align-items:center; gap:10px; background:#fff; color:#111; padding:10px 14px; border-radius:8px; box-shadow:var(--shadow); }
.edition-badge strong { color:var(--red); font-family:var(--heading); font-size:2.2rem; line-height:1; }
.edition-badge span { max-width:70px; font-size:.72rem; line-height:1.2; text-transform:uppercase; font-weight:800; }

.value-strip { background:var(--white); border-bottom:1px solid #deded9; }
.value-grid { display:grid; grid-template-columns:repeat(3,1fr); }
.value-grid > div { position:relative; padding:34px 34px 34px 78px; border-right:1px solid #deded9; }
.value-grid > div:last-child { border-right:0; }
.value-grid span { position:absolute; left:28px; top:35px; color:var(--red); font-family:var(--heading); font-size:1.35rem; }
.value-grid strong { display:block; font-size:1rem; }
.value-grid p { margin:2px 0 0; color:var(--grey-600); font-size:.85rem; }

.section-heading { display:grid; grid-template-columns:1fr .62fr; gap:80px; align-items:end; margin-bottom:56px; }
.section-heading.compact { grid-template-columns:1fr; }
.section-heading h2, .purpose-panel h2, .author-copy h2, .faq-heading h2 { font-size:clamp(3.2rem, 5vw, 5.2rem); }
.section-heading > p { margin:0 0 8px; color:var(--grey-600); }
.book-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.book-card { display:grid; grid-template-columns:230px 1fr; min-height:405px; background:#fff; border:1px solid #deded9; border-radius:var(--radius); overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
.book-card:hover { transform:translateY(-5px); box-shadow:0 20px 50px rgba(0,0,0,.1); }
.book-cover-wrap { position:relative; display:flex; align-items:flex-end; justify-content:center; background:linear-gradient(145deg,#171717,#2a2a2a); padding:38px 20px 0; overflow:hidden; }
.book-cover-wrap::before { content:""; position:absolute; width:170px; height:170px; background:rgba(201,21,30,.35); border-radius:50%; filter:blur(40px); top:65px; }
.book-cover-wrap img { position:relative; width:175px; box-shadow:0 20px 38px rgba(0,0,0,.45); transform:translateY(12px); }
.book-number { position:absolute; top:14px; left:16px; color:rgba(255,255,255,.4); font-family:var(--heading); font-size:1.3rem; }
.book-card-copy { padding:36px 30px 28px; }
.book-type { margin:0 0 10px; color:var(--red); text-transform:uppercase; letter-spacing:.16em; font-size:.7rem; font-weight:800; }
.book-card h3 { margin:0 0 16px; font-family:var(--heading); font-weight:400; line-height:.98; font-size:2.15rem; }
.book-card-copy > p:not(.book-type) { color:var(--grey-600); font-size:.91rem; }
.tag-list { display:flex; flex-wrap:wrap; gap:7px; list-style:none; padding:0; margin:22px 0; }
.tag-list li { padding:5px 9px; border-radius:99px; background:var(--grey-100); color:#555; font-size:.7rem; font-weight:700; }
.text-link { padding:0; border:0; background:none; color:var(--ink); font-weight:800; }
.text-link span { display:inline-block; color:var(--red); margin-left:4px; transition:transform .18s ease; }
.text-link:hover span { transform:translateX(4px); }

.purpose-section { color:#fff; background:var(--ink); }
.purpose-layout { display:grid; grid-template-columns:1.05fr .95fr; gap:74px; align-items:center; }
.purpose-panel > p:not(.eyebrow) { color:#c9c9c9; }
.purpose-panel .button { margin-top:16px; }
.purpose-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.purpose-card { min-height:230px; padding:27px; border:1px solid rgba(255,255,255,.12); border-radius:15px; background:#1b1b1b; }
.purpose-card:nth-child(2), .purpose-card:nth-child(3) { background:#232323; }
.icon-box { display:grid; place-items:center; width:44px; height:44px; margin-bottom:25px; border-radius:8px; background:var(--red); }
.icon-box svg { width:23px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.purpose-card h3 { margin:0 0 9px; font-size:1.05rem; }
.purpose-card p { margin:0; color:#bdbdbd; font-size:.85rem; }

.audience-section { background:var(--coral); }
.audience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.audience-card { min-height:260px; padding:28px; background:rgba(255,255,255,.7); border:1px solid rgba(17,17,17,.08); border-radius:14px; }
.audience-card span { color:var(--red); font-family:var(--heading); font-size:1.25rem; }
.audience-card h3 { margin:44px 0 12px; font-family:var(--heading); font-size:2rem; font-weight:400; line-height:1; }
.audience-card p { margin:0; color:#565650; font-size:.88rem; }

.author-section { background:#fff; }
.author-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:90px; align-items:center; }
.author-portrait { position:relative; }
.portrait-placeholder { display:grid; place-items:center; min-height:590px; text-align:center; color:#777; border-radius:20px; background:linear-gradient(145deg,#deded9,#f5f4f1); border:1px dashed #aaa; overflow:hidden; }
.portrait-placeholder::before { content:""; position:absolute; width:280px; height:280px; border-radius:50%; background:#c7c7c2; top:90px; }
.portrait-placeholder::after { content:""; position:absolute; width:420px; height:280px; border-radius:50% 50% 10px 10px; background:#c7c7c2; bottom:0; }
.portrait-placeholder span, .portrait-placeholder small { position:relative; z-index:2; }
.portrait-placeholder span { font-family:var(--heading); color:#555; font-size:2rem; line-height:1; }
.portrait-placeholder small { position:absolute; bottom:24px; }
.author-quote { position:absolute; right:-35px; bottom:32px; width:310px; padding:24px; color:#fff; background:var(--red); border-radius:12px; font-family:var(--heading); font-size:1.65rem; line-height:1.1; box-shadow:var(--shadow); }
.author-role { margin:12px 0 26px; color:var(--red); font-weight:800; }
.author-copy > p:not(.eyebrow):not(.author-role) { color:var(--grey-600); }
.author-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:34px 0 0; }
.author-facts div { border-top:3px solid var(--red); padding-top:12px; }
.author-facts dt { font-family:var(--heading); font-size:2.35rem; line-height:1; }
.author-facts dd { margin:6px 0 0; color:var(--grey-600); font-size:.73rem; line-height:1.4; }

.faq-section { background:var(--grey-100); }
.faq-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:90px; }
.faq-heading > p:last-child { color:var(--grey-600); }
.accordion details { border-top:1px solid #bbb; }
.accordion details:last-child { border-bottom:1px solid #bbb; }
.accordion summary { position:relative; padding:25px 52px 25px 0; list-style:none; font-weight:800; }
.accordion summary::-webkit-details-marker { display:none; }
.accordion summary::after { content:"+"; position:absolute; right:5px; top:17px; font-family:var(--heading); color:var(--red); font-size:2rem; }
.accordion details[open] summary::after { content:"−"; }
.accordion details p { margin:-8px 55px 25px 0; color:var(--grey-600); }

.contact-section { color:#fff; background:linear-gradient(120deg,#151515,#0a0a0a); padding:108px 0; }
.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; align-items:start; }
.contact-section h2 { font-size:clamp(3.4rem,5vw,5.6rem); }
.contact-copy > p:not(.eyebrow) { color:#c8c8c8; }
.contact-details { display:grid; gap:6px; margin-top:28px; color:#eee; font-weight:700; }
.contact-details a { color:#ff5a62; }
.contact-form { padding:32px; color:var(--ink); background:#fff; border-radius:18px; }
.form-row { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.contact-form label { display:grid; gap:7px; margin-bottom:16px; font-size:.78rem; font-weight:800; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; border:1px solid #cacac5; border-radius:6px; background:#fafaf8; padding:12px 13px; color:#111; }
.contact-form textarea { resize:vertical; }
.contact-form :focus { outline:3px solid rgba(201,21,30,.18); border-color:var(--red); }
.form-note { color:#777; font-size:.72rem; line-height:1.5; }
.form-status { min-height:20px; margin-bottom:0; color:var(--red-dark); font-weight:700; font-size:.82rem; }

.site-footer { color:#aaa; background:#050505; border-top:1px solid #242424; }
.footer-top { display:grid; grid-template-columns:220px 1fr auto; align-items:center; gap:38px; padding:44px 0; }
.footer-brand img { width:200px; }
.footer-top p { margin:0; font-size:.85rem; }
.footer-top nav { display:flex; gap:20px; }
.footer-top nav a, .footer-bottom a { color:#c6c6c6; text-decoration:none; font-size:.82rem; }
.footer-bottom { display:flex; justify-content:space-between; border-top:1px solid #222; padding:18px 0 24px; font-size:.72rem; }
.footer-bottom p { margin:0; }

.book-modal { width:min(920px,calc(100% - 32px)); max-height:90vh; padding:0; border:0; border-radius:18px; overflow:auto; box-shadow:0 35px 100px rgba(0,0,0,.4); }
.book-modal::backdrop { background:rgba(0,0,0,.72); backdrop-filter:blur(3px); }
.modal-close { position:absolute; top:12px; right:14px; z-index:3; width:40px; height:40px; border:0; border-radius:50%; background:#fff; font-size:1.55rem; }
.modal-layout { display:grid; grid-template-columns:330px 1fr; min-height:600px; }
.modal-cover { display:flex; align-items:center; justify-content:center; padding:55px 35px; background:#171717; }
.modal-cover img { width:240px; box-shadow:0 25px 50px rgba(0,0,0,.5); }
.modal-copy { padding:58px 48px; }
.modal-copy h2 { font-size:4.3rem; }
.modal-copy > p:not(.book-type) { color:var(--grey-600); }
.modal-copy h3 { margin-top:28px; font-size:1rem; }
.modal-copy ul { padding-left:19px; color:var(--grey-600); }
.modal-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns:1fr; gap:35px; }
  .hero { padding-top:145px; }
  .hero-copy { text-align:center; }
  .hero-copy .eyebrow, .hero-actions, .hero-points { justify-content:center; }
  .hero-lead { margin-inline:auto; }
  .book-stage { width:min(700px,100%); margin-inline:auto; }
  .book-card { grid-template-columns:190px 1fr; }
  .book-cover-wrap img { width:150px; }
  .purpose-layout, .author-layout, .contact-layout { gap:45px; }
  .audience-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 850px) {
  .menu-toggle { display:block; }
  .primary-nav { position:absolute; top:81px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; gap:0; padding:12px 20px 22px; background:#111; border-top:1px solid #333; }
  .primary-nav.open { display:flex; }
  .primary-nav a { padding:13px 0; }
  .nav-cta { text-align:center; padding:11px 18px !important; margin-top:8px; }
  .book-grid { grid-template-columns:1fr; }
  .purpose-layout, .author-layout, .faq-layout, .contact-layout { grid-template-columns:1fr; }
  .author-portrait { max-width:560px; }
  .author-quote { right:-12px; }
  .faq-layout { gap:38px; }
  .footer-top { grid-template-columns:1fr; gap:18px; }
  .footer-top nav { flex-wrap:wrap; }
}

@media (max-width: 650px) {
  .container { width:min(100% - 28px,var(--container)); }
  .section { padding:78px 0; }
  .brand img { width:170px; }
  .hero { min-height:auto; padding:128px 0 80px; }
  .hero h1 { font-size:4.15rem; }
  .hero-lead { font-size:1rem; }
  .book-stage { height:400px; margin-top:10px; overflow:hidden; }
  .stage-glow { width:330px; height:330px; }
  .hero-book { width:145px; }
  .hero-book-one { left:48%; }
  .hero-book-two { left:7%; top:22%; }
  .hero-book-three { right:7%; top:22%; }
  .hero-book-four { left:40%; top:20%; }
  .edition-badge { right:5px; bottom:0; }
  .value-grid { grid-template-columns:1fr; }
  .value-grid > div { border-right:0; border-bottom:1px solid #deded9; }
  .section-heading { grid-template-columns:1fr; gap:20px; margin-bottom:38px; }
  .section-heading h2, .purpose-panel h2, .author-copy h2, .faq-heading h2 { font-size:3.4rem; }
  .book-card { grid-template-columns:1fr; }
  .book-cover-wrap { min-height:350px; }
  .book-cover-wrap img { width:190px; }
  .purpose-cards { grid-template-columns:1fr; }
  .audience-grid { grid-template-columns:1fr; }
  .audience-card { min-height:210px; }
  .audience-card h3 { margin-top:28px; }
  .portrait-placeholder { min-height:450px; }
  .author-quote { position:relative; right:auto; bottom:auto; width:calc(100% - 32px); margin:-48px 16px 0; }
  .author-facts { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .contact-form { padding:24px 18px; }
  .footer-bottom { flex-direction:column; gap:8px; }
  .modal-layout { grid-template-columns:1fr; }
  .modal-cover { padding:42px 25px; }
  .modal-cover img { width:180px; }
  .modal-copy { padding:36px 24px; }
  .modal-copy h2 { font-size:3.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}


/* Updated official branding and two-author presentation */
.brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; }
.brand > img { width:52px; height:48px; object-fit:contain; flex:0 0 auto; }
.brand-copy { display:flex; flex-direction:column; line-height:1; }
.brand-copy strong { font-family:var(--heading); font-size:1.72rem; font-weight:400; letter-spacing:.055em; }
.brand-copy small { margin-top:4px; color:#d3d3d3; font-size:.55rem; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; }
.site-header.scrolled .brand-copy small { color:#c7c7c7; }

.authors-heading { align-items:start; }
.authors-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.author-card { display:grid; grid-template-columns:200px 1fr; background:#fff; border:1px solid #deded9; border-radius:var(--radius); overflow:hidden; box-shadow:0 18px 50px rgba(0,0,0,.07); }
.author-photo { position:relative; display:flex; align-items:center; justify-content:center; min-height:455px; overflow:hidden; color:#fff; background:linear-gradient(155deg,#171717,#353535); }
.author-photo::before { content:""; position:absolute; width:180px; height:180px; top:65px; border-radius:50%; background:rgba(255,255,255,.12); }
.author-photo::after { content:""; position:absolute; width:270px; height:225px; bottom:-20px; border-radius:50% 50% 8px 8px; background:rgba(255,255,255,.12); }
.author-photo-sarah { background:linear-gradient(155deg,#8f1118,#d11c26); }
.author-photo span { position:relative; z-index:2; font-family:var(--heading); font-size:5rem; line-height:1; letter-spacing:.03em; }
.author-photo small { position:absolute; z-index:3; left:18px; right:18px; bottom:18px; padding:8px 10px; border:1px solid rgba(255,255,255,.24); border-radius:5px; background:rgba(0,0,0,.24); text-align:center; font-size:.67rem; text-transform:uppercase; letter-spacing:.08em; }
.author-card-copy { padding:38px 32px; }
.author-card-copy h3 { margin:0; font-family:var(--heading); font-size:3.2rem; font-weight:400; line-height:.95; }
.author-card-copy p:not(.book-type):not(.author-role) { color:var(--grey-600); font-size:.9rem; }
.author-card-copy .author-role { margin:10px 0 22px; }
.author-mission { display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; margin-top:28px; padding:48px; border-radius:var(--radius); color:#fff; background:linear-gradient(120deg,#171717,#080808); }
.author-mission blockquote { margin:0 0 18px; font-family:var(--heading); font-size:clamp(2.5rem,4vw,4.1rem); line-height:.98; }
.author-mission > div > p:last-child { margin-bottom:0; color:#c6c6c6; }
.author-mission .author-facts { margin:0; }
.author-mission .author-facts div { border-color:var(--red); }
.author-mission .author-facts dd { color:#c8c8c8; }
.publisher-card { display:grid; grid-template-columns:280px 1fr; gap:52px; align-items:center; margin-top:28px; padding:34px 42px; background:#fff; border:1px solid #deded9; border-radius:var(--radius); }
.publisher-card img { width:240px; margin-inline:auto; }
.publisher-card h3 { margin:0 0 12px; font-family:var(--heading); font-size:2.7rem; font-weight:400; line-height:1; }
.publisher-card p { color:var(--grey-600); }
.publisher-card .credit-line { margin-bottom:0; color:var(--ink); font-size:.8rem; font-weight:800; }

.contact-label { color:#a9a9a9; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.13em; }
.contact-details .contact-email { font-size:clamp(1.05rem,2.1vw,1.55rem); overflow-wrap:anywhere; }
.response-note { max-width:520px; margin-top:26px; padding-left:16px; border-left:3px solid var(--red); color:#bdbdbd; font-size:.84rem; }
.accordion a { color:var(--red-dark); font-weight:800; }
.footer-brand.brand { width:auto; }
.footer-brand.brand img { width:50px; }
.footer-brand .brand-copy strong { color:#fff; }

@media (max-width: 1100px) {
  .author-card { grid-template-columns:165px 1fr; }
  .author-card-copy { padding:32px 25px; }
}
@media (max-width: 900px) {
  .authors-grid { grid-template-columns:1fr; }
  .author-card { grid-template-columns:210px 1fr; }
  .author-mission { grid-template-columns:1fr; gap:30px; }
  .publisher-card { grid-template-columns:210px 1fr; gap:30px; }
}
@media (max-width: 650px) {
  .brand-copy strong { font-size:1.45rem; }
  .brand-copy small { display:none; }
  .brand > img { width:45px; height:43px; }
  .author-card { grid-template-columns:1fr; }
  .author-photo { min-height:330px; }
  .author-photo::after { width:330px; }
  .author-mission { padding:30px 22px; }
  .author-mission .author-facts { grid-template-columns:1fr; }
  .publisher-card { grid-template-columns:1fr; padding:28px 22px; text-align:left; }
  .publisher-card img { width:190px; }
  .footer-brand .brand-copy small { display:block; }
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand-column {
  max-width: 680px;
}

.footer-brand-column > p {
  margin: 1rem 0 0;
  max-width: 620px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-end;
  padding-top: 0.75rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background-color: #c9151e;
  border-color: #c9151e;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
.author-photo-image {
  width: 100%;
  min-height: 360px;
  height: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.author-card:first-child .author-photo-image {
  object-position: center 22%;
}

.author-card:nth-child(2) .author-photo-image {
  object-position: center 32%;
}

@media (max-width: 800px) {
  .author-photo-image {
    min-height: 320px;
    max-height: 420px;
  }
}

/* Handbook recap tests */
.recap-section {
  background:
    radial-gradient(circle at top right, rgba(201, 21, 30, 0.11), transparent 34%),
    var(--paper);
  border-top: 1px solid #deded9;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.recap-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid #deded9;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.11);
}

.recap-qr-frame {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin-bottom: 22px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #d9d9d4;
  border-radius: 14px;
}

.recap-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recap-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.recap-card p {
  margin: 0 0 22px;
  color: var(--grey-600);
  font-size: 0.88rem;
}

.recap-card .button {
  width: 100%;
  margin-top: auto;
}

.recap-helper {
  margin: 24px 0 0;
  color: var(--grey-600);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1050px) {
  .recap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .recap-grid {
    grid-template-columns: 1fr;
  }

  .recap-card {
    align-items: center;
    text-align: center;
  }

  .recap-qr-frame {
    width: 185px;
    height: 185px;
  }
}
