:root {
    --ink: #18201d;
    --paper: #f3f0e9;
    --cream: #e9e2d5;
    --moss: #73806e;
    --rust: #a34d36;
    --line: rgba(24, 32, 29, .18);
    --serif: "Libre Caslon Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.sr-only, .skip-link:not(:focus) { 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:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: .8rem 1rem; background: #fff; color: #000; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 78px; padding: 16px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled { color: var(--ink); background: rgba(243,240,233,.93); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand span { font-family: var(--serif); font-size: 1.4rem; }
.brand small { margin-top: 6px; font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.site-nav { display: flex; gap: clamp(18px, 2.5vw, 40px); align-items: center; }
.site-nav a { text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a::after { content: ""; display: block; width: 0; height: 1px; margin-top: 4px; background: currentColor; transition: width .25s; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px clamp(24px, 8vw, 130px) clamp(54px, 8vw, 110px); color: #fff; overflow: hidden; background: #26312d; }
.hero-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,14,.84) 0%, rgba(11,16,14,.48) 46%, rgba(11,16,14,.12) 76%), url("assets/images/home_1920x1379.jpg") center 34% / cover; transform: scale(1.02); }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,12,.4), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(790px, 100%); }
.eyebrow { margin: 0 0 18px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(5rem, 12vw, 10.5rem); line-height: .77; font-weight: 400; letter-spacing: -.05em; }
.hero blockquote { max-width: 590px; margin: 38px 0 38px 5px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.5); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.35; }
.circle-link { width: 92px; height: 92px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; text-decoration: none; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; transition: color .25s, background .25s, transform .25s; }
.circle-link:hover { color: var(--ink); background: #fff; transform: translateY(-4px); }
.circle-link span { font-size: 1rem; }
.hero-index { position: absolute; z-index: 1; right: clamp(24px, 4vw, 64px); bottom: clamp(28px, 4vw, 58px); margin: 0; font-size: .7rem; letter-spacing: .2em; }

.section { padding: clamp(90px, 12vw, 180px) clamp(22px, 8vw, 130px); }
.section-intro { display: grid; grid-template-columns: 1fr 2fr; align-items: end; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.section-intro .eyebrow { align-self: start; margin-top: 15px; }
.section-intro h2, .gallery-heading h2, .contact h2, .publisher h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 7rem); line-height: .96; font-weight: 400; letter-spacing: -.035em; }

.about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 130px); padding: clamp(50px, 8vw, 100px) 0; }
.lead { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.25; }
.about-copy { max-width: 610px; font-size: 1.05rem; }
.about-copy p:first-child { margin-top: 0; }
.image-band { height: min(68vw, 760px); margin-inline: clamp(-130px, -8vw, -22px); background: linear-gradient(90deg, rgba(18,26,22,.15), transparent), url("assets/images/home_1920x1200.jpg") center 35% / cover; }

.books { background: #fbfaf6; }
.book { display: grid; grid-template-columns: minmax(280px, .85fr) 1.2fr; gap: clamp(50px, 10vw, 150px); align-items: center; padding: clamp(80px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); }
.book.reverse { grid-template-columns: 1.2fr minmax(280px, .85fr); }
.book.reverse .book-cover-wrap { grid-column: 2; }
.book.reverse .book-copy { grid-column: 1; grid-row: 1; }
.book-cover-wrap { position: relative; min-height: 620px; display: grid; place-items: center; background: var(--cream); }
.book-cover-wrap img { max-height: 465px; width: auto; filter: drop-shadow(0 25px 24px rgba(26,24,20,.18)); transition: transform .45s ease; }
.book:hover .book-cover-wrap img { transform: translateY(-8px) rotate(-1deg); }
.book-number { position: absolute; top: 25px; left: 30px; font-size: .68rem; letter-spacing: .2em; }
.book-kicker { color: var(--rust); font-size: .68rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.book-copy h3, .book-card h3 { margin: 8px 0 28px; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
.book-copy h3 { font-size: clamp(2.7rem, 5vw, 5.7rem); }
.book-copy h3 em { display: block; margin-top: 10px; font-size: .55em; font-style: italic; }
.book-copy p { max-width: 660px; }
.book-question { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }

.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 100px 0 0; background: var(--line); border: 1px solid var(--line); }
.book-card { --card-pad: clamp(28px, 5vw, 70px); display: flex; flex-direction: column; padding: var(--card-pad); background: #fbfaf6; }
.book-card-image { height: 440px; display: grid; place-items: center; margin: calc(0px - var(--card-pad)) calc(0px - var(--card-pad)) 42px; background: #eae4d8; overflow: hidden; }
.book-card:nth-child(3n+2) .book-card-image { background: #dfe4dd; }
.book-card:nth-child(3n) .book-card-image { background: #e6ded7; }
.book-card-image img { max-height: 330px; width: auto; filter: drop-shadow(0 20px 18px rgba(20,20,20,.18)); transition: transform .4s; }
.book-card:hover .book-card-image img { transform: scale(1.035); }
.book-card h3 { font-size: clamp(2rem, 3vw, 3rem); }
.book-card > .text-link, .book-card > .status { margin-top: auto; align-self: flex-start; }
.book-card details { margin: 10px 0 22px; }
.book-card summary { width: max-content; cursor: pointer; font-weight: 600; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.book-card details div { padding-top: 10px; }
.status { padding: 8px 13px; border: 1px solid var(--rust); color: var(--rust); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.publisher { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; align-items: center; padding: clamp(80px, 10vw, 145px) clamp(22px, 8vw, 130px); color: #fff; background: var(--ink); }
.publisher > div { max-width: 780px; }
.publisher p:not(.eyebrow) { max-width: 630px; font-size: 1.1rem; }
.publisher img { width: min(250px, 100%); margin: auto; filter: brightness(0) invert(1); }
.text-link.light { color: #fff; }

.voices { background: var(--cream); }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); }
.quotes blockquote { min-height: 290px; margin: 0; padding: clamp(35px, 5vw, 70px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quotes blockquote:nth-child(even) { border-right: 0; }
.quotes p { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 3.1rem); line-height: 1.15; }
.quotes cite { display: block; margin-top: 35px; font-size: .7rem; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 70px; }
.press-card { min-width: 0; display: block; color: inherit; background: #fff; text-decoration: none; box-shadow: 0 1px 0 rgba(20,25,22,.07); transition: transform .28s, box-shadow .28s; overflow: hidden; }
.press-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23,27,24,.12); }
.press-card > img, .press-card video { width: 100%; height: 250px; object-fit: cover; background: #ddd7ca; }
.press-card > div { padding: 25px; }
.press-card span { color: var(--rust); font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.press-card h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.25; }
.press-video { grid-column: span 2; }
.press-video video { height: 420px; }
.press-download { margin-top: 85px; padding: 45px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.button { padding: 16px 24px; border: 1px solid var(--ink); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: color .2s, background .2s; }
.button:hover { color: #fff; background: var(--ink); }

.contact { padding: clamp(100px, 14vw, 210px) clamp(22px, 8vw, 130px); color: #fff; background: var(--rust); }
.contact-inner { max-width: 1300px; margin: auto; }
.contact h2 { max-width: 1000px; font-size: clamp(4rem, 10vw, 10rem); }
.contact-mail { display: flex; justify-content: space-between; align-items: center; margin-top: 80px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 3.8rem); text-decoration: none; }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: rgba(255,255,255,.32); }
.contact-links a { display: flex; flex-direction: column; padding: 25px; background: var(--rust); text-decoration: none; }
.contact-links span { margin-bottom: 7px; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }

.gallery-section { padding-top: clamp(90px, 12vw, 180px); background: #101513; color: #fff; }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding: 0 clamp(22px, 8vw, 130px) clamp(70px, 9vw, 120px); }
.gallery-heading > div { max-width: 930px; }
.gallery-heading > p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.35rem; }
.gallery { columns: 4 260px; column-gap: 5px; }
.gallery-item { position: relative; display: block; margin: 0 0 5px; break-inside: avoid; overflow: hidden; background: #222a27; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; min-height: 160px; transition: transform .55s, filter .55s; }
.gallery-item::after { content: "+"; position: absolute; right: 14px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.75); }
.gallery-item:hover::after { opacity: 1; transform: none; }
.gallery-loader { min-height: 100px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; }
.gallery-loader span { width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.gallery-loader.done { visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; padding: 45px clamp(22px, 5vw, 80px); color: #fff; background: #101513; border-top: 1px solid rgba(255,255,255,.14); }
.footer p { margin: 0; font-size: .67rem; letter-spacing: .08em; text-align: center; }
.footer > a:last-child { justify-self: end; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; color: #fff; background: rgba(8,11,10,.96); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox::backdrop { background: rgba(8,11,10,.96); }
.lightbox figure { width: 100%; height: 100%; margin: 0; padding: 55px 0 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox figcaption { min-height: 25px; margin-top: 10px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.lightbox-close { position: absolute; top: 14px; right: 22px; z-index: 2; font-size: 2.5rem; font-weight: 200; }
.lightbox-nav { height: 100%; font-size: 1.8rem; }

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

@media (max-width: 1000px) {
    .press-grid { grid-template-columns: repeat(2, 1fr); }
    .book-cover-wrap { min-height: 520px; }
    .book-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 68px; }
    .site-header { min-height: 68px; padding: 12px 20px; }
    .menu-toggle { display: block; position: relative; z-index: 2; }
    .site-nav { position: fixed; inset: 0; padding: 105px 28px 50px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; color: #fff; background: var(--ink); transform: translateX(100%); transition: transform .35s ease; }
    .site-nav a { font-family: var(--serif); font-size: 2.7rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
    .menu-open .site-nav { transform: none; }
    .menu-open .menu-toggle { color: #fff; }
    .menu-open .menu-toggle > span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-open .menu-toggle > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
    .hero { min-height: 820px; padding: 130px 24px 58px; }
    .hero h1 { font-size: clamp(4.5rem, 25vw, 7rem); }
    .hero blockquote { margin-top: 30px; font-size: 1.25rem; }
    .circle-link { width: 78px; height: 78px; }
    .hero-index { display: none; }
    .section-intro { grid-template-columns: 1fr; gap: 5px; }
    .section-intro h2 { font-size: 3.4rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about .image-band { height: 90vw; background-position: 60% 35%; }
    .book, .book.reverse { grid-template-columns: 1fr; gap: 45px; padding: 70px 0; }
    .book.reverse .book-cover-wrap, .book.reverse .book-copy { grid-column: auto; grid-row: auto; }
    .book-cover-wrap { min-height: 480px; }
    .book-cover-wrap img { max-height: 360px; }
    .book-grid { grid-template-columns: 1fr; margin-top: 65px; }
    .book-card-image { height: 390px; }
    .publisher { grid-template-columns: 1fr; }
    .publisher img { width: 160px; margin: 10px 0 0; }
    .quotes { grid-template-columns: 1fr; }
    .quotes blockquote { min-height: 0; border-right: 0; }
    .press-grid { grid-template-columns: 1fr; }
    .press-video { grid-column: auto; }
    .press-video video { height: 270px; }
    .press-download { align-items: flex-start; flex-direction: column; }
    .contact-links { grid-template-columns: 1fr; }
    .gallery-heading { align-items: flex-start; flex-direction: column; }
    .gallery { columns: 2 150px; }
    .footer { grid-template-columns: 1fr; text-align: left; }
    .footer p { text-align: left; }
    .footer > a:last-child { justify-self: start; }
    .lightbox[open] { grid-template-columns: 50px 1fr 50px; }
}

@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; }
}
