/* /home/index.css */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/ppneuemontreal-book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/ppneuemontreal-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Editorial New";
  src: url("./fonts/PPEditorialNew-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --black: #111111;
  --white: #f5f5f5;
  --light: #efefea;
  --gray: #888;
  --font-sans: "PP Neue Montreal", sans-serif;
  --font-serif: "PP Editorial New", serif;

  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--black);
  color: var(--white);
  overflow-y: scroll;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
  scroll-snap-type: y proximity;
}

body::-webkit-scrollbar {
  display: none;
}

section {
  width: 100%;
  scroll-snap-align: start;
}

.noise-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06)),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.10) 0 1px, transparent 1px 4px);
}

a:focus-visible{
  outline: 2px dotted currentColor;
  outline-offset: 4px;
}

.page-number,
.header {
  position: absolute;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
  font-weight: 400;
}

.page-number {
  top: 2rem;
  left: 2rem;
  font-size: 1.25rem;
}

.header {
  top: 2rem;
  right: 2rem;
}

.section-dark {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  min-height: 100vh;
  padding: 6rem 4rem;
  gap: 2rem;
  align-items: center;
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}

/* Force Section 01 text black */
.section-dark,
.section-dark p,
.section-dark span,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark a,
.section-dark .hero-meta,
.section-dark .page-number,
.section-dark .header,
.section-dark .block-left p,
.section-dark .block-right p {
  color: #000 !important;
}

.section-dark .block-left p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.8rem;
  line-height: 1.22;
  font-weight: 400;
  max-width: 620px;
  letter-spacing: 0.01em;
}

.hero-meta{
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.6);
  font-family: var(--font-sans);
  font-weight: 400;
}

.section-dark .block-right{
  align-self: end;
  padding-bottom: 2rem;
}

.section-dark .block-right p {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 420px;
  line-height: 1.6;
  color: #ccc;
  font-family: var(--font-sans);
}

.video-background-section{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.video-background-section iframe{
  width: 177.77777778vh;
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.section-dark .page-number,
.section-dark .header{
  z-index: 1;
}

.section-dark .block-left,
.section-dark .block-right{
  position: relative;
  z-index: 1;
}

.section-light {
  background-color: var(--light);
  color: var(--black);
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
}

.section-light .image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.image-caption{
  margin-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.55);
  font-family: var(--font-sans);
  font-weight: 400;
}

.section-light .text-wrapper {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section 02 long text: BOOK */
.section-light .text-wrapper p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.85;
}

.page-number-light,
.header-light {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  font-weight: 400;
}

.page-number-light {
  font-size: 1.1rem;
}

.header-light {
  font-size: 0.75rem;
  text-align: right;
}

.section-divider {
  height: 4rem;
  background-color: #000;
  width: 100%;
}

.section-empty-right {
  background-color: #f2f3f0;
  color: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7rem 4rem;
  position: relative;
  min-height: 100vh;
}

.section-empty-right .right-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
  margin-left: 20%;
  gap: 1.5rem;
}

/* Section 03 long text: BOOK */
.section-empty-right .right-text p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.85;
}

.section-kicker{
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.55);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 400;
}

.section-empty-right .page-number-light,
.section-empty-right .header-light {
  position: absolute;
}

.section-empty-right .page-number-light {
  top: 2rem;
  left: 2rem;
}

.section-empty-right .header-light {
  top: 2rem;
  right: 2rem;
}

.left-blank{
  position: relative;
}

.left-blank::before{
  content:"";
  position:absolute;
  inset: 2rem 2rem 2rem 2rem;
  border: 1px solid rgba(0,0,0,0.08);
}

.left-blank::after{
  content:"- 0";
  position:absolute;
  left: 3rem;
  bottom: 3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 9rem;
  line-height: 1;
  color: rgba(0,0,0,0.05);
  letter-spacing: 0.02em;
}

.section-image-full {
  background-color: #97db2e;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #111;
}

.page-number-hero {
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.image-full {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: grayscale(70%) brightness(1.02) sepia(0.75) hue-rotate(40deg) saturate(2.2);
}

.image-caption-bar{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 2rem;
  background: rgba(245,245,245,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.8);
  font-family: var(--font-sans);
  font-weight: 400;
}

.caption-left{ font-weight: 600; }
.caption-right{ opacity: 0.85; }

.section-footer {
  background-color: #ffffff;
  color: #111;
  font-family: var(--font-sans);
  padding: 3rem 2rem 6rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
}

.footer-page-number {
  font-size: 1rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-grid a{
  text-decoration: none;
  color: inherit;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 2.4rem;
  font-weight: 600;
  border-bottom: 2px solid #111;
  padding-bottom: 0.75rem;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  font-family: var(--font-sans);
}

.footer-label{
  transition: opacity 0.25s var(--ease);
}

.footer-number{
  position: relative;
}

.footer-row:hover{
  transform: translateX(4px);
}

.footer-row:hover .footer-label{
  opacity: 0.75;
}

.footer-row:hover .footer-number{
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 6px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  body{ scroll-snap-type: none; }
  .noise-overlay{ display:none; }
}

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  @media (max-width: 900px){
  .section-divider{
    height: 80px;
  }
}

@media (max-width: 480px){
  .section-divider{
    height: 72px;
  }
}

  /* Keep scroll snap but use proximity so it doesn't fight momentum */
  body {
    scroll-snap-type: y proximity;
  }

  /* ── Section dark (hero) ──
     Single column, same generous vertical padding feel as desktop.
     Big italic headline stays big — just fluid via clamp.        */
  .section-dark {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding: 5.5rem 2rem 4rem;
    gap: 3rem;
    align-items: start;
  }

  .page-number {
    top: 1.75rem;
    left: 2rem;
    font-size: 1.1rem;
  }

  .header {
    top: 1.75rem;
    right: 2rem;
    font-size: 0.75rem;
  }

  /* Headline scales down gracefully but stays bold and editorial */
  .section-dark .block-left p {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
    max-width: 100%;
  }

  .section-dark .block-right {
    align-self: start;
    padding-bottom: 0;
  }

  /* Subtext stays at a comfortable reading size */
  .section-dark .block-right p {
    font-size: 1.2rem;
    max-width: 100%;
  }

  /* ── Section light ──
     Stack image on top, text below. Same padding rhythm as desktop. */
  .section-light {
    grid-template-columns: 1fr;
    padding: 5rem 2rem 4rem;
    gap: 2.5rem;
    min-height: 100svh;
    align-items: start;
  }

  .section-light .text-wrapper {
    max-width: 100%;
    gap: 1.75rem;
  }

  .section-light .text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.85;
  }

  .page-number-light {
    font-size: 1rem;
  }

  .header-light {
    font-size: 0.75rem;
  }

  /* ── Section empty-right ──
     The left-blank decorative panel collapses to a full-width
     ornamental strip at the top — same "- 0" watermark, just as
     a horizontal accent rather than a half-column. Then text below. */
  .section-empty-right {
    grid-template-columns: 1fr;
    padding: 0 2rem 4rem;
    min-height: 100svh;
    gap: 0;
  }

  .section-empty-right .page-number-light {
    top: 1.75rem;
    left: 2rem;
  }

  .section-empty-right .header-light {
    top: 1.75rem;
    right: 2rem;
  }

  /* Shrink the decorative panel to a tall-ish strip with the watermark */
  .left-blank {
    height: 220px;
    width: 100%;
  }

  .left-blank::before {
    inset: 5rem 0 1.5rem 0;
  }

  .left-blank::after {
    font-size: 7rem;
    left: 0;
    bottom: 1.5rem;
  }

  .section-empty-right .right-text {
    margin-left: 0;
    max-width: 100%;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .section-empty-right .right-text p {
    font-size: 1.1rem;
    line-height: 1.85;
  }

  /* ── Full-image section ── */
  .top-bar {
    padding: 1.25rem 2rem;
    font-size: 0.75rem;
  }

  /* Full bleed image — same feel as desktop, just viewport height */
  .image-full {
    height: 100svh;
  }

  .image-caption-bar {
    padding: 1rem 2rem;
    font-size: 0.75rem;
    /* Let it wrap naturally if labels are long */
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* ── Footer ── */
  .section-footer {
    padding: 2.5rem 2rem 5rem;
  }

  .footer-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  /* Keep footer rows big and bold — scale fluidly */
  .footer-row {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem);
    padding-bottom: 0.7rem;
  }

  /* No hover shift on touch */
  .footer-row:hover {
    transform: none;
  }
}

/* ─── SMALL PHONES (≤ 480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {

  .section-dark {
    padding: 5rem 1.5rem 3.5rem;
    gap: 2.5rem;
  }

  .section-dark .block-left p {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .section-dark .block-right p {
    font-size: 1.05rem;
  }

  .section-light {
    padding: 4.5rem 1.5rem 3.5rem;
  }

  .section-empty-right {
    padding: 0 1.5rem 3.5rem;
  }

  .left-blank {
    height: 180px;
  }

  .left-blank::after {
    font-size: 5.5rem;
  }

  .section-footer {
    padding: 2rem 1.5rem 4rem;
  }

  .footer-row {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
}