/* ==========================================================
   Injustice — Marty Kulesza author site
   ========================================================== */
:root {
  --ink: #141414;
  --ink-2: #1e1e1e;
  --charcoal: #2a2a2a;
  --text: #3b3b3b;
  --muted: #777;
  --paper: #f4f3f0;
  --paper-2: #eae8e3;
  --white: #fff;
  --line: #dedbd4;
  --copper: #b07a5e;
  --copper-2: #d2a58a;
  --copper-dark: #8c5a41;
  --copper-grad: linear-gradient(180deg, #e7cbb8 0%, #b88468 55%, #8c5a41 100%);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Rye', 'Cormorant Garamond', serif;
  --radius: 6px;
  --shadow: 0 20px 50px rgba(0,0,0,.12);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
.lead { font-size: 1.2rem; color: var(--charcoal); }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.center .eyebrow::after { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.eyebrow-light { color: var(--copper-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-copper { background: var(--copper); color: var(--white); box-shadow: 0 10px 24px rgba(176,122,94,.3); }
.btn-copper:hover { background: var(--copper-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .78rem; }
.btn-block { width: 100%; }
.link-arrow { font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled, .site-header.open { background: rgba(20,20,20,.96); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--display); font-size: 1.65rem; letter-spacing: .04em; background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-family: var(--sans); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) {
  font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.82); position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--copper-2); transition: width .25s; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--white); }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: transform .3s, opacity .3s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: rgba(255,255,255,.82); padding-top: calc(var(--header-h) + 60px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 72% 45%, rgba(210,165,138,.18), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255,255,255,.05), transparent 70%),
    linear-gradient(160deg, #1b1b1b 0%, #0f0f0f 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-bottom: 90px; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 7.2rem); line-height: .95; letter-spacing: .02em; margin: 0 0 12px;
  background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
}
.hero-sub { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; color: var(--white); letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; margin-bottom: 26px; }
.hero-lead { font-size: 1.18rem; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-formats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 34px 0 0; font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-formats li::before { content: '◆'; color: var(--copper); margin-right: 9px; font-size: .6rem; vertical-align: 2px; }
.hero-book { display: flex; justify-content: center; }
.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.35); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; font-family: var(--sans); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.strip-inner i { width: 6px; height: 6px; background: var(--copper); transform: rotate(45deg); }

/* ---------- 3D Book ---------- */
.book3d { perspective: 1800px; width: min(380px, 78vw); }
.book3d-sm { width: min(320px, 72vw); margin: 0 auto 36px; }
.book3d-inner {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(4deg);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  animation: bookFloat 6s ease-in-out infinite;
}
.book3d:hover .book3d-inner { transform: rotateY(-8deg) rotateX(2deg); }
.book3d-front {
  position: relative; z-index: 2; width: 100%; border-radius: 2px 5px 5px 2px;
  box-shadow: inset 4px 0 10px rgba(0,0,0,.2), 30px 40px 60px rgba(0,0,0,.55);
}
.book3d-inner::before { /* hinge highlight */
  content: ''; position: absolute; z-index: 3; top: 0; bottom: 0; left: 3%; width: 2.5%;
  background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.25), rgba(0,0,0,.1));
  pointer-events: none;
}
.book3d-spine {
  position: absolute; top: 0; left: 0; height: 100%; width: 13%;
  background: #0d0d0d url('../images/injustice-spine.jpg') center/cover;
  transform-origin: left center; transform: rotateY(90deg) translateX(-100%) ;
  filter: brightness(.8);
}
.book3d-pages {
  position: absolute; top: 1.2%; right: 0; height: 97.6%; width: 12%;
  background: repeating-linear-gradient(90deg, #f7f5f0 0 2px, #dcd8cf 2px 3px);
  transform-origin: right center; transform: rotateY(90deg) translateX(50%) translateZ(-1px);
  translate: 0 0;
}
@keyframes bookFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.page-about-the-book .book3d-inner, .book3d-sm .book3d-inner { animation: none; }

/* ---------- Intro ---------- */
.section-intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.intro-year {
  font-family: var(--display); font-size: clamp(5rem, 13vw, 11rem); line-height: 1; text-align: center;
  background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}

/* ---------- Themes ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.theme-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px;
  position: relative; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.theme-card::before { content: ''; position: absolute; top: 0; left: 30px; right: 30px; height: 3px; background: var(--copper-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.theme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.theme-card:hover::before { transform: scaleX(1); }
.theme-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--copper-2); line-height: 1; display: block; margin-bottom: 14px; }
.theme-card p { font-size: .98rem; margin: 0; }

/* ---------- Quote ---------- */
.section-quote { background: var(--ink); color: rgba(255,255,255,.85); text-align: center; position: relative; overflow: hidden; }
.section-quote::before { content: '\201C'; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 26rem; line-height: 1; color: rgba(255,255,255,.03); }
.quote-scales { width: 60px; height: 60px; color: var(--copper-2); margin: 0 auto 26px; }
blockquote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.45; color: var(--white); position: relative; }
cite { font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-2); }

/* ---------- Buy ---------- */
.section-buy { background: var(--paper); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.format-card {
  background: var(--white); border-radius: var(--radius); padding: 44px 34px; text-align: center;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.format-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--copper-dark); }
.format-icon svg { width: 32px; height: 32px; }
.format-card h3 { font-size: 1.8rem; margin-bottom: 4px; }
.format-card p { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.store-buttons { display: grid; gap: 12px; }
.store-buttons .btn { width: 100%; padding: 13px 20px; font-size: .8rem; }

/* ---------- Author teaser ---------- */
.section-author-teaser { background: var(--white); }
.author-teaser { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.author-badge, .portrait-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius); position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #3a3a3a, #121212 70%);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.author-badge::after, .portrait-placeholder::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(210,165,138,.4); border-radius: 3px; }
.author-badge span, .portrait-placeholder span { font-family: var(--display); font-size: 6rem; background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CTA ---------- */
.section-cta { background: linear-gradient(135deg, #8c5a41, #b07a5e 60%, #c79478); color: rgba(255,255,255,.92); text-align: center; padding: 80px 0; }
.section-cta h2 { color: var(--white); }
.cta-inner { max-width: 720px; }
.section-cta .btn-copper { background: var(--ink); box-shadow: none; }
.section-cta .btn-copper:hover { background: var(--charcoal); }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, #1b1b1b, #0f0f0f); position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 80px; text-align: center; color: rgba(255,255,255,.75);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(210,165,138,.18), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.page-hero p { font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; margin: 0; }
.page-hero .eyebrow::after { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }

/* ---------- Book detail ---------- */
.book-detail { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.book-detail-cover { position: sticky; top: calc(var(--header-h) + 30px); }
.book-meta { margin: 0 0 26px; border-top: 1px solid var(--line); }
.book-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.book-meta dt { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.book-meta dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.book-detail-copy h3 { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.pull { font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--ink); border-left: 3px solid var(--copper); padding: 4px 0 4px 24px; margin: 30px 0; line-height: 1.35; }

/* ---------- Timeline ---------- */
.section-timeline { background: var(--white); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 50px 160px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 104px; top: 12px; width: 13px; height: 13px; background: var(--copper); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--white); }
.tl-year { position: absolute; left: 0; top: 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--copper-dark); line-height: 1.2; }
.timeline p { margin: 0; }

/* ---------- Author page ---------- */
.author-detail { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.author-portrait img { border-radius: var(--radius); box-shadow: var(--shadow); }
.section-milestones { background: var(--ink); padding: 80px 0; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.milestone { background: var(--ink); padding: 40px 28px; text-align: center; }
.ms-year { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--copper-2); line-height: 1; margin-bottom: 16px; min-height: 42px; }
.ms-icon svg { width: 42px; height: 42px; margin: 0 auto; }
.milestone h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 6px; }
.milestone p { color: rgba(255,255,255,.6); font-size: .92rem; margin: 0; }
.author-book { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 50px; box-shadow: var(--shadow); }
.author-book img { box-shadow: 18px 22px 40px rgba(0,0,0,.3); border-radius: 2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { flex: 0 0 48px; width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--white); color: var(--copper-dark); border: 1px solid var(--line); }
.contact-list strong { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.contact-list a, .contact-list span { font-size: .98rem; word-break: break-word; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 46px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label > span { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--copper); background: var(--white); box-shadow: 0 0 0 3px rgba(176,122,94,.15); }
.contact-form .btn { justify-self: start; }
.err { color: #a33; font-family: var(--sans); font-size: .82rem; display: block; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-family: var(--sans); font-size: .95rem; }
.alert-success { background: #eef6ee; color: #2c5e2e; border: 1px solid #cfe4cf; }
.alert-error { background: #fbeeee; color: #8a2a2a; border: 1px solid #efcfcf; }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0e; color: rgba(255,255,255,.6); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin-top: 20px; max-width: 320px; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.7); word-break: break-word; }
.site-footer a:hover { color: var(--copper-2); }
.site-footer .muted { color: rgba(255,255,255,.4); font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 24px; font-family: var(--sans); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .book3d-inner { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .theme-grid, .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .book-detail { grid-template-columns: 320px 1fr; gap: 50px; }
  .author-detail { grid-template-columns: 340px 1fr; gap: 50px; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(20,20,20,.98); padding: 10px 24px 26px; border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s;
  }
  .site-header.open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .95rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; padding: 14px; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; padding-bottom: 70px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-formats { justify-content: center; }
  .intro-grid, .author-teaser, .book-detail, .author-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-grid { text-align: center; }
  .author-teaser .author-badge, .author-portrait { max-width: 340px; width: 100%; margin: 0 auto; }
  .book-detail-cover { position: static; max-width: 420px; width: 100%; margin: 0 auto; }
  .format-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .author-book { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; gap: 36px; }
  .author-book img { max-width: 220px; margin: 0 auto; }
  .author-book .hero-actions { justify-content: center; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .theme-grid, .milestone-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .strip-inner { gap: 10px 16px; font-size: .66rem; letter-spacing: .16em; }
  .strip-inner i { display: none; }
  .timeline::before { left: 6px; }
  .timeline li { padding: 0 0 40px 36px; }
  .timeline li::before { left: 0; top: 10px; }
  .tl-year { position: static; display: block; margin-bottom: 4px; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form .btn { justify-self: stretch; }
  .pull { font-size: 1.4rem; }
  .book3d-inner { transform: rotateY(-16deg) rotateX(3deg); }
  .hero .book3d { width: min(290px, 70vw); }
  .hero-grid { padding-bottom: 80px; }
}

/* ---------- Author photo ---------- */
.portrait-frame { position: relative; margin: 0 auto; max-width: 360px; width: 100%; }
.portrait-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--copper); border-radius: var(--radius); z-index: 0; }
.portrait-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Extra quotes ---------- */
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; position: relative; }
.quote-card { margin: 0; padding: 36px 34px; border: 1px solid rgba(255,255,255,.1); border-top: 2px solid var(--copper); border-radius: var(--radius); background: rgba(255,255,255,.03); text-align: left; }
.quote-card blockquote { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 16px; }
@media (max-width: 760px) {
  .quote-pair { grid-template-columns: 1fr; margin-top: 44px; }
  .quote-card { padding: 28px 22px; }
  .portrait-frame { max-width: 300px; }
}
