/* Book page 313 — exact, page-scoped implementation of the Signature reference. */
body.page-id-313 {
  --tib-book-bg: #FAF7F2;
  --tib-book-olive: #4B5540;
  --tib-book-sage: #6F7B5E;
  --tib-book-terracotta: #C17F5A;
  --tib-book-terracotta-dark: #AC6C48;
  --tib-book-ink: #2E2B26;
  --tib-book-muted: #69645B;
  --tib-book-line: rgba(75,85,64,.16);
  --tib-book-serif: "IBM Plex Serif", Georgia, serif;
  --tib-book-sans: "Schibsted Grotesk", system-ui, sans-serif;
  --tib-book-shadow: 0 22px 60px rgba(63,54,45,.10);
  --tib-book-container: min(1180px, calc(100vw - 48px));
  background: var(--tib-book-bg);
}

body.page-id-313 .content,
body.page-id-313 .content_inner,
body.page-id-313 .full_width,
body.page-id-313 .full_width_inner {
  background: transparent;
}

body.page-id-313 .content { margin-top: 0 !important; }
body.page-id-313 .full_width_inner { padding: 0 !important; }
body.page-id-313 .tib-book * { box-sizing: border-box; }

body.page-id-313 .tib-book {
  overflow: hidden;
  background: var(--tib-book-bg);
  color: var(--tib-book-ink);
  font-family: var(--tib-book-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.page-id-313 .tib-book .container {
  width: var(--tib-book-container) !important;
  margin-inline: auto !important;
  background: transparent;
}

body.page-id-313 .tib-book .eyebrow {
  color: var(--tib-book-terracotta);
  font-family: var(--tib-book-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.72;
  text-transform: uppercase;
}

body.page-id-313 .tib-book h1,
body.page-id-313 .tib-book h2 {
  margin: 0;
  color: var(--tib-book-ink);
  font-family: var(--tib-book-serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-transform: none;
}

body.page-id-313 .tib-book p {
  margin: 0;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: inherit !important;
}

body.page-id-313 .tib-book .page-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 92px;
  background: radial-gradient(700px 480px at 85% 20%,rgba(227,217,200,.62),transparent 72%),linear-gradient(145deg,#faf7f2,#f2ebe1);
}

body.page-id-313 .tib-book .page-hero::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(75,85,64,.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 35px rgba(111,123,94,.035),inset 0 0 0 80px rgba(193,127,90,.025);
  content: "";
}

body.page-id-313 .tib-book .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  gap: 70px;
  align-items: center;
}

body.page-id-313 .tib-book .page-hero h1 {
  max-width: 12em;
  font-size: clamp(55px,7vw,96px);
  letter-spacing: -.05em;
}

body.page-id-313 .tib-book .lead {
  max-width: 38em;
  margin-top: 24px;
  color: #49453F !important;
  font-size: clamp(18px,1.7vw,21px) !important;
  line-height: 1.65 !important;
}

body.page-id-313 .tib-book .organic-square {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 57% 43% 61% 39% / 44% 56% 44% 56%;
  background: conic-gradient(from 190deg,#d7cebd,#e9dfd0,#cbd1c1,#e7ded1);
  box-shadow: 0 38px 80px rgba(64,53,44,.14);
}

body.page-id-313 .tib-book .organic-square::after {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(75,85,64,.28);
  border-radius: 50%;
  content: "";
  animation: tib-book-field-turn 24s linear infinite;
}

@keyframes tib-book-field-turn { to { transform: rotate(360deg); } }

body.page-id-313 .tib-book .content-section {
  padding: 95px 0;
  background: linear-gradient(180deg,#faf7f2,#f6f0e7);
}

body.page-id-313 .tib-book .book-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: start;
}

body.page-id-313 .tib-book .book-panel {
  padding: 34px;
  border: 1px solid rgba(75,85,64,.12);
  border-radius: 28px;
  background: rgba(255,253,249,.7);
  box-shadow: var(--tib-book-shadow);
  backdrop-filter: blur(10px);
}

body.page-id-313 .tib-book .book-panel h2,
body.page-id-313 .tib-book .book-copy h2 {
  font-size: 42px;
}

body.page-id-313 .tib-book .book-copy h2 { margin-bottom: 20px; }

body.page-id-313 .tib-book .facts {
  display: grid;
  gap: 0;
  margin: 26px 0 30px;
}

body.page-id-313 .tib-book .fact {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--tib-book-line);
}

body.page-id-313 .tib-book .fact:last-child { border-bottom: 1px solid var(--tib-book-line); }

body.page-id-313 .tib-book .icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-id-313 .tib-book .fact .icon {
  width: 22px;
  color: var(--tib-book-sage);
}

body.page-id-313 .tib-book .prose {
  display: grid;
  gap: 19px;
  max-width: 690px;
  color: #504B44;
}

body.page-id-313 .tib-book .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--tib-book-terracotta);
  color: #fff;
  font-family: var(--tib-book-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.72;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s,background .2s,color .2s,border-color .2s;
}

body.page-id-313 .tib-book .btn:hover {
  background: var(--tib-book-terracotta-dark);
  color: #fff;
  transform: translateY(-1px);
}

body.page-id-313 .tib-book .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(75,85,64,.34);
  color: var(--tib-book-olive);
  font-family: var(--tib-book-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.72;
  text-decoration: none;
}

body.page-id-313 .tib-book .text-link .icon { transition: transform .2s; }
body.page-id-313 .tib-book .text-link:hover .icon { transform: translateX(4px); }

@media (max-width: 980px) {
  body.page-id-313 .tib-book { --tib-book-container: min(100% - 36px,760px); }
  body.page-id-313 .tib-book .page-hero-grid,
  body.page-id-313 .tib-book .book-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body.page-id-313 .tib-book {
    --tib-book-container: min(100% - 28px,620px);
    font-size: 15.5px;
  }
  body.page-id-313 .tib-book .organic-square {
    width: 100%;
    max-width: 420px;
    margin: auto;
  }
  body.page-id-313 .tib-book .content-section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-313 .tib-book .organic-square::after { animation: none !important; }
}

/* Real photography inside the hero shape */
body.page-id-313 .tib-book .organic-square.has-image::after { display: none; }
body.page-id-313 .tib-book .organic-square .tib-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: inherit;
  display: block;
}
