@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #1b202b;
  --text:   #b3bcc7;
  --bright: #f1f3f5;
  --dim:    #78828f;
  --rule:   #39424f;
  --link:   #d3b49f;
  --paper:  #ede7dc;
  --ink:    #1a1b1e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 0 5rem;
  background: var(--ground);
  color: var(--text);
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* The hero. Full bleed, dissolving into the page beneath it. */
.hero {
  width: 100%;
  margin-bottom: 3.5rem;
  line-height: 0;
}
.hero img {
  width: 100%;
}
/* At phone widths the 16:9 plate collapses into a strip, so crop it square.
   The square takes its bite from the left and right only, which leaves the
   flower and the name below it exactly where they are. */
@media (max-width: 640px) {
  .hero img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}
/* No fade over the image. The author name sits 91% down and the flower at 68%,
   and the bottom edge is a lit rock, not darkness. Any gradient either swallows
   the name or leaves a dark band across the rock. So the photo simply ends,
   the way a plate ends, carrying its own title and byline. */

.byline {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-bottom: 3rem;
}

.caption {
  text-align: center;
  color: var(--dim);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--link); }
a:hover { color: var(--bright); }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3.5rem 0;
}

h1, h2, h3 { font-weight: 400; color: var(--bright); }

h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--dim);
  margin: 0 0 1.5rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

p { margin: 0 0 1.3rem; }

.author {
  color: var(--dim);
  margin-bottom: 2.5rem;
}

.cover {
  width: 14rem;
  margin: 3rem auto 1.2rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5);
}

.buy {
  display: inline-block;
  border: 1px solid var(--link);
  color: var(--link);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.9rem 1.5rem;
}
.buy:hover {
  background: var(--link);
  color: var(--ground);
}

.price {
  color: var(--dim);
  font-size: 0.9rem;
  margin-top: 1rem;
}

ol {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}
ol li {
  padding: 0.3rem 0;
  color: var(--text);
}
ol li .n {
  display: inline-block;
  width: 1.8rem;
  color: var(--dim);
  font-size: 0.85rem;
}
ol li.interlude {
  font-style: italic;
  color: var(--dim);
  padding-left: 1.8rem;
}

input, textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--bright);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.8rem;
  border-radius: 0;
}
input:focus, textarea:focus { outline: none; border-color: var(--link); }
input::placeholder, textarea::placeholder { color: #5c6675; }
textarea { resize: vertical; }

button {
  border: 1px solid var(--link);
  background: transparent;
  color: var(--link);
  font-family: inherit;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
}
button:hover { background: var(--link); color: var(--ground); }

.hp { position: absolute; left: -9999px; }

.note, footer {
  color: var(--dim);
  font-size: 0.92rem;
}
.note strong { color: var(--text); font-weight: 400; }

footer { font-size: 0.85rem; }
footer p { margin: 0 0 0.4rem; }

/* ---------------------------- additions ---------------------------- */

.wordmark {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--dim);
  padding-top: 2.5rem;
  margin: 0;
}

.take {
  text-align: center;
}
.take h2 {
  margin-bottom: 1.2rem;
}
.take p {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
  margin-bottom: 0;
}

ul.stores {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.stores li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
ul.stores li:last-child { border-bottom: 0; }
ul.stores span {
  color: var(--dim);
  font-size: 0.85rem;
  margin-left: auto;
}

.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: var(--link);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.sr {
  position: absolute;
  left: -9999px;
}
