:root {
  --deep: #3b2617;
  --link: #8a5426;
  --gold: #e6bd74;
  --paper: #faf4e8;
  --tint-bg: #eedfc6;
  --ink: #24170e;
  --display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
  --measure: 34rem;
  --page: 68rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin: 0 0 1.1rem; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: var(--measure); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink); padding: 0.5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

/* Top bar and header */
.top-bar { margin: 0; background: var(--ink); color: var(--tint-bg); font-family: var(--display); font-size: 0.95rem; text-align: center; padding: 0.55rem 1rem; }
.top-bar a { color: var(--gold); font-weight: 600; }
.site-header { background: var(--deep); color: var(--paper); text-align: center; }
.site-header .wrap { padding-top: 1.6rem; padding-bottom: 1.1rem; }
.site-name {
  display: block; font-family: var(--text); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: 0.22em; margin-right: -0.22em;
  color: var(--gold); text-decoration: none; line-height: 1.2;
}
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.6rem; margin-top: 0.9rem; font-family: var(--display); font-size: 0.98rem; }
.site-nav a { color: var(--tint-bg); text-decoration: none; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; border-bottom-color: var(--tint-bg); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.site-nav .lang { color: var(--gold); }

/* Home: landscape band with photo and cover */
.hero { background: linear-gradient(90deg, #b08a69 0%, #a07a5a 38%, #6a4934 62%, #4a3020 100%); color: var(--paper); }
.hero-band { max-width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1fr; }
.hero-photo {
  width: 100%; height: 24rem; object-fit: cover; object-position: 50% 8%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.hero-side { text-align: center; padding: 2rem 1.5rem 2.75rem; background: rgba(36, 23, 14, 0.55); }
.hero-side p { margin: 0; }
.tagline { font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--gold); }
.new-book { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--gold); }
.hero-side .release { font-family: var(--display); font-size: 0.98rem; color: var(--tint-bg); }
.cover { border-radius: 3px; box-shadow: 0 18px 40px rgba(20, 11, 5, 0.5); }
.hero-side .cover { width: 12.5rem; margin: 1.25rem auto 0; }
@media (min-width: 52rem) {
  .hero-band { grid-template-columns: 1.05fr 1fr; grid-template-rows: 34rem; align-items: stretch; }
  .hero-photo { height: 34rem; }
  .hero-side { background: none; align-self: center; padding: 1rem 2rem; }
  .hero-side .cover { width: 13.5rem; }
}

/* Home: book feature */
.feature { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.feature > a { display: none; }
.feature h1 { font-family: var(--text); font-style: italic; font-weight: 600; font-size: clamp(2rem, 4.6vw, 2.8rem); letter-spacing: 0; }
.feature-lead { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.35; color: var(--deep); margin-bottom: 0.9rem; }
.feature-sub { font-family: var(--display); font-size: 1.2rem; color: var(--link); margin: 0.4rem 0 1.5rem; }
@media (min-width: 52rem) {
  .feature { grid-template-columns: 19rem 1fr; gap: 4rem; }
  .feature > a { display: block; }
  .feature .cover { width: 19rem; }
}
.pull {
  margin: 0 0 1.5rem; font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45;
  border-left: 3px solid var(--gold); padding-left: 1.25rem; color: var(--deep);
}
.pull p { margin: 0; }

/* Home: five elements band */
.elements-band { background: var(--deep); color: var(--paper); text-align: center; padding: 3.5rem 0; }
.elements-band h2 { font-family: var(--text); font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; font-size: clamp(0.95rem, 3.4vw, 1.25rem); color: var(--gold); margin-bottom: 1.5rem; }
.elements-band ul { list-style: none; margin: 0; padding: 0; font-family: var(--text); font-size: 1.35rem; line-height: 2; }
.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Sections */
.section { padding: 4rem 0; }
.section.tint { background: var(--tint-bg); }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 17rem 1fr; gap: 3.5rem; }
  .split.wide-photo { grid-template-columns: 22rem 1fr; }
}
.photo { border-radius: 4px; }
.photo.round { border-radius: 50%; width: 15rem; }

.more { font-family: var(--display); font-weight: 600; }

/* Inner pages */
.page-head { background: linear-gradient(90deg, #a07a5a, #6a4934); color: #fff; padding: 2.75rem 0 3rem; text-align: center; }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.025em; }
.page-head p { font-family: var(--display); color: #fff; font-size: 1.25rem; margin: 0.8rem 0 0; }
.page-head .release { font-family: var(--text); font-size: 1.05rem; }

.element-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.5; color: var(--deep);
}
.element-list li { border-bottom: 1px solid var(--tint-bg); padding: 0.45rem 0; }

.address { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 3.6vw, 1.7rem); overflow-wrap: anywhere; }

/* Newsletter */
.signup form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin-top: 1.25rem; }
.signup label { display: block; font-family: var(--display); font-size: 0.95rem; margin-bottom: 0.3rem; }
.signup input[type="email"] {
  font: inherit; font-family: var(--display); padding: 0.7rem 0.9rem; width: min(22rem, 100%);
  border: 2px solid var(--deep); border-radius: 4px; background: #fff; color: var(--ink);
}
.signup .field { flex: 1 1 16rem; max-width: 22rem; }
.signup button {
  font: inherit; font-family: var(--display); font-weight: 600; padding: 0.7rem 1.4rem;
  border: 2px solid var(--deep); border-radius: 4px; background: var(--deep); color: #fff; cursor: pointer;
}
.signup button:hover { background: var(--link); border-color: var(--link); }
.signup .status { flex-basis: 100%; margin: 0.25rem 0 0; font-family: var(--display); font-size: 1rem; min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--ink); color: var(--tint-bg); padding: 2.5rem 0; font-family: var(--display); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.site-footer a { color: var(--tint-bg); }
.site-footer p { margin: 0; }

/* Blog */
.post-item { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--tint-bg); }
.post-item h2 { font-size: 1.9rem; margin-bottom: 0.3rem; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { color: var(--link); text-decoration: underline; }
.post-date { font-family: var(--display); font-size: 0.95rem; color: var(--link); margin-bottom: 0.9rem; }
.post-body { margin-left: auto; margin-right: auto; }
.post-body p { margin-bottom: 1.3rem; }
