/* Shared review controls and panoramic sister-book links. */
:root {
  --review-height: 54px;
}
html {
  scroll-padding-top: calc(var(--bar) + var(--review-height) + 18px);
}
.presentation-bar {
  position: sticky;
  top: 0;
  z-index: 12;
  height: var(--review-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-inline: var(--pad);
  background: #fff;
  border-bottom: 1px solid #d5dacf;
  color: #3b493e;
}
.presentation-bar > span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
}
.presentation-bar nav {
  display: flex;
  gap: 8px;
}
.presentation-bar a {
  font-size: 14px;
  padding: 6px 17px;
  border-radius: 3px;
}
.presentation-bar a:hover {
  background: #edf0e8;
}
.presentation-bar a[aria-current] {
  background: #2b4b3c;
  color: #fff;
}
.presentation-bar .presentation-hint {
  color: #747e71;
  letter-spacing: 0;
}
.mast {
  top: var(--review-height);
}
.hero {
  position: relative;
}
.hero-layout {
  position: relative;
}
/* This card is a second landscape photograph, anchored to the main photograph. */
.peek {
  position: absolute;
  top: 26px;
  right: var(--pad);
  z-index: 3;
  display: block;
  width: clamp(280px, 27vw, 410px);
  min-width: 0;
  max-width: none;
  aspect-ratio: 2.65;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffffe6;
  border-radius: 2px;
  background: #183b3b;
  box-shadow: 0 8px 30px #0004;
  isolation: isolate;
}
.peek > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform .45s;
  z-index: -2;
}
.peek::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #091d27ef, #12232813 90%);
  z-index: -1;
}
.peek:hover > img {
  transform: scale(1.04);
}
.peek > .peek-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 17px 20px;
  text-shadow: 0 1px 6px #0005;
}
.peek small {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1.5px;
  margin: 0 0 5px;
}
.peek strong {
  margin: 0;
  font-size: clamp(19px, 1.75vw, 28px);
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}
.peek-topic {
  display: block;
  font-size: 13px;
  color: #f2dfc9;
  line-height: 1.4;
  margin-top: 5px;
}
.hero-text {
  padding-top: 196px;
}
.hero-home .hero-text {
  margin: auto 0 0;
  padding: 175px 0 22px;
}
.hero-home h1 {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
  text-align: left;
  max-width: 100%;
  margin: 19px 0 24px;
}
.title-number {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(130px, 14vw, 225px);
  letter-spacing: -.07em;
  line-height: .82;
  flex-shrink: 0;
}
.title-words {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 78px);
  letter-spacing: -.035em;
  line-height: 1.01;
  min-width: 0;
}
.hero-home .hero-layout {
  min-height: clamp(590px, 73vh, 850px);
}
.hero-home .hero-text > p {
  max-width: 630px;
}
.film-foot {
  padding-bottom: 27px;
  min-height: 66px;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
/* Sinematik — a quiet editorial rhythm with an uninterrupted opening image. */
html[data-presentation=sinema] .hero-home .hero-text {
  max-width: 930px;
}
html[data-presentation=sinema] .hero-home .title-number {
  color: #f6e6c8;
}
html[data-presentation=sinema] .hero-home .hero-cta {
  border-radius: 0;
}
/* Editoryal — strong sans-serif type, a structured index and a cover-like lead. */
html[data-presentation=edisyon] {
  --serif: 'DM Sans', Arial, sans-serif;
  --paper: #fbfcfe;
  --ink: #162d4a;
  --pine: #244e7b;
  --rust: #b24935;
  --line: #d3dce5;
  --muted: #5b6d7a;
}
html[data-presentation=edisyon] body:is([data-book=turkki],[data-book=turkiet]) {
  --pine: #a83f2d;
}
html[data-presentation=edisyon] .mast {
  background: #fbfcfe;
}
html[data-presentation=edisyon] .wordmark {
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -1px;
}
html[data-presentation=edisyon] .switch {
  border-radius: 0;
  border-color: #758ea4;
}
html[data-presentation=edisyon] .hero-home .hero-layout {
  min-height: clamp(600px, 75vh, 860px);
}
html[data-presentation=edisyon] .shade {
  background: linear-gradient(90deg, #0f294cdd, #153c5d24 90%), linear-gradient(0deg, #091f32b3, transparent 65%);
}
html[data-presentation=edisyon] body:is([data-book=turkki],[data-book=turkiet]) .shade {
  background: linear-gradient(90deg, #47211edd, #722c1d1a 90%), linear-gradient(0deg, #211f2db3, transparent 65%);
}
html[data-presentation=edisyon] .title-number {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.095em;
  font-size: clamp(150px, 16vw, 245px);
}
html[data-presentation=edisyon] .title-words {
  font-size: clamp(41px, 4.7vw, 75px);
  font-weight: 500;
  letter-spacing: -.065em;
}
html[data-presentation=edisyon] .hero h1:not(:has(.title-number)) {
  font-weight: 500;
}
html[data-presentation=edisyon] .hero-cta {
  color: #153957;
  background: #fff;
}
html[data-presentation=edisyon] .peek {
  border: 5px solid #fff;
  border-radius: 0;
  width: clamp(300px, 29vw, 440px);
  aspect-ratio: 2.7;
}
html[data-presentation=edisyon] .peek strong {
  font-weight: 600;
  font-size: clamp(19px, 1.65vw, 27px);
  letter-spacing: -.035em;
}
html[data-presentation=edisyon] .peek::after {
  background: linear-gradient(0deg, #0d2946f5, transparent 130%);
}
html[data-presentation=edisyon] .section-heading h2,
html[data-presentation=edisyon] .bridge-copy h2,
html[data-presentation=edisyon] .block > h2 {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.05em;
}
html[data-presentation=edisyon] #secki .cards {
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
html[data-presentation=edisyon] .article-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
html[data-presentation=edisyon] #secki .article-card:not(:first-child) figure {
  aspect-ratio: 1.13;
}
html[data-presentation=edisyon] .article-card h3 {
  font-weight: 500;
  font-size: clamp(23px, 2vw, 30px);
  letter-spacing: -.04em;
}
html[data-presentation=edisyon] #secki .article-card:first-child h3 {
  font-size: clamp(30px, 3.3vw, 46px);
}
html[data-presentation=edisyon] .section-row span,
html[data-presentation=edisyon] .entry-list strong {
  font-size: 22px;
  letter-spacing: -.035em;
  font-weight: 500;
}
html[data-presentation=edisyon] .section-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
html[data-presentation=edisyon] .section-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 17px 0;
}
html[data-presentation=edisyon] .section-row img {
  grid-column: 1 / -1;
  width: 100%;
  height: 90px;
}
html[data-presentation=edisyon] .bridge-band {
  background: #eaf0f5;
}
html[data-presentation=edisyon] .bridge-copy .kicker,
html[data-presentation=edisyon] .meta,
html[data-presentation=edisyon] .kicker.dark {
  color: #496784;
}
html[data-presentation=edisyon] .reading-lead {
  font-weight: 400;
  font-size: clamp(23px, 2.1vw, 32px);
}
/* Galeri — a photographic exhibition, with a dark reading environment. */
html[data-presentation=galeri] {
  --paper: #112c2c;
  --ink: #f2f0e5;
  --muted: #bccbc4;
  --line: #49605a;
  --pine: #d6e2c0;
  --rust: #ecb49b;
}
html[data-presentation=galeri] body:is([data-book=turkki],[data-book=turkiet]) {
  --paper: #2c2526;
  --pine: #eed9bc;
  --line: #68554d;
}
html[data-presentation=galeri] .mast {
  background: var(--paper);
}
html[data-presentation=galeri] .switch:hover {
  background: #ffffff18;
}
html[data-presentation=galeri] .mark i {
  background: #adcaad;
}
html[data-presentation=galeri] .mark i+i {
  background: #d99275;
}
html[data-presentation=galeri] .hero-home .hero-layout {
  min-height: clamp(650px, 82vh, 1000px);
}
html[data-presentation=galeri] .hero-home .hero-text {
  align-self: center;
  margin: auto 0 0;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  padding-top: 210px;
}
html[data-presentation=galeri] .hero-home .kicker {
  justify-content: center;
}
html[data-presentation=galeri] .hero-home h1 {
  justify-content: center;
  text-align: left;
}
html[data-presentation=galeri] .title-number {
  font-size: clamp(150px, 17vw, 250px);
  color: #ffecd2;
}
html[data-presentation=galeri] .title-words {
  font-size: clamp(44px, 5.8vw, 90px);
  font-style: italic;
  line-height: 1;
}
html[data-presentation=galeri] .hero-home .hero-text > p {
  margin-inline: auto;
  max-width: 620px;
}
html[data-presentation=galeri] .shade {
  background: linear-gradient(0deg, #081d1df2, #07181d24 90%);
}
html[data-presentation=galeri] .hero:not(.hero-home) .shade {
  background: linear-gradient(90deg, #081c1bc9, transparent), linear-gradient(0deg, #091d1edb, transparent 80%);
}
html[data-presentation=galeri] .peek {
  border: 1px solid #fbecd0;
  padding: 0;
  box-shadow: 0 0 0 6px #fff1;
}
html[data-presentation=galeri] #secki .cards {
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
html[data-presentation=galeri] #secki .article-card:first-child {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 270px 35px 35px;
}
html[data-presentation=galeri] #secki .article-card:first-child figure {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  z-index: -2;
}
html[data-presentation=galeri] #secki .article-card:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #061f1ef2, transparent 100%);
  z-index: -1;
}
html[data-presentation=galeri] #secki .article-card:first-child h3 {
  font-size: 52px;
}
html[data-presentation=galeri] #secki .article-card:first-child p {
  color: #e4e9dd;
}
html[data-presentation=galeri] .meta,
html[data-presentation=galeri] .kicker.dark,
html[data-presentation=galeri] dt,
html[data-presentation=galeri] .entry-list small,
html[data-presentation=galeri] .bridge-copy .kicker {
  color: #e0bf9c;
}
html[data-presentation=galeri] .bridge-band {
  background: #ffffff0a;
  border: 1px solid var(--line);
}
html[data-presentation=galeri] .bridge-copy p {
  color: var(--muted);
}
html[data-presentation=galeri] .solid {
  color: #203a32;
}
html[data-presentation=galeri] .section-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
html[data-presentation=galeri] .section-row {
  display: block;
  padding: 0 0 18px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
html[data-presentation=galeri] .section-row img {
  width: 100%;
  height: 128px;
  margin-bottom: 16px;
}
html[data-presentation=galeri] .section-row span {
  font-size: 26px;
}
html[data-presentation=galeri] .section-row i {
  float: right;
}
html[data-presentation=galeri] .section-row:hover,
html[data-presentation=galeri] .entry-list a:hover {
  background: #ffffff09;
}
html[data-presentation=galeri] .related a {
  background: #ffffff0a;
}
@media (max-width: 900px) {
  .presentation-bar .presentation-hint {
    display: none;
  }
  .peek {
    width: 300px;
    right: var(--pad);
  }
  .hero-text {
    padding-top: 190px;
  }
  .title-number {
    font-size: clamp(110px, 15vw, 170px);
  }
  .title-words {
    font-size: clamp(36px, 6vw, 64px);
  }
  html[data-presentation=edisyon] .title-number {
    font-size: 18vw;
  }
  html[data-presentation=edisyon] .title-words {
    font-size: 5.5vw;
  }
  html[data-presentation=edisyon] .section-list,
  html[data-presentation=galeri] .section-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-presentation=edisyon] #secki .cards {
    grid-template-columns: 1fr 1fr;
  }
  html[data-presentation=edisyon] #secki .article-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0 24px;
  }
  html[data-presentation=edisyon] #secki .article-card:first-child figure {
    grid-row: span 3;
    height: 100%;
  }
}
@media (max-width: 620px) {
  :root {
    --review-height: 48px;
  }
  .presentation-bar {
    padding-inline: 12px;
    gap: 6px;
  }
  .presentation-bar > span {
    font-size: 10px;
    letter-spacing: .5px;
    max-width: 54px;
    line-height: 1.2;
  }
  .presentation-bar nav {
    gap: 3px;
  }
  .presentation-bar a {
    padding: 7px 9px;
    font-size: 13px;
  }
  .peek,
  html[data-presentation=edisyon] .peek {
    top: 18px;
    right: 20px;
    width: 235px;
    aspect-ratio: 2.65;
    min-width: 0;
    max-width: none;
  }
  .peek > .peek-copy {
    padding: 10px 12px;
  }
  .peek small {
    font-size: 12px;
    margin: 0 0 4px;
    line-height: 1;
    letter-spacing: 1px;
  }
  .peek strong,
  html[data-presentation=edisyon] .peek strong {
    font-size: 18px;
  }
  .peek-topic {
    font-size: 12px;
    margin-top: 2px;
  }
  .hero-text,
  .hero-home .hero-text {
    padding-top: 145px;
    padding-bottom: 18px;
  }
  .hero-home .hero-text {
    margin: auto 0 0;
  }
  .hero-home h1 {
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .hero-home .hero-layout {
    min-height: 590px;
  }
  .hero-layout {
    min-height: 425px;
  }
  .title-number {
    font-size: clamp(100px, 28vw, 155px);
    letter-spacing: -.075em;
  }
  .title-words {
    font-size: clamp(27px, 7.5vw, 44px);
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }
  .hero-home .hero-text > p {
    font-size: 16px;
    max-width: 36ch;
  }
  .film-foot {
    min-height: 50px;
    padding-bottom: 22px;
  }
  .film-foot .location {
    max-width: none;
    font-size: 12px;
    letter-spacing: .7px;
  }
  html[data-presentation=edisyon] .hero-home .hero-layout {
    min-height: 610px;
  }
  html[data-presentation=edisyon] .title-number {
    font-size: 28vw;
  }
  html[data-presentation=edisyon] .title-words {
    font-size: 7.4vw;
  }
  html[data-presentation=edisyon] #secki .cards {
    grid-template-columns: 1fr;
  }
  html[data-presentation=edisyon] #secki .article-card:first-child {
    display: block;
  }
  html[data-presentation=edisyon] #secki .article-card:not(:first-child) figure {
    aspect-ratio: 1.8;
  }
  html[data-presentation=edisyon] .section-list,
  html[data-presentation=galeri] .section-list {
    gap: 16px;
  }
  html[data-presentation=edisyon] .section-row span {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  html[data-presentation=galeri] .hero-home .hero-layout {
    min-height: 650px;
  }
  html[data-presentation=galeri] .hero-home .hero-text {
    padding-top: 175px;
  }
  html[data-presentation=galeri] .title-number {
    font-size: 29vw;
  }
  html[data-presentation=galeri] .title-words {
    font-size: 7.9vw;
  }
  html[data-presentation=galeri] .hero-home .kicker {
    font-size: 12px;
    letter-spacing: 1px;
  }
  html[data-presentation=galeri] #secki .cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  html[data-presentation=galeri] #secki .article-card:first-child {
    padding: 200px 22px 24px;
  }
  html[data-presentation=galeri] #secki .article-card:first-child h3 {
    font-size: 40px;
  }
  html[data-presentation=galeri] .section-row img {
    height: 100px;
  }
  html[data-presentation=galeri] .section-row span {
    font-size: 23px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 620px) {
  .hero:not(.hero-home) .peek,
  html[data-presentation=edisyon] .hero:not(.hero-home) .peek {
    aspect-ratio: 2.3;
  }
}
