:root {
  --red: #e10600;
  --red-deep: #bd0500;
  --white: #fffdf8;
  --black: #090909;
  --line: rgba(255, 255, 255, .68);
  --max-width: 1480px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--red);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.055), transparent 29%),
    linear-gradient(135deg, var(--red) 0%, #eb0d08 48%, var(--red-deep) 135%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { cursor: pointer; }

.snow-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
}

.snowflake {
  position: absolute;
  top: -14px;
  border-radius: 50%;
  background: var(--white);
  animation: snow-fall linear forwards;
}

@keyframes snow-fall {
  from { transform: translate(0, 0); }
  to { transform: translate(var(--drift, 0px), 110vh); }
}

@media (prefers-reduced-motion: reduce) {
  .snow-layer { display: none; }
}

.page-shell {
  width: min(100%, 1800px);
  min-height: 100vh;
  margin: 0 auto;
  padding:
    max(22px, env(safe-area-inset-top))
    clamp(20px, 4vw, 72px)
    clamp(48px, 6vw, 88px);
}

.hero {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(500px, 1.1fr);
  gap: clamp(42px, 6vw, 106px);
  align-items: start;
}

.book-column {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.book-stage {
  position: sticky;
  top: 28px;
  width: min(100%, 700px);
  line-height: 0;
  margin-top: clamp(56px, 7vw, 84px);
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 34px 22px rgba(70, 0, 0, .28));
}

.release-badge {
  position: absolute;
  z-index: 2;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 14px;
  padding: 8px 0;
  width: max-content;
  min-width: 208px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  text-align: center;
  color: var(--white);
  border-top: 1px solid rgba(255, 253, 248, .55);
  border-bottom: 1px solid rgba(255, 253, 248, .55);
}

.release-badge span {
  font-size: clamp(10px, .76vw, 12px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .8;
}

.release-badge strong {
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-column {
  min-width: 0;
  padding-top: clamp(56px, 7vw, 84px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: clamp(13px, .95vw, 16px);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 clamp(24px, 2.5vw, 38px);
  font-size: clamp(76px, 7.6vw, 134px);
  line-height: .82;
  letter-spacing: -.065em;
  text-transform: uppercase;
  font-weight: 900;
}

.intro-copy {
  max-width: 740px;
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.32;
  letter-spacing: -.012em;
}

.intro-copy p { margin: 0 0 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin: 26px 0 0;
  padding-top: 18px;
  max-width: 740px;
  border-top: 1px solid var(--line);
  font-size: clamp(14px, 1vw, 17px);
  text-transform: uppercase;
  letter-spacing: .055em;
}

.bookstore-section {
  max-width: 790px;
  margin-top: 0;
}

.bookstore-section h2 {
  margin: 0 0 9px;
  max-width: 24ch;
  font-size: clamp(29px, 2.35vw, 42px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.bookstore-section > p {
  max-width: 65ch;
  margin: 0 0 25px;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.45;
}

.bookstore-section .tool-credit {
  margin: 20px 0 24px;
  font-size: clamp(11px, .78vw, 13px);
  line-height: 1.4;
  opacity: .78;
}

.tool-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.postcode-form {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(220px, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}

.postcode-form input,
.postcode-form button {
  min-height: 64px;
  border-radius: 8px;
  border: 2px solid var(--white);
}

.postcode-form input {
  min-width: 0;
  padding: 0 18px;
  color: var(--white);
  background: rgba(145, 0, 0, .12);
  font-size: clamp(18px, 1.4vw, 24px);
}

.postcode-form input::placeholder { color: rgba(255,255,255,.72); }

.postcode-form button {
  padding: 0 28px;
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 700;
  white-space: nowrap;
}

.postcode-form button:hover { transform: translateY(-1px); }
.postcode-form button:active { transform: translateY(0); }

.postcode-form button:focus-visible,
.store-link:focus-visible,
.postcode-form input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 253, 248, .55);
}

.postcode-form input:focus-visible { border-color: var(--white); }

.finder-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
}

.store-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.store-item { border-top: 1px solid var(--line); }
.store-item:last-child { border-bottom: 1px solid var(--line); }

.store-link {
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(17px, 1.3vw, 23px);
}

.store-link:hover .store-name,
.store-link:hover .store-cta { text-decoration: underline; }

.pin {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.pin svg { width: 100%; height: 100%; }
.store-name { font-weight: 800; }
.store-city { font-weight: 400; }
.store-cta { font-size: .78em; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .book-stage {
    position: relative;
    top: auto;
    width: min(82vw, 590px);
    margin-top: 56px;
  }

  .content-column { padding-top: 18px; }

  .book-intro { text-align: center; }
  .intro-copy, .book-meta { margin-left: auto; margin-right: auto; }
  .book-meta { justify-content: center; }

  .bookstore-section {
    margin-left: auto;
    margin-right: auto;
  }

  .bookstore-section h2 { max-width: none; }
}

@media (max-width: 620px) {
  .page-shell { padding-left: 18px; padding-right: 18px; }
  .book-stage { width: min(92vw, 480px); margin-top: 50px; }

  h1 { font-size: clamp(68px, 21vw, 104px); }

  .intro-copy {
    font-size: 19px;
    line-height: 1.36;
  }

  .book-meta {
    font-size: 13px;
    gap: 6px 8px;
  }

  .bookstore-section { margin-top: 12px; }
  .bookstore-section h2 { font-size: 30px; }

  .postcode-form { grid-template-columns: 1fr; gap: 10px; }
  .postcode-form input, .postcode-form button { min-height: 58px; }

  .store-link {
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    min-height: 66px;
  }

  .store-city { display: block; margin-top: 2px; }
}
