:root {
  --ink: #0a1724;
  --ink-soft: #314150;
  --night: #06111e;
  --night-raised: #0b1d2d;
  --paper: #f4f3ef;
  --white: #fff;
  --copper: #c79355;
  --copper-bright: #e0ae70;
  --teal: #4b8b8d;
  --line: rgba(10, 23, 36, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --page: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; }
.page-width { width: var(--page); margin-inline: auto; }
.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: 100;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 4px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(6, 17, 30, .94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(224, 174, 112, .8);
  border-radius: 50%;
  color: var(--copper-bright);
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .06em;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: .035em;
}
.primary-nav { display: flex; gap: 34px; }
.primary-nav a {
  position: relative;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--copper-bright);
  transition: right .2s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: min(900px, 100svh);
  color: var(--white);
  background: var(--night);
  overflow: hidden;
}
.hero-image,
.hero-shade { position: absolute; inset: 0; }
.hero-image {
  background-image: url('assets/brondic-gales-hero.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
  animation: settle 1.5s ease-out forwards;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 22, .97) 0%, rgba(4, 12, 22, .75) 37%, rgba(4, 12, 22, .1) 72%),
    linear-gradient(0deg, rgba(4, 12, 22, .65), transparent 45%);
}
@keyframes settle { to { transform: scale(1); } }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 72px;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--copper-bright);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #8f6330; }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .91;
}
.hero-intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .8);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.button-primary { background: var(--copper-bright); color: var(--night); }
.button-primary:hover,
.button-primary:focus-visible { background: #efc18a; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-underline-offset: 5px;
  font-size: .9rem;
  font-weight: 600;
}
.text-link span { color: var(--copper-bright); }
.text-link.light { color: rgba(255, 255, 255, .85); }
.hero-index {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .62);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-index i { width: 72px; height: 1px; background: rgba(255, 255, 255, .35); }

.manifesto {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
  padding-block: 120px 130px;
}
.section-number { margin: 6px 0; color: #8f6330; font: 1rem/1 var(--serif); }
.manifesto-text {
  max-width: 940px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  letter-spacing: -.025em;
  line-height: 1.16;
}
.manifesto-text em { color: #6f4a24; font-weight: 400; }

.books-section {
  padding-block: 115px 130px;
  background: #e8e8e3;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}
.section-heading h2,
.forthcoming h2,
.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}
.section-heading > p { max-width: 440px; margin: 0 0 6px; color: var(--ink-soft); }
.book-gallery { display: grid; gap: 30px; }
.book-showcase {
  --surface: #f3eef5;
  --card-ink: #221927;
  --card-muted: rgba(34, 25, 39, .7);
  --card-soft: rgba(34, 25, 39, .5);
  --card-line: rgba(34, 25, 39, .17);
  --accent: #77517f;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) 1.28fr;
  min-height: 590px;
  overflow: hidden;
  color: var(--card-ink);
  background: var(--surface);
  border-top: 4px solid var(--accent);
  box-shadow: 0 14px 35px rgba(10, 23, 36, .07);
}
.book-showcase.time-strata {
  --surface: #e8f1f3;
  --card-ink: #102c38;
  --card-muted: rgba(16, 44, 56, .7);
  --card-soft: rgba(16, 44, 56, .5);
  --card-line: rgba(16, 44, 56, .17);
  --accent: #326d77;
}
.book-showcase.chronostasis {
  --surface: #edf3f8;
  --card-ink: #172b41;
  --card-muted: rgba(23, 43, 65, .7);
  --card-soft: rgba(23, 43, 65, .5);
  --card-line: rgba(23, 43, 65, .17);
  --accent: #4d7298;
}
.book-showcase.baked-alaska {
  --surface: #f3eee7;
  --card-ink: #35251d;
  --card-muted: rgba(53, 37, 29, .7);
  --card-soft: rgba(53, 37, 29, .5);
  --card-line: rgba(53, 37, 29, .17);
  --accent: #985f3f;
}
.book-showcase:nth-child(even) .cover-stage { order: 2; }
.cover-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  margin: 0;
  padding: 50px;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 54%),
    linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .14));
  border-right: 1px solid var(--card-line);
}
.book-showcase:nth-child(even) .cover-stage { border-right: 0; border-left: 1px solid var(--card-line); }
.cover-stage > img {
  display: block;
  width: min(100%, 285px);
  height: auto;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .4), 0 3px 8px rgba(0, 0, 0, .3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.book-showcase:hover .cover-stage > img:not(.cover-secondary) {
  transform: translateY(-6px) rotate(.35deg);
  box-shadow: 0 36px 72px rgba(0, 0, 0, .46), 0 4px 10px rgba(0, 0, 0, .3);
}
.book-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 7vw, 90px);
}
.book-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: auto;
  color: var(--card-soft);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.book-meta span:first-child { font: 1rem/1 var(--serif); }
.book-kicker { margin: 80px 0 14px; color: var(--accent); font-size: .84rem; font-weight: 700; }
.book-copy h3 {
  max-width: 590px;
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}
.book-copy > p:not(.book-kicker):not(.book-theme) {
  max-width: 590px;
  margin: 0;
  color: var(--card-muted);
  font-size: 1.03rem;
}
.purchase-block { margin-top: 34px; }
.purchase-block > span {
  display: block;
  margin-bottom: 11px;
  color: var(--card-soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.purchase-links { display: flex; flex-wrap: wrap; gap: 10px; }
.purchase-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 14px;
  color: var(--card-ink);
  border: 1px solid color-mix(in srgb, var(--card-ink) 32%, transparent);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 650;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.purchase-links a:hover,
.purchase-links a:focus-visible {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.purchase-links a span { color: var(--accent); font-size: 1rem; }
.purchase-links a:hover span,
.purchase-links a:focus-visible span { color: var(--white); }
.book-site-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 700;
  text-underline-offset: 5px;
}
.book-site-link:hover,
.book-site-link:focus-visible { color: var(--card-ink); }
.publication-note {
  margin-top: 34px !important;
  color: var(--accent) !important;
  font-size: .82rem !important;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.book-theme {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--card-soft);
  border-top: 1px solid var(--card-line);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dual-cover {
  display: block;
  min-height: 590px;
  padding: 48px 34px 72px;
}
.dual-cover > img { position: absolute; width: min(51%, 235px); }
.dual-cover .cover-secondary { top: 55px; right: 14%; transform: rotate(5deg); }
.dual-cover .cover-primary { z-index: 2; left: 14%; bottom: 75px; transform: rotate(-3deg); }
.book-showcase:hover .dual-cover .cover-primary { transform: translateY(-6px) rotate(-2deg); }
.dual-cover figcaption {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 22px;
  color: var(--card-soft);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.forthcoming { padding-block: 130px; color: var(--white); background: var(--night); overflow: hidden; }
.forthcoming-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; align-items: center; }
.forthcoming h2 { margin-bottom: 30px; }
.forthcoming .lead { margin: 0 0 21px; color: rgba(255, 255, 255, .9); font: 1.5rem/1.5 var(--serif); }
.forthcoming-copy > p:not(.eyebrow):not(.lead) { max-width: 650px; color: rgba(255, 255, 255, .62); }
.status-label {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 12px;
  color: var(--copper-bright);
  border: 1px solid rgba(224, 174, 112, .5);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.forthcoming-cover {
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto;
}
.forthcoming-cover::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 8% -14% 3%;
  background: radial-gradient(ellipse at center, rgba(75, 139, 141, .28), transparent 68%);
  filter: blur(18px);
}
.forthcoming-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 34px 75px rgba(0, 0, 0, .52), 0 5px 15px rgba(0, 0, 0, .38);
  transform: rotate(-1.2deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.forthcoming-cover:hover img {
  transform: translateY(-5px) rotate(-.6deg);
  box-shadow: 0 42px 88px rgba(0, 0, 0, .58), 0 6px 17px rgba(0, 0, 0, .4);
}
.forthcoming-cover figcaption {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 110px;
  padding-block: 130px 150px;
}
.about h2 { max-width: 680px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.about-copy { padding-top: 38px; }
.about-copy p { margin: 0 0 22px; color: var(--ink-soft); font-size: 1.08rem; }
.about-copy p:first-child::first-letter {
  float: left;
  margin: .1em .11em 0 0;
  color: #8f6330;
  font: 4.1rem/.75 var(--serif);
}

.closing { padding-block: 110px; color: var(--white); background: #112532; }
.closing-inner { display: grid; grid-template-columns: .4fr 1.1fr auto; gap: 48px; align-items: end; }
.closing-inner .eyebrow { margin: 0; }
.closing-line { margin: 0; font: clamp(2.1rem, 4vw, 3.8rem)/1.12 var(--serif); letter-spacing: -.025em; }
.site-footer { padding-block: 25px; color: rgba(255, 255, 255, .48); background: var(--night); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 0; font-size: .75rem; letter-spacing: .06em; }

:focus-visible { outline: 2px solid var(--copper-bright); outline-offset: 4px; }

@media (max-width: 850px) {
  :root { --page: min(100% - 36px, 720px); }
  .site-header { height: 72px; padding-inline: 18px; }
  .menu-button {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
  }
  .menu-button span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(6, 17, 30, .98);
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .primary-nav.open { transform: none; }
  .primary-nav a { font: 2rem/1.2 var(--serif); text-transform: none; letter-spacing: 0; }
  .hero { min-height: 690px; }
  .hero-image { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 12, 22, .94), rgba(4, 12, 22, .48)); }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 6rem); }
  .hero-intro { max-width: 560px; }
  .hero-index { display: none; }
  .manifesto { grid-template-columns: 45px 1fr; gap: 16px; padding-block: 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .book-showcase { grid-template-columns: minmax(250px, .8fr) 1.2fr; min-height: 540px; }
  .cover-stage { min-height: 540px; padding: 36px; }
  .book-copy { padding: 45px; }
  .book-kicker { margin-top: 65px; }
  .dual-cover { min-height: 540px; padding-inline: 20px; }
  .dual-cover .cover-secondary { right: 8%; }
  .dual-cover .cover-primary { left: 8%; }
  .forthcoming-grid { grid-template-columns: 1fr; gap: 65px; }
  .forthcoming-cover { width: min(70vw, 340px); }
  .about { grid-template-columns: 1fr; gap: 38px; }
  .about-copy { padding-top: 0; }
  .closing-inner { grid-template-columns: 1fr; gap: 30px; align-items: start; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 32px); }
  .brand-name { font-size: 1.05rem; }
  .hero { height: 100svh; min-height: 650px; }
  .hero-content { padding-top: 55px; }
  .eyebrow { margin-bottom: 17px; font-size: .7rem; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 4.8rem); }
  .hero-intro { margin-top: 23px; font-size: 1.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 21px; margin-top: 32px; }
  .manifesto { display: block; }
  .manifesto .section-number { display: none; }
  .manifesto-text { font-size: 2rem; }
  .books-section,
  .forthcoming { padding-block: 88px; }
  .section-heading h2,
  .forthcoming h2,
  .about h2 { font-size: 2.75rem; }
  .book-showcase { grid-template-columns: 1fr; min-height: 0; }
  .book-showcase:nth-child(even) .cover-stage { order: 0; }
  .cover-stage,
  .dual-cover { min-height: 500px; padding: 42px; border: 0; border-bottom: 1px solid var(--card-line); }
  .book-showcase:nth-child(even) .cover-stage { border-left: 0; border-bottom: 1px solid var(--card-line); }
  .cover-stage > img { width: min(72%, 275px); }
  .book-copy { min-height: 470px; padding: 32px 26px; }
  .book-meta { margin-bottom: 0; }
  .book-kicker { margin-top: 70px; }
  .book-copy h3 { font-size: 2.7rem; }
  .dual-cover > img { width: min(49%, 220px); }
  .dual-cover .cover-secondary { top: 44px; right: 12%; }
  .dual-cover .cover-primary { left: 12%; bottom: 62px; }
  .dual-cover figcaption { right: 20px; bottom: 16px; }
  .about { padding-block: 90px; }
  .closing { padding-block: 80px; }
  .footer-inner { flex-direction: column; gap: 7px; }
}

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