@font-face {
  font-family: "Libre Caslon Display";
  src: url("assets/libre-caslon-display-latin-v18.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Libre Caslon Display";
  src: url("assets/libre-caslon-display-latin-ext-v18.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-latin-v31.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-latin-ext-v31.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #173b49;
  --ink-soft: #3e5a64;
  --blue-deep: #0f3948;
  --blue-dark: #092e3c;
  --paper: #f5f0e8;
  --cream: #fcfaf5;
  --sand: #e9dccb;
  --line: #c8ccc7;
  --copper: #a56d49;
  --copper-dark: #815034;
  --orange: #d77534;
  --white: #ffffff;
  --max: 1180px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 5.4vw, 5.35rem);
  letter-spacing: -0.058em;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  letter-spacing: -0.048em;
}

:focus-visible {
  outline: 3px solid #cc7643;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
}

.shop-note {
  padding: 0.48rem 1rem;
  background: #e5d1be;
  color: #613a25;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(252, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.content-wrap,
.hero-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-inner,
.hero-inner,
.hero-copy,
.book-visual {
  min-width: 0;
}

.brand img {
  width: 124px;
  height: auto;
}

.brand {
  display: inline-flex;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-label {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-home-link {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4.5rem, 8vw, 8.5rem);
  background:
    radial-gradient(circle at 20% 42%, rgba(222, 150, 91, 0.2), transparent 35%),
    linear-gradient(115deg, var(--cream) 0%, #f3e9dc 66%, #ebdac7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: 7%;
  width: min(55vw, 720px);
  height: 1px;
  background: rgba(23, 59, 73, 0.3);
  box-shadow: 0 12px 0 rgba(23, 59, 73, 0.12), 0 24px 0 rgba(23, 59, 73, 0.07);
  transform: rotate(-3deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

.book-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.book-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 34px 70px rgba(94, 55, 26, 0.2);
}

.book-glow {
  position: absolute;
  inset: 8% 5% -5%;
  border-radius: 50%;
  background: rgba(211, 126, 63, 0.25);
  filter: blur(30px);
}

.book-visual figcaption {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--copper-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #d9aa88;
}

.subtitle {
  max-width: 34rem;
  margin-bottom: 1.2rem;
  color: var(--copper-dark);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.price-panel {
  max-width: 34rem;
  margin-bottom: 1.6rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(129, 80, 52, 0.24);
  border-radius: 8px;
}

.price-panel > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-panel strong {
  color: var(--ink);
}

.price-panel .price-total {
  margin-top: 0.65rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.price-total small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
}

.price-total strong {
  font-size: 1.32rem;
  white-space: nowrap;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  background: var(--ink);
  border-radius: 5px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.microcopy {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.story-section,
.details-section {
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
}

.story-section {
  background: var(--cream);
}

.story-grid,
.details-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: start;
}

.story-copy {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.story-copy p {
  max-width: 62ch;
}

.perspective {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--blue-deep);
  border-radius: 9px;
  color: var(--white);
}

.perspective-label {
  margin-bottom: 0;
  color: #d9aa88;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.perspective-text {
  max-width: 24ch;
  margin-bottom: 0;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.17;
}

.details-section {
  background: var(--sand);
}

.book-facts {
  margin: 0;
  border-top: 1px solid rgba(23, 59, 73, 0.3);
}

.book-facts div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(23, 59, 73, 0.22);
}

.book-facts dt {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
}

.book-facts dd {
  margin: 0;
  font-weight: 650;
}

.order-section {
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
  background: var(--blue-dark);
  color: var(--white);
}

.order-heading {
  max-width: 54rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.order-heading h2 {
  margin-bottom: 1rem;
}

.order-lead {
  margin-bottom: 0;
  color: #d8e4e6;
  font-size: 1rem;
}

.view-only {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  color: #d8e4e6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.order-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.order-choice-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--cream);
  border-radius: 9px;
  color: var(--ink);
}

.order-choice-card h3 {
  margin-bottom: 0.8rem;
  font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.08 "Libre Caslon Display", Georgia, serif;
}

.order-choice-card > p:not(.choice-label):not(.terms-status):not(.payment-note):not(.international-note) {
  color: var(--ink-soft);
}

.choice-label {
  margin-bottom: 0.75rem;
  color: var(--copper-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.choice-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.35rem 0 0;
  padding: 1rem;
  background: #f5eee5;
  border-radius: 6px;
}

.choice-product img {
  border-radius: 3px;
}

.choice-product strong,
.choice-product span {
  display: block;
}

.choice-product strong {
  margin-bottom: 0.2rem;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.choice-product span {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.choice-prices {
  margin-bottom: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.choice-prices > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.choice-prices strong {
  color: var(--ink);
  white-space: nowrap;
}

.choice-prices .choice-total {
  margin-top: 0.65rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
}

.choice-total strong {
  font-size: 1.25rem;
}

.choice-total small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
}

.swiss-payment-content {
  margin-top: 1.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.international-order-card {
  display: flex;
  flex-direction: column;
  background: #f1e5d5;
}

.international-visual {
  position: relative;
  display: grid;
  min-height: 215px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 77% 37%, transparent 0 52px, rgba(23, 59, 73, 0.13) 53px 54px, transparent 55px),
    radial-gradient(circle at 77% 37%, transparent 0 78px, rgba(23, 59, 73, 0.08) 79px 80px, transparent 81px),
    linear-gradient(135deg, #dfc4a8, #f8f0e6);
  border-radius: 7px;
}

.international-visual::before,
.international-visual::after {
  position: absolute;
  right: -8%;
  left: 34%;
  height: 1px;
  background: rgba(23, 59, 73, 0.18);
  content: "";
  transform: rotate(-5deg);
}

.international-visual::before {
  bottom: 24%;
}

.international-visual::after {
  bottom: 18%;
}

.international-visual img {
  position: relative;
  z-index: 1;
  width: 138px;
  border-radius: 4px;
  box-shadow: 0 18px 38px rgba(78, 46, 24, 0.22);
  transform: rotate(-3deg);
}

.international-visual span {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.42rem 0.65rem;
  background: rgba(252, 250, 245, 0.9);
  border-radius: 100px;
  color: var(--copper-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.choice-book-data {
  display: grid;
  gap: 0.18rem;
  margin: 1.2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--copper);
  border-radius: 0 5px 5px 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.choice-book-data strong {
  color: var(--ink);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.2rem;
}

.international-order-card .international-action {
  width: fit-content;
  margin-top: auto;
}

.multiple-order-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #d8e4e6;
  font-size: 0.8rem;
  text-align: center;
}

.multiple-order-footer p {
  margin: 0;
}

.multiple-order-footer a {
  color: var(--white);
  font-weight: 750;
}

.order-form,
.order-summary {
  border-radius: 9px;
}

.order-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #f8f5ef;
  color: var(--ink);
}

.order-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.order-form legend,
.payment-title {
  margin-bottom: 1.25rem;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.7rem;
}

.required-note {
  margin: -0.7rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.required-mark {
  color: #9c472f;
}

.order-form label {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.order-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 50px;
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid #bfc7c7;
  border-radius: 5px;
  color: var(--ink);
}

.order-form input:not([type="checkbox"])::placeholder {
  color: #8a979b;
}

.order-form input[data-touched="true"]:invalid {
  border-color: #a6432f;
  box-shadow: 0 0 0 2px rgba(166, 67, 47, 0.12);
}

.order-form input[data-touched="true"]:valid:not([type="checkbox"]) {
  border-color: #56806f;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-row.compact {
  grid-template-columns: 0.42fr 1.58fr;
}

.consent-row {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.65rem 0 0 !important;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 550 !important;
  line-height: 1.55;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  accent-color: var(--ink);
}

.consent-row input[data-touched="true"]:invalid {
  outline: 2px solid #a6432f;
  outline-offset: 2px;
}

.consent-row a {
  color: var(--copper-dark);
  font-weight: 750;
}

.local-data-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: #edf0ed;
  border-radius: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.order-summary {
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.summary-product {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  background: #f5eee5;
}

.summary-product img {
  border-radius: 3px;
}

.summary-product strong,
.summary-product span {
  display: block;
}

.summary-product strong {
  margin-bottom: 0.2rem;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.summary-product span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.summary-lines {
  padding: 1.35rem;
}

.summary-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.summary-lines strong {
  color: var(--ink);
}

.summary-lines .summary-total {
  margin-top: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
}

.summary-total strong {
  font-size: 1.25rem;
  white-space: nowrap;
}

.summary-total small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
}

.multiple-order-note {
  margin: 0 1.35rem 1.35rem;
  padding: 1rem;
  background: #f5eee5;
  border-left: 3px solid var(--copper);
  border-radius: 0 5px 5px 0;
}

.multiple-order-note p {
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.multiple-order-note a {
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.payment-block {
  padding: 1.35rem;
  border-top: 1px solid var(--line);
}

.payment-title {
  font-size: 1.35rem;
}

.switzerland-payment-note {
  display: grid;
  gap: 0.25rem;
  margin: -0.25rem 0 1rem;
  padding: 0.9rem 1rem;
  background: #e7f0ed;
  border-left: 3px solid #56806f;
  border-radius: 0 5px 5px 0;
  color: #315c4a;
  font-size: 0.74rem;
  line-height: 1.5;
}

.switzerland-payment-note strong {
  font-size: 0.78rem;
}

.international-choice-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #f5eee5;
  border: 1px solid #d9c2ab;
  border-radius: 6px;
}

.international-choice-card > p {
  margin-bottom: 0.35rem;
  color: var(--copper-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.international-choice-card h3 {
  margin-bottom: 0.55rem;
  font: 700 1.08rem/1.3 "Libre Caslon Display", Georgia, serif;
}

.international-choice-card > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.55;
}

.international-choice-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--copper);
  border-radius: 5px;
  color: var(--copper-dark);
  font-size: 0.74rem;
  font-weight: 750;
  text-decoration: none;
}

.international-choice-card a:hover {
  background: #fffaf4;
}

.payment-button {
  width: 100%;
  min-height: 58px;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  opacity: 1;
  cursor: pointer;
  text-decoration: none;
}

.payment-button:disabled {
  cursor: not-allowed;
}

.twint-button {
  background: #262626;
  transition: filter 160ms ease, transform 160ms ease;
}

.twint-button:not(:disabled):hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.twint-button:disabled {
  background: #626262;
}

.twint-button img {
  width: auto;
  height: 50px;
}

.card-button {
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
}

.card-icon {
  position: relative;
  width: 28px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: 4px 0 auto;
  height: 2px;
  background: currentColor;
}

.payment-note {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.form-status {
  margin: 0.8rem 0 0;
  padding: 0.75rem 0.85rem;
  background: #f5eee5;
  border-left: 3px solid var(--copper);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.45;
}

.form-status.is-ready {
  background: #e8f1ec;
  border-left-color: #56806f;
  color: #315c4a;
}

.order-dialog {
  width: min(calc(100% - 2rem), 980px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  color: var(--ink);
}

.order-dialog::backdrop {
  background: rgba(4, 24, 32, 0.76);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  position: relative;
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: #efe6da;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.order-dialog h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.dialog-intro {
  max-width: 68ch;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
}

.dialog-order-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--line);
}

.dialog-order-facts div {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.dialog-order-facts dt {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-order-facts dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 650;
}

.email-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.email-preview {
  min-width: 0;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.email-preview > strong,
.email-preview > span {
  display: block;
}

.email-preview > strong {
  margin: 0.75rem 0 0.2rem;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}

.email-preview > span:not(.email-badge) {
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.email-badge {
  width: fit-content;
  padding: 0.25rem 0.5rem;
  background: #e8d6c3;
  border-radius: 100px;
  color: #6f4129;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.email-preview pre {
  margin: 1rem 0 0;
  padding-top: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font: 0.72rem/1.55 "Montserrat", Arial, sans-serif;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.secondary-button,
.confirm-button {
  min-height: 50px;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.secondary-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.confirm-button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  place-items: center;
  background: #dfece5;
  border-radius: 50%;
  color: #315c4a;
  font-size: 1.8rem;
  font-weight: 800;
}

#dialog-success > p:not(.eyebrow):not(.live-payment-warning) {
  max-width: 62ch;
  color: var(--ink-soft);
}

.live-payment-warning {
  max-width: 62ch;
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  background: #f5e9dc;
  border-left: 3px solid var(--copper);
  color: #68442e;
  font-size: 0.8rem;
}

.live-twint-link {
  max-width: 360px;
}

.full-width {
  width: min(100%, 360px);
}

.checkout-intro {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #f8f5ef;
  border-radius: 9px;
  color: var(--ink);
}

.checkout-intro h3 {
  margin-bottom: 1.25rem;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.7rem;
}

.checkout-intro > p:not(.eyebrow):not(.external-provider-note) {
  max-width: 52ch;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.checkout-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.checkout-steps span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--blue-dark);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.72rem;
}

.external-provider-note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  background: #edf0ed;
  border-left: 3px solid #56806f;
  border-radius: 0 5px 5px 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
}

.card-button {
  transition: background-color 160ms ease, transform 160ms ease;
}

.card-button:hover {
  background: #285365;
  transform: translateY(-1px);
}

.method-note {
  margin: -0.25rem 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.payment-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.terms-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0 0 0.8rem;
  padding: 1rem;
  background: #f5eee5;
  border-left: 3px solid var(--copper);
  border-radius: 0 5px 5px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.55;
}

.terms-consent input {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  accent-color: var(--blue-dark);
}

.terms-inline-link,
.footer-legal button {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--copper-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.terms-consent .terms-inline-link {
  margin-left: 0.25rem;
}

.terms-inline-link:hover,
.footer-legal button:hover {
  color: #4f2d1d;
}

.terms-status {
  margin: 0 0 1rem;
  color: #87452f;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.45;
}

.terms-status.is-accepted {
  color: #315c4a;
}

.payment-button.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.42;
  transform: none;
}

.terms-dialog {
  width: min(calc(100% - 2rem), 900px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  color: var(--ink);
}

.terms-dialog::backdrop {
  background: rgba(4, 24, 32, 0.78);
  backdrop-filter: blur(4px);
}

.terms-dialog-shell {
  position: relative;
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.terms-dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: #efe6da;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.terms-dialog h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.terms-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  border-top: 1px solid var(--line);
}

.terms-copy section {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.terms-copy h3 {
  margin-bottom: 0.65rem;
  font: 700 1.12rem/1.3 "Libre Caslon Display", Georgia, serif;
}

.terms-copy p {
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.terms-copy p:last-child {
  margin-bottom: 0;
}

.terms-copy a {
  color: var(--copper-dark);
  font-weight: 700;
}

.terms-version {
  margin: 1.5rem 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.terms-confirm-button {
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  background: var(--blue-dark);
  border: 0;
  border-radius: 5px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.international-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--sand);
}

.international-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: start;
}

.international-copy {
  max-width: 42rem;
  color: var(--ink-soft);
}

.international-copy > p:first-child {
  margin-bottom: 1.6rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.international-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  background: var(--ink);
  border-radius: 5px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.international-action:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.international-book-data {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 59, 73, 0.24);
  color: var(--ink);
  line-height: 1.65;
}

.international-note {
  margin: 0.8rem 0 0;
  font-size: 0.74rem;
  line-height: 1.55;
}

.site-footer {
  padding: 2.5rem 0;
  background: #061f29;
  color: #dce7e8;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner img {
  width: 112px;
  margin-bottom: 0.8rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.77rem;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 0.5rem;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
}

.footer-legal button,
.footer-legal a {
  color: #dce7e8;
  font-size: 0.77rem;
}

.footer-legal a {
  font-weight: 700;
}

.footer-legal button:hover,
.footer-legal a:hover {
  color: var(--white);
}

@media (max-width: 860px) {
  .hero-inner,
  .story-grid,
  .details-grid,
  .order-layout,
  .order-choice-grid,
  .international-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: min(calc(100% - 2rem), 680px);
  }

  .book-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero-copy {
    max-width: 650px;
  }

  .perspective {
    grid-template-columns: 1fr;
  }

  .perspective-text {
    max-width: 30ch;
  }
}

@media (max-width: 580px) {
  .header-inner,
  .content-wrap,
  .hero-inner {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .header-inner {
    min-height: 72px;
    gap: 0.75rem;
  }

  .brand img {
    width: 94px;
  }

  .header-label {
    max-width: 8.5rem;
    font-size: 0.63rem;
    letter-spacing: 0.05em;
    text-align: right;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-inner {
    gap: 2.75rem;
  }

  .price-panel {
    padding-inline: 1rem;
  }

  .price-panel > div {
    gap: 0.75rem;
  }

  .field-row,
  .field-row.compact {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .international-order-card .international-action {
    width: 100%;
  }

  .multiple-order-footer {
    align-items: center;
    flex-direction: column;
  }

  .footer-legal {
    justify-items: start;
  }

  .footer-legal nav {
    justify-content: flex-start;
  }

  .view-only {
    order: -1;
  }

  .dialog-order-facts,
  .email-preview-grid {
    grid-template-columns: 1fr;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions button,
  .live-twint-link,
  .full-width {
    width: 100%;
    max-width: none;
  }

  .terms-copy {
    grid-template-columns: 1fr;
  }

  .terms-dialog-shell {
    padding: 1.25rem;
  }

  .terms-dialog h2 {
    padding-right: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
