:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #666;
  --line: #c9c9c9;
  --paper: #f7f6f2;
  --surface: #fff;
  --accent: #7d2424;
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header { position: sticky; top: 0; z-index: 10; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); }
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current="page"]:not(.button) { text-decoration: underline; text-underline-offset: .35rem; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.button { display: inline-block; width: fit-content; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: .85rem 1.25rem; font: inherit; text-decoration: none; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--accent); border-color: var(--accent); }
.button-small { padding: .55rem .85rem; }
.section, .hero { max-width: 1180px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem); }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.hero { min-height: calc(100vh - 76px); }
h1, h2 { line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.7rem, 7vw, 6.5rem); font-weight: 500; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
.eyebrow { margin: 0 0 .8rem; color: var(--muted); font-family: Arial, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.byline, .lead { font-size: 1.25rem; }
.landscape-placeholder, .book-placeholder, .portrait-placeholder { display: grid; place-items: center; border: 1px solid var(--ink); background: #e7e5df; color: var(--muted); text-align: center; }
.landscape-placeholder { min-height: 60vh; grid-template-rows: repeat(3, 1fr); border-radius: 50% 50% 4px 4px; }
.landscape-placeholder span { width: 100%; padding: 1rem; border-bottom: 1px solid var(--line); }
.book-placeholder { aspect-ratio: 2 / 3; max-width: 430px; width: 100%; box-shadow: 18px 22px 0 #d4d1c8; }
.book-placeholder.compact { max-width: 270px; }
.cover-crop { position: relative; overflow: hidden; width: 100%; max-width: 430px; aspect-ratio: 953 / 1500; border: 1px solid var(--ink); box-shadow: 18px 22px 0 #d4d1c8; background: #35100d; }
.cover-crop.compact { max-width: 270px; }
.cover-crop img { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: 100%; }
.portrait-placeholder { aspect-ratio: 4 / 5; min-height: 420px; }
.text-section { max-width: 760px; }
.content-pending { padding-left: 1rem; border-left: 3px solid var(--line); color: var(--muted); }
.facts { margin: 2rem 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8rem 1fr; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.centered { text-align: center; }
.text-link { text-underline-offset: .25rem; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: .9rem; }

.order-layout { display: grid; grid-template-columns: minmax(18rem, .7fr) minmax(26rem, 1fr); gap: clamp(2rem, 6vw, 6rem); max-width: 1180px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.order-summary { align-self: start; }
.order-summary .book-placeholder, .order-summary .cover-crop { margin: 2rem 0; }
.order-summary h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.price { font-size: 1.75rem; }
.price span { color: var(--muted); font-size: 1rem; }
.plain-list { padding-left: 1.15rem; }
.order-form-panel { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--surface); }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #888; background: #fff; padding: .8rem; font: inherit; font-weight: 400; }
input:focus, textarea:focus { outline: 3px solid #b5c8dc; outline-offset: 1px; }
.order-calculation { margin-top: .5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-calculation p { display: flex; justify-content: space-between; gap: 1.5rem; margin: .4rem 0; }
.order-calculation strong { text-align: right; }
.fine-print { color: var(--muted); font-size: .88rem; }
#result { min-height: 1.5rem; color: var(--accent); }
.order-information { grid-column: 1 / -1; margin-top: 2rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
details:not([open]) > :not(summary) { display: none; }
summary { cursor: pointer; font-weight: 700; }

@media (max-width: 760px) {
  .site-header { align-items: stretch; flex-direction: column; gap: .75rem; padding: 1rem; }
  .site-header nav { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; font-size: .84rem; }
  .site-header nav a:nth-child(2) { text-align: right; }
  .site-header nav .button { grid-column: 1 / -1; width: 100%; text-align: center; }
  .brand { max-width: none; }
  .section-grid, .order-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .landscape-placeholder { min-height: 45vh; }
  .order-information { grid-column: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .25rem; }
}

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