:root {
  --ink: #2a2a2a;
  --text: #4a4a4a;
  --muted: #7a7671;
  --line: #dcd7cf;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --charcoal: #343434;
  --copper: #b8642b;
  --copper-dark: #94491a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }  /* avoids one-word last lines in browsers that support it */
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: #fff; padding: .5rem 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 250px; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--copper-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--copper); }
.nav-toggle { display: none; }

/* Buttons and links */
.button { display: inline-block; background: var(--charcoal); color: #fff; text-decoration: none; border: 1px solid var(--charcoal); padding: 13px 26px; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.button:hover, .button:focus-visible { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title::after { content: ""; display: block; width: 56px; height: 2px; background: var(--copper); margin: 18px auto 0; }
.hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: -20px; margin-bottom: 30px; }

/* Home */
/* Slideshow frame: 15:11 sits halfway between the 5:4 historic and 3:2 color photos, so no photo loses more than about 9%. */
.slideshow-band { background: var(--cream); padding: 32px 0 0; }
.slideshow { position: relative; aspect-ratio: 15 / 11; width: min(100%, 80vh * 15 / 11); margin: 0 auto; overflow: hidden; background: #1e1e1e; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 3.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-word { position: absolute; max-width: 72%; padding: .45em .7em; color: #fff; font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.5rem, 4.2vw, 3.6rem); line-height: 1.1; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 24px rgba(0,0,0,.65);
  background: radial-gradient(closest-side, rgba(0,0,0,.42), rgba(0,0,0,0)); opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .35s ease; }
/* The outgoing line vanishes quickly; the incoming one waits a moment, then rises in, so two lines never overlap. */
/* site.js adds .text-in 2 seconds after a photo appears; the words then fade and rise in slowly. */
.slide.is-active.text-in .slide-word { opacity: 1; transform: none; transition: opacity 2.5s ease, transform 3.5s ease; }
.slide-word.pos-tl { top: 5%; left: 4%; text-align: left; }
.slide-word.pos-tr { top: 5%; right: 4%; text-align: right; }
.slide-word.pos-bl { bottom: 6%; left: 4%; text-align: left; }
.slide-word.pos-br { bottom: 6%; right: 4%; text-align: right; }
.slideshow { container-type: inline-size; }
.slide-word.pos-bc { bottom: 6%; left: 50%; text-align: center; translate: -50% 0; white-space: nowrap; max-width: none; padding: 0; font-size: 6.6cqw; letter-spacing: .05em; background: none; }
.slide:has(.pos-bc)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,0) 48%); pointer-events: none; }
.slide-word { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .slide-word { transform: none; transition: opacity 1s ease; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { background: linear-gradient(180deg, var(--cream), #fff); padding: 70px 0 50px; overflow: hidden; }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); margin-bottom: .3em; }
.hero h1 em { color: var(--copper); }
.hero-sub { font-size: 1.25rem; max-width: 34em; margin: 0 auto 36px; }
.hero-measure { display: table; margin: 0 auto; }
.hero-measure .hero-art { display: table-caption; caption-side: bottom; }
.hero-measure .hero-sub { width: 0; min-width: 100%; }  /* never widens the measure */
.hero-art img { width: 100%; height: auto; }
.hero .actions { justify-content: center; margin-top: 34px; }
.intro { padding: 60px 0 30px; text-align: center; }
.intro p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--ink); }
.services { padding: 60px 0; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.service { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.service:hover { box-shadow: 0 14px 34px rgba(0,0,0,.09); transform: translateY(-3px); }
.service-img { aspect-ratio: 4 / 3; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.service h3 { padding: 22px 22px 0; }
.service p { padding: 0 22px; font-size: .95rem; flex: 1; }
.service .more { padding: 0 22px 22px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); }
.band { background: var(--charcoal); color: #e9e5de; padding: 64px 0; text-align: center; }
.band p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; margin: 0; }
.band .eyebrow { font-family: var(--sans); font-size: .82rem; line-height: 1; color: #e9a877; margin-bottom: 18px; }
.band-light { background: var(--cream); }

/* Featured book (home) */
.featured-book { background: #efece6; padding: 90px 0; }
.featured-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.featured-art img { margin: auto; max-height: 640px; width: auto; filter: drop-shadow(0 26px 34px rgba(0,0,0,.28)); transition: transform .3s; }
.featured-art a:hover img { transform: translateY(-6px); }
.featured-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; margin-bottom: 18px; }
.featured-client { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin-bottom: 18px; }
.featured-credits { list-style: none; padding: 16px 0; margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.featured-credits li { padding: 3px 0; }

/* Interior page heads */
.page-head { background: var(--cream); padding: 64px 0 52px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head .lede { max-width: 760px; margin: 18px auto 0; font-size: 1.12rem; }
.page-head .actions { justify-content: center; }

/* Books: prestige numbers and rankings (from the Legendary Prestige one-pager) */
.stats { padding: 44px 0 8px; }
.stats-inner { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; padding: 26px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: #3f5a3a; margin: 0 0 10px; font-variant-numeric: lining-nums; }
.stat-num small { font-size: .5em; color: var(--muted); }
.stat-label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; line-height: 1.8; text-transform: uppercase; color: var(--muted); margin: 0 auto; max-width: 40em; }
.rankings { padding: 20px 0 60px; }
.ranking-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li { display: grid; grid-template-columns: 2.2em 1fr 2.4em 1.2em; align-items: baseline; gap: 8px; padding: 7px 10px; border-bottom: 1px dotted var(--line); color: var(--muted); }
.ranking li.ours { background: #f3ece2; color: var(--ink); font-weight: 600; }
.ranking .rank { font-family: var(--serif); font-size: 1.15rem; text-align: right; color: var(--muted); font-variant-numeric: lining-nums; }
.ranking li.ours .rank { color: var(--copper); }
.ranking .club a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--copper); }
.ranking .club a:hover { color: var(--copper-dark); }
.ranking .state { font-size: .72rem; letter-spacing: .12em; }
.ranking .flag { width: 11px; height: 13px; color: #3f5a3a; }
.ranking sup { font-size: .7em; color: var(--copper); }
.ranking-subhead { text-align: center; font-size: 1.4rem; margin: 44px 0 18px; }
.ranking-notes { text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 22px; }

/* Covers, galleries, lists */
.shelf { padding: 64px 0; }
.cover-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 28px; }
.cover { text-decoration: none; color: var(--ink); text-align: center; }
.cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); transition: transform .25s; }
.cover:hover img { transform: translateY(-5px); }
.cover span { display: block; margin-top: 16px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery.spreads { grid-template-columns: repeat(3, 1fr); }
.tile { appearance: none; border: 0; background: transparent; padding: 0; cursor: zoom-in; text-align: left; font: inherit; color: var(--text); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f1eee8; padding: 10px; transition: box-shadow .25s; }
.spreads .tile img { aspect-ratio: 3 / 2; padding: 0; object-fit: cover; }
.tile:hover img { box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.tile span { display: block; margin-top: 10px; font-size: .88rem; }
.spreads .tile span { display: none; }
.band-light { padding: 64px 0; }
.titles { padding: 64px 0; }
.title-columns { columns: 2; column-gap: 56px; }
.title-columns.two { columns: 2; }
.title-list { break-inside: avoid; margin-bottom: 34px; }
.title-list h3 { font-size: 1.45rem; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.title-list ul { list-style: none; margin: 0; padding: 0; }
.title-list li { padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: .97rem; }
.title-list h3 .count { color: var(--copper); font-size: .85em; font-variant-numeric: lining-nums; }
.title-list .note { color: var(--muted); font-style: italic; font-size: .88rem; white-space: nowrap; }

/* Collateral grouped by event */
.event-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 auto 40px; max-width: 980px; }
.event-index a { border: 1px solid var(--line); padding: 7px 14px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.event-index a:hover, .event-index a:focus-visible { border-color: var(--copper); color: var(--copper-dark); }
.event-group { padding-top: 34px; margin-bottom: 30px; scroll-margin-top: 90px; }
.event-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 24px; }
.event-group .gallery { grid-template-columns: repeat(3, 1fr); }

/* Detail pages */
.award { font-family: var(--serif); font-style: italic; color: var(--copper-dark); }
p.award { font-size: 1.3rem; line-height: 1.4; margin: -6px 0 0; }
.title-list .award { font-size: 1.02rem; }
.detail { padding: 70px 0; }
.detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-art img { margin: auto; max-height: 640px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.2)); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 26px 0 30px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }

/* About */
.split { padding: 64px 0; }
.split-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.prose p:first-child { font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--ink); }
.leaders { padding: 30px 0 70px; }
.bio { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.bio h3 { margin-bottom: 6px; }
.bio .role { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }

/* Media */
.media-block { padding: 64px 0; }
.media-block .narrow { margin-bottom: 40px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.video-card h3 { margin: 16px 0 2px; }
.video-card p { color: var(--muted); font-size: .95rem; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.newsletter-card { text-decoration: none; color: var(--ink); text-align: center; }
.newsletter-card img { box-shadow: 0 10px 28px rgba(0,0,0,.12); transition: transform .25s; }
.newsletter-card:hover img { transform: translateY(-4px); }
.newsletter-card span { display: inline-block; margin-top: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); }

.feature-photo { margin: 0 0 40px; }
.feature-photo img { width: 100%; box-shadow: 0 14px 34px rgba(0,0,0,.14); }

/* Contact */
.contact { padding: 64px 0 80px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-copy { font-size: 1.1rem; }
.phone { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); text-decoration: none; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.contact-form .button { justify-self: start; }
.form-status { min-height: 1.5em; margin: 0; }

/* Call to action */
.cta { background: var(--cream); border-top: 1px solid var(--line); padding: 70px 0; text-align: center; }
.cta p { max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #c9c4bc; font-size: .92rem; padding: 50px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #e9a877; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr auto; gap: 40px; align-items: start; }
.footer-brand { display: flex; gap: 18px; }
.footer-brand img { width: 46px; filter: brightness(1.6); }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 16px 64px; }
.footer-nav a, .footer-brand strong, .footer-phone { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-stretch: 125%; font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.footer-brand strong { display: inline-block; color: #fff; margin-bottom: 6px; }
.footer-phone { display: inline-block; margin-top: 6px; }
.social { display: flex; gap: 12px; }
.social img { width: 26px; height: 26px; object-fit: contain; }
.copyright { border-top: 1px solid #4a4a4a; margin-top: 36px; padding-top: 20px; font-size: .8rem; color: #9a958e; }

/* Book viewer (Issuu flipbook shown on our own page) */
.open-book { appearance: none; border: 0; background: transparent; padding: 0; cursor: zoom-in; display: block; margin: auto; }
.open-book img { transition: transform .25s; }
.open-book:hover img, .open-book:focus-visible img { transform: translateY(-5px); }
.cover-hint { text-align: center; margin: 22px 0 0; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); }
.reader { border: 0; padding: 0; width: 96vw; height: 92vh; max-width: 1500px; max-height: none; background: #1e1e1e; overflow: hidden; }
.reader::backdrop { background: rgba(0,0,0,.85); }
.reader iframe { display: block; width: 100%; height: 100%; border: 0; }
.reader button { position: absolute; right: 12px; top: 6px; z-index: 1; border: 0; background: rgba(0,0,0,.55); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }

/* Lightbox */
.lightbox { border: 0; background: #1e1e1e; padding: 46px 20px 20px; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox img { max-width: 88vw; max-height: 80vh; margin: auto; }
.lightbox p { color: #ddd; text-align: center; margin: 12px 0 0; font-size: .9rem; }
.lightbox button { position: absolute; right: 10px; top: 4px; border: 0; background: transparent; color: #fff; font-size: 34px; cursor: pointer; }

/* Tablet */
@media (max-width: 1080px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 210px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 14px; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 20px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--copper-dark); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cover-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery.spreads { grid-template-columns: repeat(2, 1fr); }
  .event-group .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 30px; }
  .slideshow-band { padding-top: 16px; }
  .hero-inner, .detail-inner, .split-inner, .contact-inner, .featured-inner { grid-template-columns: 1fr; gap: 30px; }
  .featured-book { padding: 50px 0; }
  .featured-art img { max-height: 440px; }
  .service-grid, .video-grid, .newsletter-grid { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .gallery, .gallery.spreads { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .title-columns, .title-columns.two { columns: 1; }
  .stats-inner { grid-auto-flow: row; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .ranking-columns { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; gap: 6px; }
  .detail { padding: 40px 0; }
  .detail-art img { max-height: 420px; }
  .page-head { padding: 44px 0 36px; }
  .shelf, .titles, .split, .media-block, .band-light, .cta, .services { padding: 44px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
