/* Roberto's final launch notes, shared across the home, houses, and survey pages. */

/* The navigation's original mark is 30% larger at each responsive breakpoint. */
.site-nav-logo { width: clamp(203px, 15.6vw, 267px); }
@media (max-width: 1040px) { .site-nav-logo { width: 226px; } }
@media (max-width: 680px) { .site-nav-logo { width: 195px; } }

/* Source screenshots include the book's spine. Show the front/back panels without
   altering the supplied artwork; the spine remains available in the source files. */
.book-cover-frame { aspect-ratio: 854 / 1308; width: min(100%, 560px); }
.book-cover-frame .book-cover-front,
.book-cover-frame .book-cover-back {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff9f3;
}
.book-cover-frame .book-cover-front { object-position: right center; }
.book-cover-frame .book-cover-back { object-position: left center; }
.book-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 17px;
  margin-bottom: 12px;
}
.book-price-was { color: #918375; font: 500 clamp(20px, 2vw, 27px)/1.3 var(--sans); text-decoration-thickness: 2px; }
.book-price-now { color: #2f2d2a; font: 700 clamp(34px, 3.7vw, 49px)/1.2 var(--font-b); }
.book-price-label {
  width: 100%;
  color: #996b2f;
  font: 800 12px/1.5 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
html[data-theme="dark"] .book-price-now { color: #f4dfbc; }
html[data-theme="dark"] .book-price-was { color: #a6a09a; }
html[data-theme="dark"] .book-price-label { color: #d2ae6b; }
@media (max-width: 650px) { .book-price { justify-content: center; } }

/* Wind is light blue; Ice is white. The house crests themselves stay intact. */
html:not([data-theme="dark"]) .house-preview-wind {
  --house-dark: #39799f;
  --house-light: #d5eefb;
  border-color: #a6cee4;
  background: linear-gradient(145deg, #f1faff, #c9e9f9);
}
html:not([data-theme="dark"]) .house-preview-wind .house-preview-medallion { background: #75bfe8; }
html:not([data-theme="dark"]) .house-preview-ice {
  --house-dark: #415e76;
  --house-light: #ffffff;
  border-color: #c3d2df;
  background: linear-gradient(145deg, #fff, #f5f8fb);
}
html:not([data-theme="dark"]) .house-preview-ice .house-preview-medallion { background: #f9fcff; border: 1px solid #d2dfe8; }

html:not([data-theme="dark"]) .house-option-wind {
  --option-dark: #39799f;
  --option-tint: #d5eefb;
  --option-light: #97d4f2;
  border-color: #abd4ec;
  border-top-color: #539fc8;
  background: linear-gradient(145deg, #f1faff, #c9e9f9);
}
html:not([data-theme="dark"]) .house-options .house-option-wind .house-option-portrait { background: #76bce5; }
html:not([data-theme="dark"]) .house-options .house-option-wind .house-option-name {
  color: #235579;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
html:not([data-theme="dark"]) .house-option-ice {
  --option-dark: #607a8e;
  --option-tint: #ffffff;
  --option-light: #d2e3ee;
  border-color: #c7d8e3;
  border-top-color: #c0d2e0;
  background: linear-gradient(145deg, #fff, #f4f9fc);
}
html:not([data-theme="dark"]) .house-options .house-option-ice .house-option-portrait { background: #f9fcff; }

html:not([data-theme="dark"]) .houses-page[data-house="wind"] {
  --house-primary: #4f98c2;
  --house-secondary: #337aa4;
  --house-soft: #def2fc;
  --house-ink: #235270;
  --field-base: #a2d9f4;
  --field-stripe: #91cee9;
  --field-line: #ffffffaa;
  --circle: #eefaff;
  --circle-ink: #285b7a;
  --name-bg: #f7fcff;
  --name-ink: #225676;
  --page-bg: #def2fc;
  --hero-glow: #f2fbff;
  --theme-ink: #205473;
  --theme-muted: #518baa;
  --theme-stroke: #b0d8ee;
  --panel-bg: #ebf8ff;
  --footer-bg: #c9e9f8;
}
html:not([data-theme="dark"]) .houses-page[data-house="ice"] {
  --house-primary: #7292a6;
  --house-secondary: #a9bece;
  --house-soft: #ffffff;
  --house-ink: #2f4d60;
  --field-base: #ffffff;
  --field-stripe: #eef4f8;
  --field-line: #91b0c480;
  --circle: #ffffff;
  --circle-ink: #314f63;
  --name-bg: #ffffff;
  --name-ink: #315267;
  --page-bg: #ffffff;
  --hero-glow: #ffffff;
  --theme-ink: #334c5e;
  --theme-muted: #657d8f;
  --theme-stroke: #cedbe5;
  --panel-bg: #fbfdff;
  --footer-bg: #f1f6fa;
}

/* Keep the updated house identities visible in night mode as well. */
html[data-theme="dark"] .house-preview-wind { color: #93d9ff; border-color: #568dab; background: linear-gradient(145deg, #173346, #244b63); }
html[data-theme="dark"] .house-preview-ice { color: #eff8ff; border-color: #7c90a0; background: linear-gradient(145deg, #363d45, #242c34); }
html[data-theme="dark"] .house-option-wind { border-color: #5a9fc2; background: linear-gradient(145deg, #173346, #244b63); }
html[data-theme="dark"] .house-option-ice { border-color: #a2adba; background: linear-gradient(145deg, #414850, #2b3540); }
