:root {
  color-scheme: dark;
  --ink: #10151a;
  --cream: #f4eee5;
  --muted: #d0c7bb;
  --gold: #d9b77f;
  --gold-bright: #f0d3a1;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; z-index: 5; left: 1rem; top: -5rem; padding: .75rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #101820 url('../images/norse-night.webp') center 48% / cover no-repeat;
}
.landing::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(8 13 17 / 28%) 0%, rgb(8 13 17 / 52%) 39%, rgb(8 13 17 / 82%) 100%), linear-gradient(0deg, rgb(6 10 13 / 78%), transparent 44%, rgb(6 10 13 / 24%));
}
.site-header, .site-footer { width: min(1380px, calc(100% - 80px)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(14px, 2.7vh, 28px) 12px;
}
.brand { display: grid; gap: 3px; text-decoration: none; }
.brand-name { font: 500 clamp(19px, 1.9vw, 27px)/1.15 var(--display); letter-spacing: .035em; }
.brand-byline { color: var(--gold); font: 500 13px/1.2 var(--body); letter-spacing: .12em; }
.header-status { color: #e0d4c3; font: 500 11px/1.4 var(--display); letter-spacing: .11em; text-align: right; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  width: min(1280px, calc(100% - 72px));
  min-height: 0;
  margin: 0 auto;
}
.book-side { display: grid; place-items: center; min-width: 0; min-height: 0; height: 100%; }
.book-image {
  display: block;
  width: auto;
  height: min(68svh, 600px);
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgb(255 190 104 / 62%)) drop-shadow(0 0 24px rgb(225 107 40 / 38%)) drop-shadow(0 16px 24px rgb(0 0 0 / 55%));
  animation: book-float 7s linear infinite, book-glow 4.5s ease-in-out infinite;
}
.hero-content { max-width: 590px; padding: 24px 0 28px clamp(8px, 2vw, 30px); }
.eyebrow { margin: 0 0 clamp(9px, 1.8vh, 18px); color: var(--gold); font: 500 12px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 570px; margin: 0; color: var(--cream); font: 500 clamp(38px, 4.4vw, 68px)/1.12 var(--display); letter-spacing: -.025em; }
.coming-word { margin: clamp(13px, 2.4vh, 24px) 0 0; color: var(--gold-bright); font: 500 13px/1.4 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.description { max-width: 440px; margin: 10px 0 0; color: var(--muted); font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--body); }
.cta-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3vh, 30px); }
.cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgb(224 177 105 / 82%);
  border-radius: 4px;
  color: var(--cream);
  background: linear-gradient(180deg, rgb(24 22 20 / 96%), rgb(10 12 14 / 98%));
  font: 500 11px/1.2 var(--display);
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: inset 0 1px rgb(255 225 179 / 12%), 0 2px 8px rgb(0 0 0 / 38%);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cta span { color: var(--gold-bright); font: 18px/1 Georgia, serif; }
.cta .amazon-mark { display: block; width: 19px; height: 22px; flex: 0 0 19px; overflow: visible; }
.cta .amazon-mark text { fill: #fff; font: 700 20px Arial, sans-serif; text-transform: none; }
.cta .amazon-mark path { fill: none; stroke: #f2a33b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.cta-primary {
  border-color: #e0ad66;
  background: linear-gradient(180deg, #762b20 0%, #5f2119 56%, #481711 100%);
  box-shadow: inset 0 1px rgb(255 226 179 / 24%), 0 3px 10px rgb(0 0 0 / 48%);
}
.cta-secondary { border-color: rgb(206 158 92 / 72%); }
.cta:hover { border-color: var(--gold-bright); background: linear-gradient(180deg, #39291e, #211a15); box-shadow: inset 0 1px rgb(255 226 179 / 18%), 0 3px 10px rgb(0 0 0 / 42%); }
.cta-primary:hover { background: linear-gradient(180deg, #8e3425, #692219 72%, #501a13); }
.cta:focus-visible, .contact-link:focus-visible, .site-signature a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

.site-footer {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding-block: 11px clamp(12px, 2.4vh, 23px);
  border-top: 1px solid rgb(232 199 151 / 25%);
  text-align: center;
}
.footer-details { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 18px; }
.contact-link { color: #f0d3a1; font: 500 14px/1.35 var(--body); text-decoration: underline; text-decoration-color: rgb(240 211 161 / 50%); text-underline-offset: 3px; }
.copyright { color: #d4c8b9; font: 500 11px/1.4 var(--display); letter-spacing: .04em; }
.site-signature { max-width: 100%; margin: 0; color: #d2c8ba; font: 400 13px/1.35 var(--body); letter-spacing: 0; }
.site-signature a { color: inherit; text-decoration: underline; text-decoration-color: rgb(210 200 186 / 60%); text-underline-offset: 2px; }
.site-signature a:hover, .site-signature a:focus-visible { color: var(--gold-bright); text-decoration-color: currentColor; }

@keyframes book-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes book-glow {
  0%, 100% { filter: drop-shadow(0 0 7px rgb(255 190 104 / 62%)) drop-shadow(0 0 24px rgb(225 107 40 / 38%)) drop-shadow(0 16px 24px rgb(0 0 0 / 55%)); }
  50% { filter: drop-shadow(0 0 10px rgb(255 199 119 / 72%)) drop-shadow(0 0 31px rgb(232 116 43 / 48%)) drop-shadow(0 16px 24px rgb(0 0 0 / 55%)); }
}

@media (max-width: 760px) {
  .site-header, .site-footer { width: calc(100% - 36px); }
  .site-header { padding-top: 13px; padding-bottom: 5px; }
  .brand-name { font-size: clamp(16px, 4.8vw, 22px); }
  .brand-byline { font-size: 12px; }
  .header-status { max-width: 135px; font-size: 9px; letter-spacing: .06em; }
  .hero { grid-template-columns: 1fr; grid-template-rows: minmax(105px, 30svh) minmax(0, 1fr); width: min(560px, calc(100% - 32px)); }
  .book-image { height: min(26svh, 210px); max-width: 72%; }
  .hero-content { align-self: center; max-width: 520px; padding: 4px 5px 12px; text-align: center; }
  .eyebrow { margin-bottom: 8px; font-size: 10px; }
  h1 { margin-inline: auto; font-size: clamp(30px, 8.2vw, 46px); line-height: 1.08; }
  .coming-word { margin-top: 10px; font-size: 11px; }
  .description { max-width: 410px; margin: 7px auto 0; font-size: clamp(17px, 5vw, 21px); line-height: 1.18; }
  .cta-group { justify-content: center; gap: 8px; margin-top: 13px; }
  .cta { min-height: 42px; padding-inline: 10px; font-size: 9px; }
  .site-footer { gap: 6px; padding-top: 8px; padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .footer-details { gap: 2px 12px; }
  .contact-link { font-size: 13px; }
  .copyright { font-size: 9px; }
  .site-signature { max-width: 520px; font-size: 12px; line-height: 1.3; }
}

@media (max-width: 380px) {
  .site-header, .site-footer { width: calc(100% - 24px); }
  .header-status { max-width: 112px; font-size: 8px; }
  .hero { grid-template-rows: minmax(110px, 31svh) minmax(0, 1fr); width: calc(100% - 24px); }
  .book-image { height: min(29svh, 190px); max-width: 67%; }
  .hero-content { padding-bottom: 7px; }
  h1 { font-size: clamp(28px, 8.2vw, 32px); }
  .description { font-size: 17px; }
  .cta-group { gap: 6px; margin-top: 10px; }
  .cta { min-height: 38px; padding-inline: 8px; font-size: 8px; }
  .site-signature { font-size: 11px; }
}

@media (max-height: 640px) and (min-width: 761px) {
  .site-header { padding-top: 10px; padding-bottom: 3px; }
  .book-image { height: min(64svh, 380px); }
  .hero-content { padding-block: 8px; }
  h1 { font-size: clamp(32px, 4vw, 48px); }
  .coming-word { margin-top: 9px; }
  .description { margin-top: 5px; font-size: 19px; }
  .cta-group { margin-top: 12px; }
  .cta { min-height: 39px; }
  .site-footer { gap: 5px; padding-block: 7px 9px; }
}

@media (max-height: 560px) and (min-width: 381px) and (max-width: 760px) {
  .hero { grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr); grid-template-rows: minmax(0, 1fr); width: calc(100% - 24px); }
  .book-image { height: min(40svh, 150px); max-width: 90%; }
  .hero-content { padding: 4px 0 4px 8px; text-align: left; }
  h1 { margin: 0; font-size: clamp(25px, 5vw, 36px); }
  .eyebrow { font-size: 9px; }
  .description { margin-left: 0; font-size: 17px; }
  .cta-group { justify-content: flex-start; }
  .site-signature { font-size: 11px; }
}

@media (max-height: 560px) and (max-width: 380px) {
  .site-header { padding-top: 8px; padding-bottom: 2px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: minmax(68px, 19svh) minmax(0, 1fr); }
  .book-image { height: min(18svh, 84px); max-width: 60%; }
  .hero-content { padding: 1px 0 4px; }
  .eyebrow { margin-bottom: 5px; }
  h1 { font-size: 26px; line-height: 1.02; }
  .coming-word { margin-top: 6px; }
  .description { margin-top: 4px; font-size: 16px; line-height: 1.08; }
  .cta-group { gap: 5px; margin-top: 7px; }
  .cta { min-height: 34px; padding-inline: 6px; font-size: 7px; }
  .site-footer { gap: 4px; padding-top: 5px; }
  .site-signature { font-size: 10px; line-height: 1.15; }
}

@media (max-height: 400px) and (max-width: 760px) {
  .site-header { padding: 6px 0 2px; }
  .brand-name { font-size: 14px; }
  .brand-byline, .header-status, .coming-word { display: none; }
  .hero { grid-template-columns: minmax(62px, .38fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); width: calc(100% - 20px); }
  .book-image { height: min(24svh, 88px); max-width: 96%; }
  .hero-content { padding: 0 0 0 8px; text-align: left; }
  .eyebrow { margin-bottom: 4px; font-size: 8px; }
  h1 { margin: 0; font-size: clamp(19px, 5.7vw, 25px); line-height: 1.02; }
  .description { margin: 5px 0 0; font-size: 16px; line-height: 1.1; }
  .cta-group { justify-content: flex-start; gap: 5px; margin-top: 7px; }
  .cta { min-height: 29px; padding-inline: 6px; font-size: 7px; }
  .site-footer { width: calc(100% - 20px); gap: 4px; padding-block: 4px 5px; }
  .footer-details { gap: 1px 8px; }
  .contact-link { font-size: 11px; }
  .copyright { font-size: 8px; }
  .site-signature { font-size: 10px; line-height: 1.15; }
}

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