* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #1f1a17;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HOME PAGE
========================= */

.newspaper-body {
  background:
    linear-gradient(rgba(237, 229, 217, 0.95), rgba(231, 223, 211, 0.96)),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.02) 0px,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px,
      transparent 22px
    );
}

.newspaper-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(40, 32, 28, 0.12), rgba(120, 0, 0, 0.04)),
    linear-gradient(135deg, #eadfd4 0%, #f1e8de 48%, #e4d7ca 100%);
}

.paper-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(0,0,0,0.05), transparent 20%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.18), transparent 24%);
  pointer-events: none;
}

.paper-note {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255, 248, 238, 0.75);
  border: 1px solid rgba(0,0,0,0.12);
  color: rgba(120, 0, 0, 0.55);
  font-size: 0.8rem;
  letter-spacing: 2px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.note-1 {
  top: 12%;
  left: 7%;
}

.note-2 {
  top: 18%;
  right: 10%;
  transform: rotate(8deg);
}

.note-3 {
  bottom: 14%;
  left: 12%;
  transform: rotate(-10deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.small-label {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.08);
  color: #7b1f35;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-left h1 {
  font-size: 4.2rem;
  line-height: 1;
  color: #1b1715;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 22px;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.25);
}

.headline-sub {
  font-size: 1.28rem;
  color: #433732;
  max-width: 700px;
  margin-bottom: 30px;
}

.main-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, #111111, #2a2a2a);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0,0,0,0.2);
  box-shadow: 0 14px 28px rgba(104, 20, 38, 0.15);
  transition: 0.3s ease;
  cursor: pointer;
}

.main-btn:hover {
  background: linear-gradient(90deg, #7b0f25, #a91d3a);
  transform: translateY(-2px);
}

.small-btn {
  margin-top: 12px;
}

.photo-frame {
  position: relative;
  background: #f5efe8;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 16px 16px 32px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
}

.photo-frame::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 8%;
  width: 84%;
  height: 24px;
  background: rgba(255, 238, 170, 0.35);
  transform: rotate(-1deg);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(120,0,0,0.08);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(65%) contrast(1.05);
}

.photo-stamp {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #7a1326;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brief-section,
.files-section,
.closing-section {
  padding: 82px 0;
}

.brief-box {
  background: rgba(255,255,255,0.48);
  border-left: 5px solid #8b1c31;
  padding: 30px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.brief-box h2,
.files-card h2,
.closing-section h2,
.access-card h1 {
  font-size: 2.45rem;
  margin-bottom: 14px;
  color: #1b1715;
  text-transform: uppercase;
}

.brief-box p,
.files-card p,
.closing-section p {
  font-size: 1.08rem;
  color: #453934;
}

.files-section {
  background:
    linear-gradient(rgba(231, 222, 210, 0.94), rgba(242, 235, 226, 0.95));
}

.files-card {
  max-width: 800px;
  margin: auto;
  padding: 42px 30px;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 14px 14px 34px rgba(0,0,0,0.08);
  text-align: center;
  background: rgba(249, 243, 236, 0.82);
}

.tag {
  display: inline-block;
  padding: 8px 14px;
  color: #7a1326;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(122, 19, 38, 0.18);
}

.closing-section {
  text-align: center;
}

footer {
  text-align: center;
  padding: 20px 12px;
  background: #d8ccbe;
  color: #332b28;
  font-weight: 700;
}

/* =========================
   ACCESS PAGE
========================= */

.access-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(162, 16, 42, 0.12), transparent 28%),
    linear-gradient(rgba(15, 15, 15, 0.92), rgba(25, 18, 18, 0.96));
  color: #f3ece3;
}

.access-wrap {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 18px;
}

.access-card {
  width: 100%;
  max-width: 1000px;
  background: rgba(245, 239, 231, 0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 38px;
  text-align: center;
  box-shadow:
    0 22px 64px rgba(0,0,0,0.28),
    0 0 60px rgba(139, 28, 49, 0.12);
  border-radius: 16px;
}

.access-label {
  background: rgba(255,255,255,0.08);
  color: #ffd7dc;
  border: 1px solid rgba(255,255,255,0.08);
}

.warning-text {
  font-size: 1.15rem;
  color: #ffd7d7;
  margin-bottom: 24px;
}

.password-panel {
  max-width: 450px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.password-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
  border-radius: 10px;
}

.password-input::placeholder {
  color: rgba(255,255,255,0.55);
}

.error-msg {
  margin-top: 12px;
  color: #ff9f9f;
  min-height: 22px;
}

.success-text {
  margin-bottom: 14px;
  color: #caffca;
  font-weight: 700;
}

.pdf-viewer {
  margin-top: 24px;
}

.pdf-frame {
  width: 100%;
  height: 78vh;
  border: none;
  background: #fff;
  border-radius: 12px;
}

.back-link {
  display: inline-block;
  color: #ffd9d9;
  margin-top: 24px;
  text-decoration: none;
}

.back-link:hover {
  color: #ffffff;
}

.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2.8rem;
  }

  .headline-sub {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
  }

  .photo-frame img {
    height: 380px;
  }

  .brief-box h2,
  .files-card h2,
  .closing-section h2,
  .access-card h1 {
    font-size: 2rem;
  }

  .paper-note {
    display: none;
  }
}
