*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pad-v: 85px;
  --pad-h: 100px;
  --stroke: 2px solid #000;
  --font: 'Instrument Sans', sans-serif;
  --red: #B30000;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad-h);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand { font-size: 20px; font-weight: 700; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.7; }

/* ── FLOATING NAV ── */
.float-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.float-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.float-nav-item a {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #000;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.float-nav-item a.active,
.float-nav-item a:hover {
  background: #fff;
  outline: 2px solid #000;
  transform: scale(1.25);
}
.float-nav-label {
  position: absolute;
  right: 22px;
  background: #000;
  color: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.float-nav-item:hover .float-nav-label { opacity: 1; }

/* ── HOME ── */
#home {
  display: grid;
  grid-template-columns:3fr 1fr;
  min-height: 600px;
  overflow: hidden;
  border: var(--stroke);

}

/* Left: diagonal stage */
.home-left {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 600px;
  width: -320px;
  border-left: var(--stroke);
}

/* Right panel */
.home-right {
  padding: var(--pad-v) var(--pad-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: 564px;
}

/* Two thick diagonal bars — draggable height */
.rect-top {
  position: absolute;
  left: -70%;
  width: 200%;
  background: #000;
  height: 65px;
  top: 50%;
  transform-origin: 50% 0%;
  transform: rotate(-28deg) translateY(-130px);
  cursor: w-resize;
  user-select: none;
  z-index: 2;
}
.rect-bottom {
  position: absolute;
  left: 10%;
  width: 200%;
  background: #000;
  height: 20px;
  bottom: 0;
  transform-origin: 50% 100%;
  transform: rotate(-297deg) translateY(170px);
  cursor: w-resize;
  user-select: none;
  z-index: 2;
}

/* Name: diagonal, red */
.home-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%) rotate(-28deg);
  font-size: 110px;
  font-weight: 700;
  line-height: 108%;
  color: var(--red);
  white-space: nowrap;
  z-index: 3;
  letter-spacing: -2px;
  text-align: left-align;
  pointer-events: none;
  user-select: none;
}


.home-title {
  font-size: 51px;
  font-weight: 700;
  line-height: 110%;
  text-align: left;
}
.home-years {
  font-size: 20px;
  font-weight: 700;
  line-height: 110%;
  margin-top: 14px;
  text-align: left;

}
.home-quote {
  font-size: 27px;
  font-weight: 400;
  font-style: italic;
  line-height: 160%;
  text-align: left;
  margin-top: 32px;
}

/* ── IMAGE STRIP ── */
#images {
  border-left: var(--stroke);
  border-right: var(--stroke);
  border-bottom: var(--stroke);
}
.image-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.img-cell {
  overflow: hidden;
  border-right: var(--stroke);
  cursor: zoom-in;
  height: 737px;
}
.img-cell:last-child { border-right: none; }
.img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.img-cell:hover img { transform: scale(1.03); }

/* ── CONTENT SECTIONS ── */
.content-section {
  border-left: var(--stroke);
  border-right: var(--stroke);
  border-bottom: var(--stroke);
  padding: var(--pad-v) var(--pad-h);
}
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.section-number {
  font-size: 50px;
  font-weight: 700;
  line-height: 160%;
  min-width: 80px;
}
.section-title {
  font-size: 50px;
  font-weight: 700;
  font-style: italic;
  line-height: 104%;
  padding-top: 6px;
}

.content-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.content-grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 55px;
}


.subtitle {
  font-size: 32px;
  font-weight: 700;
  line-height: 178%;
}
.body-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 178%;
  margin-bottom: 24px;
}
.body-text:last-child { margin-bottom: 0; }

/* ── BOOK COVERS ── */
.book-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.book-cover {
  width: 90px; height: 120px;
  object-fit: cover;
  border: var(--stroke);
  cursor: zoom-in;
  transition: transform 0.2s;
}
.book-cover:hover { transform: scale(1.05); }

/* ── SABON DISPLAY ── */
.sabon-display { margin-top: 40px; border: var(--stroke); padding: 40px; text-align: center; }
.sabon-big { font-size: 96px; font-weight: 400; line-height: 100%; letter-spacing: -2px; }
.sabon-sub { font-size: 18px; font-style: italic; margin-top: 8px; }
.sabon-alphabet { font-size: 36px; letter-spacing: 6px; margin-top: 16px; }

/* ── TRANSITO DISPLAY ── */
.transito-display { border: var(--stroke); padding: 40px; margin-top: 24px; background: #000; color: #fff; }
.transito-big { font-size: 72px; font-weight: 700; line-height: 100%; }
.transito-alphabet { font-size: 32px; font-weight: 700; line-height: 140%; margin-top: 12px; }

/* ── POSTER ── */
.poster-section { margin-top: 40px; }
.poster-img { width: 100%; border: var(--stroke); display: block; cursor: zoom-in; transition: transform 0.2s; }
.poster-img:hover { transform: scale(1.01); }

/* ── QUOTE BAR ── */
.quote-bar {
  border-left: var(--stroke);
  border-right: var(--stroke);
  border-bottom: var(--stroke);
  padding: var(--pad-v) var(--pad-h);
}
.quote-bar blockquote { font-size: 27px; font-style: italic; line-height: 160%; max-width: 860px; }
.quote-bar cite { display: block; font-size: 18px; font-style: normal; font-weight: 700; margin-top: 16px; }

/* ── FOOTER ── */
footer {
  background: #000;
  color: #fff;
  padding: 30px var(--pad-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 160%;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border: var(--stroke); }
