:root {
  --cream: #f4f0e7;
  --paper: #fbf9f4;
  --ink: #172522;
  --muted: #68716c;
  --deep: #0c2932;
  --deep-2: #123b43;
  --olive: #536a1d;
  --line: rgba(23, 37, 34, .18);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.container.narrow { width: min(920px, calc(100% - 48px)); }
.container.wide { width: min(1280px, calc(100% - 32px)); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: white; padding: 10px 16px; font-family: var(--sans);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(12, 41, 50, .96);
  color: white;
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; gap: 30px; }
nav a { font-family: var(--sans); font-size: .7rem; letter-spacing: .06em; text-decoration: none; opacity: .82; }
nav a:hover, nav a:focus-visible { opacity: 1; }

.hero { background: var(--deep); color: white; padding: clamp(72px, 9vw, 132px) 0 clamp(78px, 10vw, 150px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .72fr; gap: clamp(56px, 8vw, 120px); align-items: center; }
.eyebrow, .section-kicker {
  margin: 0 0 16px; font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,.72); }
/* Visuell forlagssignatur – det fulle forlagsnavnet beholdes i informativ tekst */
.publisher-mark {
  font-family: "Linux Libertine Display", "Linux Libertine O", "EB Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: none;
}

.rule { width: 72px; height: 1px; background: rgba(255,255,255,.4); margin: 0 0 42px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; line-height: .95; }
h1 { margin: 0; font-size: clamp(3.4rem, 7.2vw, 7rem); }
.subtitle { margin: 22px 0 0; color: #c7cfb2; font-size: clamp(1.35rem, 2.2vw, 2rem); font-style: italic; }
.intro { max-width: 610px; margin: 48px 0 12px; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.25; }
.publication { margin: 0 0 30px; color: rgba(255,255,255,.68); font-family: var(--sans); font-size: .76rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border: 1px solid rgba(255,255,255,.5);
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; transition: .2s ease;
}
.button:hover, .button:focus-visible { background: white; color: var(--deep); }
.cover-wrap { margin: 0; position: relative; }
.cover-wrap::before { content: ""; position: absolute; inset: 8% -15% -9% 20%; background: rgba(255,255,255,.055); }
.cover-wrap img { position: relative; width: min(100%, 480px); margin-inline: auto; box-shadow: 0 36px 80px rgba(0,0,0,.34); }

.section { padding: clamp(88px, 11vw, 160px) 0; }
.book-section { background: var(--paper); }
.section-kicker { color: var(--olive); }
h2 { margin: 0 0 48px; font-size: clamp(2.6rem, 5.5vw, 5rem); }
.prose p { margin: 0 0 1.2em; }
.columns { column-count: 2; column-gap: 64px; }
.columns p { break-inside: avoid; }
.book-manifesto {
  color: var(--olive);
  font-size: 1.18em;
  font-style: italic;
  line-height: 1.42;
}

/* Anbefalinger */
.endorsement {
  background: var(--cream);
  padding: clamp(68px, 8vw, 105px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.endorsement-long { background: var(--paper); }
.endorsement-quote { margin: 0; }
.endorsement-quote p {
  margin: 0;
  color: var(--olive);
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.endorsement-long .endorsement-quote p {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.28;
}
.endorsement-quote footer {
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Diskret Solstad-sitat knyttet til samtalebildet */
.solstad-aside {
  margin: 28px 0 0 auto;
  max-width: 620px;
  padding-left: 22px;
  border-left: 2px solid var(--line);
}
.solstad-aside p {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  letter-spacing: 0;
}
.solstad-aside footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .09em;
}
.endorsement-long .endorsement-quote footer {
  font-size: .86rem;
  line-height: 1.5;
}
.endorsement-long .endorsement-title {
  font-size: .95em;
}
.endorsement-title {
  text-transform: none;
  letter-spacing: .03em;
  font-weight: 400;
}

.quote-section { background: var(--olive); color: white; padding: clamp(90px, 13vw, 180px) 0; }
.quote-inner { width: min(1000px, calc(100% - 48px)); }
blockquote { margin: 0; }
blockquote p { margin: 0; font-size: clamp(2.6rem, 6.2vw, 6.2rem); line-height: 1.02; letter-spacing: -.03em; }
blockquote footer { margin-top: 34px; font-family: var(--sans); font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; opacity: .75; }

.conversation { background: var(--cream); }
.conversation figure { margin: 0; }
.conversation img { width: 100%; max-height: 760px; object-fit: cover; object-position: center 42%; filter: contrast(1.03); }
figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: .01em;
}

.author-section { background: var(--paper); }
.author-grid { display: grid; grid-template-columns: minmax(260px, .75fr) 1.25fr; gap: clamp(54px, 9vw, 125px); align-items: center; }
.portrait-wrap { margin: 0; }
.portrait-wrap img { width: 100%; max-height: 760px; object-fit: cover; object-position: center top; }
.author-copy h2 { margin-bottom: 34px; }
.author-copy .prose { max-width: 650px; }

.order-section { padding: clamp(90px, 11vw, 150px) 0; background: var(--deep); color: white; }
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 10vw, 140px); }
.section-kicker.light { color: #c7cfb2; }
.order-section h2 { max-width: 600px; }
.order-lead { max-width: 540px; color: rgba(255,255,255,.72); margin: -18px 0 34px; }
.button-light { border-color: rgba(255,255,255,.55); }
.order-form { margin-top: 34px; }
.order-recipient {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  font-size: 1.05rem;
}
.order-recipient span {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c7cfb2;
}
.order-recipient a { text-underline-offset: 4px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 26px;
}
.form-grid label { display: grid; gap: 8px; }
.form-grid label > span {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.form-grid .full-width { grid-column: 1 / -1; }
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  background: rgba(255,255,255,.08);
  color: white;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  padding: 13px 14px;
}
.form-grid input:focus,
.form-grid textarea:focus {
  outline: 2px solid #c7cfb2;
  outline-offset: 2px;
  border-color: transparent;
}
.form-grid textarea { resize: vertical; }
.form-note {
  margin: 14px 0 0;
  color: rgba(255,255,255,.62);
  font-family: var(--sans);
  font-size: .68rem;
  line-height: 1.5;
}
.order-details { margin: 0; }
.order-details div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.order-details dt { font-family: var(--sans); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.order-details dd { margin: 0; }
.order-details a { text-underline-offset: 4px; }

.site-footer { background: #071d24; color: rgba(255,255,255,.56); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; font-family: var(--sans); font-size: .62rem; letter-spacing: .05em; }
.footer-inner p { margin: 0; }

@media (max-width: 820px) {
  body { font-size: 18px; }
  .header-inner { min-height: 60px; }
  nav { gap: 16px; }
  nav a { font-size: .62rem; }
  .hero-grid, .author-grid, .order-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: auto; }
  .hero-copy { text-align: center; }
  .rule { margin-inline: auto; }
  .intro { margin-inline: auto; }
  .hero-grid { gap: 64px; }
  .cover-wrap img { width: min(76vw, 440px); }
  .columns { column-count: 1; }
  .author-grid { gap: 50px; }
  .portrait-wrap img { max-height: 680px; width: min(100%, 500px); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 30px, 1160px); }
  .container.narrow { width: min(100% - 30px, 920px); }
  .container.wide { width: min(100% - 18px, 1280px); }
  .brand { font-size: .68rem; }
  nav a:nth-child(1), nav a:nth-child(2) { display: none; }
  h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .subtitle { font-size: 1.3rem; }
  .hero { padding-top: 64px; }
  .conversation img { min-height: 300px; }
  .order-details div { grid-template-columns: 90px 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Version 1.7: captions, photo credits and order-form refinements */
.conversation figcaption {
  margin-top: 20px;
  max-width: 960px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.photo-credit {
  display: block;
  margin-top: .35rem;
  color: #777d78;
  font-family: var(--sans);
  font-size: .78rem;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: .01em;
}

.portrait-caption {
  margin-top: 12px;
  line-height: 1.3;
}

.order-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
}

.order-recipient {
  margin-top: 0;
  border-left: 3px solid #c7cfb2;
}

.form-grid input,
.form-grid textarea {
  background: rgba(255,255,255,.095);
  transition: border-color .2s ease, background-color .2s ease;
}

.form-grid input:hover,
.form-grid textarea:hover {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.12);
}

.order-form .button {
  min-width: 230px;
}

@media (max-width: 560px) {
  .conversation figcaption {
    font-size: 1rem;
  }

  .photo-credit {
    font-size: .76rem;
  }

  .order-form {
    padding: 22px 18px;
  }
}


/* Beta 2: payment choice */
.payment-choice {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.payment-choice legend {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.payment-choice label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(255,255,255,.9);
}
.payment-choice input[type="radio"] {
  width: auto;
  margin: .25em 0 0;
  accent-color: #c7cfb2;
}
